RFC: jemalloc: qdbus sigsegv in malloc_init

Alberto Villa avilla at freebsd.org
Fri May 18 17:01:48 UTC 2012


On Tue, May 1, 2012 at 8:18 PM, Gustau Pérez i Querol
<gperez at entel.upc.edu> wrote:
>  So the problem seems to be not related to jemalloc or malloc. As the
> experimental 4.8.1 devel/dbus-qt4 port works fine in stable, the problem has
> do to with some differences between head and stable. When we get more hints
> where the problem is, I will post them in a new thread in freebsd-current at .

Gus has been away for a while, but before disappearing he found a
workaround to be building devel/dbus-qt4 with -fno-use-cxa-atexit. So
I had a look around, and found this NetBSD bug report:
http://www.archivum.info/fa.netbsd.bugs/2007-12/00070/lib-37654-libc's-atexit_mutex-should-be-fully-recursive.html

Since qdbus crashes after exit(3) here too, that might be an
explanation. Or, at least, something related.

kib@ and kan@ are CCed as per avg@ suggestion.
-- 
Alberto Villa, FreeBSD committer <avilla at FreeBSD.org>
http://people.FreeBSD.org/~avilla


More information about the freebsd-current mailing list