Bug 415292

Summary: K3b crashes after opening ISO file
Product: [Applications] k3b Reporter: Aleksey Dronov <cuteboibutt>
Component: generalAssignee: k3b developers <k3b>
Status: RESOLVED WORKSFORME    
Severity: crash CC: aacid, michalm, trueg
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Aleksey Dronov 2019-12-17 16:30:48 UTC
Application: k3b (19.12.0)

Qt Version: 5.13.2
Frameworks Version: 5.64.0
Operating System: Linux 5.4.3-zen1-1-zen x86_64
Distribution: "Arch Linux"

-- Information about the crash:
- What I was doing when the application crashed:

after clicking on ISO file K3b opens, complains about missing optical drive, then starts "Transferring" process and crashes

The crash can be reproduced every time.

-- Backtrace:
Application: K3b (k3b), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f61ef7b5840 (LWP 19560))]

Thread 15 (Thread 0x7f61cc9ba700 (LWP 19575)):
#0  0x00007f61e98d7c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f61db27248c in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007f61db272088 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007f61e98d14cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f61ee2cf2d3 in clone () at /usr/lib/libc.so.6

Thread 14 (Thread 0x7f61cd1bb700 (LWP 19574)):
#0  0x00007f61e98d7c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f61db27248c in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007f61db272088 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007f61e98d14cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f61ee2cf2d3 in clone () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7f61cd9bc700 (LWP 19573)):
#0  0x00007f61e98d7c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f61db27248c in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007f61db272088 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007f61e98d14cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f61ee2cf2d3 in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7f61ce1bd700 (LWP 19572)):
#0  0x00007f61e98d7c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f61db27248c in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007f61db272088 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007f61e98d14cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f61ee2cf2d3 in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7f61ce9be700 (LWP 19571)):
#0  0x00007f61e98d7c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f61db27248c in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007f61db272088 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007f61e98d14cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f61ee2cf2d3 in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7f61cf1bf700 (LWP 19570)):
#0  0x00007f61e98d7c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f61db27248c in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007f61db272088 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007f61e98d14cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f61ee2cf2d3 in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7f61d8973700 (LWP 19569)):
#0  0x00007f61e98d7c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f61db27248c in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007f61db272088 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007f61e98d14cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f61ee2cf2d3 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f61d9174700 (LWP 19568)):
#0  0x00007f61e98d7c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f61db27248c in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007f61db272088 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007f61e98d14cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f61ee2cf2d3 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f61d9975700 (LWP 19567)):
#0  0x00007f61e98d7c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f61db27248c in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007f61db272088 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007f61e98d14cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f61ee2cf2d3 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f61da176700 (LWP 19566)):
#0  0x00007f61e98d7c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f61db27248c in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007f61db272088 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007f61e98d14cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f61ee2cf2d3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f61da977700 (LWP 19565)):
#0  0x00007f61e98d7c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f61db27248c in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007f61db272088 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007f61e98d14cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f61ee2cf2d3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f61e1037700 (LWP 19564)):
#0  0x00007f61e98d7c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f61db27248c in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007f61db272088 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007f61e98d14cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f61ee2cf2d3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f61e2c07700 (LWP 19562)):
#0  0x00007f61e8ec4479 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f61e8f12147 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#2  0x00007f61e8f141b1 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f61e8f141f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f61ee870b2c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f61ee81783c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f61ee649305 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f61ef72db37 in  () at /usr/lib/libQt5DBus.so.5
#8  0x00007f61ee64a530 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f61e98d14cf in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f61ee2cf2d3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f61e3a7f700 (LWP 19561)):
#0  0x00007f61ee2c49ef in poll () at /usr/lib/libc.so.6
#1  0x00007f61e85dc630 in  () at /usr/lib/libxcb.so.1
#2  0x00007f61e85de2db in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f61e447b0c1 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f61ee64a530 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f61e98d14cf in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f61ee2cf2d3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f61ef7b5840 (LWP 19560)):
[KCrash Handler]
#6  0x00007f61ee30f1cd in __memcpy_ssse3 () at /usr/lib/libc.so.6
#7  0x00007f61ee844ac1 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#8  0x00007f61efcb08d5 in KIO::TransferJob::data(KIO::Job*, QByteArray const&) () at /usr/lib/libKF5KIOCore.so.5
#9  0x00007f61efcb0e6c in KIO::TransferJob::slotData(QByteArray const&) () at /usr/lib/libKF5KIOCore.so.5
#10 0x00007f61ee844c20 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#11 0x00007f61efc71df3 in KIO::SlaveInterface::data(QByteArray const&) () at /usr/lib/libKF5KIOCore.so.5
#12 0x00007f61efc74365 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () at /usr/lib/libKF5KIOCore.so.5
#13 0x00007f61efc725ac in KIO::SlaveInterface::dispatch() () at /usr/lib/libKF5KIOCore.so.5
#14 0x00007f61efc7c42b in KIO::Slave::gotInput() () at /usr/lib/libKF5KIOCore.so.5
#15 0x00007f61ee844c20 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#16 0x00007f61ee8454fa in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#17 0x00007f61ef1d94e5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#18 0x00007f61ef1e2e11 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#19 0x00007f61ee818d12 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#20 0x00007f61ee81ba89 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#21 0x00007f61ee871514 in  () at /usr/lib/libQt5Core.so.5
#22 0x00007f61e8f1239e in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#23 0x00007f61e8f141b1 in  () at /usr/lib/libglib-2.0.so.0
#24 0x00007f61e8f141f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#25 0x00007f61ee870b13 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#26 0x00007f61ee81783c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#27 0x00007f61ef9a8f0f in KJob::exec() () at /usr/lib/libKF5CoreAddons.so.5
#28 0x000055a186684d42 in  ()
#29 0x000055a18665fa80 in  ()
#30 0x000055a18664598d in  ()
#31 0x00007f61ee8454fa in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#32 0x00007f61eebb3bf3 in QGuiApplication::event(QEvent*) () at /usr/lib/libQt5Gui.so.5
#33 0x00007f61ef1e1141 in QApplication::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#34 0x00007f61ef1d94e5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#35 0x00007f61ef1e2e11 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#36 0x00007f61ee818d12 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#37 0x00007f61ee81ba89 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#38 0x00007f61ee871514 in  () at /usr/lib/libQt5Core.so.5
#39 0x00007f61e8f1239e in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#40 0x00007f61e8f141b1 in  () at /usr/lib/libglib-2.0.so.0
#41 0x00007f61e8f141f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#42 0x00007f61ee870b13 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#43 0x00007f61ee81783c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#44 0x00007f61ee81f676 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#45 0x000055a18662f780 in  ()
#46 0x00007f61ee1f7153 in __libc_start_main () at /usr/lib/libc.so.6
#47 0x000055a18662f9fe in _start ()
[Inferior 1 (process 19560) detached]

