Bug 275293

Summary: Konversation crashes when saving changes made to identity
Product: [Applications] konversation Reporter: JR <zorael>
Component: generalAssignee: Konversation Developers <konversation-devel>
Status: RESOLVED WORKSFORME    
Severity: crash CC: hein
Priority: NOR Keywords: triaged
Version: 1.3.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: konversationrc
kcrash gathered upon connection crash

Description JR 2011-06-09 17:31:06 UTC
Application: konversation (1.3.1)
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.2
Operating System: Linux 2.6.39-0-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I started the program, entered the server list and hit Edit on my server of choice. In the spawning Edit Network dialogue I hit Edit [Identity] to make sure my nicknames were set up properly. 

Clicking OK to go back to Edit Network afterwards crashed the program.

The crash can be reproduced every time.

-- Backtrace:
Application: Konversation (konversation), signal: Segmentation fault
[KCrash Handler]
#6  Konversation::ServerGroupDialog::editIdentity (this=0x24d5cf0) at ./servergroupdialog.moc:237
#7  0x000000000050b8bc in Konversation::ServerGroupDialog::qt_metacall (this=0x24d5cf0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1252ae80) at ./servergroupdialog.moc:107
#8  0x00007fa5fd06d5f8 in QMetaObject::activate (sender=0x24ca280, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff1252ae80) at kernel/qobject.cpp:3287
#9  0x00007fa5fc818252 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#10 0x00007fa5fc56183e in QAbstractButtonPrivate::emitClicked (this=0x24bf940) at widgets/qabstractbutton.cpp:546
#11 0x00007fa5fc562dbb in QAbstractButtonPrivate::click (this=0x24bf940) at widgets/qabstractbutton.cpp:539
#12 0x00007fa5fc56302c in QAbstractButton::mouseReleaseEvent (this=0x24ca280, e=0x7fff1252b7c0) at widgets/qabstractbutton.cpp:1121
#13 0x00007fa5fc1f3cb8 in QWidget::event (this=0x24ca280, event=0x7fff1252b7c0) at kernel/qwidget.cpp:8259
#14 0x00007fa5fc1a29e4 in QApplicationPrivate::notify_helper (this=0x1ed1360, receiver=0x24ca280, e=0x7fff1252b7c0) at kernel/qapplication.cpp:4462
#15 0x00007fa5fc1a7db3 in QApplication::notify (this=<value optimized out>, receiver=0x24ca280, e=0x7fff1252b7c0) at kernel/qapplication.cpp:4023
#16 0x00007fa5fda9a196 in KApplication::notify (this=0x7fff12530870, receiver=0x24ca280, event=0x7fff1252b7c0) at ../../kdeui/kernel/kapplication.cpp:311
#17 0x00007fa5fd05849c in QCoreApplication::notifyInternal (this=0x7fff12530870, receiver=0x24ca280, event=0x7fff1252b7c0) at kernel/qcoreapplication.cpp:731
#18 0x00007fa5fc1a3a0d in sendEvent (receiver=0x24ca280, event=0x7fff1252b7c0, alienWidget=0x24ca280, nativeWidget=0x24a5e00, buttonDown=0x7fa5fcc83218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#19 QApplicationPrivate::sendMouseEvent (receiver=0x24ca280, event=0x7fff1252b7c0, alienWidget=0x24ca280, nativeWidget=0x24a5e00, buttonDown=0x7fa5fcc83218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#20 0x00007fa5fc223600 in QETWidget::translateMouseEvent (this=0x24a5e00, event=<value optimized out>) at kernel/qapplication_x11.cpp:4556
#21 0x00007fa5fc22204a in QApplication::x11ProcessEvent (this=0x7fff12530870, event=0x7fff1252c110) at kernel/qapplication_x11.cpp:3678
#22 0x00007fa5fc24a162 in x11EventSourceDispatch (s=0x1edfed0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#23 0x00007fa5f9204bcd in g_main_dispatch (context=0x1edf080) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#24 g_main_context_dispatch (context=0x1edf080) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#25 0x00007fa5f92053a8 in g_main_context_iterate (context=0x1edf080, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
#26 0x00007fa5f9205639 in g_main_context_iteration (context=0x1edf080, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#27 0x00007fa5fd0833ef in QEventDispatcherGlib::processEvents (this=0x1e77350, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#28 0x00007fa5fc249dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007fa5fd057882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007fa5fd057abc in QEventLoop::exec (this=0x7fff1252c410, flags=...) at kernel/qeventloop.cpp:201
#31 0x00007fa5fc6618e6 in QDialog::exec (this=0x24d5cf0) at dialogs/qdialog.cpp:552
#32 0x0000000000512495 in Konversation::ServerListDialog::slotEdit (this=0x2407050) at ../../src/irc/serverlistdialog.cpp:187
#33 0x0000000000513b24 in Konversation::ServerListDialog::qt_metacall (this=0x2407050, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1252c6e0) at ./serverlistdialog.moc:110
#34 0x00007fa5fd06d5f8 in QMetaObject::activate (sender=0x24c33f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff1252c6e0) at kernel/qobject.cpp:3287
#35 0x00007fa5fc818252 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#36 0x00007fa5fc56183e in QAbstractButtonPrivate::emitClicked (this=0x24e7530) at widgets/qabstractbutton.cpp:546
#37 0x00007fa5fc562dbb in QAbstractButtonPrivate::click (this=0x24e7530) at widgets/qabstractbutton.cpp:539
#38 0x00007fa5fc56302c in QAbstractButton::mouseReleaseEvent (this=0x24c33f0, e=0x7fff1252d020) at widgets/qabstractbutton.cpp:1121
#39 0x00007fa5fc1f3cb8 in QWidget::event (this=0x24c33f0, event=0x7fff1252d020) at kernel/qwidget.cpp:8259
#40 0x00007fa5fc1a29e4 in QApplicationPrivate::notify_helper (this=0x1ed1360, receiver=0x24c33f0, e=0x7fff1252d020) at kernel/qapplication.cpp:4462
#41 0x00007fa5fc1a7db3 in QApplication::notify (this=<value optimized out>, receiver=0x24c33f0, e=0x7fff1252d020) at kernel/qapplication.cpp:4023
#42 0x00007fa5fda9a196 in KApplication::notify (this=0x7fff12530870, receiver=0x24c33f0, event=0x7fff1252d020) at ../../kdeui/kernel/kapplication.cpp:311
#43 0x00007fa5fd05849c in QCoreApplication::notifyInternal (this=0x7fff12530870, receiver=0x24c33f0, event=0x7fff1252d020) at kernel/qcoreapplication.cpp:731
#44 0x00007fa5fc1a3a0d in sendEvent (receiver=0x24c33f0, event=0x7fff1252d020, alienWidget=0x24c33f0, nativeWidget=0x2407050, buttonDown=0x7fa5fcc83218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#45 QApplicationPrivate::sendMouseEvent (receiver=0x24c33f0, event=0x7fff1252d020, alienWidget=0x24c33f0, nativeWidget=0x2407050, buttonDown=0x7fa5fcc83218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#46 0x00007fa5fc223600 in QETWidget::translateMouseEvent (this=0x2407050, event=<value optimized out>) at kernel/qapplication_x11.cpp:4556
#47 0x00007fa5fc22204a in QApplication::x11ProcessEvent (this=0x7fff12530870, event=0x7fff1252d970) at kernel/qapplication_x11.cpp:3678
#48 0x00007fa5fc24a162 in x11EventSourceDispatch (s=0x1edfed0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#49 0x00007fa5f9204bcd in g_main_dispatch (context=0x1edf080) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#50 g_main_context_dispatch (context=0x1edf080) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#51 0x00007fa5f92053a8 in g_main_context_iterate (context=0x1edf080, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
#52 0x00007fa5f9205639 in g_main_context_iteration (context=0x1edf080, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#53 0x00007fa5fd0833ef in QEventDispatcherGlib::processEvents (this=0x1e77350, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#54 0x00007fa5fc249dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#55 0x00007fa5fd057882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#56 0x00007fa5fd057abc in QEventLoop::exec (this=0x24dba20, flags=...) at kernel/qeventloop.cpp:201
#57 0x00007fa5e8851cfa in Akonadi::Control::Private::exec() () from /usr/lib/libakonadi-kde.so.4
#58 0x00007fa5e88524e0 in Akonadi::Control::start() () from /usr/lib/libakonadi-kde.so.4
#59 0x00007fa5e8bdaa26 in ?? () from /usr/lib/kde4/kabc_akonadi.so
#60 0x00007fa5f9f75e25 in KRES::Resource::open() () from /usr/lib/libkresources.so.4
#61 0x00007fa5ffa3b822 in KABC::StdAddressBook::Private::init(bool) () from /usr/lib/libkabc.so.4
#62 0x00007fa5ffa3bef0 in KABC::StdAddressBook::self(bool) () from /usr/lib/libkabc.so.4
#63 0x00000000005b946a in Konversation::Addressbook::Addressbook (this=0x244d110) at ../../src/linkaddressbook/addressbook.cpp:41
#64 0x00000000005b94e1 in AddressbookSingleton () at ../../src/linkaddressbook/addressbook.cpp:30
#65 operator-> () at ../../src/linkaddressbook/addressbook.cpp:35
#66 Konversation::Addressbook::self () at ../../src/linkaddressbook/addressbook.cpp:50
#67 0x0000000000466c49 in MainWindow::MainWindow (this=0x2018c10, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../src/mainwindow.cpp:506
#68 0x00000000004538d2 in Application::newInstance (this=0x7fff12530870) at ../../src/application.cpp:156
#69 0x00007fa5fdaa02d2 in KUniqueApplicationAdaptor::newInstance (this=0x1ed49a0, asn_id=<value optimized out>, args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:436
#70 0x00007fa5fdaa0372 in KUniqueApplicationAdaptor::qt_metacall (this=0x1ed49a0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff1252fb20) at ./kuniqueapplication_p.moc:81
#71 0x00007fa5fcca69fa in QDBusConnectionPrivate::deliverCall (this=0x1ec32b0, object=0x1ed49a0, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:942
#72 0x00007fa5fcca7b1a in QDBusConnectionPrivate::activateCall (this=0x1ec32b0, object=0x1ed49a0, flags=337, msg=...) at qdbusintegrator.cpp:845
#73 0x00007fa5fcca833a in QDBusConnectionPrivate::activateObject (this=0x1ec32b0, node=..., msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1410
#74 0x00007fa5fcca8578 in QDBusActivateObjectEvent::placeMetaCall (this=0x1ed5000) at qdbusintegrator.cpp:1524
#75 0x00007fa5fd06c49a in QObject::event (this=0x7fff12530870, e=<value optimized out>) at kernel/qobject.cpp:1226
#76 0x00007fa5fc1a4fa4 in QApplication::event (this=0x7fff12530870, e=0x1ed5000) at kernel/qapplication.cpp:2503
#77 0x00007fa5fc1a29e4 in QApplicationPrivate::notify_helper (this=0x1ed1360, receiver=0x7fff12530870, e=0x1ed5000) at kernel/qapplication.cpp:4462
#78 0x00007fa5fc1a73aa in QApplication::notify (this=<value optimized out>, receiver=0x7fff12530870, e=0x1ed5000) at kernel/qapplication.cpp:4341
#79 0x00007fa5fda9a196 in KApplication::notify (this=0x7fff12530870, receiver=0x7fff12530870, event=0x1ed5000) at ../../kdeui/kernel/kapplication.cpp:311
#80 0x00007fa5fd05849c in QCoreApplication::notifyInternal (this=0x7fff12530870, receiver=0x7fff12530870, event=0x1ed5000) at kernel/qcoreapplication.cpp:731
#81 0x00007fa5fd05bc25 in sendEvent (receiver=0x0, event_type=0, data=0x1e77b70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#82 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1e77b70) at kernel/qcoreapplication.cpp:1372
#83 0x00007fa5fd083253 in sendPostedEvents (s=0x1edf160) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#84 postEventSourceDispatch (s=0x1edf160) at kernel/qeventdispatcher_glib.cpp:277
#85 0x00007fa5f9204bcd in g_main_dispatch (context=0x1edf080) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#86 g_main_context_dispatch (context=0x1edf080) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#87 0x00007fa5f92053a8 in g_main_context_iterate (context=0x1edf080, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
#88 0x00007fa5f9205639 in g_main_context_iteration (context=0x1edf080, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#89 0x00007fa5fd0833ef in QEventDispatcherGlib::processEvents (this=0x1e77350, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#90 0x00007fa5fc249dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#91 0x00007fa5fd057882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#92 0x00007fa5fd057abc in QEventLoop::exec (this=0x7fff12530800, flags=...) at kernel/qeventloop.cpp:201
#93 0x00007fa5fd05becb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#94 0x0000000000469ae4 in main (argc=5, argv=<value optimized out>) at ../../src/main.cpp:101

