coolfluid/coolfluid3 — Issue #161: GUI crash on right-click Root
Author: wdeconinck
Created: 2011-11-22 14:09:08+00:00
State: open
Labels: BUG

Starting up the GUI, and right-clicking on the Root component results in crash of the gui (not the server).
This is on Lion, with Qt Release Candidate 4.8.
See the backtrace for more info

The backtrace:

```

Process: coolfluid-gui [67472]
Path: /Users/USER/*/coolfluid-gui
Identifier: coolfluid-gui
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: bash [216]

Date/Time: 2011-11-22 15:03:30.276 +0100
OS Version: Mac OS X 10.7.2 (11C74)
Report Version: 9

Interval Since Last Report: 10035 sec
Crashes Since Last Report: 6
Per-App Crashes Since Last Report: 4
Anonymous UUID: 850A70A1-AF3D-4732-B5BF-1A794F1B1415

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: 0x000000000000000d, 0x0000000000000000

VM Regions Near 0:
-->
__TEXT 0000000102185000-000000010218d000 [ 32K] r-x/rwx SM=COW /Users/USER/*

Application Specific Information:
objc[67472]: garbage collection is OFF

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 QtCore	0x000000010320e846 QString::toAscii() const + 48
1 libcoolfluid_ui_qwt_tab.dylib	0x00000001034c1b75 QString::toStdString() const + 21
2 libcoolfluid_ui_core.dylib	0x00000001035e19df cf3::UI::Core::NTree::node_by_path(cf3::common::URI const&) + 607
3 libcoolfluid_ui_graphics.dylib	0x0000000103534f07 cf3::UI::Graphics::TreeView::mousePressEvent(QMouseEvent*) + 439
4 QtGui	0x00000001024664b7 QWidget::event(QEvent*) + 225
5 QtGui	0x00000001027b8212 QFrame::event(QEvent*) + 40
6 QtGui	0x0000000102836fc4 QAbstractScrollArea::viewportEvent(QEvent*) + 126
7 QtGui	0x00000001028beed7 QAbstractItemView::viewportEvent(QEvent*) + 663
8 QtGui	0x00000001028fad9c QTreeView::viewportEvent(QEvent*) + 284
9 QtGui	0x00000001028393ad QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) + 33
10 QtCore	0x00000001032afe51 QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 149
11 QtGui	0x0000000102417d18 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 288
12 QtGui	0x0000000102418778 QApplication::notify(QObject*, QEvent*) + 2602
13 libcoolfluid_ui_graphics.dylib	0x00000001034ff2d2 cf3::UI::Graphics::Application::notify(QObject*, QEvent*) + 18
14 QtCore	0x00000001032b2202 QCoreApplication::notifyInternal(QObject*, QEvent*) + 104
15 QtGui	0x000000010242042e QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool) + 432
16 QtGui	0x00000001023cf9d8 qt_mac_handleMouseEvent(NSEvent*, QEvent::Type, Qt::MouseButton, QWidget*) + 904
17 com.apple.AppKit	0x00007fff8c955544 -[NSWindow sendEvent:] + 7430
18 QtGui	0x00000001023c72bf -[QCocoaWindow sendEvent:] + 111
19 com.apple.AppKit	0x00007fff8c8ed68f -[NSApplication sendEvent:] + 5593
20 QtGui	0x00000001023caac2 -[QNSApplication sendEvent:] + 82
21 com.apple.AppKit	0x00007fff8c883682 -[NSApplication run] + 555
22 QtGui	0x00000001023d3cd0 QEventDispatcherMac::processEvents(QFlags) + 840
23 QtCore	0x00000001032af788 QEventLoop::exec(QFlags) + 394
24 QtCore	0x00000001032b2953 QCoreApplication::exec() + 175
25 coolfluid-gui	0x000000010218c60e main + 302
26 coolfluid-gui	0x000000010218c4d4 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib	0x00007fff8bd227e6 kevent + 10
1 libdispatch.dylib	0x00007fff81fb95be _dispatch_mgr_invoke + 923
2 libdispatch.dylib	0x00007fff81fb814e _dispatch_mgr_thread + 54

Thread 2:
0 libsystem_kernel.dylib	0x00007fff8bd22192 __workq_kernreturn + 10
1 libsystem_c.dylib	0x00007fff8390d594 _pthread_wqthread + 758
2 libsystem_c.dylib	0x00007fff8390eb85 start_wqthread + 13

Thread 3:
0 libsystem_kernel.dylib	0x00007fff8bd22192 __workq_kernreturn + 10
1 libsystem_c.dylib	0x00007fff8390d594 _pthread_wqthread + 758
2 libsystem_c.dylib	0x00007fff8390eb85 start_wqthread + 13

Thread 4:
0 libsystem_kernel.dylib	0x00007fff8bd21df2 __select + 10
1 QtCore	0x00000001032db586 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 70
2 QtCore	0x00000001032dfb01 QEventDispatcherUNIXPrivate::doSelect(QFlags, timeval*) + 851
3 QtCore	0x00000001032dff5d QEventDispatcherUNIX::processEvents(QFlags) + 225
4 QtCore	0x00000001032af788 QEventLoop::exec(QFlags) + 394
5 QtCore	0x00000001031bedd6 QThread::exec() + 216
6 libcoolfluid_ui_core.dylib	0x00000001035e9a9c cf3::UI::Core::TreeThread::run() + 2572
7 QtCore	0x00000001031c188f QThreadPrivate::start(void*) + 373
8 libsystem_c.dylib	0x00007fff8390b8bf _pthread_start + 335
9 libsystem_c.dylib	0x00007fff8390eb75 thread_start + 13

Thread 5:
0 libsystem_kernel.dylib	0x00007fff8bd22192 __workq_kernreturn + 10
1 libsystem_c.dylib	0x00007fff8390d594 _pthread_wqthread + 758
2 libsystem_c.dylib	0x00007fff8390eb85 start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x000200000000002f rbx: 0x00007fff61d82ca8 rcx: 0x0000000000000000 rdx: 0x00007fc242b26238
rdi: 0x00007fff61d82ca8 rsi: 0x00007fc242b26238 rbp: 0x00007fff61d82c90 rsp: 0x00007fff61d82c80
r8: 0x0000000103dd4200 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x00000001031e176a
r12: 0x000000010293b74a r13: 0x000000010335b7d0 r14: 0x00007fc240c3c210 r15: 0x00007fff61d83a78
rip: 0x000000010320e846 rfl: 0x0000000000010246 cr2: 0x0000000102e649d9
Logical CPU: 4
```