The reporter indicates this bug may be a duplicate of or related to bug 413553.

Possible duplicates by query: bug 413553, bug 354524, bug 338260, bug 334526, bug 331886.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2019-12-17 19:28:17 UTC
is it a publicly available ISO file?
Comment 2 Aleksey Dronov 2019-12-17 20:03:02 UTC
(In reply to Albert Astals Cid from comment #1)
> is it a publicly available ISO file?

Well.. it's a pirated game, so i guess i can't just post link here
i can send you info in private email, if you want

for now i can provide some additional info:
1. official arch linux iso opens without problem
2. mine iso crashes k3b, but mounts with 'mount -o loop'
Comment 3 Aleksey Dronov 2019-12-17 21:23:48 UTC
(In reply to Albert Astals Cid from comment #1)
> is it a publicly available ISO file?

i think i managed to pinpoint whats going on
turns out mine iso is in UDF format
and it looks like k3b does not currently support udf files

so, k3b tries to parse UDF file as an ISO 9660(i guess, looks like it's default) and segfault's instead of just complaining about unsupported format

should be an easy fix
Comment 4 Albert Astals Cid 2019-12-17 22:51:20 UTC
You wouldn't have an udf image at hand to make it easier for us to test the issue?
Comment 5 Aleksey Dronov 2019-12-17 23:34:33 UTC
(In reply to Albert Astals Cid from comment #4)
> You wouldn't have an udf image at hand to make it easier for us to test the
> issue?

i did some additional digging
turns out you can create one yourself ^.^

truncate -s 3000M ./cdimage.iso
mkudffs --media-type=dvdrw ./cdimage.iso
(mkudffs is a part of udftools package)

then click on resulting file
k3b opens, starts processing file and crashes after couple seconds

strangely, it does not crash on small images, only on big(>2G) ones
well.. at least on my system :D
Comment 6 Albert Astals Cid 2019-12-18 19:00:48 UTC
yep, thanks :)
Comment 7 Albert Astals Cid 2019-12-18 22:57:05 UTC
> strangely, it does not crash on small images

It doesn't work either, right?
Comment 8 Justin Zobel 2022-09-30 04:38:05 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 9 Bug Janitor Service 2022-10-15 04:55:48 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2022-10-30 05:04:19 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!