Bug 198352 - quassel crash on systray icon click
Summary: quassel crash on systray icon click
Status: RESOLVED NOT A BUG
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-29 22:59 UTC by Sjors Gielen
Modified: 2009-07-13 19:47 UTC (History)
2 users (show)

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 Sjors Gielen 2009-06-29 22:59:35 UTC
Application that crashed: quasselclient
Version of the application: v0.4.2 (dist-875f62c)
KDE Version: 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2))
Qt Version: 4.5.2
Operating System: Linux 2.6.30-10-generic x86_64
Distribution: Ubuntu karmic (development branch)

What I was doing when the application crashed:
I have Quasselcore running on a remote server in the same network. When I run Quasselclient, I briefly get a window telling me it's connecting, and then the window disappears and the sytray icon slowly turns from grey to blue. So far so good. Then, when I click it to actually see Quasselclient and use it, it crashes. This also happens if I wait a few minutes before clicking on it; a workaround is to click it just before it is actually connected to the quasselcore, then it stays open, connects fine, and everything works. Then, minimizing to tray and re-opening it works too.

 -- Backtrace:
Application: Quassel IRC (quasselclient), signal: Segmentation fault
[Current thread is 0 (LWP 17928)]

Thread 2 (Thread 0x7f35d64ba950 (LWP 17929)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f35e8f6549b in QWaitCondition::wait (this=<value optimized out>, mutex=0x2146f88, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f35e7e4971c in QHostInfoAgent::run (this=0x2146f70) at kernel/qhostinfo.cpp:260
#3  0x00007f35e8f643e5 in QThreadPrivate::start (arg=0x2146f70) at thread/qthread_unix.cpp:188
#4  0x00007f35e41a93ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f35e4f941bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f35e9517760 (LWP 17928)):
[KCrash Handler]
#4  QSortFilterProxyModel::parent (this=0x23df190, child=@0x1a69d90) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#5  0x00007f35e87909df in QTreeView::indexRowSizeHint (this=0x19aec30, index=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:369
#6  0x00007f35e879114e in QTreeViewPrivate::itemHeight (this=0x19e3490, item=1) at itemviews/qtreeview.cpp:3207
#7  0x00007f35e87913a7 in QTreeViewPrivate::updateScrollBars (this=0x19e3490) at itemviews/qtreeview.cpp:3459
#8  0x00007f35e87917f4 in QTreeView::updateGeometries (this=0x19aec30) at itemviews/qtreeview.cpp:2693
#9  0x00007f35e82d0e84 in QWidget::event (this=0x19aec30, event=0x7fffa3a28b80) at kernel/qwidget.cpp:7695
#10 0x00007f35e862c6c6 in QFrame::event (this=0x19aec30, e=0x7fffa3a28b80) at widgets/qframe.cpp:559
#11 0x00007f35e875f64b in QAbstractItemView::viewportEvent (this=0x19aec30, event=0x7fffa3a28b80) at itemviews/qabstractitemview.cpp:1476
#12 0x00007f35e8796840 in QTreeView::viewportEvent (this=0x19aec30, event=0x7fffa3a28b80) at itemviews/qtreeview.cpp:1266
#13 0x00007f35e9049f87 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2572a80, event=0x7fffa3a28b80) at kernel/qcoreapplication.cpp:726
#14 0x00007f35e82825fc in QApplicationPrivate::notify_helper (this=0x18fb0e0, receiver=0x2572a80, e=0x7fffa3a28b80) at kernel/qapplication.cpp:4052
#15 0x00007f35e82898fe in QApplication::notify (this=0x7fffa3a2c0e0, receiver=0x2572a80, e=0x7fffa3a28b80) at kernel/qapplication.cpp:4021
#16 0x00007f35e62acc16 in KApplication::notify (this=0x7fffa3a2c0e0, receiver=0x2572a80, event=0x7fffa3a28b80) at ../../kdeui/kernel/kapplication.cpp:302
#17 0x00007f35e904ac6c in QCoreApplication::notifyInternal (this=0x7fffa3a2c0e0, receiver=0x2572a80, event=0x7fffa3a28b80) at kernel/qcoreapplication.cpp:610
#18 0x00007f35e82cfddb in QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x19f6a10, recursive=false, disableUpdates=false)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#19 0x00007f35e82d6033 in QWidgetPrivate::show_helper (this=0x7fffa3a27c90) at kernel/qwidget.cpp:6697
#20 0x00007f35e82d726a in QWidget::setVisible (this=0x2572a80, visible=<value optimized out>) at kernel/qwidget.cpp:6975
#21 0x00007f35e82d64c6 in QWidgetPrivate::showChildren (this=<value optimized out>, spontaneous=false) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:473
#22 0x00007f35e82d604f in QWidgetPrivate::show_helper (this=0x19e3490) at kernel/qwidget.cpp:6703
#23 0x00007f35e82d6431 in QWidgetPrivate::showChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7061
#24 0x00007f35e82d604f in QWidgetPrivate::show_helper (this=0x1bb3880) at kernel/qwidget.cpp:6703
#25 0x00007f35e82d6431 in QWidgetPrivate::showChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7061
#26 0x00007f35e82d604f in QWidgetPrivate::show_helper (this=0x19e3f20) at kernel/qwidget.cpp:6703
#27 0x00007f35e82d726a in QWidget::setVisible (this=0x19c9e70, visible=<value optimized out>) at kernel/qwidget.cpp:6975
#28 0x00007f35e632bae2 in KSystemTrayIcon::minimizeRestore (this=0x1a803a0, restore=true) at /usr/include/qt4/QtGui/qwidget.h:473
#29 0x00007f35e632bc46 in KSystemTrayIcon::activateOrHide (this=0x1a803a0, reasonCalled=<value optimized out>) at ../../kdeui/util/ksystemtrayicon.cpp:289
#30 0x00007f35e632caa3 in KSystemTrayIcon::qt_metacall (this=0x1a803a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa3a29280) at ./ksystemtrayicon.moc:84
#31 0x00007f35e9052ea7 in QMetaMethod::invoke (this=0x7fffa3a29530, object=0x1a803a0, connectionType=<value optimized out>, returnValue=
        {<QGenericArgument> = {_data = 0x0, _name = 0x0}, <No data fields>}, val0={_data = 0x7fffa3a299dc, _name = 0x5587a8 "QSystemTrayIcon::ActivationReason"}, val1={_data = 0x0, _name = 0x0}, 
    val2={_data = 0x0, _name = 0x0}, val3={_data = 0x0, _name = 0x0}, val4={_data = 0x0, _name = 0x0}, val5={_data = 0x0, _name = 0x0}, val6={_data = 0x0, _name = 0x0}, val7=
      {_data = 0x0, _name = 0x0}, val8={_data = 0x0, _name = 0x0}, val9={_data = 0x0, _name = 0x0}) at kernel/qmetaobject.cpp:1522
#32 0x00007f35e9053546 in QMetaObject::invokeMethod (obj=0x1a803a0, member=<value optimized out>, type=<value optimized out>, ret={<QGenericArgument> = {_data = 0x0, _name = 0x0}, <No data fields>}, 
    val0={_data = 0x7fffa3a299dc, _name = 0x5587a8 "QSystemTrayIcon::ActivationReason"}, val1={_data = 0x0, _name = 0x0}, val2={_data = 0x0, _name = 0x0}, val3={_data = 0x0, _name = 0x0}, val4=
      {_data = 0x0, _name = 0x0}, val5={_data = 0x0, _name = 0x0}, val6={_data = 0x0, _name = 0x0}, val7={_data = 0x0, _name = 0x0}, val8={_data = 0x0, _name = 0x0}, val9={_data = 0x0, _name = 0x0})
    at kernel/qmetaobject.cpp:1114
