Bug 192838

Summary: Konversation crashed when clicking on a link
Product: [Applications] konversation Reporter: Médéric Boquien <mboquien>
Component: generalAssignee: Konversation Developers <konversation-devel>
Status: RESOLVED FIXED    
Severity: crash CC: hein
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 187307    

Description Médéric Boquien 2009-05-16 00:27:47 UTC
Application that crashed: konversation
Version of the application: 1.1.75+ #3401
KDE Version: 4.2.85 (KDE 4.2.85 (KDE 4.3 Beta1))
Qt Version: 4.5.1
Operating System: Linux 2.6.27.21-0.1-default x86_64
Distribution: "openSUSE 11.1 (x86_64)"

What I was doing when the application crashed:
When clicking on a link during a private discussion, konversation crashed. The bug is not systematically reproducible but it happens once in a while when clicking on a link.

 -- Backtrace:
Application: Konversation (konversation), signal: Aborted
[Current thread is 1 (Thread 0x7fbbcafeb750 (LWP 4861))]

Thread 2 (Thread 0x7fbbb978c950 (LWP 4866)):
#0  0x00007fbbc73b8d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbbc7634439 in QWaitCondition::wait(QMutex*, unsigned long) () from /opt/kde4-trunk/qt/lib/libQtCore.so.4
#2  0x00007fbbc8bc7b84 in ?? () from /opt/kde4-trunk/qt/lib/libQtNetwork.so.4
#3  0x00007fbbc76336d9 in ?? () from /opt/kde4-trunk/qt/lib/libQtCore.so.4
#4  0x00007fbbc73b5070 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fbbc5e6610d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbbcafeb750 (LWP 4861)):
[KCrash Handler]
#5  0x00007fbbc5dc5645 in raise () from /lib64/libc.so.6
#6  0x00007fbbc5dc6c33 in abort () from /lib64/libc.so.6
#7  0x00007fbbc762c785 in qt_message_output(QtMsgType, char const*) () from /opt/kde4-trunk/qt/lib/libQtCore.so.4
#8  0x00007fbbc762c8a0 in qFatal(char const*, ...) () from /opt/kde4-trunk/qt/lib/libQtCore.so.4
#9  0x00007fbbc7d24792 in KProcess::setProgram (this=<value optimized out>, argv=@0x7fffd302f3b0) at /home/kde-devel-trunk/kde/src/KDE/kdelibs/kdecore/io/kprocess.cpp:205
#10 0x00007fbbc7d24a78 in KProcess::operator<< (this=0x1409e50, args=@0x7fffd302f3b0) at /home/kde-devel-trunk/kde/src/KDE/kdelibs/kdecore/io/kprocess.cpp:226
#11 0x00000000004e7299 in IRCView::openLink (this=<value optimized out>, url=<value optimized out>) at /home/kde-devel-trunk/kde/src/extragear/network/konversation/src/viewer/ircview.cpp:920
#12 0x00000000004e74f8 in IRCView::anchorClicked (this=0xe814a0, url=@0x7fffd302f760) at /home/kde-devel-trunk/kde/src/extragear/network/konversation/src/viewer/ircview.cpp:890
#13 0x00000000004361c6 in IRCView::qt_metacall (this=0xe814a0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffd302f680)
    at /home/kde-devel-trunk/kde/build/extragear/network/konversation/src/moc_ircview.cpp:178
