Bug 417998 - Krusader crashes when exporting a .png-file from Gimp
Summary: Krusader crashes when exporting a .png-file from Gimp
Status: RESOLVED DUPLICATE of bug 425528
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: 2.7.1
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-21 15:53 UTC by michelnospam
Modified: 2021-09-08 06:27 UTC (History)
2 users (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 michelnospam 2020-02-21 15:53:16 UTC
SUMMARY
When I png-export a xcfile from Gimp to the directory Krusader is showing → Krusader crashes. System message: "Ausführbare Datei: krusader PID: 6763 Signal: Segmentation fault (11) Datum: 21.02.20 16:46:48". 

STEPS TO REPRODUCE
1. Open .xcf-file in Gimp
2. Export to png; compression level: 9
3. 

OBSERVED RESULT
Krusader crashes. New .png file is stored correctly. 

EXPECTED RESULT
Krusader shows new .png file. 

SOFTWARE/OS VERSIONS
Windows: --
macOS: --
Linux/KDE Plasma: Debian 10, Plasma 5.14.5
(available in About System)
KDE Plasma Version: 5.14.2
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION
Comment 1 Davide Gianforte 2020-03-09 07:20:45 UTC
Do you have a trace of the crash? Without it, it's difficult to find where the problem is.

Do you have preview active? (View - Show previews). The directory is in a local filesystem?

Thank you
Comment 2 michelnospam 2020-03-13 14:55:55 UTC
Sorry, for a reason unknown to me I can't replicate the bug anymore. Preview was active. I'll respond as soon as I can detect or replicate the crash again. 
I am quite a newbie - can you give me a hint where to look for hints in the system protocols?
Thanks a lot for your efforts!
Comment 3 Bug Janitor Service 2020-03-28 04:33:10 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 4 Davide Gianforte 2020-03-28 13:41:47 UTC
Take a look at https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

The backtrace is helpful when you cannot reproduce the bug.

Also, did you updated your system since the first crash?
Comment 5 michelnospam 2020-03-28 17:12:41 UTC
Can reproduce again; bug shows only when I png-export files >30MB (several layers) from Gimp. While waiting for Gimp to complete export, Krusader crashes in the background. KDE-bugreport shows the following lines: 

Application: Krusader (krusader), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f6b5ed3c840 (LWP 3884))]

Thread 4 (Thread 0x7f6b557d2700 (LWP 3888)):
#0  0x00007f6b621bae69 in g_mutex_lock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f6b62170675 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6b6217106b in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6b6217125c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6b63bd57b3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f6b63b831cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f6b639d2e96 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f6b64d2c545 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f6b639dca87 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f6b63039fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#10 0x00007f6b6352f4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f6b575ba700 (LWP 3887)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55b47f351328) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55b47f3512d8, cond=0x55b47f351300) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55b47f351300, mutex=0x55b47f3512d8) at pthread_cond_wait.c:655
#3  0x00007f6b5780ae83 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f6b5780abd7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f6b63039fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007f6b6352f4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f6b5df7b700 (LWP 3885)):
#0  0x00007f6b63524819 in __GI___poll (fds=0x7f6b5df7ac78, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f6b62e9bcf7 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f6b62e9d91a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f6b5e8edd79 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f6b639dca87 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f6b63039fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007f6b6352f4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f6b5ed3c840 (LWP 3884)):
[KCrash Handler]
#6  0x000055b47db714cb in ?? ()
#7  0x000055b47daa200c in ?? ()
#8  0x000055b47da9a427 in ?? ()
#9  0x000055b47da985b0 in ?? ()
#10 0x000055b47da98f27 in ?? ()
#11 0x00007f6b63bad866 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f6b654d87a5 in KIO::PreviewJob::failed(KFileItem const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#13 0x00007f6b654d9d93 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#14 0x00007f6b654de60d in KIO::PreviewJob::slotResult(KJob*) () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#15 0x00007f6b63bad9a3 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f6b64defc6c in KJob::result(KJob*, KJob::QPrivateSignal) () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#17 0x00007f6b64df0733 in KJob::finishJob(bool) () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#18 0x00007f6b65133a60 in KIO::SimpleJob::slotFinished() () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#19 0x00007f6b6513f510 in KIO::TransferJob::slotFinished() () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#20 0x00007f6b65131dbb in KIO::SimpleJob::slotError(int, QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#21 0x00007f6b63bad9a3 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f6b65102626 in KIO::SlaveInterface::error(int, QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#23 0x00007f6b651051c2 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#24 0x00007f6b65102db8 in KIO::SlaveInterface::dispatch() () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#25 0x00007f6b6510a8e9 in KIO::Slave::gotInput() () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#26 0x00007f6b63bad9a3 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f6b65092e73 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#28 0x00007f6b63bae0e2 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f6b6451d4c1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007f6b64524970 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007f6b63b844f9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007f6b63b874db in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007f6b63bd6173 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007f6b62170f2e in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f6b621711c8 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f6b6217125c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f6b63bd5797 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007f6b5e984401 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#39 0x00007f6b63b831cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007f6b63b8b1a2 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x000055b47da332a4 in ?? ()
#42 0x00007f6b6345a09b in __libc_start_main (main=0x55b47da2fcc0, argc=3, argv=0x7fffd449ee08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffd449edf8) at ../csu/libc-start.c:308
#43 0x000055b47da34e5a in _start ()
[Inferior 1 (process 3884) detached]

Hope that helps a bit.
Comment 6 Davide Gianforte 2021-09-08 06:27:36 UTC
The preview issue is solved in the git version of Krusader; you can follow the instructions in https://invent.kde.org/utilities/krusader/-/blob/master/INSTALL to build the most recent version of Krusader by yourself or you can disable the Preview while waiting for a new release.

*** This bug has been marked as a duplicate of bug 425528 ***