RFC: jemalloc: qdbus sigsegv in malloc_init

Konstantin Belousov kostikbel at gmail.com
Fri May 18 20:42:57 UTC 2012


On Fri, May 18, 2012 at 07:01:25PM +0200, Alberto Villa wrote:
> 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.

You provided zero information.

The reference to NetBSD is completely meaningless, we drop atexit_mutex
when calling registered atexit handlers.

At least bother to provide useful bug report if you suspect a bug in base
system and want it fixed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20120518/106a68ad/attachment.pgp


More information about the freebsd-current mailing list