Bug 300289 - Crash when opening link from bugs.kde.org
Summary: Crash when opening link from bugs.kde.org
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.9.1
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
: 304300 307661 309071 310036 310590 322670 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-05-19 02:17 UTC by Christoph Feck
Modified: 2013-07-22 11:31 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.9.4


Attachments
New crash information added by DrKonqi (6.92 KB, text/plain)
2012-07-13 18:50 UTC, Rolf Eike Beer
Details
New crash information added by DrKonqi (5.73 KB, text/plain)
2012-09-01 05:43 UTC, squan
Details
New crash information added by DrKonqi (8.74 KB, text/plain)
2012-09-21 07:37 UTC, Diego
Details
New crash information added by DrKonqi (8.14 KB, text/plain)
2012-11-21 08:19 UTC, kenmaugee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Feck 2012-05-19 02:17:02 UTC
Application: konqueror (4.8.3 (4.8.3))
KDE Platform Version: 4.8.3 (4.8.3) (Compiled from sources)
Qt Version: 4.8.2
Operating System: Linux 3.4.0-rc6-1-desktop i686
Distribution: "openSUSE 12.2 Milestone 4 (i586)"

-- Information about the crash:
Sometimes, but not always, I get a crash when I middle-click a link (external, or attachment) inside a bug report.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Konqueror (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5282740 (LWP 30818))]

