[OpenAFS] openbsd (>=3.8) mmap malloc and openafs crashes

dick@uchicago.edu dick@uchicago.edu
Sat, 3 Dec 2005 09:13:42 -0600


i don't contribute to this mailing list on a regular basis, but i do certainly
listen. i saw on misc@openbsd.org that some other openbsd users have had
problems getting openafs 1.4.0 to work correctly on openbsd >=3.8. todd fries'
thought is that openbsd's new mmap malloc implementation (see
http://www.securityfocus.com/columnists/359 and
http://marc.theaimsgroup.com/?l=openbsd-misc&m=112475373731469&w=2 for
additional info and the message below) is causing openafs to crash on a pretty
regular basis.

i can testify to this in some respects, as i've tried to compile and run openafs
1.3.87 on openbsd >=3.8 and gotten stuck when i couldn't get the volserver to
work correctly. i don't have access to the machine i was playing with this on
and i can provide more details/testing if anyone would consider it helpful, just
let me know.

the interesting part of mmap malloc is that is may allow for isolation of bugs
that would otherwise not be easily noticed or easily reproducible.


---- Original message ----
>Date: Wed, 30 Nov 2005 19:18:15 -0600 (CST)
>From: ober <ober@linbsd.org>  
>Subject: Re: New: OpenAFS 1.4.0  
>To: "Todd T. Fries" <todd@fries.net>
>Cc: ports@openbsd.org
>I have been working on it as time permits.
>In the mean while I am using 3.7. :(
>On Wed, 30 Nov 2005, Todd T. Fries wrote:
>> While this builds and packages fine on current, constant segfaults point to 
>> mmap malloc finding openafs to be swiss cheese.  Anyone up for debugging 
>> this?
>> 	http://todd.fries.net/ports/openafs-1.4.0.tar.gz
>> Thanks,
>> -- 
>> Todd Fries .. todd@fries.net
>> _____________________________________________
>> |                                             \  1.636.410.0632 (voice)
>> | Free Daemon Consulting, LLC                 \  1.405.227.9094 (voice)
>> | http://FreeDaemonConsulting.com             \  1.866.792.3418 (FAX)
>> | "..in support of free software solutions."  \          250797 (FWD)
>> |                                             \
>> \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
>>              37E7 D3EB 74D0 8D66 A68D  B866 0326 204E 3F42 004A
>>                        http://todd.fries.net/pgp.txt