Bug 276948

Summary: Crash in Fullscreen, clicking Save on Memory Warning
Product: [Applications] gwenview Reporter: James Broadhead <jamesbroadhead>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: arne.henningsen, benni
Priority: NOR    
Version: 2.6   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description James Broadhead 2011-07-02 13:19:46 UTC
Application: gwenview (2.6.0)
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.3
Operating System: Linux 3.0-1-generic x86_64
Distribution: Ubuntu oneiric (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
Going through ~50 photos, and having rotated ~20, I received a drop-down memory warning suggesting that I Save to avoid  losing changes. I clicked "Save All", and briefly saw a progress bar. At some point into the operation (not immediately), Gwenview crashed. On re-opening Gwenview, 18 photos remained in a rotated-but-unsaved state. I am not sure if some were rotated and then saved by the set of operations which failed. 

I am running Gwenview Version 2.6.0
Using KDE Development Platform 4.6.3 (4.6.3)
on Ubuntu 11.10 (development) 
on a machine with 768MB RAM, 2GB swap

-- Backtrace:
Application: Gwenview (gwenview), signal: Aborted
__lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
[Current thread is 1 (Thread 0x7fabbb1c1780 (LWP 2330))]

Thread 9 (Thread 0x7faba7ced700 (LWP 2337)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fabb7e3180f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fabb7e2f8d8 in __libc_free (mem=0x7fabb81541a0) at malloc.c:3736
#3  0x00007fabba2b2565 in socketNotifierSourceCheck (source=0x20ec780) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007fabb482753c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fabb4827d82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fabb4828229 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fabba2b2dd6 in QEventDispatcherGlib::processEvents (this=0x2130e40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#8  0x00007fabba2872f2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007fabba2874f7 in QEventLoop::exec (this=0x7faba7cecdd0, flags=...) at kernel/qeventloop.cpp:201
#10 0x00007fabba19e95f in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#11 0x00007fabba26a2bf in QInotifyFileSystemWatcherEngine::run (this=0x20ec220) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007fabba1a13e5 in QThreadPrivate::start (arg=0x20ec220) at thread/qthread_unix.cpp:320
#13 0x00007fabb5301d8c in start_thread (arg=0x7faba7ced700) at pthread_create.c:304
#14 0x00007fabb7e991bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7faba74ec700 (LWP 2338)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fabb7e3180f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fabb7e2f8d8 in __libc_free (mem=0x7fabb81541a0) at malloc.c:3736
#3  0x00007fabba2b2565 in socketNotifierSourceCheck (source=0x213cc80) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007fabb482753c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fabb4827d82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fabb4828229 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fabba2b2dd6 in QEventDispatcherGlib::processEvents (this=0x213b1a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#8  0x00007fabba2872f2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007fabba2874f7 in QEventLoop::exec (this=0x7faba74ebdd0, flags=...) at kernel/qeventloop.cpp:201
#10 0x00007fabba19e95f in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#11 0x00007fabba26a2bf in QInotifyFileSystemWatcherEngine::run (this=0x213abb0) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007fabba1a13e5 in QThreadPrivate::start (arg=0x213abb0) at thread/qthread_unix.cpp:320
#13 0x00007fabb5301d8c in start_thread (arg=0x7faba74ec700) at pthread_create.c:304
#14 0x00007fabb7e991bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7faba488a700 (LWP 2341)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fabb7e3180f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fabb7e2f8d8 in __libc_free (mem=0x7fabb81541a0) at malloc.c:3736
#3  0x00007fabba2b2565 in socketNotifierSourceCheck (source=0x2482410) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007fabb482753c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fabb4827d82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fabb4828229 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fabba2b2dd6 in QEventDispatcherGlib::processEvents (this=0x217c4d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#8  0x00007fabba2872f2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007fabba2874f7 in QEventLoop::exec (this=0x7faba4889dd0, flags=...) at kernel/qeventloop.cpp:201
#10 0x00007fabba19e95f in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#11 0x00007fabba26a2bf in QInotifyFileSystemWatcherEngine::run (this=0x22f0010) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007fabba1a13e5 in QThreadPrivate::start (arg=0x22f0010) at thread/qthread_unix.cpp:320
#13 0x00007fabb5301d8c in start_thread (arg=0x7faba488a700) at pthread_create.c:304
#14 0x00007fabb7e991bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7faba3e87700 (LWP 2443)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fabb7e3180f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fabb7e2f8d8 in __libc_free (mem=0x7fabb81541a0) at malloc.c:3736
#3  0x00007fabba1a3032 in QByteArray::operator= (this=0x7fab9c0a7448, other=...) at tools/qbytearray.cpp:869
#4  0x00007fabbaae87a7 in Gwenview::JpegContent::applyPendingTransformation (this=0x7fab9c08f6b0) at ../../../gwenview/lib/jpegcontent.cpp:516
#5  0x00007fabbaae8ed0 in Gwenview::JpegContent::save (this=0x7fab9c08f6b0, device=0xe670d90) at ../../../gwenview/lib/jpegcontent.cpp:582
#6  0x00007fabbaac368e in Gwenview::JpegDocumentLoadedImpl::saveInternal (this=0x7fab880a5ae0, device=0xe670d90, format=<value optimized out>) at ../../../gwenview/lib/document/jpegdocumentloadedimpl.cpp:63
#7  0x00007fabbaac7a30 in Gwenview::SaveJob::saveInternal (this=0xe670d60) at ../../../gwenview/lib/document/savejob.cpp:75
#8  0x00007fabbaabe486 in run (this=0xe688d20) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:120
#9  QtConcurrent::RunFunctionTask<void>::run (this=0xe688d20) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:114
#10 0x00007fabba195d55 in QThreadPoolThread::run (this=0x27239d0) at concurrent/qthreadpool.cpp:106
#11 0x00007fabba1a13e5 in QThreadPrivate::start (arg=0x27239d0) at thread/qthread_unix.cpp:320
#12 0x00007fabb5301d8c in start_thread (arg=0x7faba3e87700) at pthread_create.c:304
#13 0x00007fabb7e991bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fab8cf0a700 (LWP 2633)):
[KCrash Handler]
#6  0x00007fabb7de6c45 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fabb7dea9f6 in abort () at abort.c:92
#8  0x00007fabb7e1fccb in __libc_message (do_abort=2, fmt=0x7fabb7f18678 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007fabb7e29bb6 in malloc_printerr (action=3, str=0x7fabb7f15832 "corrupted double-linked list", ptr=<value optimized out>) at malloc.c:6283
#10 0x00007fabb7e2bb21 in _int_free (av=0x7fabb81541a0, p=0x336e7e0) at malloc.c:4973
#11 0x00007fabb7e2f8e3 in __libc_free (mem=<value optimized out>) at malloc.c:3738
#12 0x00007fabba1a3032 in QByteArray::operator= (this=0x7fab88110f78, other=...) at tools/qbytearray.cpp:869
#13 0x00007fabbaae87a7 in Gwenview::JpegContent::applyPendingTransformation (this=0x7fab88115ab0) at ../../../gwenview/lib/jpegcontent.cpp:516
#14 0x00007fabbaae8ed0 in Gwenview::JpegContent::save (this=0x7fab88115ab0, device=0xe66fd70) at ../../../gwenview/lib/jpegcontent.cpp:582
#15 0x00007fabbaac368e in Gwenview::JpegDocumentLoadedImpl::saveInternal (this=0x57bec20, device=0xe66fd70, format=<value optimized out>) at ../../../gwenview/lib/document/jpegdocumentloadedimpl.cpp:63
#16 0x00007fabbaac7a30 in Gwenview::SaveJob::saveInternal (this=0xe66fd40) at ../../../gwenview/lib/document/savejob.cpp:75
#17 0x00007fabbaabe486 in run (this=0xe687880) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:120
#18 QtConcurrent::RunFunctionTask<void>::run (this=0xe687880) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:114
#19 0x00007fabba195d55 in QThreadPoolThread::run (this=0x2c534a0) at concurrent/qthreadpool.cpp:106
#20 0x00007fabba1a13e5 in QThreadPrivate::start (arg=0x2c534a0) at thread/qthread_unix.cpp:320
#21 0x00007fabb5301d8c in start_thread (arg=0x7fab8cf0a700) at pthread_create.c:304
#22 0x00007fabb7e991bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#23 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fab94546700 (LWP 2686)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fabba1a188b in wait (this=<value optimized out>, mutex=0x2cd6648, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2cd6648, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fabbaafb693 in Gwenview::ThumbnailThread::run (this=0x2cd65e8) at ../../../gwenview/lib/thumbnailloadjob.cpp:193
#4  0x00007fabba1a13e5 in QThreadPrivate::start (arg=0x2cd65e8) at thread/qthread_unix.cpp:320
#5  0x00007fabb5301d8c in start_thread (arg=0x7fab94546700) at pthread_create.c:304
#6  0x00007fabb7e991bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fab92542700 (LWP 2687)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fabba1a188b in wait (this=<value optimized out>, mutex=0x76c0e68, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x76c0e68, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fabbaafb693 in Gwenview::ThumbnailThread::run (this=0x76c0e08) at ../../../gwenview/lib/thumbnailloadjob.cpp:193
#4  0x00007fabba1a13e5 in QThreadPrivate::start (arg=0x76c0e08) at thread/qthread_unix.cpp:320
#5  0x00007fabb5301d8c in start_thread (arg=0x7fab92542700) at pthread_create.c:304
#6  0x00007fabb7e991bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7faba3686700 (LWP 2688)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fabba1a188b in wait (this=<value optimized out>, mutex=0x2775588, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2775588, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fabbaafb693 in Gwenview::ThumbnailThread::run (this=0x2775528) at ../../../gwenview/lib/thumbnailloadjob.cpp:193
#4  0x00007fabba1a13e5 in QThreadPrivate::start (arg=0x2775528) at thread/qthread_unix.cpp:320
#5  0x00007fabb5301d8c in start_thread (arg=0x7faba3686700) at pthread_create.c:304
#6  0x00007fabb7e991bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fabbb1c1780 (LWP 2330)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fabb7e3180f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fabb7e2f8d8 in __libc_free (mem=0x7fabb81541a0) at malloc.c:3736
#3  0x00007fabb871bf12 in QByteArray (this=0x7fffed679f90, i=0, c=33779008) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:421
#4  QImageTextKeyLang (this=0x7fffed679f90, i=0, c=33779008) at ../../include/QtGui/../../src/gui/image/qimage.h:69
#5  node_copy (this=0x7fffed679f90, i=0, c=33779008) at ../../include/QtCore/../../src/corelib/tools/qlist.h:386
#6  QList<QImageTextKeyLang>::detach_helper_grow (this=0x7fffed679f90, i=0, c=33779008) at ../../include/QtCore/../../src/corelib/tools/qlist.h:666
#7  0x0000000000000000 in ?? ()

This bug may be a duplicate of or related to bug 271994.

Possible duplicates by query: bug 275788, bug 273596, bug 272921, bug 271994, bug 271861.

Reported using DrKonqi
Comment 1 Jekyll Wu 2011-11-10 15:52:04 UTC
*** Bug 271994 has been marked as a duplicate of this bug. ***
Comment 2 Benni Hill 2013-01-18 18:03:52 UTC

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