Thread 2 (Thread 0xac8edb40 (LWP 30820)):
#0  0xb7760424 in __kernel_vsyscall ()
#1  0xb5aeea7b in poll () from /lib/libc.so.6
#2  0xb545728b in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb5448b60 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb5448cc1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb6c0dcfe in QEventDispatcherGlib::processEvents (this=0xa655ef8, flags=...) at /local/git/Qt/frameworks/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:424
#6  0xb6bd3755 in QEventLoop::processEvents (this=0xac8ed258, flags=...) at /local/git/Qt/frameworks/qt/src/corelib/kernel/qeventloop.cpp:149
#7  0xb6bd38cd in QEventLoop::exec (this=0xac8ed258, flags=...) at /local/git/Qt/frameworks/qt/src/corelib/kernel/qeventloop.cpp:204
#8  0xb6aaed6b in QThread::exec (this=0xa655a40) at /local/git/Qt/frameworks/qt/src/corelib/thread/qthread.cpp:501
#9  0xb3ad48c1 in KIO::NameLookUpThread::run (this=0xa655a40) at /local/git/KDE/libs/kdelibs/kio/kio/hostinfo.cpp:226
#10 0xb6ab1585 in QThreadPrivate::start (arg=0xa655a40) at /local/git/Qt/frameworks/qt/src/corelib/thread/qthread_unix.cpp:307
#11 0xb6a22e32 in start_thread () from /lib/libpthread.so.0
#12 0xb5af9a7e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5282740 (LWP 30818)):
[KCrash Handler]
#7  0xb5ee50f3 in QWidget::internalWinId (this=0xb58dc38) at ../../include/QtGui/../../../../git/Qt/frameworks/qt/src/gui/kernel/qwidget.h:241
#8  0xb5f34539 in QWidget::effectiveWinId (this=0xb58dc38) at /local/git/Qt/frameworks/qt/src/gui/kernel/qwidget.cpp:2618
#9  0xb73f5d61 in KMessageBox::warningContinueCancelList (parent=0xb58dc38, text=..., strlist=..., caption=..., buttonContinue=..., buttonCancel=..., dontAskAgainName=..., options=...) at /local/git/KDE/libs/kdelibs/kdeui/dialogs/kmessagebox.cpp:677
#10 0xb73f5c94 in KMessageBox::warningContinueCancel (parent=0xb58dc38, text=..., caption=..., buttonContinue=..., buttonCancel=..., dontAskAgainName=..., options=...) at /local/git/KDE/libs/kdelibs/kdeui/dialogs/kmessagebox.cpp:653
#11 0xb3aca056 in KIO::SlaveInterfacePrivate::messageBox (this=0xb8fbe48, type=3, text=..., caption=..., buttonYes=..., buttonNo=..., dontAskAgainName=...) at /local/git/KDE/libs/kdelibs/kio/kio/slaveinterface.cpp:455
#12 0xb3ac9647 in KIO::SlaveInterface::messageBox (this=0xb8fb568, type=3, text=..., caption=..., buttonYes=..., buttonNo=..., dontAskAgainName=...) at /local/git/KDE/libs/kdelibs/kio/kio/slaveinterface.cpp:393
#13 0xb3ac8bdb in KIO::SlaveInterface::dispatch (this=0xb8fb568, _cmd=29, rawdata=...) at /local/git/KDE/libs/kdelibs/kio/kio/slaveinterface.cpp:284
#14 0xb3ac802e in KIO::SlaveInterface::dispatch (this=0xb8fb568) at /local/git/KDE/libs/kdelibs/kio/kio/slaveinterface.cpp:88
#15 0xb3abdd4c in KIO::Slave::gotInput (this=0xb8fb568) at /local/git/KDE/libs/kdelibs/kio/kio/slave.cpp:344
#16 0xb3abee48 in KIO::Slave::qt_static_metacall (_o=0xb8fb568, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfdda1e0) at /local/build/KDE/libs/kdelibs/kio/slave.moc:57
#17 0xb6bf1e0e in QMetaObject::activate (sender=0xb89ea08, m=0xb3c24e9c, local_signal_index=0, argv=0x0) at /local/git/Qt/frameworks/qt/src/corelib/kernel/qobject.cpp:3547
#18 0xb39e706b in KIO::Connection::readyRead (this=0xb89ea08) at /local/build/KDE/libs/kdelibs/kio/connection.moc:106
#19 0xb39e3d30 in KIO::ConnectionPrivate::dequeue (this=0xb89ed30) at /local/git/KDE/libs/kdelibs/kio/kio/connection.cpp:82
#20 0xb39e6eea in KIO::Connection::qt_static_metacall (_o=0xb89ea08, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xb840688) at /local/build/KDE/libs/kdelibs/kio/connection.moc:56
#21 0xb6bec1f6 in QMetaCallEvent::placeMetaCall (this=0xb8cdeb8, object=0xb89ea08) at /local/git/Qt/frameworks/qt/src/corelib/kernel/qobject.cpp:525
#22 0xb6bed29e in QObject::event (this=0xb89ea08, e=0xb8cdeb8) at /local/git/Qt/frameworks/qt/src/corelib/kernel/qobject.cpp:1195
#23 0xb5ee2280 in QApplicationPrivate::notify_helper (this=0xa052ba0, receiver=0xb89ea08, e=0xb8cdeb8) at /local/git/Qt/frameworks/qt/src/gui/kernel/qapplication.cpp:4551
#24 0xb5edfb04 in QApplication::notify (this=0xbfddac40, receiver=0xb89ea08, e=0xb8cdeb8) at /local/git/Qt/frameworks/qt/src/gui/kernel/qapplication.cpp:3933
#25 0xb74976e6 in KApplication::notify (this=0xbfddac40, receiver=0xb89ea08, event=0xb8cdeb8) at /local/git/KDE/libs/kdelibs/kdeui/kernel/kapplication.cpp:311
#26 0xb6bd60a6 in QCoreApplication::notifyInternal (this=0xbfddac40, receiver=0xb89ea08, event=0xb8cdeb8) at /local/git/Qt/frameworks/qt/src/corelib/kernel/qcoreapplication.cpp:915
#27 0xb6bd991f in QCoreApplication::sendEvent (receiver=0xb89ea08, event=0xb8cdeb8) at ../../include/QtCore/../../../../git/Qt/frameworks/qt/src/corelib/kernel/qcoreapplication.h:231
#28 0xb6bd6fd4 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9f93a80) at /local/git/Qt/frameworks/qt/src/corelib/kernel/qcoreapplication.cpp:1539
#29 0xb6bd6c8d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /local/git/Qt/frameworks/qt/src/corelib/kernel/qcoreapplication.cpp:1432
#30 0xb6c0e3e2 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../git/Qt/frameworks/qt/src/corelib/kernel/qcoreapplication.h:236
#31 0xb6c0d56b in postEventSourceDispatch (s=0xa053d38) at /local/git/Qt/frameworks/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:279
#32 0xb5448761 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0xb5448be0 in ?? () from /usr/lib/libglib-2.0.so.0
#34 0xb5448cc1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#35 0xb6c0dcfe in QEventDispatcherGlib::processEvents (this=0xa052cb8, flags=...) at /local/git/Qt/frameworks/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:424
#36 0xb5fad7b6 in QGuiEventDispatcherGlib::processEvents (this=0xa052cb8, flags=...) at /local/git/Qt/frameworks/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#37 0xb6bd3755 in QEventLoop::processEvents (this=0xbfddab3c, flags=...) at /local/git/Qt/frameworks/qt/src/corelib/kernel/qeventloop.cpp:149
#38 0xb6bd38cd in QEventLoop::exec (this=0xbfddab3c, flags=...) at /local/git/Qt/frameworks/qt/src/corelib/kernel/qeventloop.cpp:204
#39 0xb6bd673c in QCoreApplication::exec () at /local/git/Qt/frameworks/qt/src/corelib/kernel/qcoreapplication.cpp:1187
#40 0xb5edf796 in QApplication::exec () at /local/git/Qt/frameworks/qt/src/gui/kernel/qapplication.cpp:3812
#41 0xaf420b2a in kdemain (argc=2, argv=0xa025980) at /local/git/KDE/base/kde-baseapps/konqueror/src/konqmain.cpp:227
#42 0x0804decc in launch (argc=2, _name=0xa025864 "/local/kde4/bin/konqueror", args=0xa025887 "", cwd=0x0, envc=0, envs=0xa02588b "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0xa02588f "duo;1337393320;105428;30658_TIME53663657") at /local/git/KDE/libs/kdelibs/kinit/kinit.cpp:734
#43 0x0804ef33 in handle_launcher_request (sock=8, who=0x80539f4 "launcher") at /local/git/KDE/libs/kdelibs/kinit/kinit.cpp:1226
#44 0x0804f6ad in handle_requests (waitForPid=0) at /local/git/KDE/libs/kdelibs/kinit/kinit.cpp:1419
#45 0x08051073 in main (argc=4, argv=0xbfddb454, envp=0xbfddb468) at /local/git/KDE/libs/kdelibs/kinit/kinit.cpp:1907

