https://bugs.kde.org/show_bug.cgi?id=512354
Bug ID: 512354
Summary: kioworker crashes if FTP host becomes unreachable
Classification: Frameworks and Libraries
Product: frameworks-kio
Version First 6.20.0
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Keywords: drkonqi
Severity: crash
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Application: kioworker (6.20.0)
ApplicationNotResponding [ANR]: false
Qt Version: 6.10.0
Frameworks Version: 6.20.0
Operating System: Linux 6.17.8-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.5.3 [CoredumpBackend]
-- Information about the crash:
kioworker crashes if you connect to a FTP host, then it become unreachable and
then you reload the page. It keeps happening constantly.
The crash can be reproduced every time.
-- Backtrace:
Application: kioworker (kioworker), signal: Segmentation fault
[New LWP 22403]
[New LWP 22406]
[New LWP 22405]
[New LWP 22412]
[New LWP 22404]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/lib/kf6/kioworker
/usr/lib/qt6/plugins/kf6/kio/kio_ftp.so ftp ''
local:/run/user/1000/dolphinpxRCnj.20.kioworker.socket'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO
(ret) : 0;
[Current thread is 1 (Thread 0x7fbfd5888280 (LWP 22403))]
add symbol table from file "/usr/lib/libc.so.6"
add symbol table from file "/usr/lib/libKF6Crash.so.6"
Downloading 46.69 M separate debug info for /usr/lib/libQt6Network.so.6...
add symbol table from file "/usr/lib/libQt6Network.so.6"
add symbol table from file "/usr/lib/qt6/plugins/kf6/kio/kio_ftp.so"
warning:
`/home/paradigma/.cache/debuginfod_client/1c8888468933c4e6aaf84d7620e8b6deb6f7cc99/debuginfo':
can't read symbols: file format not recognized.
add symbol table from file "/usr/lib/libKF6KIOCore.so.6"
warning:
`/home/paradigma/.cache/debuginfod_client/1c8888468933c4e6aaf84d7620e8b6deb6f7cc99/debuginfo':
can't read symbols: file format not recognized.
add symbol table from file "/usr/lib/kf6/kioworker"
Downloading 100.11 K source file
/usr/src/debug/qt6-base/qtbase/src/network/socket/qabstractsocket.cpp...
Downloading 38.84 K source file
/usr/src/debug/qt6-base/qtbase/src/network/kernel/qhostaddress.cpp...
Downloading 10.22 K source file
/usr/src/debug/qt6-base/qtbase/src/corelib/tools/qshareddata.h...
add symbol table from file "/usr/lib/libglib-2.0.so.0"
add symbol table from file "/usr/lib/libgio-2.0.so.0"
add symbol table from file "/usr/lib/libQt6Core.so.6"
add symbol table from file "/usr/lib/libQt6DBus.so.6"
[Current thread is 1 (Thread 0x7fbfd5888280 (LWP 22403))]
Thread 5 (Thread 0x7fbfd53ff6c0 (LWP 22404)):
#0 __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1 0x00007fbfda89316c in __internal_syscall_cancel (a1=<optimized out>,
a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>,
a6=<optimized out>, nr=271) at cancellation.c:49
#2 0x00007fbfda8931b4 in __syscall_cancel (a1=<optimized out>, a2=<optimized
out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>, a6=<optimized
out>, nr=271) at cancellation.c:75
#3 0x00007fbfda90d9f6 in __GI_ppoll (fds=fds@entry=0x7fbfd0000be0,
nfds=nfds@entry=2, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4 0x00007fbfd9d08784 in ppoll (__fds=0x7fbfd0000be0, __nfds=2, __timeout=0x0,
__ss=0x0) at /usr/include/bits/poll2.h:101
#5 g_main_context_poll_unlocked (priority=<optimized out>,
context=0x557e76cfd0c0, timeout_usec=<optimized out>, fds=0x7fbfd0000be0,
n_fds=2) at ../glib/glib/gmain.c:4811
#6 g_main_context_iterate_unlocked (context=context@entry=0x557e76cfd0c0,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../glib/glib/gmain.c:4485
#7 0x00007fbfd9d08865 in g_main_context_iteration (context=0x557e76cfd0c0,
may_block=may_block@entry=1) at ../glib/glib/gmain.c:4556
#8 0x00007fbfd9d088b2 in glib_worker_main (data=<optimized out>) at
../glib/glib/gmain.c:6764
#9 0x00007fbfd9d3f8bc in g_thread_proxy (data=0x557e76cfd2e0) at
../glib/glib/gthread.c:893
#10 0x00007fbfda89698b in start_thread (arg=<optimized out>) at
pthread_create.c:448
#11 0x00007fbfda91a9cc in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Thread 4 (Thread 0x7fbfcf7fe6c0 (LWP 22412)):
#0 __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1 0x00007fbfda89316c in __internal_syscall_cancel (a1=<optimized out>,
a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>,
a6=<optimized out>, nr=271) at cancellation.c:49
#2 0x00007fbfda8931b4 in __syscall_cancel (a1=<optimized out>, a2=<optimized
out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>, a6=<optimized
out>, nr=271) at cancellation.c:75
#3 0x00007fbfda90d9f6 in __GI_ppoll (fds=fds@entry=0x7fbfc0001420,
nfds=nfds@entry=2, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4 0x00007fbfd9d08784 in ppoll (__fds=0x7fbfc0001420, __nfds=2, __timeout=0x0,
__ss=0x0) at /usr/include/bits/poll2.h:101
#5 g_main_context_poll_unlocked (priority=<optimized out>,
context=0x7fbfc0000d00, timeout_usec=<optimized out>, fds=0x7fbfc0001420,
n_fds=2) at ../glib/glib/gmain.c:4811
#6 g_main_context_iterate_unlocked (context=context@entry=0x7fbfc0000d00,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../glib/glib/gmain.c:4485
#7 0x00007fbfd9d08865 in g_main_context_iteration (context=0x7fbfc0000d00,
may_block=1) at ../glib/glib/gmain.c:4556
#8 0x00007fbfdb04a9d2 in QEventDispatcherGlib::processEvents
(this=0x7fbfc0000be0, flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#9 0x00007fbfdad75a86 in QEventLoop::processEvents (this=0x7fbfcf7fdab0,
flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#10 QEventLoop::exec (this=0x7fbfcf7fdab0, flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#11 0x00007fbfdae8af7e in QThread::exec (this=this@entry=0x7fbfda593da0
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:672
#12 0x00007fbfda50e63e in QDBusConnectionManager::run (this=0x7fbfda593da0
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/debug/qt6-base/qtbase/src/dbus/qdbusconnectionmanager.cpp:145
#13 0x00007fbfdaf30ca9 in operator() (__closure=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:437
#14 (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:367
#15 QThreadPrivate::start (arg=0x7fbfda593da0
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:397
#16 0x00007fbfda89698b in start_thread (arg=<optimized out>) at
pthread_create.c:448
#17 0x00007fbfda91a9cc in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Thread 3 (Thread 0x7fbfd4bfe6c0 (LWP 22405)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007fbfd9d3782e in g_cond_wait_impl (cond=0x557e76d23658,
mutex=0x557e76d23650) at ../glib/glib/gthread-posix.c:1026
#2 g_cond_wait (cond=0x557e76d23658, mutex=0x557e76d23650) at
../glib/glib/gthread.c:1686
#3 0x00007fbfd9cce1cd in g_async_queue_pop_intern_unlocked
(queue=0x557e76d23650, wait=1, end_time=-1) at ../glib/glib/gasyncqueue.c:376
#4 0x00007fbfd9d40487 in g_thread_pool_spawn_thread (data=<optimized out>) at
../glib/glib/gthreadpool.c:297
#5 0x00007fbfd9d3f8bc in g_thread_proxy (data=0x557e76d26880) at
../glib/glib/gthread.c:893
#6 0x00007fbfda89698b in start_thread (arg=<optimized out>) at
pthread_create.c:448
#7 0x00007fbfda91a9cc in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Thread 2 (Thread 0x7fbfcffff6c0 (LWP 22406)):
#0 __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1 0x00007fbfda89316c in __internal_syscall_cancel (a1=<optimized out>,
a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>,
a6=<optimized out>, nr=271) at cancellation.c:49
#2 0x00007fbfda8931b4 in __syscall_cancel (a1=<optimized out>, a2=<optimized
out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>, a6=<optimized
out>, nr=271) at cancellation.c:75
#3 0x00007fbfda90d9f6 in __GI_ppoll (fds=fds@entry=0x7fbfc8000c20,
nfds=nfds@entry=2, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4 0x00007fbfd9d08784 in ppoll (__fds=0x7fbfc8000c20, __nfds=2, __timeout=0x0,
__ss=0x0) at /usr/include/bits/poll2.h:101
#5 g_main_context_poll_unlocked (priority=<optimized out>,
context=0x557e76d2eff0, timeout_usec=<optimized out>, fds=0x7fbfc8000c20,
n_fds=2) at ../glib/glib/gmain.c:4811
#6 g_main_context_iterate_unlocked (context=0x557e76d2eff0,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../glib/glib/gmain.c:4485
#7 0x00007fbfd9d08a17 in g_main_loop_run (loop=0x557e76d2f1e0) at
../glib/glib/gmain.c:4695
#8 0x00007fbfd5e6a264 in gdbus_shared_thread_func (user_data=0x557e76d307a0)
at ../glib/gio/gdbusprivate.c:284
#9 0x00007fbfd9d3f8bc in g_thread_proxy (data=0x557e76d2f200) at
../glib/glib/gthread.c:893
#10 0x00007fbfda89698b in start_thread (arg=<optimized out>) at
pthread_create.c:448
#11 0x00007fbfda91a9cc in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Thread 1 (Thread 0x7fbfd5888280 (LWP 22403)):
[KCrash Handler]
#4
QExplicitlySharedDataPointer<QHostAddressPrivate>::QExplicitlySharedDataPointer
(this=0x7ffd52a33f70, o=<error reading variable: Cannot access memory at
address 0x8>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/tools/qshareddata.h:159
#5 QHostAddress::QHostAddress (this=0x7ffd52a33f70, address=<error reading
variable: Cannot access memory at address 0x8>) at
/usr/src/debug/qt6-base/qtbase/src/network/kernel/qhostaddress.cpp:451
#6 QAbstractSocket::peerAddress (this=0x0) at
/usr/src/debug/qt6-base/qtbase/src/network/socket/qabstractsocket.cpp:1820
#7 0x00007fbfdb443e90 in FtpInternal::ftpOpenEPSVDataConnection
(this=0x557e76ce2e70) at
/usr/src/debug/kio/kio-6.20.0/src/kioworkers/ftp/ftp.cpp:856
#8 FtpInternal::ftpOpenDataConnection (this=0x557e76ce2e70) at
/usr/src/debug/kio/kio-6.20.0/src/kioworkers/ftp/ftp.cpp:919
#9 FtpInternal::ftpOpenCommand (this=this@entry=0x557e76ce2e70,
_command=_command@entry=0x7fbfdb44f45e "list -la", _path=...,
_mode=_mode@entry=73 'I', errorcode=errorcode@entry=0, _offset=0) at
/usr/src/debug/kio/kio-6.20.0/src/kioworkers/ftp/ftp.cpp:1004
#10 0x00007fbfdb445fd2 in FtpInternal::ftpOpenDir (this=0x557e76ce2e70,
path=...) at /usr/src/debug/kio/kio-6.20.0/src/kioworkers/ftp/ftp.cpp:1542
#11 FtpInternal::listDir (this=0x557e76ce2e70, url=...) at
/usr/src/debug/kio/kio-6.20.0/src/kioworkers/ftp/ftp.cpp:1477
#12 0x00007fbfdb448c46 in Ftp::listDir (this=<optimized out>, url=...) at
/usr/include/c++/15.2.1/bits/unique_ptr.h:192
#13 0x00007fbfdb3346b3 in ?? () from /usr/lib/libKF6KIOCore.so.6
#14 0x00007fbfdb32fd1f in ?? () from /usr/lib/libKF6KIOCore.so.6
#15 0x00007fbfdb3303de in ?? () from /usr/lib/libKF6KIOCore.so.6
#16 0x00007fbfdb4488e8 in kdemain (argc=<optimized out>, argv=<optimized out>)
at /usr/src/debug/kio/kio-6.20.0/src/kioworkers/ftp/ftp.cpp:177
#17 0x0000557e732ec1e2 in main (argc=<optimized out>, argv=0x7ffd52a347a8) at
/usr/include/qt6/QtCore/qvarlengtharray.h:90
Reported using DrKonqi
--
You are receiving this mail because:
You are watching all bug changes.