Problem with xcb (Segmentation Fault)



  • when i launch my app sometimes i get this error:
    @The inferior stopped because it received a signal from the Operating System.

    Signal name :
    SIGSEGV
    Signal meaning :
    Segmentation fault@

    i try to get the backtrace and this is the result:
    @<28bt

    &"bt\n"
    ~"#0 xcb_send_request (c=0x0, flags=0, vector=0xbfffe818, req=0xb5de3314) at ../../src/xcb_out.c:156\n"
    ~"#1 0xb5dd9177 in xcb_query_tree_unchecked (c=0x0, window=16778551) at xproto.c:3164\n"
    ~"#2 0xb3efd11d in ?? ()\n"
    ~"Backtrace stopped: previous frame inner to this frame (corrupt stack?)\n"
    28^done@

    other times the backtrace is :
    @68bt

    &"bt\n"
    ~"#0 0xb762b682 in ?? ()\n"
    ~"#1 0x00000000 in ?? ()\n"
    68^done@

    i don't know which part of code i have to show to you..
    what could be the problem?



  • Is there some uninitialized values in your app, I think this link may help you.."click this":http://stackoverflow.com/questions/6362231/what-is-the-cause-of-a-segmentation-fault-error-signal-name-sigsegv-and-how



  • the problem is that this error not appears always, sometimes the program run without errors


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.