Bug 253994 - crashing on ctrl-w and confirmation
Summary: crashing on ctrl-w and confirmation
Status: RESOLVED WORKSFORME
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: 1.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords: triaged
: 259531 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-12 19:38 UTC by hyper_ch
Modified: 2018-10-27 02:49 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hyper_ch 2010-10-12 19:38:47 UTC
Application: konversation (1.3)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-25-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:

Well, I tried to enter the #monit channel on freenode but I got some weird message and konversation (in conjunction with ZNC) kicked me out of the channel and tried to reconnect immedialte. So the channel tab contantly dis/appeared.

So, upon selecting it, I tried to ctrl-w it and then pressed ok. I assume at the time I pressed the "ok", that konversation already closed the tab again and then it crashed.

-- Backtrace:
Application: Konversation (konversation), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7807760 (LWP 2793))]

Thread 2 (Thread 0xb487bb70 (LWP 2795)):
#0  0x00bbae16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x06d9a48b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x06e70965 in QTimerInfoList::updateCurrentTime (this=0x9eb2d34) at kernel/qeventdispatcher_unix.cpp:339
#4  0x06e709aa in QTimerInfoList::timerWait (this=0x9eb2d34, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x06e6ea38 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb487b06c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x06e6eac5 in timerSourcePrepare (source=0x0, timeout=0xbbeff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x084aaaca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x084aaee9 in ?? () from /lib/libglib-2.0.so.0
#9  0x084ab4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x06e6e82f in QEventDispatcherGlib::processEvents (this=0x9eb1800, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x06e3ea99 in QEventLoop::processEvents (this=0xb487b240, flags=) at kernel/qeventloop.cpp:149
#12 0x06e3ef1a in QEventLoop::exec (this=0xb487b240, flags=...) at kernel/qeventloop.cpp:201
#13 0x06d3bc5e in QThread::exec (this=0x9e9a4d0) at thread/qthread.cpp:490
#14 0x06e1d9ab in QInotifyFileSystemWatcherEngine::run (this=0x9e9a4d0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x06d3ef39 in QThreadPrivate::start (arg=0x9e9a4d0) at thread/qthread_unix.cpp:266
#16 0x002a496e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#17 0x06528a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7807760 (LWP 2793)):
[KCrash Handler]
#7  QBasicAtomicInt::ref (this=0xb0df770) at /usr/include/qt4/QtCore/qatomic_i386.h:120
#8  QString (this=0xb0df770) at /usr/include/qt4/QtCore/qstring.h:715
#9  ChatWindow::getName (this=0xb0df770) at ../../src/viewer/chatwindow.cpp:68
#10 0x08112284 in Channel::closeYourself (this=0xb0df770, confirm=true) at ../../src/irc/channel.cpp:2687
#11 0x081939b7 in ViewContainer::closeView (this=0x9f55520) at ../../src/viewer/viewcontainer.cpp:1564
#12 ViewContainer::closeCurrentView (this=0x9f55520) at ../../src/viewer/viewcontainer.cpp:1673
#13 0x0819b2b8 in ViewContainer::qt_metacall (this=0x9f55520, _c=QMetaObject::InvokeMetaMethod, _id=-1077077012, _a=0xbfcd1d88) at ./viewcontainer.moc:324
#14 0x06e45d4a in QMetaObject::metacall (object=0x9f55520, cl=106636224, idx=44, argv=0xbfcd1d88) at kernel/qmetaobject.cpp:237
#15 0x06e58ab5 in QMetaObject::activate (sender=0x9ed24c0, m=0x82b2d30, local_signal_index=1, argv=0xbfcd1d88) at kernel/qobject.cpp:3280
#16 0x011c5779 in QAction::triggered (this=0x9ed24c0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#17 0x011c708c in QAction::activate (this=0x9ed24c0, event=QAction::Trigger) at kernel/qaction.cpp:1256
#18 0x011c92f8 in QAction::event (this=0x0, e=0xbfcd1bec) at kernel/qaction.cpp:1182
#19 0x0405d333 in KAction::event (this=0x9ed24c0, event=0xbfcd22a8) at ../../kdeui/actions/kaction.cpp:131
#20 0x011cd72c in QApplicationPrivate::notify_helper (this=0x9e488e0, receiver=0x9ed24c0, e=0xbfcd22a8) at kernel/qapplication.cpp:4396
#21 0x011d377e in QApplication::notify (this=0xbfcd3184, receiver=0x9ed24c0, e=0xbfcd22a8) at kernel/qapplication.cpp:3798
#22 0x0415fcea in KApplication::notify (this=0xbfcd3184, receiver=0x9ed24c0, event=0xbfcd22a8) at ../../kdeui/kernel/kapplication.cpp:310
#23 0x06e3ffeb in QCoreApplication::notifyInternal (this=0xbfcd3184, receiver=0x9ed24c0, event=0xbfcd22a8) at kernel/qcoreapplication.cpp:732
#24 0x0120f04d in QCoreApplication::sendEvent (this=0x9e4898c, e=0xbfcd2724) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QShortcutMap::dispatchEvent (this=0x9e4898c, e=0xbfcd2724) at kernel/qshortcutmap.cpp:879
#26 0x01210e7e in QShortcutMap::tryShortcutEvent (this=0x9e4898c, o=0xaca6c78, e=0xbfcd2724) at kernel/qshortcutmap.cpp:364
#27 0x011d5578 in QApplication::notify (this=0xbfcd3184, receiver=0xaca6c78, e=0xbfcd2724) at kernel/qapplication.cpp:3840
#28 0x0415fcea in KApplication::notify (this=0xbfcd3184, receiver=0xaca6c78, event=0xbfcd2724) at ../../kdeui/kernel/kapplication.cpp:310
#29 0x06e3ffeb in QCoreApplication::notifyInternal (this=0xbfcd3184, receiver=0xaca6c78, event=0xbfcd2724) at kernel/qcoreapplication.cpp:732
#30 0x011cd2ee in QCoreApplication::sendSpontaneousEvent (receiver=0xaca6c78, event=0x0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#31 qt_sendSpontaneousEvent (receiver=0xaca6c78, event=0x0) at kernel/qapplication.cpp:5388
#32 0x01289ab0 in QKeyMapper::sendKeyEvent (keyWidget=0xaca6c78, grab=false, type=QEvent::KeyPress, code=87, modifiers=..., text=..., autorepeat=<value optimized out>, count=<value optimized out>, 
    nativeScanCode=25, nativeVirtualKey=119, nativeModifiers=20) at kernel/qkeymapper_x11.cpp:1867
