PDA

View Full Version : Qt Segmentation Fault During Execution



bhabatit
16th October 2011, 14:24
Hi, I encountered this when i use 'gdb' to my executable file and core file.
Please help me fix the error.

#0 QWidgetBackingStore::sync (this=0x8570fc8) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:144
#1 0x00c321fc in QWidgetBackingStore::sync (this=0x8570fc8, exposedWidget=0x85a7a58, exposedRegion=@0xbfb183e0) at painting/qbackingstore.cpp:1077
#2 0x00aa068e in QWidgetPrivate::syncBackingStore (this=0x85752a8, region=@0xbfb183e0) at kernel/qwidget.cpp:1612
#3 0x00ab79f4 in QETWidget::translatePaintEvent (this=0x85a7a58, event=0xbfb197cc) at kernel/qapplication_x11.cpp:5111
#4 0x00ac5eb1 in QApplication::x11ProcessEvent (this=0xbfb19ae0, event=0xbfb197cc) at kernel/qapplication_x11.cpp:3452
#5 0x00aee50b in x11EventSourceDispatch (s=0x84008f0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#6 0x005de372 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#7 0x005e1366 in ?? () from /lib/libglib-2.0.so.0
#8 0x005e18be in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9 0x004d2eee in QEventDispatcherGlib::processEvents (this=0x83fda10, flags={i = -1078879800}) at kernel/qeventdispatcher_glib.cpp:328
#10 0x00aee2f5 in QGuiEventDispatcherGlib::processEvents (this=0x83fda10, flags={i = -1078879752}) at kernel/qguieventdispatcher_glib.cpp:202
#11 0x004a5d4d in QEventLoop::processEvents (this=0xbfb19a70, flags={i = -1078879688}) at kernel/qeventloop.cpp:149
#12 0x004a5fed in QEventLoop::exec (this=0xbfb19a70, flags={i = -1078879624}) at kernel/qeventloop.cpp:201
#13 0x004a80e1 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#14 0x00a54777 in QApplication::exec () at kernel/qapplication.cpp:3525
#15 0x0804e656 in main ()

Thank you.

wysota
16th October 2011, 18:59
Are you using threads in your application?