Qt 4.4 QtConcurrent and libthread_xu
Hasso Tepper
hasso at estpak.ee
Wed May 7 13:00:51 PDT 2008
Simon 'corecode' Schubert wrote:
> Hasso Tepper wrote:
> > #0 __pthread_mutex_trylock (m=0x0)
>
> Well, somebody seems to pass a null pointer here.
>
> > #1 0x0814157e in g_mutex_trylock_posix_impl ()
> > #2 0x0815186f in g_slice_alloc ()
> > #3 0x0815ca7a in g_ptr_array_sized_new ()
> > #4 0x0815cab5 in g_ptr_array_new ()
> > #5 0x0814b5ec in g_main_context_new ()
>
> could you compile glib with -g and also include their sources?
Compiled glib2 (2.14.6 in 2008Q1) distfile from source:
Program terminated with signal 11, Segmentation fault.
#0 __pthread_mutex_trylock (m=0x0)
at /home/hasso/dragonfly-src/lib/libthread_xu/thread/thr_mutex.c:292
292 if (__predict_false(*m == NULL)) {
(gdb) bt
#0 __pthread_mutex_trylock (m=0x0)
at /home/hasso/dragonfly-src/lib/libthread_xu/thread/thr_mutex.c:292
#1 0x081415f2 in g_mutex_trylock_posix_impl (mutex=0x0) at
gthread-posix.c:187
#2 0x08151b6b in IA__g_slice_alloc (mem_size=12) at gslice.c:395
#3 0x0815cd76 in IA__g_ptr_array_sized_new (reserved_size=0) at
garray.c:372
#4 0x0815cdb1 in IA__g_ptr_array_new () at garray.c:366
#5 0x0814b65c in IA__g_main_context_new () at gmain.c:757
#6 0x080fd298 in QEventDispatcherGlibPrivate (this=0x281fb400,
context=0x0)
at kernel/qeventdispatcher_glib.cpp:241
#7 0x080fd4e7 in QEventDispatcherGlib (this=0x281f9260, parent=0x0) at
kernel/qeventdispatcher_glib.cpp:268
#8 0x08057e1a in QThreadPrivate::createEventDispatcher (data=0x281fa740)
at thread/qthread_unix.cpp:161
#9 0x08057f0c in QThreadPrivate::start (arg=0x281f91b0) at
thread/qthread_unix.cpp:185
#10 0x08145087 in thread_start (arg=0x281f6200)
at /home/hasso/dragonfly-src/lib/libthread_xu/thread/thr_create.c:239
#11 0x00000000 in ?? ()
--
Hasso Tepper
More information about the Bugs
mailing list