Bug 433651 - Krusader crashes when trying to view any ODT file
Summary: Krusader crashes when trying to view any ODT file
Status: RESOLVED DUPLICATE of bug 409722
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-02-26 11:37 UTC by Dan Dascalescu
Modified: 2021-03-27 18:41 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Random ODT file that triggers the crash (8.08 KB, application/vnd.oasis.opendocument.text)
2021-02-26 11:38 UTC, Dan Dascalescu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Dascalescu 2021-02-26 11:37:33 UTC
Application: krusader (2.7.2 "Peace of Mind")

Qt Version: 5.15.2
Frameworks Version: 5.79.0
Operating System: Linux 5.4.0-66-generic x86_64
Windowing System: X11
Drkonqi Version: 5.21.1
Distribution: KDE neon User Edition 5.21

-- Information about the crash:
The crash seems triggered by pressing F3 on any ODT file.

I don't see a way to attach a file from drkonqi, so I'll attach a sample ODT file via the browser.

The crash has been 100% reproducible.

The crash can be reproduced every time.

-- Backtrace:
Application: Krusader (krusader), signal: Segmentation fault

[New LWP 342767]
[New LWP 342768]
[New LWP 342769]
[New LWP 342770]
[New LWP 342771]
[New LWP 342798]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f204d169aff in __GI___poll (fds=0x7fffc91e9868, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f2049c188c0 (LWP 342765))]

Thread 7 (Thread 0x7f203363b700 (LWP 342798)):
#0  0x00007f204bef8278 in g_mutex_unlock () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f204beaa701 in g_main_context_prepare () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f204beab0bb in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f204beab2c3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f204d883fbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f204d8281ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f204d642a12 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f204d643bac in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f204cca5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f204d176293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f2036ffd700 (LWP 342771)):
#0  0x00007f204d169aff in __GI___poll (fds=0x7f201c004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f204beab18e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f204beab2c3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f204d883fbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f204d8281ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f204d642a12 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f204e9ecf4b in  () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f204d643bac in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f204cca5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f204d176293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f20377fe700 (LWP 342770)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x556f505e6c68) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x556f505e6c18, cond=0x556f505e6c40) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x556f505e6c40, mutex=0x556f505e6c18) at pthread_cond_wait.c:638
#3  0x00007f2042131b5b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f204213175b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f204cca5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f204d176293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f2037fff700 (LWP 342769)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x556f505e6c68) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x556f505e6c18, cond=0x556f505e6c40) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x556f505e6c40, mutex=0x556f505e6c18) at pthread_cond_wait.c:638
#3  0x00007f2042131b5b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f204213175b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f204cca5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f204d176293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f2034390700 (LWP 342768)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x556f505e6c68) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x556f505e6c18, cond=0x556f505e6c40) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x556f505e6c40, mutex=0x556f505e6c18) at pthread_cond_wait.c:638
#3  0x00007f2042131b5b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f204213175b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f204cca5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f204d176293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f203cb91700 (LWP 342767)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x556f505e6c68) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x556f505e6c18, cond=0x556f505e6c40) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x556f505e6c40, mutex=0x556f505e6c18) at pthread_cond_wait.c:638
#3  0x00007f2042131b5b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f204213175b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f204cca5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f204d176293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f2049c188c0 (LWP 342765)):
[KCrash Handler]
#4  0x0000000000000000 in  ()
#5  0x00007f204d85effa in QObject::setProperty(char const*, QVariant const&) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f20321e39f5 in Kerfuffle::LoadJob::onFinished(bool) () at /lib/x86_64-linux-gnu/libkerfuffle.so.20
#7  0x00007f204d857239 in QObject::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f204e325dc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007f204e32ebb8 in QApplication::notify(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f204d82969a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f204d82bfa1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f204d884947 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f204beaaf9d in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007f204beab220 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f204beab2c3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f204d883fa2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f204d8281ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f204d830354 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x0000556f4f0bfc1b in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./krusader/main.cpp:316
[Inferior 1 (process 342765) detached]

Possible duplicates by query: bug 433533, bug 433524, bug 433252, bug 432496, bug 432084.

Reported using DrKonqi
Comment 1 Dan Dascalescu 2021-02-26 11:38:36 UTC
Created attachment 136190 [details]
Random ODT file that triggers the crash
Comment 2 Davide Gianforte 2021-03-01 06:50:53 UTC
That patch does not directly apply on 2.7.2 code, but it solves the issue

*** This bug has been marked as a duplicate of bug 409722 ***
Comment 3 Toni Asensi Esteve 2021-03-27 18:41:53 UTC
Dan, if you can follow the steps of
    https://commits.kde.org/krusader?path=INSTALL
in order to use the git version of Krusader, then you can use it with some bugs fixed.