Bug 309081

Summary: Gwenview crash on photo rotating
Product: [Applications] gwenview Reporter: Mammone Rinaldi, Angelo <angelo.d.mr>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: nate, null
Priority: NOR    
Version First Reported In: 2.8.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Mammone Rinaldi, Angelo 2012-10-27 09:30:34 UTC
Application: gwenview (2.8.5)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-31-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
I tried to rotate a photo (180°). At the second step, Gwenview crashed

The crash does not seem to be reproducible.

-- Backtrace:
Application: Gwenview (gwenview), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0207a0b7c0 (LWP 6232))]

Thread 3 (Thread 0x7f01f31aa700 (LWP 6233)):
#0  __pthread_mutex_lock (mutex=0x7f01ec000a60) at pthread_mutex_lock.c:131
#1  0x00007f0200bca5a1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0200b8ef35 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0200b8f164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0206861426 in QEventDispatcherGlib::processEvents (this=0x7f01ec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f0206830c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f0206830ed7 in QEventLoop::exec (this=0x7f01f31a9d90, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f020672ffa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f02068109ff in QInotifyFileSystemWatcherEngine::run (this=0x1db3b30) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f0206732fcb in QThreadPrivate::start (arg=0x1db3b30) at thread/qthread_unix.cpp:298
#10 0x00007f020124fe9a in start_thread (arg=0x7f01f31aa700) at pthread_create.c:308
#11 0x00007f02043ebdbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f01f1fbe700 (LWP 6235)):
#0  0x00007fff52fff8de in ?? ()
#1  0x00007f0200e4015d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f0206789bb4 in do_gettime (frac=0x7f01f1fbdb58, sec=0x7f01f1fbdb50) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f0206861b8d in QTimerInfoList::updateCurrentTime (this=0x7f01e4002660) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f0206861ec3 in QTimerInfoList::timerWait (this=0x7f01e4002660, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f020686097c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f01f1fbdc2c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f0206860a25 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f0200b8e846 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f0200b8ef5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f0200b8f164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f0206861426 in QEventDispatcherGlib::processEvents (this=0x7f01e40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f0206830c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f0206830ed7 in QEventLoop::exec (this=0x7f01f1fbdd90, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f020672ffa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007f02068109ff in QInotifyFileSystemWatcherEngine::run (this=0x1ed3890) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f0206732fcb in QThreadPrivate::start (arg=0x1ed3890) at thread/qthread_unix.cpp:298
#17 0x00007f020124fe9a in start_thread (arg=0x7f01f1fbe700) at pthread_create.c:308
#18 0x00007f02043ebdbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0207a0b7c0 (LWP 6232)):
[KCrash Handler]
#6  0x00007f020432e445 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f0204331bab in __GI_abort () at abort.c:91
#8  0x00007f020436c49e in __libc_message (do_abort=2, fmt=0x7f0204476108 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
#9  0x00007f0204376c96 in malloc_printerr (action=3, str=0x7f02044762f8 "double free or corruption (fasttop)", ptr=<optimized out>) at malloc.c:5007
#10 0x00007f02068428c3 in QMetaCallEvent::~QMetaCallEvent (this=0x7f01e8005a90, __in_chrg=<optimized out>) at kernel/qobject.cpp:511
#11 0x00007f0206842909 in QMetaCallEvent::~QMetaCallEvent (this=0x7f01e8005a90, __in_chrg=<optimized out>) at kernel/qobject.cpp:518
#12 0x00007f0206835c73 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1b712b0) at kernel/qcoreapplication.cpp:1516
#13 0x00007f0206860f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#14 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#15 0x00007f0200b8ed53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f0200b8f0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f0200b8f164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f02068613bf in QEventDispatcherGlib::processEvents (this=0x1b72770, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#19 0x00007f0205101d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#20 0x00007f0206830c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#21 0x00007f0206830ed7 in QEventLoop::exec (this=0x7fff52f91010, flags=...) at kernel/qeventloop.cpp:204
#22 0x00007f0206835f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#23 0x0000000000426955 in ?? ()
#24 0x00007f020431976d in __libc_start_main (main=0x4263d0, argc=6, ubp_av=0x7fff52f913d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff52f913c8) at libc-start.c:226
#25 0x0000000000426c01 in _start ()

Possible duplicates by query: bug 308575, bug 308507, bug 308019, bug 307561, bug 307124.

Reported using DrKonqi
Comment 1 Nate Graham 2017-09-10 20:00:50 UTC
Can you reproduce this with a more recent KF5 version of Gwenview?
Comment 2 null 2017-12-10 20:29:34 UTC
Closing, because bug says "The crash does not seem to be reproducible.", no answer to NEEDSINFO in 3 months, has 5 years old version and in general rotating images works for me.

Nevertheless, please test again on a newer system and comment if it still crashes for you, then we'd need to reopen. Also, please attach the problematic photo in this case.

FWIW, we have other bugs concerning crashes for multiple rotations, e.g. Bug 274641 (different backtrace, though).