Connecting to remote server with client crashes. Reproducible #210

Open
wdeconinck opened this Issue May 15, 2012 · 0 comments

2 participants

@wdeconinck
coolfluid member

I have 2 bugs here.

  • I have a remote server, but accidentally try to connect to "localhost", through the menu.
  • I retry to connect to the correct remote server through the menu, but nothing happens. I can keep doing this but nothing happens --> bug 1
  • I retry to connect through the root signal "connect to server" . The client crashes immediately before even showing any dialog to enter the server--> bug 2

in bug 2, the crash is with a segmentation fault. The trace is here:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   QtGui                           0x00000001033a65c8 QWidget::windowTitle() const + 22
1   QtGui                           0x00000001033ac51d QWidget::setWindowTitle(QString const&) + 31
2   libcoolfluid_ui_graphics.dylib  0x0000000104574d95 cf3::ui::graphics::SignatureDialog::show(cf3::common::XML::XmlNode&, QString const&, bool) + 485 (SignatureDialog.cpp:78)
3   libcoolfluid_ui_graphics.dylib  0x000000010456f941 cf3::ui::graphics::SignalManager::signal_signature(cf3::common::XML::SignalFrame&) + 1105 (SignalManager.cpp:162)
4   libcoolfluid_ui_graphics.dylib  0x000000010456f43e cf3::ui::graphics::SignalManager::action_triggered() + 366 (SignalManager.cpp:127)
5   libcoolfluid_ui_graphics.dylib  0x0000000104582e68 cf3::ui::graphics::SignalManager::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 152 (moc_SignalManager.cxx:55)
6   QtCore                          0x00000001042099d1 QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2001
7   QtGui                           0x0000000103363579 QAction::activate(QAction::ActionEvent) + 217
8   QtGui                           0x000000010371c385 QMenuPrivate::activateCausedStack(QList<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) + 61
9   QtGui                           0x000000010371ed9f QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) + 451
10  QtGui                           0x000000010371918a QMenu::mouseReleaseEvent(QMouseEvent*) + 148
11  QtGui                           0x00000001033b1f12 QWidget::event(QEvent*) + 284
12  QtGui                           0x0000000103718a00 QMenu::event(QEvent*) + 174
13  QtGui                           0x0000000103367238 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 304
14  QtGui                           0x0000000103367b88 QApplication::notify(QObject*, QEvent*) + 2346
15  libcoolfluid_ui_graphics.dylib  0x000000010451f034 cf3::ui::graphics::Application::notify(QObject*, QEvent*) + 36 (Application.cpp:31)
16  QtCore                          0x00000001041f4d86 QCoreApplication::notifyInternal(QObject*, QEvent*) + 104
17  QtGui                           0x000000010336f7f8 QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) + 432
18  QtGui                           0x000000010331ecc8 qt_mac_handleMouseEvent(NSEvent*, QEvent::Type, Qt::MouseButton, QWidget*) + 904
19  com.apple.AppKit                0x00007fff8fa5e7a6 -[NSWindow sendEvent:] + 6504
20  QtGui                           0x000000010330f04f -[QCocoaPanel sendEvent:] + 111
21  com.apple.AppKit                0x00007fff8f9f716d -[NSApplication sendEvent:] + 5593
22  QtGui                           0x0000000103319db2 -[QNSApplication sendEvent:] + 82
23  com.apple.AppKit                0x00007fff8f98d1f2 -[NSApplication run] + 555
24  QtGui                           0x0000000103322fc0 QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 840
25  QtCore                          0x00000001041f2348 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 394
26  QtGui                           0x000000010371e68b QMenu::exec(QPoint const&, QAction*) + 107
27  libcoolfluid_ui_graphics.dylib  0x000000010456f2ba cf3::ui::graphics::SignalManager::show_menu(QPoint const&, cf3::Handle<cf3::ui::core::CNode>, QList<cf3::ui::core::ActionInfo> const&) + 1050 (SignalManager.cpp:107)
28  libcoolfluid_ui_graphics.dylib  0x000000010457e2a8 cf3::ui::graphics::TreeView::mousePressEvent(QMouseEvent*) + 792 (TreeView.cpp:200)
29  QtGui                           0x00000001033b1efe QWidget::event(QEvent*) + 264
30  QtGui                           0x00000001036dfc52 QFrame::event(QEvent*) + 40
31  QtGui                           0x0000000103758bf4 QAbstractScrollArea::viewportEvent(QEvent*) + 126
32  QtGui                           0x00000001037e0347 QAbstractItemView::viewportEvent(QEvent*) + 663
33  QtGui                           0x000000010381c30c QTreeView::viewportEvent(QEvent*) + 284
34  QtGui                           0x000000010375afbd QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) + 33
35  QtCore                          0x00000001041f3211 QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 155
36  QtGui                           0x0000000103367228 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 288
37  QtGui                           0x0000000103367b88 QApplication::notify(QObject*, QEvent*) + 2346
38  libcoolfluid_ui_graphics.dylib  0x000000010451f034 cf3::ui::graphics::Application::notify(QObject*, QEvent*) + 36 (Application.cpp:31)
39  QtCore                          0x00000001041f4d86 QCoreApplication::notifyInternal(QObject*, QEvent*) + 104
40  QtGui                           0x000000010336f7f8 QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) + 432
41  QtGui                           0x000000010331ecc8 qt_mac_handleMouseEvent(NSEvent*, QEvent::Type, Qt::MouseButton, QWidget*) + 904
42  com.apple.AppKit                0x00007fff8fa5eb44 -[NSWindow sendEvent:] + 7430
43  QtGui                           0x000000010331652f -[QCocoaWindow sendEvent:] + 111
44  com.apple.AppKit                0x00007fff8f9f716d -[NSApplication sendEvent:] + 5593
45  QtGui                           0x0000000103319db2 -[QNSApplication sendEvent:] + 82
46  com.apple.AppKit                0x00007fff8f98d1f2 -[NSApplication run] + 555
47  QtGui                           0x0000000103322fc0 QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 840
48  QtCore                          0x00000001041f2348 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 394
49  QtCore                          0x00000001041f54bb QCoreApplication::exec() + 175
50  coolfluid-gui                   0x00000001030c1adc main + 572 (gui-main.cpp:55)
51  coolfluid-gui                   0x00000001030c1894 start + 52

I assign you to this Quentin. If you find the time.

@gquentin gquentin was assigned May 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment