[OpenAFS] openbsd (>=3.8) mmap malloc and openafs crashes
Todd T. Fries
todd@fries.net
Fri, 09 Dec 2005 10:00:20 -0600
Yes.
There is at least one OpenAFS person I know of working on looking at the
situation.
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:
http://openafs.org/dl/openafs/1.4.0/openbsd-3.7/openafs-1.4.0-obsd37.tgz
.. 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:
$ftp \
http://openafs.org/dl/openafs/1.4.0/openbsd-3.7/openafs-1.4.0-obsd37.tgz
$ mv openafs-1.4.0-obsd37.tgz openafs-1.4.0.tgz
$ sudo pkg_add openafs-1.4.0.tgz
Thanks,
dick@uchicago.edu wrote:
> greetings,
>
> 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.
>
> cheers,
> jake
>
> ---- 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. :(
>>
>>-Ober
>>
>>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
>>>
>
>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>
--
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