#33 0x0000000000447fdc in ?? ()
#34 0x000000000044717d in ?? ()
#35 0x0000000000493f2b in ?? ()
#36 0x00007f35e905fe1c in QMetaObject::activate (sender=0x1a803a0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x23df190) at kernel/qobject.cpp:3113
#37 0x00007f35e888aede in QSystemTrayIcon::activated (this=0x7fffa3a27c90, _t1=QSystemTrayIcon::Trigger) at .moc/release-shared/moc_qsystemtrayicon.cpp:128
#38 0x00007f35e887ee66 in QSystemTrayIconSys::mousePressEvent (this=0x1a582e0, ev=0x7fffa3a2a1f0) at util/qsystemtrayicon_x11.cpp:298
#39 0x00007f35e82d1056 in QWidget::event (this=0x1a582e0, event=0x7fffa3a2a1f0) at kernel/qwidget.cpp:7545
#40 0x00007f35e828262c in QApplicationPrivate::notify_helper (this=0x18fb0e0, receiver=0x1a582e0, e=0x7fffa3a2a1f0) at kernel/qapplication.cpp:4056
#41 0x00007f35e8289741 in QApplication::notify (this=<value optimized out>, receiver=0x1a582e0, e=0x7fffa3a2a1f0) at kernel/qapplication.cpp:3758
#42 0x00007f35e62acc16 in KApplication::notify (this=0x7fffa3a2c0e0, receiver=0x1a582e0, event=0x7fffa3a2a1f0) at ../../kdeui/kernel/kapplication.cpp:302
#43 0x00007f35e904ac6c in QCoreApplication::notifyInternal (this=0x7fffa3a2c0e0, receiver=0x1a582e0, event=0x7fffa3a2a1f0) at kernel/qcoreapplication.cpp:610
#44 0x00007f35e8289010 in QApplicationPrivate::sendMouseEvent (receiver=0x1a582e0, event=0x7fffa3a2a1f0, alienWidget=0x0, nativeWidget=0x1a582e0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#45 0x00007f35e82ef07e in QETWidget::translateMouseEvent (this=0x1a582e0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4409
#46 0x00007f35e82ee119 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffa3a2bd20) at kernel/qapplication_x11.cpp:3550
#47 0x00007f35e831731c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#48 0x00007f35e43f98fe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#49 0x00007f35e43fcfd8 in ?? () from /usr/lib/libglib-2.0.so.0
#50 0x00007f35e43fd100 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#51 0x00007f35e90731f6 in QEventDispatcherGlib::processEvents (this=0x18e0dd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#52 0x00007f35e8316ace in QGuiEventDispatcherGlib::processEvents (this=0x7fffa3a27c90, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#53 0x00007f35e9049572 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#54 0x00007f35e9049944 in QEventLoop::exec (this=0x7fffa3a2c050, flags=) at kernel/qeventloop.cpp:201
#55 0x00007f35e904baf9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#56 0x000000000043062d in _start ()

Reported using DrKonqi
Comment 1 Pino Toscano 2009-06-29 23:03:52 UTC
We do not develop Quassel, so you have to report the problem to its developers.
Comment 2 Sjors Gielen 2009-06-29 23:21:14 UTC
Hey, I just used DrKonqi, isn't it supposed to automatically send the report to the correct bugreporting site? :-)
I'll give the project guys a link. Sorry for the noise here.
Comment 3 Dario Andres 2009-07-10 18:45:56 UTC
Yeah, it is an error in the Quassel code that forces the crash reporting tool to send the bug here (where it doesn't belong). I will try to contact them.
Thanks
Comment 4 Manuel Nickschas 2009-07-13 19:47:01 UTC
This bug has already been reported at http://bugs.quassel-irc.org/issues/show/663 -- we still haven't been able to fix it though yet.

In addition, I have now fixed the bugAddress in Quassel's KAboutData (thanks to Dario for poking me), so in future releases the correct bugtracker should be shown :)