Re: RFC: jemalloc: qdbus sigsegv in malloc_init
On Sun, May 20, 2012 at 8:03 AM, David Xu <listlog2011@gmail.com> wrote:
> qdbus segfaults on my machine too, I tracked it down, and found the probl=
em
> is in QT,
> it deleted current_thread_data_key, =A0but it still uses it in some cxa h=
ooks,
> =A0I =A0applied the
> following patch, =A0and it works fine.
Thanks for the analysis David!
> I think the bug depends on linking order in QT library ? if the
> qthread_unix.cpp is linked
> as lastest module, the key will be deleted after all cxa hooks run, then =
it
> will be fine,
> otherwise, it would crash.
Is this really possible?
--=20
Alberto Villa, FreeBSD committer <avilla@FreeBSD.org>
http://people.FreeBSD.org/~avilla
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 20 之 20 篇):