#33 0x0128c055 in QKeyMapperPrivate::translateKeyEvent (this=0x9e979a0, keyWidget=0xaca6c78, event=0xbfcd2dec, grab=236) at kernel/qkeymapper_x11.cpp:1837
#34 0x0125f94f in QApplication::x11ProcessEvent (this=0xbfcd3184, event=0xbfcd2dec) at kernel/qapplication_x11.cpp:3429
#35 0x0128f70a in x11EventSourceDispatch (s=0x9e4ba40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#36 0x084a75e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#37 0x084ab2d8 in ?? () from /lib/libglib-2.0.so.0
#38 0x084ab4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#39 0x06e6e7f5 in QEventDispatcherGlib::processEvents (this=0x9e21458, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#40 0x0128ef85 in QGuiEventDispatcherGlib::processEvents (this=0x9e21458, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x06e3ea99 in QEventLoop::processEvents (this=0xbfcd30e4, flags=) at kernel/qeventloop.cpp:149
#42 0x06e3ef1a in QEventLoop::exec (this=0xbfcd30e4, flags=...) at kernel/qeventloop.cpp:201
#43 0x06e434cf in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#44 0x011cc557 in QApplication::exec () at kernel/qapplication.cpp:3672
#45 0x080ab86a in main (argc=1, argv=0xbfcd35c4) at ../../src/main.cpp:95

Reported using DrKonqi
Comment 1 Eike Hein 2011-06-27 11:20:32 UTC
*** Bug 259531 has been marked as a duplicate of this bug. ***
Comment 2 Eike Hein 2011-06-27 11:47:24 UTC
I've been able to confirm this - bringing up the warning dialog on a channel via CTRL+W, then parting the channel via D-Bus and then clicking "Leave" in the dialog blows up the app.

Another bt for good measure:

