开发者

QCoreApplication::notifyInternal Segmentation fault

开发者 https://www.devze.com 2023-03-03 16:54 出处:网络
Hello I\'m developing a shared libraryin c++ and I\'m testing it using a QT interface. Everything seemed ok, but suddenly the application crashed and give me the following core dump:

Hello I'm developing a shared library in c++ and I'm testing it using a QT interface. Everything seemed ok, but suddenly the application crashed and give me the following core dump:

Program terminated with signal 11, Segmentation fault. 0 0x00401b26 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4

(gdb) bt

0 0x00401b26 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4

1 0x0043093a in ?? () from /usr/lib/libQtCore.so.4

2 0x009d7855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0

3 0x009db668 in ?? () from /lib/libglib-2.0.so.0

4 0x009db848 in g_main_context_iteration () from /lib/libglib-2.0.so.0

5 0x00430565 in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/libQtCore.so.4

6 0x05cedbe5 in ?? () from /usr/lib/libQtGui.so.4

7 0x00400609 in QEventLoop::processEvents(QFlags) () from /usr/lib/libQtCore.so.4

8 0x00400a8a in QEventLoop::exec(QFlags) () from /usr/lib/libQtCore.so.4

9 0x0040500f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4

10 0x05c2ae07 in QApplication::exec() () from /usr/lib/libQtGui.so.4

11 0x0804cd72 in main ()

I'm running in ubu开发者_如何转开发ntu 10.10 installed in a SD card, and I'm using QT 4.7.0. In Windows the application works ok, and in Linux too, until the application crashed at a random time. I don't know if a QT bug with ubuntu or something like that, because I have read in internet, applications with similar core dump.

Thanks!

0

精彩评论

暂无评论...
验证码 换一张
取 消