Mathieu,

Try to remove in qutecom-2.2/wengophone/src/presentation/main.cpp line 234 :
XinitThreads();

Laurent

Mathieu Osty a écrit :
> Here is a first output from gdb. It's been a long time since I didn't 
> use gdb but it looks like a deadlock to me (a thread locked in "wait" 
> mode).
>
> Mathieu
>
> [...@new-host-6 ~]$ gdb qutecom
> GNU gdb Red Hat Linux (6.5-37.el5_2.2rh)
> Copyright (C) 2006 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and 
> you are
> welcome to change it and/or distribute copies of it under certain 
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for 
> details.
> This GDB was configured as "i386-redhat-linux-gnu"...Using host 
> libthread_db library "/lib/libthread_db.so.1".
>
> (gdb) r
> Starting program: /usr/local/bin/qutecom
> [Thread debugging using libthread_db enabled]
> [New Thread -1208178928 (LWP 8984)]
> [New Thread -1208181872 (LWP 8987)]
> [New Thread -1218671728 (LWP 8988)]
> [New Thread -1231479920 (LWP 8989)]
> [New Thread -1243022448 (LWP 8991)]
> [New Thread -1254196336 (LWP 8992)]
>
> Program received signal SIGINT, Interrupt.
> [Switching to Thread -1208178928 (LWP 8984)]
> 0x009e4402 in __kernel_vsyscall ()
> (gdb) where
> #0  0x009e4402 in __kernel_vsyscall ()
> #1  0x0046ea3e in __lll_mutex_lock_wait () from /lib/libpthread.so.0
> #2  0x0046a890 in _L_mutex_lock_85 () from /lib/libpthread.so.0
> #3  0x0046a3dd in pthread_mutex_lock () from /lib/libpthread.so.0
> #4  0x00a0e6aa in XInitThreads () from /usr/lib/libX11.so.6
> #5  0x00a78758 in XkbGetUpdatedMap () from /usr/lib/libX11.so.6
> #6  0x00a78834 in XkbGetMap () from /usr/lib/libX11.so.6
> #7  0x00a74278 in XkbLookupKeyBinding () from /usr/lib/libX11.so.6
> #8  0x00a74997 in XkbLookupKeySym () from /usr/lib/libX11.so.6
> #9  0x00a74a63 in XLookupString () from /usr/lib/libX11.so.6
> #10 0x00a45549 in _XimLocalFilter () from /usr/lib/libX11.so.6
> #11 0x00a01ab4 in XFilterEvent () from /usr/lib/libX11.so.6
> #12 0x0174818d in QXIMInputContext::x11FilterEvent (this=0xa9476c0,
>     keywidget=0xabd0160, event=0xbf8bc728)
>     at inputmethod/qximinputcontext_x11.cpp:623
> #13 0x011b3ebb in QApplication::x11ProcessEvent (this=0xa78e8f8,
>     event=0xbf8bc728) at kernel/qapplication_x11.cpp:3240
> #14 0x011dd895 in QEventDispatcherX11::processEvents (this=0xa78f528, 
> flags=
>       {i = -1081358312}) at kernel/qeventdispatcher_x11.cpp:132
> #15 0x00f1aa3d in QEventLoop::processEvents (this=0xbf8bc89c, flags=
>       {i = -1081358248}) at kernel/qeventloop.cpp:149
> #16 0x00f1adad in QEventLoop::exec (this=0xbf8bc89c, flags={i = 
> -1081358168})
>     at kernel/qeventloop.cpp:200
> ---Type <return> to continue, or q <return> to quit---
> #17 0x0163c3e9 in QDialog::exec (this=0xab18b30) at 
> dialogs/qdialog.cpp:498
> #18 0x086417ba in QtUserProfileHandler::showLoginWindow (this=0xa8dfe00)
>     at 
> /home/mat/qutecom-2.2/wengophone/src/presentation/qt/profile/QtUserProfileHandler.cpp:150
> #19 0x08641512 in 
> QtUserProfileHandler::noCurrentUserProfileSetEventHandlerSlot
>     (this=0xa8dfe00)
>     at 
> /home/mat/qutecom-2.2/wengophone/src/presentation/qt/profile/QtUserProfileHandler.cpp:102
> #20 0x085a47f6 in QtUserProfileHandler::qt_metacall (this=0xa8dfe00,
>     _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xa950b08)
>     at 
> /home/mat/qutecom-2.2/build/wengophone/src/presentation/qt/profile/moc_QtUserProfileHandler.cxx:119
> #21 0x00f2b2ab in QMetaCallEvent::placeMetaCall (this=0xa936120,
>     object=0xa8dfe00) at kernel/qobject.cpp:489
> #22 0x00f2c2d8 in QObject::event (this=0xa8dfe00, e=0xa936120)
>     at kernel/qobject.cpp:1109
> #23 0x011440cf in QApplicationPrivate::notify_helper (this=0xa78e908,
>     receiver=0xa8dfe00, e=0xa936120) at kernel/qapplication.cpp:4084
> #24 0x011480c9 in QApplication::notify (this=0xa78e8f8, 
> receiver=0xa8dfe00,
>     e=0xa936120) at kernel/qapplication.cpp:3631
> #25 0x00f1b86b in QCoreApplication::notifyInternal (this=0xa78e8f8,
>     receiver=0xa8dfe00, event=0xa936120) at 
> kernel/qcoreapplication.cpp:602
> #26 0x00f1ca0e in QCoreApplicationPrivate::sendPostedEvents 
> (receiver=0x0,
> ---Type <return> to continue, or q <return> to quit---
>     event_type=0, data=0xa78e5e8)
>     at 
> ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
> #27 0x00f1ccbd in QCoreApplication::sendPostedEvents (receiver=0x0,
>     event_type=0) at kernel/qcoreapplication.cpp:1132
> #28 0x011dd778 in QEventDispatcherX11::processEvents (this=0xa78f528, 
> flags=
>       {i = -1081356552})
>     at 
> ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
> #29 0x00f1aa3d in QEventLoop::processEvents (this=0xbf8bcf70, flags=
>       {i = -1081356488}) at kernel/qeventloop.cpp:149
> #30 0x00f1adad in QEventLoop::exec (this=0xbf8bcf70, flags={i = 
> -1081356424})
>     at kernel/qeventloop.cpp:200
> #31 0x00f1cd81 in QCoreApplication::exec () at 
> kernel/qcoreapplication.cpp:880
> #32 0x011438d7 in QApplication::exec () at kernel/qapplication.cpp:3553
> #33 0x085e555b in QtFactory::exec (this=0xa78e560)
>     at 
> /home/mat/qutecom-2.2/wengophone/src/presentation/qt/QtFactory.cpp:114
> #34 0x085b2f4c in main (argc=1, argv=0xbf8bd194)
>     at /home/mat/qutecom-2.2/wengophone/src/presentation/main.cpp:354
> (gdb)
>
>
>
>
> On Tue, Mar 31, 2009 at 12:26 PM, Tarrisse Laurent <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     Hello Mathieu,
>
>     Sorry but,i've never seen this bug before!
>     Can you try to debug with gdb ...
>
>     Laurent
>
>

_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev

Reply via email to