Reported using DrKonqi
Comment 1 Dawit Alemayehu 2012-05-26 14:20:04 UTC
Can you provide a link with which this can be reproduced ? It seems like the crash happens when a KIO warning message box was about to be shown.
Comment 2 Rolf Eike Beer 2012-07-13 18:50:42 UTC
Created attachment 72512 [details]
New crash information added by DrKonqi

konqueror (4.8.4 (4.8.4) "release 513") on KDE Platform 4.8.4 (4.8.4) "release 513" using Qt 4.8.2

I hit the same problem. I was surfing userbase.kde.org and then tried to authenticate with my OpenID. Instead of asking me for the credentials or anything it just crashed.

-- Backtrace (Reduced):
#6  internalWinId (this=<optimized out>) at ../../src/gui/kernel/qwidget.h:241
#7  QWidget::effectiveWinId (this=0x483a290) at kernel/qwidget.cpp:2618
#8  0x00007f1347bc4b7d in KMessageBox::warningContinueCancelList (parent=<optimized out>, text=..., strlist=..., caption=..., buttonContinue=<optimized out>, buttonCancel=<optimized out>, dontAskAgainName=..., options=...) at /usr/src/debug/kdelibs-4.8.4/kdeui/dialogs/kmessagebox.cpp:677
#9  0x00007f1347bc4c21 in KMessageBox::warningContinueCancel (parent=<optimized out>, text=<optimized out>, caption=<optimized out>, buttonContinue=<optimized out>, buttonCancel=<optimized out>, dontAskAgainName=<optimized out>, options=...) at /usr/src/debug/kdelibs-4.8.4/kdeui/dialogs/kmessagebox.cpp:653
#10 0x00007f1340081aa3 in KIO::SlaveInterfacePrivate::messageBox (this=0x4bdf1d0, type=3, text=..., caption=..., buttonYes=<optimized out>, buttonNo=..., dontAskAgainName=...) at /usr/src/debug/kdelibs-4.8.4/kio/kio/slaveinterface.cpp:455
Comment 3 squan 2012-09-01 05:43:22 UTC
Created attachment 73585 [details]
New crash information added by DrKonqi