#14 0x00007fbbc771a7cd in QMetaObject::activate(QObject*, int, int, void**) () from /opt/kde4-trunk/qt/lib/libQtCore.so.4
#15 0x00007fbbc6e45fb5 in QTextBrowser::anchorClicked(QUrl const&) () from /opt/kde4-trunk/qt/lib/libQtGui.so.4
#16 0x00007fbbc6e4694d in ?? () from /opt/kde4-trunk/qt/lib/libQtGui.so.4
#17 0x00007fbbc6e48c8e in QTextBrowser::qt_metacall(QMetaObject::Call, int, void**) () from /opt/kde4-trunk/qt/lib/libQtGui.so.4
#18 0x00007fbbc85cc805 in KTextBrowser::qt_metacall (this=0x12fd, _c=4861, _id=6, _a=0xffffffffffffffff) at /home/kde-devel-trunk/kde/build/KDE/kdelibs/kdeui/ktextbrowser.moc:67
#19 0x0000000000435e65 in IRCView::qt_metacall (this=0x12fd, _c=4861, _id=6, _a=0xffffffffffffffff) at /home/kde-devel-trunk/kde/build/extragear/network/konversation/src/moc_ircview.cpp:137
#20 0x00007fbbc771a7cd in QMetaObject::activate(QObject*, int, int, void**) () from /opt/kde4-trunk/qt/lib/libQtCore.so.4
#21 0x00007fbbc6c3d805 in QTextControl::linkActivated(QString const&) () from /opt/kde4-trunk/qt/lib/libQtGui.so.4
#22 0x00007fbbc6c45b46 in ?? () from /opt/kde4-trunk/qt/lib/libQtGui.so.4
#23 0x00007fbbc6c467b6 in ?? () from /opt/kde4-trunk/qt/lib/libQtGui.so.4
#24 0x00007fbbc6c484e7 in QTextControl::processEvent(QEvent*, QMatrix const&, QWidget*) () from /opt/kde4-trunk/qt/lib/libQtGui.so.4
#25 0x00007fbbc6c3f84b in QTextControl::processEvent(QEvent*, QPointF const&, QWidget*) () from /opt/kde4-trunk/qt/lib/libQtGui.so.4
#26 0x00007fbbc6e45329 in QTextEdit::mouseReleaseEvent(QMouseEvent*) () from /opt/kde4-trunk/qt/lib/libQtGui.so.4
#27 0x00007fbbc6a89920 in QWidget::event(QEvent*) () from /opt/kde4-trunk/qt/lib/libQtGui.so.4
#28 0x00007fbbc6dd2e9b in QFrame::event(QEvent*) () from /opt/kde4-trunk/qt/lib/libQtGui.so.4
#29 0x00007fbbc77075d8 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /opt/kde4-trunk/qt/lib/libQtCore.so.4
#30 0x00007fbbc6a3c01c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/kde4-trunk/qt/lib/libQtGui.so.4
#31 0x00007fbbc6a4520b in QApplication::notify(QObject*, QEvent*) () from /opt/kde4-trunk/qt/lib/libQtGui.so.4
#32 0x00007fbbc84f366e in KApplication::notify (this=0x7fffd30325f0, receiver=0x838520, event=0x7fffd3030840) at /home/kde-devel-trunk/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#33 0x00007fbbc77082bc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /opt/kde4-trunk/qt/lib/libQtCore.so.4
#34 0x00007fbbc6a444b8 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /opt/kde4-trunk/qt/lib/libQtGui.so.4
#35 0x00007fbbc6a9f3dc in ?? () from /opt/kde4-trunk/qt/lib/libQtGui.so.4
#36 0x00007fbbc6a9df05 in QApplication::x11ProcessEvent(_XEvent*) () from /opt/kde4-trunk/qt/lib/libQtGui.so.4
#37 0x00007fbbc6ac33c4 in ?? () from /opt/kde4-trunk/qt/lib/libQtGui.so.4
#38 0x00007fbbc1dbd0fb in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#39 0x00007fbbc1dc08cd in ?? () from /usr/lib64/libglib-2.0.so.0
#40 0x00007fbbc1dc0a8b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#41 0x00007fbbc772d8ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/kde4-trunk/qt/lib/libQtCore.so.4
#42 0x00007fbbc6ac2c7f in ?? () from /opt/kde4-trunk/qt/lib/libQtGui.so.4
#43 0x00007fbbc7706c52 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/kde4-trunk/qt/lib/libQtCore.so.4
#44 0x00007fbbc7706de5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/kde4-trunk/qt/lib/libQtCore.so.4
#45 0x00007fbbc7708e6c in QCoreApplication::exec() () from /opt/kde4-trunk/qt/lib/libQtCore.so.4
#46 0x0000000000452fe1 in main (argc=5, argv=0x7fffd3033278) at /home/kde-devel-trunk/kde/src/extragear/network/konversation/src/main.cpp:101
Comment 1 Pino Toscano 2009-05-16 01:15:54 UTC
SVN commit 968521 by pino:

use a simplier way to spawn the external browser process, should hopefully be more safe
CCBUG: 192838


 M  +1 -4      ircview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=968521
Comment 2 Eike Hein 2009-06-02 01:21:20 UTC
Médéric, have you seen this problem again with 1.2-alpha1 or 1.2-alpha2?
Comment 3 Médéric Boquien 2009-06-02 10:01:57 UTC
Hi Eike. I have not seen this crash since Pino's patch. I think it could be close. I will just reopen in case it occurs again.
Comment 4 Eike Hein 2009-06-02 18:50:19 UTC
Ok, thank you!