[OpenAFS] openbsd (>=3.8) mmap malloc and openafs crashes
Todd T. Fries
Fri, 09 Dec 2005 10:00:20 -0600
There is at least one OpenAFS person I know of working on looking at the
By all means contribute to helping debug this problem by debugging this
yourself (the new threads support in gdb in -current may help as well).
If you want to, in the mean time, setup a server on your 3.8 or
3.8-current systems, and you have the 3.7 libc installed from an upgrade
or whatever, you may add this package:
.. even though it is a 3.7 package, it will still work, with one caveat.
I have made it known to the OpenAFS people that the naming of this file
is wrong, that it will not permit one to add the above url to 'pkg_add'
and have it work properly.
Until they rename the above to be 'openafs-1.4.0.tgz' you will have to
manually do the following:
$ mv openafs-1.4.0-obsd37.tgz openafs-1.4.0.tgz
$ sudo pkg_add openafs-1.4.0.tgz
> i don't contribute to this mailing list on a regular basis, but i do certainly
> listen. i saw on email@example.com 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 <firstname.lastname@example.org>
>>Subject: Re: New: OpenAFS 1.4.0
>>To: "Todd T. Fries" <email@example.com>
>>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
>>>Todd Fries .. firstname.lastname@example.org
>>>| \ 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
> OpenAFS-info mailing list
Todd Fries .. email@example.com
| \ 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