Bug 420179

Summary: crash with "Got cmd %d, while waiting for an answer!"
Product: [Frameworks and Libraries] frameworks-kio Reporter: Martin Koller <kollix>
Component: HTTPAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: justin.zobel, nicolas.fella
Priority: NOR    
Version: 5.68.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 461969    

Description Martin Koller 2020-04-17 07:17:26 UTC
SUMMARY
did nothing, kdeinit5 crashed out of the blue.

Operating System: openSUSE Tumbleweed 20200411
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.1
Kernel Version: 5.6.2-1-default
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-6300U CPU @ 2.40GHz
Memory: 15,5 GiB of RAM

backtrace:
Application: kdeinit5 (kdeinit5), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f34fd283580 (LWP 6804))]

Thread 3 (Thread 0x7f34f92f6700 (LWP 6808)):
#0  0x00007f34ffa84acf in poll () from /lib64/libc.so.6
#1  0x00007f34fd70733e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f34fd70745f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f34fee41c0b in QEventDispatcherGlib::processEvents (this=0x7f34f0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f34fede9b9b in QEventLoop::exec (this=this@entry=0x7f34f92f5da0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f34fec145ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007f34fec15698 in QThreadPrivate::start (arg=0x55eec0c27740) at thread/qthread_unix.cpp:342
#7  0x00007f34fe1fcefa in start_thread () from /lib64/libpthread.so.0
#8  0x00007f34ffa8f3bf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f34f9af7700 (LWP 6806)):
#0  0x00007f34ffa84acf in poll () from /lib64/libc.so.6
#1  0x00007f34fd70733e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f34fd70745f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f34fee41c0b in QEventDispatcherGlib::processEvents (this=0x7f34ec000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f34fede9b9b in QEventLoop::exec (this=this@entry=0x7f34f9af6d70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f34fec145ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007f34fb266507 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f34fec15698 in QThreadPrivate::start (arg=0x7f34fb2e8da0) at thread/qthread_unix.cpp:342
#8  0x00007f34fe1fcefa in start_thread () from /lib64/libpthread.so.0
#9  0x00007f34ffa8f3bf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f34fd283580 (LWP 6804)):
[KCrash Handler]
#6  0x00007f34ff9cbea1 in raise () from /lib64/libc.so.6
#7  0x00007f34ff9b553d in abort () from /lib64/libc.so.6
#8  0x00007f34febdcaef in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1894
#9  QMessageLogger::fatal (this=this@entry=0x7ffce2accdd0, msg=msg@entry=0x7f34fb73c880 "Fatal Error: Got cmd %d, while waiting for an answer!") at global/qlogging.cpp:893
#10 0x00007f34fb669f1c in KIO::SlaveBase::waitForAnswer (this=0x7ffce2acd570, expected1=100, expected2=0, data=..., pCmd=0x0) at /usr/include/qt5/QtCore/qlogging.h:90
#11 0x00007f34fa4df96f in HTTPProtocol::sendBody (this=0x7ffce2acd560) at /usr/src/debug/kio-5.68.0-1.1.x86_64/src/ioslaves/http/http.cpp:3934
#12 0x00007f34fa4fc7a6 in HTTPProtocol::sendBody (this=0x7ffce2acd560) at /usr/src/debug/kio-5.68.0-1.1.x86_64/src/ioslaves/http/http.cpp:3885
#13 HTTPProtocol::sendQuery (this=<optimized out>) at /usr/src/debug/kio-5.68.0-1.1.x86_64/src/ioslaves/http/http.cpp:2672
#14 0x00007f34fa500dbd in HTTPProtocol::proceedUntilResponseHeader (this=this@entry=0x7ffce2acd560) at /usr/src/debug/kio-5.68.0-1.1.x86_64/src/ioslaves/http/http.cpp:655
#15 0x00007f34fa5010cf in HTTPProtocol::proceedUntilResponseContent (this=0x7ffce2acd560, dataInternal=false) at /usr/src/debug/kio-5.68.0-1.1.x86_64/src/ioslaves/http/http.cpp:624
#16 0x00007f34fa4f5996 in HTTPProtocol::davGeneric (size=<optimized out>, method=<optimized out>, url=..., this=<optimized out>) at /usr/src/debug/kio-5.68.0-1.1.x86_64/src/ioslaves/http/http.cpp:917
#17 HTTPProtocol::special (this=0x7ffce2acd560, data=...) at /usr/src/debug/kio-5.68.0-1.1.x86_64/src/ioslaves/http/http.cpp:4108
#18 0x00007f34fb6ea032 in KIO::SlaveBase::dispatch (this=0x7ffce2acd570, command=77, data=...) at /usr/src/debug/kio-5.68.0-1.1.x86_64/src/core/slavebase.cpp:1331
#19 0x00007f34fb6f1596 in KIO::SlaveBase::dispatchLoop (this=this@entry=0x7ffce2acd570) at /usr/src/debug/kio-5.68.0-1.1.x86_64/src/core/slavebase.cpp:338
#20 0x00007f34fa505aa6 in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kio-5.68.0-1.1.x86_64/src/ioslaves/http/http.cpp:115
#21 0x000055eebf7c8bcb in ?? ()
#22 0x000055eebf7c9df8 in ?? ()
#23 0x000055eebf7ca7d4 in ?? ()
#24 0x000055eebf7c564d in ?? ()
#25 0x00007f34ff9b6ceb in __libc_start_main () from /lib64/libc.so.6
#26 0x000055eebf7c618a in ?? ()
[Inferior 1 (process 6804) detached]
Comment 1 Justin Zobel 2022-12-01 05:37:44 UTC
Thank you for reporting this issue in KDE software. As it was reported on an older version, can we please ask you to see if you can reproduce the issue with a more recent software version?  
  
If you can confirm this issue still exists in a recent version, please change the version field and the status to "REPORTED" when replying. Thank you!
Comment 2 Martin Koller 2022-12-01 06:30:23 UTC
Have not seen this since