Bug 289593 - Konversation crashed when trying to open the Konversation Preferences menu item
Summary: Konversation crashed when trying to open the Konversation Preferences menu item
Status: RESOLVED NOT A BUG
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: 1.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-22 15:35 UTC by benjamin melançon
Modified: 2013-04-13 22:49 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 benjamin melançon 2011-12-22 15:35:08 UTC
Version:           1.4
OS:                Linux

Normal usage, everything fine.  Connected to two servers, a dozen rooms in one, and two rooms in the other.  Clicked on the menu item "Konversation Preferences" and the application crashed.

Debug output:

Application: konversation (1.3.1 #4056.1)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-14-generic x86_64
Distribution: Ubuntu 11.10

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

Thread 2 (Thread 0x7fe1c3438700 (LWP 2949)):
#0  0x00007fe1d57e6773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe1d14c5f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe1d14c6792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe1cad5c516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fe1d14eb2b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe1d3747efc in start_thread (arg=0x7fe1c3438700) at pthread_create.c:304
#6  0x00007fe1d57f289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe1da6c8780 (LWP 2947)):
[KCrash Handler]
#6  0x00007fe1da2210fb in ~KSharedPtr (this=<optimized out>, __in_chrg=<optimized out>) at ../../kdecore/util/ksharedptr.h:90
#7  ~KSharedPtr (this=0x7fff4d54a6c0, __in_chrg=<optimized out>) at ../../kio/kfile/kfiledialog.cpp:630
#8  isNative () at ../../kio/kfile/kfiledialog.cpp:217
#9  isNative () at ../../kio/kfile/kfiledialog.cpp:630
#10 KFileDialog::getExistingDirectory (startDir=..., parent=0x7fff4d54a780, caption=...) at ../../kio/kfile/kfiledialog.cpp:634
#11 0x0000000000000038 in ?? ()
#12 0x00000000040250c0 in ?? ()
#13 0x0000000003c9d3a0 in ?? ()
#14 0x0000000000002710 in ?? ()
#15 0x00007fe1d578d77d in __GI___libc_malloc (bytes=0) at malloc.c:3660
#16 0x0000000004048a00 in ?? ()
#17 0x00000000040250c0 in ?? ()
#18 0x0000000003c9d3a0 in ?? ()
#19 0x0000000000002710 in ?? ()
#20 0x00007fe1da25557d in KUrlComboBox::setUrls (this=0x405c130, _urls=..., remove=56) at ../../kio/kfile/kurlcombobox.cpp:197
#21 0x00007fff4d54a870 in ?? ()
#22 0x0000000004046b10 in ?? ()
#23 0x0000000000000150 in ?? ()
#24 0x00000000039a7be0 in ?? ()
#25 0x0000000400000002 in ?? ()
#26 0x000000000405a6c0 in ?? ()
#27 0x00007fff4d54b400 in ?? ()
#28 0x000000000405a620 in ?? ()
#29 0x00007fe1d5aab1c0 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#30 0x000000000405a980 in ?? ()
#31 0x0000000000000128 in ?? ()
#32 0x000000000405a620 in ?? ()
#33 0x0000000003c9d3a0 in ?? ()
#34 0x000000000085b5e0 in ?? ()
#35 0x00007fe1d578d77d in __GI___libc_malloc (bytes=0) at malloc.c:3660
#36 0x00007fe1d5dee4cd in operator new(unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#37 0x000000000054ae1f in KonviSettingsDialog::KonviSettingsDialog (this=0x3f120e0, parent=<optimized out>) at ../../src/config/settingsdialog.cpp:169
#38 0x000000000045f00e in MainWindow::openPrefsDialog (this=0x265f2f0) at ../../src/mainwindow.cpp:722
#39 0x0000000000460470 in MainWindow::qt_metacall (this=0x265f2f0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff4d54b920) at ./mainwindow.moc:140
#40 0x00007fe1d7112eba in QMetaObject::activate (sender=0x2854f10, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff4d54b920) at kernel/qobject.cpp:3278
#41 0x00007fe1d6230b62 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#42 0x00007fe1d6230d4f in QAction::activate (this=0x2854f10, event=<optimized out>) at kernel/qaction.cpp:1257
#43 0x00007fe1d6232212 in trigger (this=0x2854f10) at kernel/qaction.h:218
#44 QAction::qt_metacall (this=0x2854f10, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x3b337d0) at .moc/release-shared/moc_qaction.cpp:174
#45 0x00007fe1d628e415 in QWidgetAction::qt_metacall (this=0x2854f10, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x3b337d0) at .moc/release-shared/moc_qwidgetaction.cpp:67
#46 0x00007fe1d7a4ff18 in KAction::qt_metacall (this=0x2854f10, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x3b337d0) at ./kaction.moc:95
#47 0x00007fe1d7116a5e in QObject::event (this=0x2854f10, e=<optimized out>) at kernel/qobject.cpp:1217
#48 0x00007fe1d6230e20 in event (e=<optimized out>, this=<optimized out>) at kernel/qaction.cpp:1187
#49 QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1172
#50 0x00007fe1d7a4e86a in KAction::event (this=<optimized out>, event=0x322d4b0) at ../../kdeui/actions/kaction.cpp:131
#51 0x00007fe1d6237424 in notify_helper (e=0x322d4b0, receiver=0x2854f10, this=0x23a1680) at kernel/qapplication.cpp:4486
#52 QApplicationPrivate::notify_helper (this=0x23a1680, receiver=0x2854f10, e=0x322d4b0) at kernel/qapplication.cpp:4458
#53 0x00007fe1d623c291 in QApplication::notify (this=0x7fff4d54c3d0, receiver=0x2854f10, e=0x322d4b0) at kernel/qapplication.cpp:4365
#54 0x00007fe1d7b35126 in KApplication::notify (this=0x7fff4d54c3d0, receiver=0x2854f10, event=0x322d4b0) at ../../kdeui/kernel/kapplication.cpp:311
#55 0x00007fe1d70ffafc in QCoreApplication::notifyInternal (this=0x7fff4d54c3d0, receiver=0x2854f10, event=0x322d4b0) at kernel/qcoreapplication.cpp:787
#56 0x00007fe1d710351f in sendEvent (event=0x322d4b0, receiver=0x2854f10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#57 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x236e430) at kernel/qcoreapplication.cpp:1428
#58 0x00007fe1d712aa73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#59 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#60 0x00007fe1d14c5a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007fe1d14c6258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#62 0x00007fe1d14c6429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x00007fe1d712aed6 in QEventDispatcherGlib::processEvents (this=0x236ff40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#64 0x00007fe1d62df07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#65 0x00007fe1d70fecf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#66 0x00007fe1d70feef7 in QEventLoop::exec (this=0x7fff4d54c360, flags=...) at kernel/qeventloop.cpp:201
#67 0x00007fe1d7103789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#68 0x0000000000442a44 in main (argc=5, argv=0x7fff4d54d1a8) at ../../src/main.cpp:101

Note on the bug reporting process:

It was so exciting, inspiring really, that the developers seemed to really want to hear about my problem, *all* about it.

Until this:

"This crash information is not useful enough, do you want to try to improve it? You will need to install some debugging packages."

The problem with that message is *i just had*.  And tried several more times, and it runs through its checking process, and i do an extra reload of 

*And it refuses to send the bug report*

Now it has changed something heartening into something maddening.

Per http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports#Preparing_your_KDE_packages i should be all set.

sudo apt-get install konversation-dbg # already installed

Reproducible: Didn't try

Steps to Reproduce:
[Be connected to at least two servers?  One just in that session specified as join on application start.]

Go to the Konversation Preferences menu item and click it.

Actual Results:  
The application crashes.

Expected Results:  
The preferences window opens.  (Ideally with an option to put room tabs in a vertical rather than horizontal arrangement, but that would be another issue  ;-) )

