Results 1 to 2 of 2

Thread: Qt Segmentation Fault During Execution

  1. #1
    Join Date
    Jul 2011
    Posts
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Qt Segmentation Fault During Execution

    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:rocessEvents (this=0x83fda10, flags={i = -1078879800}) at kernel/qeventdispatcher_glib.cpp:328
    #10 0x00aee2f5 in QGuiEventDispatcherGlib:rocessEvents (this=0x83fda10, flags={i = -1078879752}) at kernel/qguieventdispatcher_glib.cpp:202
    #11 0x004a5d4d in QEventLoop:rocessEvents (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.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt Segmentation Fault During Execution

    Are you using threads in your application?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. segmentation fault!!
    By Yayati.Ekbote in forum Qt Programming
    Replies: 4
    Last Post: 24th March 2010, 15:10
  2. Segmentation Fault
    By jmc in forum Qt Tools
    Replies: 4
    Last Post: 24th February 2010, 20:08
  3. Segmentation fault
    By impeteperry in forum Qt Programming
    Replies: 5
    Last Post: 29th December 2008, 18:59
  4. segmentation fault
    By mattia in forum Newbie
    Replies: 22
    Last Post: 7th November 2007, 10:37
  5. segmentation fault
    By shamik in forum Qt Programming
    Replies: 3
    Last Post: 24th November 2006, 07:33

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.