nurupo / ProjectTox-Qt-GUI

A cross-platform front end for ProjectTox Core library, written in C++11 with use of Qt5
GNU General Public License v3.0
341 stars 116 forks source link

crashes when adding friend on OSX #51

Closed benwaffle closed 11 years ago

benwaffle commented 11 years ago

it seems to be a problem with libc++ i'm using libcxx from llvm

Process:         TOX-Qt-GUI [80029]
Path:            /Applications/Tox/TOX-Qt-GUI.app/Contents/MacOS/TOX-Qt-GUI
Identifier:      com.yourcompany.TOX-Qt-GUI
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  launchd [114]

Date/Time:       2013-09-15 18:24:46.724 -0400
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Interval Since Last Report:          229463 sec
Crashes Since Last Report:           11
Per-App Interval Since Last Report:  469 sec
Per-App Crashes Since Last Report:   3
Anonymous UUID:                      1639749C-AFA0-44E8-810E-A5DCE06535F4

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000000000000d
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libstdc++.6.dylib               0x00007fff85a7ca2a __cxxabiv1::__vmi_class_type_info::__do_upcast(__cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info::__upcast_result&) const + 464
1   libc++abi.dylib                 0x0000000147f04c4d __dynamic_cast + 125
2   com.yourcompany.TOX-Qt-GUI      0x0000000146cce8e3 PagesWidget::widget(int) const + 83
3   com.yourcompany.TOX-Qt-GUI      0x0000000146ccec6d PagesWidget::statusChanged(int, Status) + 13
4   QtCore                          0x0000000147a4917c QMetaObject::activate(QObject*, int, int, void**) + 2316
5   com.yourcompany.TOX-Qt-GUI      0x0000000146cef0da FriendsWidget::friendStatusChanged(int, Status) + 74
6   com.yourcompany.TOX-Qt-GUI      0x0000000146ccbcfb FriendsWidget::setStatus(QStandardItem*, Status) + 347
7   com.yourcompany.TOX-Qt-GUI      0x0000000146ccbab2 FriendsWidget::addFriend(int, QString const&) + 386
8   QtCore                          0x0000000147a422e8 QObject::event(QEvent*) + 808
9   QtWidgets                       0x0000000146e0e0b2 QWidget::event(QEvent*) + 4514
10  QtWidgets                       0x0000000146dd6897 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 311
11  QtWidgets                       0x0000000146dda119 QApplication::notify(QObject*, QEvent*) + 9897
12  QtCore                          0x0000000147a1aea4 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 788
13  QtGui                           0x00000001473e4ff1 QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 17
14  libqcocoa.dylib                 0x0000000100717385 QCocoaEventDispatcherPrivate::processPostedEvents() + 149
15  libqcocoa.dylib                 0x0000000100717dcb QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 43
16  com.apple.CoreFoundation        0x00007fff8a3d13d1 __CFRunLoopDoSources0 + 1361
17  com.apple.CoreFoundation        0x00007fff8a3cf5c9 __CFRunLoopRun + 873
18  com.apple.CoreFoundation        0x00007fff8a3ced8f CFRunLoopRunSpecific + 575
19  com.apple.HIToolbox             0x00007fff81f4b7ee RunCurrentEventLoopInMode + 333
20  com.apple.HIToolbox             0x00007fff81f4b5f3 ReceiveNextEventCommon + 310
21  com.apple.HIToolbox             0x00007fff81f4b4ac BlockUntilNextEventMatchingListInMode + 59
22  com.apple.AppKit                0x00007fff83f51eb2 _DPSNextEvent + 708
23  com.apple.AppKit                0x00007fff83f51801 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
24  com.apple.AppKit                0x00007fff83f1768f -[NSApplication run] + 395
25  libqcocoa.dylib                 0x000000010071698b QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1307
26  QtCore                          0x0000000147a17753 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 403
27  QtCore                          0x0000000147a1a845 QCoreApplication::exec() + 357
28  com.yourcompany.TOX-Qt-GUI      0x0000000146cc73a4 main + 52
29  com.yourcompany.TOX-Qt-GUI      0x0000000146cc7364 start + 52
benwaffle commented 11 years ago

after upgrading from 10.6 to 10.9, it works now