Reported using DrKonqi
Comment 1 JR 2011-06-09 17:34:36 UTC
Addendum;

This happens when I try to connect to the server as well, rendering the program currently nonfunctional. I can attach that kcrash if need be, or file a new bug if you wish it.
Comment 2 Eike Hein 2011-06-09 20:47:58 UTC
This is pretty funky, because it's crashing in generated rather than hand-created code, and it's the first such crash report I'm aware of. Considering 1.3.1 has been out in the wild for quite some time, and this is happening in a frequently-used part of the UI, I'd expect there to be (many) more crash reports if it was an easy-to-reproduce problem. Needless to say I also can't reproduce it. So we might be in for a chase.

Right now I'd like you to do two things:
a) Please attach your Konversation settings file. That's $KDEHOME/share/config/konversationrc, where $KDEHOME is $HOME/.kde or $HOME/.kde4 depending on what your distro has chosen to use. PLEASE NOTE that this file may contain IRC network services (e.g. nickserv), server and channel passwords and perhaps other passwords (say as part of the Quick Button or command alias configs) depending on whether you've configured any in Konversation. You should remove these passwords before attaching the settings file here using your favorite text editor.

If you're not comfortable attaching your settings here for privacy reasons, please consider mailing it to me at hein@kde.org. If you do so it may be circulated privately among Konversation developers.

