Bug 243426 - KRDC crashes when closing tab
Summary: KRDC crashes when closing tab
Status: RESOLVED DUPLICATE of bug 203007
Alias: None
Product: krdc
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-02 13:04 UTC by Umbriel
Modified: 2010-07-02 13:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Umbriel 2010-07-02 13:04:47 UTC
Application: krdc (4.4.5 (KDE 4.4.5))
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-23-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
KRDC crashes when closing tab at random, doesn't matter order or closing or how many tabs, but seems to crash more when closing next to last tab.
All tabs were VNC in all cases

The crash can be reproduced some of the time.

 -- Backtrace:
Application: KRDC (krdc), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f691fa27760 (LWP 13225))]

Thread 2 (Thread 0x7f690f190710 (LWP 13227)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f691ca4dfdb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1eb8760, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1eb8760, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f691ca49d64 in QSemaphore::acquire (this=0x7f690f18f9b0, n=1) at thread/qsemaphore.cpp:142
#4  0x00007f691cb501e6 in blocking_activate (sender=0x1dd4820, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f690f18fa30) at kernel/qobject.cpp:3192
#5  QMetaObject::activate (sender=0x1dd4820, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f690f18fa30) at kernel/qobject.cpp:3269
#6  0x00007f69138c3fa3 in VncClientThread::imageUpdated (this=0x1dd6a2c, _t1=908, _t2=746, _t3=18, _t4=0) at ./moc_vncclientthread.cpp:106
#7  0x00007f69138c4c18 in VncClientThread::emitUpdated (cl=<value optimized out>, x=908, y=746, w=18, h=18) at ../../../krdc/vnc/vncclientthread.cpp:233
#8  VncClientThread::updatefb (cl=<value optimized out>, x=908, y=746, w=18, h=18) at ../../../krdc/vnc/vncclientthread.cpp:95
#9  0x00007f69136b0cd3 in HandleRFBServerMessage () from /usr/lib/libvncclient.so.0
#10 0x00007f69138c5235 in VncClientThread::run (this=0x1dd4820) at ../../../krdc/vnc/vncclientthread.cpp:292
#11 0x00007f691ca4cf95 in QThreadPrivate::start (arg=0x1dd4820) at thread/qthread_unix.cpp:248
#12 0x00007f691a8af9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#13 0x00007f691c4236cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f691fa27760 (LWP 13225)):
[KCrash Handler]
#5  0x000000000041f7e3 in MainWindow::updateActionStatus (this=0x1a16f10) at ../../krdc/mainwindow.cpp:805
#6  0x0000000000421a00 in MainWindow::tabChanged (this=0x1a16f10, index=<value optimized out>) at ../../krdc/mainwindow.cpp:994
#7  0x0000000000426c28 in MainWindow::qt_metacall (this=0x1a16f10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffffc5f3bd0) at ./mainwindow.moc:152
#8  0x00007f691cb50036 in QMetaObject::activate (sender=0x1a5d940, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xa) at kernel/qobject.cpp:3295
#9  0x00007f691d91f3ee in QTabWidget::currentChanged (this=0x1db7a50, _t1=0) at .moc/release-shared/moc_qtabwidget.cpp:200
#10 0x00007f691d920cad in QTabWidgetPrivate::_q_showTab (this=0x1a5c330, index=0) at widgets/qtabwidget.cpp:733
#11 0x00007f691d920f60 in QTabWidget::qt_metacall (this=0x1a5d940, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffffc5f3d80) at .moc/release-shared/moc_qtabwidget.cpp:142
#12 0x00007f691e2bdbc5 in KTabWidget::qt_metacall (this=0x1db7a50, _c=QMetaObject::InvokeMetaMethod, _id=-64, _a=0xa) at ./ktabwidget.moc:128
#13 0x00007f691cb50036 in QMetaObject::activate (sender=0x1a5e8e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xa) at kernel/qobject.cpp:3295
#14 0x00007f691d9160de in QTabBar::currentChanged (this=0x1db7a50, _t1=0) at .moc/release-shared/moc_qtabbar.cpp:201
#15 0x00007f691d91e8b3 in QTabBar::removeTab (this=0x1a5e8e0, index=0) at widgets/qtabbar.cpp:937
#16 0x00007f691d920760 in QTabWidgetPrivate::_q_removeTab (this=<value optimized out>, index=0) at widgets/qtabwidget.cpp:743
#17 0x00007f691d920ee8 in QTabWidget::qt_metacall (this=0x1a5d940, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffffc5f3f60) at .moc/release-shared/moc_qtabwidget.cpp:143
#18 0x00007f691e2bdbc5 in KTabWidget::qt_metacall (this=0x1db7a50, _c=QMetaObject::InvokeMetaMethod, _id=-64, _a=0xa) at ./ktabwidget.moc:128
#19 0x00007f691cb50036 in QMetaObject::activate (sender=0x1a5d650, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xa) at kernel/qobject.cpp:3295
#20 0x00007f691db55a91 in QStackedWidget::widgetRemoved (this=0x1db7a50, _t1=0) at .moc/release-shared/moc_qstackedwidget.cpp:138
#21 0x00007f691db55c1e in QStackedWidget::qt_metacall (this=0x1a5d650, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7ffffc5f40a0) at .moc/release-shared/moc_qstackedwidget.cpp:89
#22 0x00007f691cb50036 in QMetaObject::activate (sender=0x1a5d240, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xa) at kernel/qobject.cpp:3295
#23 0x00007f691db4d09e in QStackedLayout::widgetRemoved (this=0x1db7a50, _t1=0) at .moc/release-shared/moc_qstackedlayout.cpp:140
#24 0x00007f691d4f2a59 in QStackedLayout::takeAt (this=0x1a5d240, index=0) at kernel/qstackedlayout.cpp:272
#25 0x00007f691d4e351f in QLayout::removeWidget (this=0x1a5d240, widget=0x1dd9150) at kernel/qlayout.cpp:1457
#26 0x00007f691e2be52d in KTabWidget::Private::removeTab (this=0x1a5e880, index=0) at ../../kdeui/widgets/ktabwidget.cpp:130
#27 0x000000000041dbd8 in TabbedViewWidget::removeTab (this=0x1a5d940, index=0) at ../../krdc/tabbedviewwidget.cpp:167
#28 0x0000000000425d4d in MainWindow::closeTab (this=0x1a16f10, widget=0x1dd9150) at ../../krdc/mainwindow.cpp:616
#29 0x0000000000426b75 in MainWindow::qt_metacall (this=0x1a16f10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffffc5f4320) at ./mainwindow.moc:143
#30 0x00007f691cb50036 in QMetaObject::activate (sender=0x1a5d940, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xa) at kernel/qobject.cpp:3295
#31 0x00007f691e2bc232 in KTabWidget::closeRequest (this=0x1db7a50, _t1=0x1dd9150) at ./ktabwidget.moc:284
#32 0x00007f691e2bdd19 in KTabWidget::qt_metacall (this=0x1a5d940, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffffc5f4460) at ./ktabwidget.moc:159
#33 0x00007f691cb50036 in QMetaObject::activate (sender=0x1a5e8e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xa) at kernel/qobject.cpp:3295
#34 0x00007f691d9160a1 in QTabBar::tabCloseRequested (this=0x1db7a50, _t1=0) at .moc/release-shared/moc_qtabbar.cpp:208
#35 0x00007f691d91b759 in QTabBar::qt_metacall (this=0x1a5e8e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffffc5f45d0) at .moc/release-shared/moc_qtabbar.cpp:141
#36 0x00007f691e2bb250 in KTabBar::qt_metacall (this=0x1db7a50, _c=QMetaObject::InvokeMetaMethod, _id=-64, _a=0xa) at ./ktabbar.moc:93
#37 0x00007f691cb50036 in QMetaObject::activate (sender=0x1dde7a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xa) at kernel/qobject.cpp:3295
#38 0x00007f691db50cf2 in QAbstractButton::clicked (this=0x1db7a50, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#39 0x00007f691d86975b in QAbstractButtonPrivate::emitClicked (this=0x1dde490) at widgets/qabstractbutton.cpp:546
#40 0x00007f691d86a5fb in QAbstractButtonPrivate::click (this=0x1dde490) at widgets/qabstractbutton.cpp:539
#41 0x00007f691d86a86c in QAbstractButton::mouseReleaseEvent (this=0x1dde7a0, e=0x7ffffc5f4f20) at widgets/qabstractbutton.cpp:1121
#42 0x00007f691d508f12 in QWidget::event (this=0x1dde7a0, event=0x7ffffc5f4f20) at kernel/qwidget.cpp:8044
#43 0x00007f691d4b2c0c in QApplicationPrivate::notify_helper (this=0x1944210, receiver=0x1dde7a0, e=0x7ffffc5f4f20) at kernel/qapplication.cpp:4302
#44 0x00007f691d4b98bb in QApplication::notify (this=0x7ffffc5f5c30, receiver=0x1dde7a0, e=0x7ffffc5f4f20) at kernel/qapplication.cpp:3867
#45 0x00007f691e1c1a16 in KApplication::notify (this=0x7ffffc5f5c30, receiver=0x1dde7a0, event=0x7ffffc5f4f20) at ../../kdeui/kernel/kapplication.cpp:302
#46 0x00007f691cb3cd9c in QCoreApplication::notifyInternal (this=0x7ffffc5f5c30, receiver=0x1dde7a0, event=0x7ffffc5f4f20) at kernel/qcoreapplication.cpp:726
#47 0x00007f691d4b8a9e in QCoreApplication::sendEvent (receiver=0x1dde7a0, event=0x7ffffc5f4f20, alienWidget=0x1dde7a0, nativeWidget=0x1a16f10, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#48 QApplicationPrivate::sendMouseEvent (receiver=0x1dde7a0, event=0x7ffffc5f4f20, alienWidget=0x1dde7a0, nativeWidget=0x1a16f10, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2967
#49 0x00007f691d538ba5 in QETWidget::translateMouseEvent (this=0x1a16f10, event=<value optimized out>) at kernel/qapplication_x11.cpp:4380
#50 0x00007f691d5374ec in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7ffffc5f5840) at kernel/qapplication_x11.cpp:3513
#51 0x00007f691d5635a2 in x11EventSourceDispatch (s=0x1947fd0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#52 0x00007f69188088c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#53 0x00007f691880c748 in ?? () from /lib/libglib-2.0.so.0
#54 0x00007f691880c8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#55 0x00007f691cb663b3 in QEventDispatcherGlib::processEvents (this=0x192c380, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#56 0x00007f691d56318e in QGuiEventDispatcherGlib::processEvents (this=0x1db7a50, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#57 0x00007f691cb3b6c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#58 0x00007f691cb3ba9c in QEventLoop::exec (this=0x7ffffc5f5b70, flags=) at kernel/qeventloop.cpp:201
#59 0x00007f691cb4073b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#60 0x0000000000427c2b in main (argc=<value optimized out>, argv=<value optimized out>) at ../../krdc/main.cpp:103

Possible duplicates by query: bug 240395, bug 203007.

Reported using DrKonqi
Comment 1 Urs Wolfer 2010-07-02 13:27:44 UTC

*** This bug has been marked as a duplicate of bug 203007 ***