konqueror (4.9.00 "release 559") on KDE Platform 4.9.00 "release 559" using Qt 4.8.2

What I was doing when the application crashed:
- Opening a link in a new tab on save.tv.

Seems unrelated to a "KIO popup" as suggested in earlier comment.

-- Backtrace (Reduced):
#6  internalWinId (this=<optimized out>) at ../../src/gui/kernel/qwidget.h:241
#7  QWidget::effectiveWinId (this=0x2242670) at kernel/qwidget.cpp:2618
#8  0x00007f6e19a86b0d in KMessageBox::warningContinueCancelList (parent=<optimized out>, text=..., strlist=..., caption=..., buttonContinue=..., buttonCancel=..., dontAskAgainName=..., options=...) at /usr/src/debug/kdelibs-4.9.0/kdeui/dialogs/kmessagebox.cpp:677
#9  0x00007f6e19a86b94 in KMessageBox::warningContinueCancel (parent=<optimized out>, text=..., caption=..., buttonContinue=..., buttonCancel=..., dontAskAgainName=..., options=...) at /usr/src/debug/kdelibs-4.9.0/kdeui/dialogs/kmessagebox.cpp:653
#10 0x00007f6e1a304822 in KIO::SlaveInterfacePrivate::messageBox (this=this@entry=0x277e350, type=type@entry=3, text=..., caption=..., buttonYes=..., buttonNo=..., dontAskAgainName=...) at /usr/src/debug/kdelibs-4.9.0/kio/kio/slaveinterface.cpp:455
Comment 4 Christoph Feck 2012-09-01 14:10:58 UTC
> Seems unrelated to a "KIO popup" as suggested in earlier comment.

Look at your backtrace, it calls KMessageBox from KIO. You probably have the "Do not show this warning again" checked once, so the box won't appear any longer.

I still get the crash daily, when going from https to http twice (e.g. when viewing two attachments in bko).
Comment 5 Diego 2012-09-21 07:37:05 UTC
Created attachment 74075 [details]
New crash information added by DrKonqi

rekonq (1.1) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.2

- What I was doing when the application crashed:

I was browsing an image gallery on www.libero.it in private browsing and rekonq crashed.

-- Backtrace (Reduced):
#6  internalWinId (this=<optimized out>) at ../../src/gui/kernel/qwidget.h:241
#7  QWidget::effectiveWinId (this=0xdad980) at kernel/qwidget.cpp:2618
#8  0x00007ff3b9c500ed in KMessageBox::warningContinueCancelList (parent=<optimized out>, text=..., strlist=..., caption=..., buttonContinue=..., buttonCancel=..., dontAskAgainName=..., options=...) at /usr/src/debug/kdelibs-4.8.5/kdeui/dialogs/kmessagebox.cpp:677
#9  0x00007ff3b9c50174 in KMessageBox::warningContinueCancel (parent=<optimized out>, text=..., caption=..., buttonContinue=..., buttonCancel=..., dontAskAgainName=..., options=...) at /usr/src/debug/kdelibs-4.8.5/kdeui/dialogs/kmessagebox.cpp:653
#10 0x00007ff3bad19f52 in KIO::SlaveInterfacePrivate::messageBox (this=this@entry=0x15c5ac0, type=type@entry=3, text=..., caption=..., buttonYes=..., buttonNo=..., dontAskAgainName=...) at /usr/src/debug/kdelibs-4.8.5/kio/kio/slaveinterface.cpp:455
Comment 6 Christoph Feck 2012-09-21 10:04:55 UTC
*** Bug 304300 has been marked as a duplicate of this bug. ***
Comment 7 Jekyll Wu 2012-10-01 10:11:12 UTC
*** Bug 307661 has been marked as a duplicate of this bug. ***
Comment 8 kenmaugee 2012-11-21 08:19:42 UTC
Created attachment 75392 [details]
New crash information added by DrKonqi

