Re: RFC: jemalloc: qdbus sigsegv in malloc_init

From: Konstantin Belousov <kostikbel_at_gmail.com>
Date: Fri, 18 May 2012 23:42:41 +0300
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_at_ and kan_at_ are CCed as per avg_at_ 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.

Received on Fri May 18 2012 - 18:42:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:27 UTC