b) Yes, please do attach the other crash backtrace you mentioned in the addendum here.
Comment 3 JR 2011-07-24 23:18:48 UTC
Created attachment 62159 [details]
konversationrc

Apologies for the wait. I'm attaching my konversationrc file, and then the other kcrash I get from attempting to connect.
Comment 4 JR 2011-07-24 23:19:19 UTC
Created attachment 62160 [details]
kcrash gathered upon connection crash
Comment 5 Myriam Schweingruber 2013-04-13 23:36:01 UTC
(In reply to comment #4)
> Created attachment 62160 [details]
> kcrash gathered upon connection crash

This backtrace looks like a very different crash:

Application: Konversation (konversation), signal: Segmentation fault
[KCrash Handler]
#6  Server::getViewContainer (this=<value optimized out>) at ../../src/irc/server.cpp:3567
#7  0x000000000049cc58 in Server::Server (this=0x2505550, parent=<value optimized out>, settings=...) at ../../src/irc/server.cpp:116
#8  0x0000000000479322 in ConnectionManager::connectTo (this=0x1d16140, flag=<value optimized out>, settings=...) at ../../src/connectionmanager.cpp:149
#9  0x00000000004795b4 in ConnectionManager::connectTo (this=0x1d16140, flag=Konversation::PromptToReuseConnection, serverGroupId=<value optimized out>) at ../../src/connectionmanager.cpp:94
#10 0x000000000047c8ae in ConnectionManager::qt_metacall (this=0x1d16140, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x7fff3ce10a10) at ./connectionmanager.moc:140

Is this reproducible with Konversation 1.4 or 1.5 RC1? Then we would need a newer backtrace.
Comment 6 Andrew Crouthamel 2018-09-24 02:21:06 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 7 Andrew Crouthamel 2018-10-27 03:31:28 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!