rekonq (1.1) on KDE Platform 4.9.2 using Qt 4.8.3

- What I was doing when the application crashed:Recquonk try to use https by typing "https"in the adress bar

-- Backtrace (Reduced):
#6  internalWinId (this=<optimized out>) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:241
#7  QWidget::effectiveWinId (this=0x17d8d50) at kernel/qwidget.cpp:2618
#8  0x00007f45a114c97d in KMessageBox::warningYesNoCancelList (parent=<optimized out>, text=..., strlist=..., caption=..., buttonYes=..., buttonNo=..., buttonCancel=..., dontAskAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:760
#9  0x00007f45a114ca1e in KMessageBox::warningYesNoCancel (parent=<optimized out>, text=..., caption=..., buttonYes=..., buttonNo=..., buttonCancel=..., dontAskAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:735
#10 0x00007f45a0c9f88b in KIO::SlaveInterfacePrivate::messageBox (this=this@entry=0x1a540d0, type=type@entry=4, text=..., caption=..., buttonYes=..., buttonNo=..., dontAskAgainName=...) at ../../kio/kio/slaveinterface.cpp:460
Comment 9 Dawit Alemayehu 2012-11-21 17:06:52 UTC
Git commit f9e7f013a2cdf2a39181b57c4d251b017f49a76e by Dawit Alemayehu.
Committed on 21/11/2012 at 16:53.
Pushed by adawit into branch 'KDE/4.9'.

Prevent a crash that could occur if the parent window is deleted before we can
display the messagebox.
FIXED-IN: 4.9.4

M  +2    -1    kio/kio/slaveinterface_p.h

http://commits.kde.org/kdelibs/f9e7f013a2cdf2a39181b57c4d251b017f49a76e
Comment 10 Christoph Feck 2012-11-21 21:27:56 UTC
Thanks, but compilation fails:

In file included from /usr/include/QtCore/QtCore:16:0,
                 from /usr/include/QtDBus/QtDBus:3,
                 from /local/git/KDE/libs/kdelibs/kio/kio/slave.cpp:33:
/usr/include/QtCore/qpointer.h: In instantiation of 'QPointer<T>::QPointer(T*) [with T = QWidget]':
/local/git/KDE/libs/kdelibs/kio/kio/slaveinterface_p.h:37:60:   required from here
/usr/include/QtCore/qpointer.h:59:32: error: cannot convert 'QWidget*' to 'QObject*' in initialization
make[2]: *** [kio/CMakeFiles/kio.dir/kio/slave.o] Error 1
make[1]: *** [kio/CMakeFiles/kio.dir/all] Error 2
make: *** [all] Error 2
Comment 11 Christoph Feck 2012-11-24 20:04:07 UTC
*** Bug 310590 has been marked as a duplicate of this bug. ***
Comment 12 Christoph Feck 2012-11-24 20:05:10 UTC
*** Bug 310036 has been marked as a duplicate of this bug. ***
Comment 13 Christoph Feck 2012-11-24 20:05:50 UTC
*** Bug 309071 has been marked as a duplicate of this bug. ***
Comment 14 Raúl 2013-03-07 18:03:34 UTC
Hi:
I would appreciate if anyone could state if this bug is finally solved or not.
Thanks.
Comment 15 Christoph Feck 2013-03-07 20:18:49 UTC
This crash is resolved in 4.9.4 or newer. If you still get it with a later version, please add the backtrace, or open a new bug.
Comment 16 Jekyll Wu 2013-07-22 11:31:12 UTC
*** Bug 322670 has been marked as a duplicate of this bug. ***