Bug 431067 - Crash using latest master in generating book previews.
Summary: Crash using latest master in generating book previews.
Status: RESOLVED FIXED
Alias: None
Product: peruse
Classification: Applications
Component: general (show other bugs)
Version: master
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-02 14:14 UTC by wolthera
Modified: 2021-01-14 10:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wolthera 2021-01-02 14:14:35 UTC
This happens occasionally when switching to one of the filtered views.

Git: fcc3ffe8efc41c07d88e613b97e2231d2cfe3006

Thread 34 (Thread 0x7fbf937fe700 (LWP 405536)):
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff5db4859 in __GI_abort () at abort.c:79
#2  0x00007ffff5e1f3ee in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff5f49285 "%s\n") at ../sysdeps/posix/libc_fatal.c:155
#3  0x00007ffff5e2747c in malloc_printerr (str=str@entry=0x7ffff5f47457 "corrupted double-linked list") at malloc.c:5347
#4  0x00007ffff5e27acc in unlink_chunk (p=p@entry=0x7fffb401aaa0, av=0x7fffb4000020) at malloc.c:1460
#5  0x00007ffff5e28bc9 in _int_free (av=0x7fffb4000020, p=0x7fffb401aaa0, have_lock=<optimized out>) at malloc.c:4333
#6  0x00007ffff48d9401 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Service.so.5
#7  0x00007ffff48e1689 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Service.so.5
#8  0x00007ffff48e189d in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Service.so.5
#9  0x00007ffff48d92bd in KService::~KService() () from /usr/lib/x86_64-linux-gnu/libKF5Service.so.5
#10 0x00007ffff5cf760c in ?? () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#11 0x00007ffff4a83fe5 in KIO::Job::~Job() () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#12 0x00007ffff5cf0a1d in KIO::PreviewJob::~PreviewJob() () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#13 0x00007ffff645dfd3 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007ffff6f07dc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff6f10bb8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ffff643069a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007ffff6432fa1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007ffff648b947 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007ffff4cdafbd in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007ffff4cdb240 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007ffff4cdb2e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007ffff648afa2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007ffff642f1ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007ffff74999ee in KJob::exec() () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#25 0x00007fffe80ce020 in PreviewRunnable::run (this=0x555559297d00) at /home/wolthera/Peruse/src/src/qtquick/PreviewImageProvider.cpp:156
#26 0x00007ffff624dfb2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007ffff624abac in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007ffff5787609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#29 0x00007ffff5eb1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Comment 1 Justin Zobel 2021-01-03 01:16:31 UTC
Thank you for the crash report. In order to diagnose this issue as quickly as possible can you please ensure you have all debug symbols installed.

Instructions on how to do this for several distributions is provided at: https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Install_debugging_packages

Once you have all the debug symbols installed (see lines where it has "in ?? () from" for hints on which packages are needed) please reproduce the crash and upload the new backtrace, thank you.
Comment 2 Dan Leinir Turthra Jensen 2021-01-14 10:49:51 UTC
As far as i can tell, this should be fixed as of https://invent.kde.org/graphics/peruse/commit/d21dc367a9dd29fda1bbe5857b7896b7bf523d5b, but testing would be appreciated :) I'm going to close it for now, at least, i can't provoke this crash any longer (getting another one very occasionally, but that's in the pdf generator, which... not sure what's going on there)