Re: RFC: jemalloc: qdbus sigsegv in malloc_init

From: Alberto Villa <avilla_at_freebsd.org>
Date: Fri, 18 May 2012 19:01:25 +0200
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.
-- 
Alberto Villa, FreeBSD committer <avilla_at_FreeBSD.org>
http://people.FreeBSD.org/~avilla
Received on Fri May 18 2012 - 15:01:48 UTC

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