Application: Konversation (konversation), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  0x00000000004492f3 in QBasicAtomicInt::ref (this=0x10050b0f10050b0f) at /usr/include/QtCore/qatomic_x86_64.h:121
#7  0x000000000044d1a6 in QString::QString (this=0x7fffead33510, other=...) at /usr/include/QtCore/qstring.h:725
#8  0x000000000055b375 in ChatWindow::getName (this=0x30200b0) at /home/sho/devel/src/konversation/src/viewer/chatwindow.cpp:84
#9  0x00000000004db391 in Channel::closeYourself (this=0x30200b0, confirm=true) at /home/sho/devel/src/konversation/src/irc/channel.cpp:2385
#10 0x0000000000569cda in ViewContainer::closeView (this=0x2a33ed0, view=0x30200b0) at /home/sho/devel/src/konversation/src/viewer/viewcontainer.cpp:1610
#11 0x0000000000569c57 in ViewContainer::closeView (this=0x2a33ed0, view=0x30200b0) at /home/sho/devel/src/konversation/src/viewer/viewcontainer.cpp:1589
#12 0x000000000056a233 in ViewContainer::closeCurrentView (this=0x2a33ed0) at /home/sho/devel/src/konversation/src/viewer/viewcontainer.cpp:1697
#13 0x000000000056e44b in ViewContainer::qt_static_metacall (_o=0x2a33ed0, _c=QMetaObject::InvokeMetaMethod, _id=40, _a=0x7fffead337a0) at /home/sho/devel/build/konversation/src/viewcontainer.moc:318
#14 0x0000003a8a388d01 in QMetaObject::activate (sender=0x2c6fbf0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffead337a0) at kernel/qobject.cpp:3574
#15 0x0000003a8a9bdfd2 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#16 0x0000003a8a9be1bf in QAction::activate (this=0x2c6fbf0, event=<optimized out>) at kernel/qaction.cpp:1257
#17 0x0000003a8a9be32f in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183
#18 0x0000003aa655f51a in KAction::event (this=<optimized out>, event=0x7fffead33dc0) at /usr/src/debug/kdelibs-4.6.4/kdeui/actions/kaction.cpp:131
#19 0x0000003a8a9c41b4 in notify_helper (e=0x7fffead33dc0, receiver=0x2c6fbf0, this=0x289a470) at kernel/qapplication.cpp:4495
#20 QApplicationPrivate::notify_helper (this=0x289a470, receiver=0x2c6fbf0, e=0x7fffead33dc0) at kernel/qapplication.cpp:4467
#21 0x0000003a8a9c9043 in QApplication::notify (this=0x7fffead35290, receiver=0x2c6fbf0, e=0x7fffead33dc0) at kernel/qapplication.cpp:4356
#22 0x0000003aa6641cc6 in KApplication::notify (this=0x7fffead35290, receiver=0x2c6fbf0, event=0x7fffead33dc0) at /usr/src/debug/kdelibs-4.6.4/kdeui/kernel/kapplication.cpp:311
#23 0x0000003a8a37508c in QCoreApplication::notifyInternal (this=0x7fffead35290, receiver=0x2c6fbf0, event=0x7fffead33dc0) at kernel/qcoreapplication.cpp:833
#24 0x0000003a8a9f5e79 in sendEvent (event=0x7fffead33dc0, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#25 QShortcutMap::dispatchEvent (this=<optimized out>, e=0x7fffead34360) at kernel/qshortcutmap.cpp:879
#26 0x0000003a8a9f73ad in QShortcutMap::tryShortcutEvent (this=0x289a590, o=<optimized out>, e=0x7fffead34360) at kernel/qshortcutmap.cpp:364
#27 0x0000003a8a9cac79 in QApplication::notify (this=0x7fffead35290, receiver=0x33241c0, e=0x7fffead34360) at kernel/qapplication.cpp:3919
#28 0x0000003aa6641cc6 in KApplication::notify (this=0x7fffead35290, receiver=0x33241c0, event=0x7fffead34360) at /usr/src/debug/kdelibs-4.6.4/kdeui/kernel/kapplication.cpp:311
#29 0x0000003a8a37508c in QCoreApplication::notifyInternal (this=0x7fffead35290, receiver=0x33241c0, event=0x7fffead34360) at kernel/qcoreapplication.cpp:833
#30 0x0000003a8aa62ae9 in QKeyMapper::sendKeyEvent (keyWidget=0x33241c0, grab=<optimized out>, type=QEvent::KeyPress, code=87, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=25, nativeVirtualKey=119, nativeModifiers=4) at kernel/qkeymapper_x11.cpp:1866
#31 0x0000003a8aa62f5b in QKeyMapperPrivate::translateKeyEvent (this=0x28ddf00, keyWidget=0x33241c0, event=0x7fffead34e40, grab=false) at kernel/qkeymapper_x11.cpp:1836
#32 0x0000003a8aa3f144 in QApplication::x11ProcessEvent (this=0x7fffead35290, event=0x7fffead34e40) at kernel/qapplication_x11.cpp:3492
#33 0x0000003a8aa66d4c in x11EventSourceDispatch (s=0x28a6c90, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#34 0x0000003a846427ed in g_main_dispatch (context=0x28a5980) at gmain.c:2441
#35 g_main_context_dispatch (context=0x28a5980) at gmain.c:3014
#36 0x0000003a84642fc8 in g_main_context_iterate (context=0x28a5980, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3092
#37 0x0000003a8464325c in g_main_context_iteration (context=0x28a5980, may_block=1) at gmain.c:3155
#38 0x0000003a8a3a3aaf in QEventDispatcherGlib::processEvents (this=0x28427e0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#39 0x0000003a8aa66a3e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#40 0x0000003a8a3741c2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#41 0x0000003a8a374417 in QEventLoop::exec (this=0x7fffead35210, flags=...) at kernel/qeventloop.cpp:204
#42 0x0000003a8a378947 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1105
#43 0x0000000000478b7a in main (argc=1, argv=0x7fffead36138) at /home/sho/devel/src/konversation/src/main.cpp:124
Comment 3 Myriam Schweingruber 2013-04-14 00:50:28 UTC
Is this still reproducible with Konversation 1.4 or 1.5 RC1? Then we would need
a new backtrace.
Comment 4 Andrew Crouthamel 2018-09-24 02:22:56 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-10-27 02:49:02 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!