Bug 439975

Summary: kioslave5 crashed when I clicked on "Retry" button of drkonqi
Product: [Frameworks and Libraries] frameworks-kcrash Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED WORKSFORME    
Severity: crash CC: a.samirh78, christoph, kdelibs-bugs-null, nicolas.fella
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 461969    

Description Patrick Silva 2021-07-17 14:00:30 UTC
SUMMARY
drkonqi failed when I tried to submit a bug report for the first time.
Then I clicked on its "Retry" button and Plasma notified about a kioslave5 crash.
I clicked on "Retry" button again and the bug report was successfully sent
without any crash notification.

EXPECTED RESULT
no crash after click on "Retry" button

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.22.80
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.3
Graphics Platform: X11


Application: kioslave5 (kioslave5), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[New LWP 21028]
[New LWP 21029]
[New LWP 21030]
[New LWP 21031]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/lib/x86_64-linux-gnu/libexec/kf5/kioslave5 /usr/lib/x86_64-linux-gnu/qt5/p'.
Program terminated with signal SIGABRT, Aborted.
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
[Current thread is 1 (Thread 0x7f5d06e0b040 (LWP 21028))]
__preamble__

[Current thread is 1 (Thread 0x7f5d06e0b040 (LWP 21028))]

Thread 4 (Thread 0x7f5d05667700 (LWP 21031)):
#0  0x00007f5d0b0baaff in __GI___poll (fds=0x7f5cfc004a60, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f5d0a0f636e in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7f5cfc004a60, timeout=<optimized out>, context=0x7f5cfc000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f5cfc000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f5d0a0f64a3 in g_main_context_iteration (context=0x7f5cfc000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f5d0b687fb2 in QEventDispatcherGlib::processEvents (this=0x7f5cfc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f5d0b62c25b in QEventLoop::exec (this=this@entry=0x7f5d05666c30, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f5d0b445c22 in QThread::exec (this=this@entry=0x7f5d0aafcd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f5d0aa78f4b in QDBusConnectionManager::run (this=0x7f5d0aafcd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#8  0x00007f5d0b446dbc in QThreadPrivate::start (arg=0x7f5d0aafcd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#9  0x00007f5d0aa3a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f5d0b0c7293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f5d05ea2700 (LWP 21030)):
#0  0x00007f5d0b0baaff in __GI___poll (fds=0x7f5cf8004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f5d0a0f636e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f5cf8004e60, timeout=<optimized out>, context=0x7f5cf8000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f5cf8000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f5d0a0f64a3 in g_main_context_iteration (context=0x7f5cf8000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f5d0b687fb2 in QEventDispatcherGlib::processEvents (this=0x7f5cf8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f5d0b62c25b in QEventLoop::exec (this=this@entry=0x7f5d05ea1c60, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f5d0b445c22 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f5d0b446dbc in QThreadPrivate::start (arg=0x56441d9c0ff0) at thread/qthread_unix.cpp:329
#8  0x00007f5d0aa3a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f5d0b0c7293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f5d066df700 (LWP 21029)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f5d066debd0, clockid=<optimized out>, expected=0, futex_word=0x56441d9b7f80) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f5d066debd0, clockid=<optimized out>, mutex=0x56441d9b7f30, cond=0x56441d9b7f58) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x56441d9b7f58, mutex=0x56441d9b7f30, abstime=0x7f5d066debd0) at pthread_cond_wait.c:665
#3  0x00007f5d0b44ceb8 in QWaitConditionPrivate::wait_relative (this=0x56441d9b7f30, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x56441d9b7f30) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x56441d9b7ce0, mutex=mutex@entry=0x56441d9aaee8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f5d0b44a3c1 in QThreadPoolThread::run (this=0x56441d9b7cd0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f5d0b446dbc in QThreadPrivate::start (arg=0x56441d9b7cd0) at thread/qthread_unix.cpp:329
#8  0x00007f5d0aa3a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f5d0b0c7293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f5d06e0b040 (LWP 21028)):
[KCrash Handler]
#3  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#4  0x00007f5d0afca859 in __GI_abort () at abort.c:79
#5  0x00007f5d0b40bbf7 in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1914
#6  QMessageLogger::fatal (this=this@entry=0x7ffd9af4b3e0, msg=msg@entry=0x7f5d0bb1d548 "Fatal Error: Got cmd %d, while waiting for an answer!") at global/qlogging.cpp:893
#7  0x00007f5d0ba33f4c in KIO::SlaveBase::waitForAnswer (this=this@entry=0x7ffd9af4bae0, expected1=expected1@entry=100, expected2=expected2@entry=0, data=..., pCmd=pCmd@entry=0x0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlogging.h:90
#8  0x00007f5d0ba33fb6 in KIO::SlaveBase::readData (this=this@entry=0x7ffd9af4bae0, buffer=...) at ./src/core/slavebase.cpp:1116
#9  0x00007f5d06aea06f in HTTPProtocol::sendBody (this=this@entry=0x7ffd9af4bad0) at ./src/ioslaves/http/http.cpp:3857
#10 0x00007f5d06aea4af in HTTPProtocol::sendBody (this=0x7ffd9af4bad0) at ./src/ioslaves/http/http.cpp:3808
#11 0x00007f5d06af7318 in HTTPProtocol::sendQuery (this=this@entry=0x7ffd9af4bad0) at ./src/ioslaves/http/http.cpp:2641
#12 0x00007f5d06afd6ed in HTTPProtocol::proceedUntilResponseHeader (this=this@entry=0x7ffd9af4bad0) at ./src/ioslaves/http/http.cpp:626
#13 0x00007f5d06afd9ff in HTTPProtocol::proceedUntilResponseContent (this=this@entry=0x7ffd9af4bad0, dataInternal=dataInternal@entry=false) at ./src/ioslaves/http/http.cpp:596
#14 0x00007f5d06aff0cd in HTTPProtocol::post (url=..., size=<optimized out>, this=0x7ffd9af4bad0) at ./src/ioslaves/http/http.cpp:1438
#15 HTTPProtocol::post (this=0x7ffd9af4bad0, url=..., size=<optimized out>) at ./src/ioslaves/http/http.cpp:1425
#16 0x00007f5d06affaeb in HTTPProtocol::special (this=0x7ffd9af4bad0, data=...) at ./src/ioslaves/http/http.cpp:3983
#17 0x00007f5d0ba39f9a in KIO::SlaveBase::dispatch (this=0x7ffd9af4bae0, command=77, data=...) at ./src/core/slavebase.cpp:1364
#18 0x00007f5d0ba3aa66 in KIO::SlaveBase::dispatchLoop (this=this@entry=0x7ffd9af4bae0) at ./src/core/slavebase.cpp:335
#19 0x00007f5d06af4ae6 in kdemain (argc=<optimized out>, argv=0x7ffd9af4bdf0) at ./src/ioslaves/http/http.cpp:100
#20 0x000056441bf9845d in main (argc=5, argv=0x7ffd9af4bf48) at ./src/kioslave/kioslave.cpp:125
Comment 1 Nicolas Fella 2022-11-17 22:51:27 UTC
*** Bug 439371 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Cullmann 2024-12-08 20:13:55 UTC
Please retry this with a Qt6 based version, thanks!
Comment 3 Bug Janitor Service 2024-12-23 03:47:00 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2025-01-07 03:47:50 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.