Bug 250496

Summary: Closing Gmenview after viewing a big png crash
Product: [Applications] gwenview Reporter: Bruno Friedmann <bruno>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: dominik, manav.nit
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bruno Friedmann 2010-09-07 21:31:14 UTC
Application: gwenview (2.4.3)
KDE Platform Version: 4.4.4 (KDE 4.4.4) "release 8"
Qt Version: 4.6.3
Operating System: Linux 2.6.34-12-desktop i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
opensuse 11.3 (32 bits) / kde 4.4.4 (kde:/distro/stable)

Launch from dolphin with the submenu show in ...
Picture appears, closing gmenview lead to this crash

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Gwenview (gwenview), signal: Aborted
[Current thread is 1 (Thread 0xb4d57710 (LWP 29631))]

Thread 2 (Thread 0xa3d25b70 (LWP 30136)):
[KCrash Handler]
#6  0xffffe424 in __kernel_vsyscall ()
#7  0xb5e887ff in raise () from /lib/libc.so.6
#8  0xb5e8a140 in abort () from /lib/libc.so.6
#9  0xb5ec4fd7 in __libc_message () from /lib/libc.so.6
#10 0xb5ecaffb in malloc_printerr () from /lib/libc.so.6
#11 0xb5ecd14f in _int_malloc () from /lib/libc.so.6
#12 0xb5ecf62a in malloc () from /lib/libc.so.6
#13 0xb726ef1b in qMalloc (size=1044) at global/qmalloc.cpp:55
#14 0xb727619a in QByteArray::QByteArray (this=0xa3d25148, size=1024, ch=0 '\000') at tools/qbytearray.cpp:1313
#15 0xb726b45c in qt_error_string (errorCode=22) at global/qglobal.cpp:2142
#16 0xb7272da8 in report_error (code=0, where=0xb73d358b "QMutex::lock", what=0x0) at thread/qmutex_unix.cpp:61
#17 0xb7272f10 in QMutexPrivate::wait (this=0x846d6b8, timeout=-1) at thread/qmutex_unix.cpp:80
#18 0xb726f3fa in QMutex::lock (this=0x8263bfc) at thread/qmutex.cpp:167
#19 0xb77956f8 in ?? () from /usr/lib/libgwenviewlib.so.4
#20 0xb727404f in QThreadPrivate::start (arg=0x8263bf0) at thread/qthread_unix.cpp:248
#21 0xb5aafb25 in start_thread (arg=0xa3d25b70) at pthread_create.c:297
#22 0xb5f3046e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb4d57710 (LWP 29631)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5f3e5b3 in __lll_lock_wait_private () from /lib/libc.so.6
#2  0xb5ed135f in _L_lock_10260 () from /lib/libc.so.6
#3  0xb5ecfad6 in free () from /lib/libc.so.6
#4  0xb607b98f in operator delete(void*) () from /usr/lib/libstdc++.so.6
#5  0xb68d9528 in QUndoStackPrivate::~QUndoStackPrivate (this=0x83d3b50, __in_chrg=<value optimized out>) at util/qundostack_p.h:79
#6  0xb7384582 in cleanup (this=0x83848a8, __in_chrg=<value optimized out>) at ../../src/corelib/tools/qscopedpointer.h:62
#7  ~QScopedPointer (this=0x83848a8, __in_chrg=<value optimized out>) at ../../src/corelib/tools/qscopedpointer.h:100
#8  QObject::~QObject (this=0x83848a8, __in_chrg=<value optimized out>) at kernel/qobject.cpp:844
#9  0xb68d8a8b in QUndoStack::~QUndoStack (this=0x83848a8, __in_chrg=<value optimized out>) at util/qundostack.cpp:466
#10 0xb7755276 in Gwenview::Document::~Document() () from /usr/lib/libgwenviewlib.so.4
#11 0xb7755342 in Gwenview::Document::~Document() () from /usr/lib/libgwenviewlib.so.4
#12 0xb7757b61 in ?? () from /usr/lib/libgwenviewlib.so.4
#13 0xb77567ad in Gwenview::DocumentFactory::~DocumentFactory() () from /usr/lib/libgwenviewlib.so.4
#14 0xb5e8b7cf in __run_exit_handlers () from /lib/libc.so.6
#15 0xb5e8b82d in exit () from /lib/libc.so.6
#16 0xb5e73c16 in __libc_start_main () from /lib/libc.so.6
#17 0x08064481 in _start ()

Reported using DrKonqi
Comment 1 Bruno Friedmann 2010-10-29 16:49:45 UTC
I can't reproduce that anymore on updated version 
actually opensuse Factory(11.4) kernel 2.6.36 & kde 4.5.2 / qt7
nvidia 260.19.12 .run installed

I place as attachement one of those image that crash gwenview.

Be carefull, if the size is not heavy, when opened it needs lot's of memory.
(My 4GB laptop use 2.9GB for gwenview and swap 1.9GB)

If you can't reproduce it close the bug, I don't know what to use.
Comment 2 Bruno Friedmann 2010-10-29 16:58:28 UTC
File too large for here .. (3.7MB)
So you can grab it from there 
http://dl.dropbox.com/u/13333867/gnome-banner.png

Be careful high-end resolution for printing artwork : so need powerful cpu and lot's of ram ( >=4GB )
Comment 3 Jekyll Wu 2011-11-10 16:25:14 UTC
*** Bug 241910 has been marked as a duplicate of this bug. ***
Comment 4 Jekyll Wu 2012-03-03 01:45:41 UTC
*** Bug 267202 has been marked as a duplicate of this bug. ***
Comment 5 Bruno Friedmann 2012-05-14 11:06:58 UTC
Tested and fixed in 4.7x series of kde.
Now closing