EXC_CRASH (SIGABRT)
-
hello i gat the crash of my appication and i'm not able to find where it crash i attach the report are you can tell me where to find the problem:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-threadApplication Specific Information:
abort() calledThread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fff827dd616 __kill + 10
1 libSystem.B.dylib 0x00007fff8287dcca abort + 83
2 QtCore 0x000000010285f145 qt_message_output(QtMsgType, char const*) + 117
3 QtCore 0x000000010285f327 qt_message(QtMsgType, char const*, __va_list_tag*) + 183
4 QtCore 0x000000010285f4ea qFatal(char const*, ...) + 170
5 com.yourcompany.Excalibur 0x000000010000c1f2 QList<QString>::operator + 66 (qlist.h:463)
6 com.yourcompany.Excalibur 0x0000000100007cb5 Widget::leggo_socket() + 1439 (widget.cpp:500)
7 com.yourcompany.Excalibur 0x000000010000fa99 Widget::qt_metacall(QMetaObject::Call, int, void**) + 307 (moc_widget.cpp:109)
8 QtCore 0x00000001028b3726 QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 710
9 QtNetwork 0x0000000102777418 QAbstractSocketPrivate::canReadNotification() + 632
10 QtNetwork 0x00000001027678e9 QReadNotifier::event(QEvent*) + 41
11 QtGui 0x0000000101af1ddd QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189
12 QtGui 0x0000000101af8dfe QApplication::notify(QObject*, QEvent*) + 2094
13 QtCore 0x00000001028acdec QCoreApplication::notifyInternal(QObject*, QEvent*) + 124
14 QtGui 0x0000000101aaca34 qt_mac_socket_callback(__CFSocket*, unsigned long, __CFData const*, void const*, void*) + 148
15 com.apple.CoreFoundation 0x00007fff86f85bea __CFSocketDoCallback + 634
16 com.apple.CoreFoundation 0x00007fff86f855eb __CFSocketPerformV0 + 315
17 com.apple.CoreFoundation 0x00007fff86f5d401 __CFRunLoopDoSources0 + 1361
18 com.apple.CoreFoundation 0x00007fff86f5b5f9 __CFRunLoopRun + 873
19 com.apple.CoreFoundation 0x00007fff86f5adbf CFRunLoopRunSpecific + 575
20 com.apple.HIToolbox 0x00007fff81c4193a RunCurrentEventLoopInMode + 333
21 com.apple.HIToolbox 0x00007fff81c4173f ReceiveNextEventCommon + 310
22 com.apple.HIToolbox 0x00007fff81c415f8 BlockUntilNextEventMatchingListInMode + 59
23 com.apple.AppKit 0x00007fff836f2e64 _DPSNextEvent + 718
24 com.apple.AppKit 0x00007fff836f27a9 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
25 com.apple.AppKit 0x00007fff836b848b -[NSApplication run] + 395
26 QtGui 0x0000000101aad344 QEventDispatcherMac::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 1588
27 QtCore 0x0000000102986e54 QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 68
28 QtCore 0x0000000102987174 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 180
29 QtCore 0x000000010298879c QCoreApplication::exec() + 188
30 com.yourcompany.Excalibur 0x0000000100003aad main + 87 (main.cpp:10)
31 com.yourcompany.Excalibur 0x0000000100003482 _start + 224
32 com.yourcompany.Excalibur 0x00000001000033a1 start + 33Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x00007fff827a816a kevent + 10
1 libSystem.B.dylib 0x00007fff827aa03d _dispatch_mgr_invoke + 154
2 libSystem.B.dylib 0x00007fff827a9d14 _dispatch_queue_invoke + 185
3 libSystem.B.dylib 0x00007fff827a983e _dispatch_worker_thread2 + 252
4 libSystem.B.dylib 0x00007fff827a9168 _pthread_wqthread + 353
5 libSystem.B.dylib 0x00007fff827a9005 start_wqthread + 13Thread 2: com.apple.CFSocket.private
0 libSystem.B.dylib 0x00007fff827d2e92 select$DARWIN_EXTSN + 10
1 com.apple.CoreFoundation 0x00007fff86f7d498 __CFSocketManager + 824
2 libSystem.B.dylib 0x00007fff827c8536 _pthread_start + 331
3 libSystem.B.dylib 0x00007fff827c83e9 thread_start + 13Thread 3:
0 libSystem.B.dylib 0x00007fff827c9fca __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff827cdde1 _pthread_cond_wait + 1286
2 QtWebKit 0x0000000100d005b8 WTF::TCMalloc_PageHeap::scavengerThread() + 520
3 QtWebKit 0x0000000100d00659 WTF::TCMalloc_PageHeap::runScavengerThread(void*) + 9
4 libSystem.B.dylib 0x00007fff827c8536 _pthread_start + 331
5 libSystem.B.dylib 0x00007fff827c83e9 thread_start + 13Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x00007fff5fbfd388 rdx: 0x0000000000000000
rdi: 0x00000000000000a9 rsi: 0x0000000000000006 rbp: 0x00007fff5fbfd3a0 rsp: 0x00007fff5fbfd388
r8: 0x00007fff705faa40 r9: 0x000000014883a340 r10: 0x00007fff827d9656 r11: 0x0000000000000206
r12: 0x0000000000000003 r13: 0x00007fff5fbfd450 r14: 0x0000000000000003 r15: 0x0000000000000000
rip: 0x00007fff827dd616 rfl: 0x0000000000000206 cr2: 0x00007fff82868436 -
[quote author="Franzk" date="1299581316"]Sounds like an index out of bounds:
@5 com.yourcompany.Excalibur 0×000000010000c1f2 QList<QString>::operator + 66 (qlist.h:463)@[/quote]Correct. From qlist.h line 463 (which is stated in the trace, everyone can get there...):
@
inline T &QList<T>::operator[](int i)
{ Q_ASSERT_X(i >= 0 && i < p.size(), "QList<T>::operator[]", "index out of range");
detach(); return reinterpret_cast<Node *>(p.at(i))->t(); }
@PS: It would be much more helpful if you had told us which Qt version on which platform (OS X) you use. We do not have crystal balls here :-)