Ubuntu 11.10
Comment 1 argonel 2011-12-23 01:08:42 UTC
On Thu, Dec 22, 2011 at 10:35 AM, benjamin melançon
<ben.agaric+kde@gmail.com> wrote:
> https://bugs.kde.org/show_bug.cgi?id=289593

[...snip...]

> Thread 1 (Thread 0x7fe1da6c8780 (LWP 2947)):
> [KCrash Handler]
> #6  0x00007fe1da2210fb in ~KSharedPtr (this=<optimized out>,
> __in_chrg=<optimized out>) at ../../kdecore/util/ksharedptr.h:90
> #7  ~KSharedPtr (this=0x7fff4d54a6c0, __in_chrg=<optimized out>) at
> ../../kio/kfile/kfiledialog.cpp:630
> #8  isNative () at ../../kio/kfile/kfiledialog.cpp:217
> #9  isNative () at ../../kio/kfile/kfiledialog.cpp:630
> #10 KFileDialog::getExistingDirectory (startDir=..., parent=0x7fff4d54a780,
> caption=...) at ../../kio/kfile/kfiledialog.cpp:634
> #11 0x0000000000000038 in ?? ()
> #12 0x00000000040250c0 in ?? ()
> #13 0x0000000003c9d3a0 in ?? ()
> #14 0x0000000000002710 in ?? ()
> #15 0x00007fe1d578d77d in __GI___libc_malloc (bytes=0) at malloc.c:3660
> #16 0x0000000004048a00 in ?? ()
> #17 0x00000000040250c0 in ?? ()
> #18 0x0000000003c9d3a0 in ?? ()
> #19 0x0000000000002710 in ?? ()
> #20 0x00007fe1da25557d in KUrlComboBox::setUrls (this=0x405c130, _urls=...,
> remove=56) at ../../kio/kfile/kurlcombobox.cpp:197
> #21 0x00007fff4d54a870 in ?? ()
> #22 0x0000000004046b10 in ?? ()
> #23 0x0000000000000150 in ?? ()
> #24 0x00000000039a7be0 in ?? ()
> #25 0x0000000400000002 in ?? ()
> #26 0x000000000405a6c0 in ?? ()
> #27 0x00007fff4d54b400 in ?? ()
> #28 0x000000000405a620 in ?? ()
> #29 0x00007fe1d5aab1c0 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
> #30 0x000000000405a980 in ?? ()
> #31 0x0000000000000128 in ?? ()
> #32 0x000000000405a620 in ?? ()
> #33 0x0000000003c9d3a0 in ?? ()
> #34 0x000000000085b5e0 in ?? ()
> #35 0x00007fe1d578d77d in __GI___libc_malloc (bytes=0) at malloc.c:3660
> #36 0x00007fe1d5dee4cd in operator new(unsigned long) () from
> /usr/lib/x86_64-linux-gnu/libstdc++.so.6

From here down is konversation, above this point is probably glibc.

> #37 0x000000000054ae1f in KonviSettingsDialog::KonviSettingsDialog
> (this=0x3f120e0, parent=<optimized out>) at
> ../../src/config/settingsdialog.cpp:169

[...snip...]

> "This crash information is not useful enough, do you want to try to improve it?
> You will need to install some debugging packages."
>
> The problem with that message is *i just had*.  And tried several more times,
> and it runs through its checking process, and i do an extra reload of
>
> *And it refuses to send the bug report*
>
> Now it has changed something heartening into something maddening.
>
> Per
> http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports#Preparing_your_KDE_packages
> i should be all set.
>
> sudo apt-get install konversation-dbg # already installed

Most of the time this advice works, however the crash isn't in
konversation but in other supporting components of the OS, so
installing just the konversation debugging packages wasn't enough.
Install the glibc debug packages, if the crash happens again perhaps
enough information will be available to understand what the crash is
about.

Regards, Eli
Comment 2 Myriam Schweingruber 2013-04-13 22:49:54 UTC
Closing for lack of feedback (requested in comment #1 over a year ago). Please feel free to reopen this report if you can reproduce it reliably with Konversation 1.5 RC1 or later and provide a new backtrace.