Bug 421820

Summary: Crash upon canceling html download.
Product: [Applications] konqueror Reporter: Danir Toma <danirtoma>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.0.97   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Danir Toma 2020-05-20 11:36:38 UTC
Application: konqueror (5.0.97)

Qt Version: 5.9.7
Frameworks Version: 5.55.0
Operating System: Linux 4.12.14-lp151.28.48-default x86_64
Distribution: "openSUSE Leap 15.1"

-- Information about the crash:
- What I was doing when the application crashed:
I tried to open an HTML document, that was located on a local server (not public) from the history.
I was served with the Open with other application or download dialog. 
Upon pressing cancle that dialog closes, the address bar becomes grey (inactive) and after some seconds konquerror crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f6cd1c4d600 (LWP 8433))]

Thread 4 (Thread 0x7f6cb20ee700 (LWP 8438)):
#0  0x00007f6cc6b8d87d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6cb339c83b in ?? () from /usr/lib64/dri/nouveau_dri.so
#2  0x00007f6cb339c547 in ?? () from /usr/lib64/dri/nouveau_dri.so
#3  0x00007f6cc6b874f9 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6cd14c3f2f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f6cb9ddd700 (LWP 8435)):
#0  0x00007f6cd14b96db in poll () from /lib64/libc.so.6
#1  0x00007f6cc49861a9 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f6cc49862bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f6ccbb307fb in QEventDispatcherGlib::processEvents (this=0x7f6cac000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f6ccbad579a in QEventLoop::exec (this=this@entry=0x7f6cb9ddcc40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f6ccb8f3d4a in QThread::exec (this=this@entry=0x7f6ccd89bd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:515
#6  0x00007f6ccd6289e5 in QDBusConnectionManager::run (this=0x7f6ccd89bd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#7  0x00007f6ccb8f8c8d in QThreadPrivate::start (arg=0x7f6ccd89bd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#8  0x00007f6cc6b874f9 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f6cd14c3f2f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f6cbc0c2700 (LWP 8434)):
#0  0x00007f6cd14b96db in poll () from /lib64/libc.so.6
#1  0x00007f6cc64f9307 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f6cc64faf3a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f6cbe84d969 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f6ccb8f8c8d in QThreadPrivate::start (arg=0x55f0d47816f0) at thread/qthread_unix.cpp:368
#5  0x00007f6cc6b874f9 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f6cd14c3f2f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f6cd1c4d600 (LWP 8433)):
[KCrash Handler]
#6  KonqRun::foundMimeType (this=0x55f0d6dfff20, _type=...) at /usr/src/debug/konqueror-18.12.3-lp151.1.2.x86_64/src/konqrun.cpp:111
#7  0x00007f6cd00eadd2 in KRun::mimeTypeDetermined (this=this@entry=0x55f0d6dfff20, mimeType=...) at /usr/src/debug/kio-5.55.0-lp151.3.9.1.x86_64/src/widgets/krun.cpp:1301
#8  0x00007f6cd069eda9 in KParts::BrowserRun::slotBrowserMimetype (this=0x55f0d6dfff20, _job=<optimized out>, type=...) at /usr/src/debug/kparts-5.55.0-lp151.1.1.x86_64/src/browserrun.cpp:257
#9  0x00007f6ccbb064df in QtPrivate::QSlotObjectBase::call (a=0x7ffc7c090150, r=0x55f0d6dfff20, this=0x55f0d6de8c50) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#10 QMetaObject::activate (sender=sender@entry=0x55f0d6dfcc90, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffc7c090150) at kernel/qobject.cpp:3750
#11 0x00007f6ccbb06a97 in QMetaObject::activate (sender=sender@entry=0x55f0d6dfcc90, m=m@entry=0x7f6cd0026780 <KIO::TransferJob::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffc7c090150) at kernel/qobject.cpp:3629
#12 0x00007f6ccfd7be37 in KIO::TransferJob::mimetype (this=this@entry=0x55f0d6dfcc90, _t1=<optimized out>, _t1@entry=0x55f0d6dfcc90, _t2=...) at /usr/src/debug/kio-5.55.0-lp151.3.9.1.x86_64/build/src/core/KF5KIOCore_autogen/include/moc_transferjob.cpp:343
#13 0x00007f6ccfd7c7c2 in KIO::TransferJob::slotMimetype (this=0x55f0d6dfcc90, type=...) at /usr/src/debug/kio-5.55.0-lp151.3.9.1.x86_64/src/core/transferjob.cpp:272
#14 0x00007f6ccbb064df in QtPrivate::QSlotObjectBase::call (a=0x7ffc7c090310, r=0x55f0d6dfcc90, this=0x55f0d6deeda0) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#15 QMetaObject::activate (sender=sender@entry=0x55f0d6cdc6f0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=20, argv=argv@entry=0x7ffc7c090310) at kernel/qobject.cpp:3750
#16 0x00007f6ccbb06a97 in QMetaObject::activate (sender=sender@entry=0x55f0d6cdc6f0, m=m@entry=0x7f6cd0025620 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=20, argv=argv@entry=0x7ffc7c090310) at kernel/qobject.cpp:3629
#17 0x00007f6ccfd470b5 in KIO::SlaveInterface::mimeType (this=this@entry=0x55f0d6cdc6f0, _t1=...) at /usr/src/debug/kio-5.55.0-lp151.3.9.1.x86_64/build/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:545
#18 0x00007f6ccfd4a50b in KIO::SlaveInterface::dispatch (this=0x55f0d6cdc6f0, _cmd=<optimized out>, rawdata=...) at /usr/src/debug/kio-5.55.0-lp151.3.9.1.x86_64/src/core/slaveinterface.cpp:253
#19 0x00007f6ccfd47228 in KIO::SlaveInterface::dispatch (this=0x55f0d6cdc6f0) at /usr/src/debug/kio-5.55.0-lp151.3.9.1.x86_64/src/core/slaveinterface.cpp:89
#20 0x00007f6ccfd4d551 in KIO::Slave::gotInput (this=0x55f0d6cdc6f0) at /usr/src/debug/kio-5.55.0-lp151.3.9.1.x86_64/src/core/slave.cpp:406
#21 0x00007f6ccbb064df in QtPrivate::QSlotObjectBase::call (a=0x7ffc7c090590, r=0x55f0d6cdc6f0, this=0x55f0d6defc00) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#22 QMetaObject::activate (sender=0x55f0d6ce0e10, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3750
#23 0x00007f6ccbb06a97 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f6cd0024380 <KIO::Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3629
#24 0x00007f6ccfcef699 in KIO::Connection::readyRead (this=<optimized out>) at /usr/src/debug/kio-5.55.0-lp151.3.9.1.x86_64/build/src/core/KF5KIOCore_autogen/include/moc_connection_p.cpp:143
#25 KIO::ConnectionPrivate::dequeue (this=0x55f0d6de7370) at /usr/src/debug/kio-5.55.0-lp151.3.9.1.x86_64/src/core/connection.cpp:46
#26 0x00007f6ccbb06f32 in QObject::event (this=0x55f0d6ce0e10, e=<optimized out>) at kernel/qobject.cpp:1247
#27 0x00007f6ccccd33dc in QApplicationPrivate::notify_helper (this=this@entry=0x55f0d476cad0, receiver=receiver@entry=0x55f0d6ce0e10, e=e@entry=0x55f0d6e02b20) at kernel/qapplication.cpp:3723
#28 0x00007f6ccccdaca4 in QApplication::notify (this=0x7ffc7c090c10, receiver=0x55f0d6ce0e10, e=0x55f0d6e02b20) at kernel/qapplication.cpp:3482
#29 0x00007f6ccbad7768 in QCoreApplication::notifyInternal2 (receiver=0x55f0d6ce0e10, event=event@entry=0x55f0d6e02b20) at kernel/qcoreapplication.cpp:1024
#30 0x00007f6ccbad9edd in QCoreApplication::sendEvent (event=0x55f0d6e02b20, receiver=<optimized out>) at kernel/qcoreapplication.h:233
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55f0d476c060) at kernel/qcoreapplication.cpp:1699
#32 0x00007f6ccbada468 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1553
#33 0x00007f6ccbb311b3 in postEventSourceDispatch (s=0x55f0d47edbe0) at kernel/qeventdispatcher_glib.cpp:276
#34 0x00007f6cc4985e87 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#35 0x00007f6cc4986230 in ?? () from /usr/lib64/libglib-2.0.so.0
#36 0x00007f6cc49862bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#37 0x00007f6ccbb307df in QEventDispatcherGlib::processEvents (this=0x7f6cb4005860, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#38 0x00007f6ccbad579a in QEventLoop::exec (this=this@entry=0x7ffc7c090b30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#39 0x00007f6ccbade844 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1297
#40 0x00007f6cd184709c in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/konqueror-18.12.3-lp151.1.2.x86_64/src/konqmain.cpp:264
#41 0x00007f6cd13ec34a in __libc_start_main () from /lib64/libc.so.6
#42 0x000055f0d3c1b84a in _start () at ../sysdeps/x86_64/start.S:120
[Inferior 1 (process 8433) detached]

Possible duplicates by query: bug 420987.

Reported using DrKonqi
Comment 1 Christoph Feck 2020-06-01 20:43:33 UTC

*** This bug has been marked as a duplicate of bug 379771 ***