Bug 200928

Summary: gwenview crashed after pressing "save" to write rotated images to disk
Product: [Applications] gwenview Reporter: BORGULYA Gábor <bugs2>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description BORGULYA Gábor 2009-07-20 22:07:33 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

gwenview crashed after pressing "save" to write rotated images to disk.
If the backtrace below needs further debug packeges to install please tell me what to install, thanks.

Anwendung: Gwenview (gwenview), Signal SIGSEGV
[Current thread is 0 (LWP 10282)]

Thread 4 (Thread 0xb4337b90 (LWP 10283)):
#0  0xb7fa5430 in __kernel_vsyscall ()
#1  0xb5f340e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb65f82ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7a0d9b2 in QWaitCondition::wait (this=0x840bfa0, mutex=0x840bf9c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb7ef466f in ?? () from /usr/lib/libgwenviewlib.so.4
#5  0xb7a0c96e in QThreadPrivate::start (arg=0x87f1468) at thread/qthread_unix.cpp:189
#6  0xb5f304ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb65e949e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb3444b90 (LWP 10284)):
#0  0xb7fa5430 in __kernel_vsyscall ()
#1  0xb5f34412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb65f8344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7a0d98c in QWaitCondition::wait (this=0x86744c0, mutex=0x86744bc, time=30000) at thread/qwaitcondition_unix.cpp:85
#4  0xb7a02e76 in QThreadPoolThread::run (this=0x8675508) at concurrent/qthreadpool.cpp:140
#5  0xb7a0c96e in QThreadPrivate::start (arg=0x8675508) at thread/qthread_unix.cpp:189
#6  0xb5f304ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb65e949e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb171fb90 (LWP 10309)):
#0  0xb7fa5430 in __kernel_vsyscall ()
#1  0xb5f34412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb65f8344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7a0d98c in QWaitCondition::wait (this=0x86744c0, mutex=0x86744bc, time=30000) at thread/qwaitcondition_unix.cpp:85
#4  0xb7a02e76 in QThreadPoolThread::run (this=0x8848a38) at concurrent/qthreadpool.cpp:140
#5  0xb7a0c96e in QThreadPrivate::start (arg=0x8848a38) at thread/qthread_unix.cpp:189
#6  0xb5f304ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb65e949e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5b38700 (LWP 10282)):
[KCrash Handler]
#6  0xb7abed20 in QUrlPrivate::toEncoded (this=0x87e19b8, options={i = -1077141256}) at io/qurl.cpp:3718
#7  0xb7abfaaa in QUrlPrivate::validate (this=0x87e19b8) at io/qurl.cpp:3554
#8  0xb7abfcef in QUrl::isValid (this=0x867ea14) at io/qurl.cpp:3962
#9  0xb7ecb588 in Gwenview::SortedDirModel::indexForUrl () from /usr/lib/libgwenviewlib.so.4
#10 0x0807ebeb in _start ()
Comment 1 BORGULYA Gábor 2009-07-20 22:12:43 UTC
An other (less valuable) traceback:

Eine korrekte Rückverfolgung ist nicht möglich.
Wahrscheinlich sind die Dateien Ihres Systems in einer Weise erstellt worden, die eine solche Rückverfolgung (Backtrace) nicht erlaubt. Oder der so genannte „Stack Frame“ für das Programm wurde durch den Absturz unbrauchbar gemacht.

(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb5af1700 (LWP 10427)]
[New Thread 0xb33f8b90 (LWP 10756)]
[New Thread 0xb0d34b90 (LWP 10755)]
[New Thread 0xb42f0b90 (LWP 10428)]
0xb7f5e430 in __kernel_vsyscall ()
[Current thread is 0 (LWP 10427)]

Thread 4 (Thread 0xb42f0b90 (LWP 10428)):
#0  0xb7f5e430 in __kernel_vsyscall ()
#1  0xb5eed0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb65b12ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb79c69b2 in QWaitCondition::wait (this=0x9dc7f98, mutex=0x9dc7f94, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb7ead66f in ?? () from /usr/lib/libgwenviewlib.so.4
#5  0xb79c596e in QThreadPrivate::start (arg=0xa27c698) at thread/qthread_unix.cpp:189
#6  0xb5ee94ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb65a249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb0d34b90 (LWP 10755)):
#0  0xb7f5e430 in __kernel_vsyscall ()
#1  0xb5eed412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb65b1344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb79c698c in QWaitCondition::wait (this=0xa02fc48, mutex=0xa02fc44, time=30000) at thread/qwaitcondition_unix.cpp:85
#4  0xb79bbe76 in QThreadPoolThread::run (this=0xa1eb798) at concurrent/qthreadpool.cpp:140
#5  0xb79c596e in QThreadPrivate::start (arg=0xa1eb798) at thread/qthread_unix.cpp:189
#6  0xb5ee94ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb65a249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb33f8b90 (LWP 10756)):
#0  0xb7f5e430 in __kernel_vsyscall ()
#1  0xb5eed412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb65b1344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb79c698c in QWaitCondition::wait (this=0xa02fc48, mutex=0xa02fc44, time=30000) at thread/qwaitcondition_unix.cpp:85
#4  0xb79bbe76 in QThreadPoolThread::run (this=0xa030be8) at concurrent/qthreadpool.cpp:140
#5  0xb79c596e in QThreadPrivate::start (arg=0xa030be8) at thread/qthread_unix.cpp:189
#6  0xb5ee94ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb65a249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5af1700 (LWP 10427)):
#0  0xb7f5e430 in __kernel_vsyscall ()
#1  0xb655d7a6 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
#2  0xb655d5be in sleep () from /lib/tls/i686/cmov/libc.so.6
#3  0xb76528b2 in KCrash::startDrKonqi (argv=0xbf87acc4, argc=17) at /build/buildd/kde4libs-4.2.2/kdeui/util/kcrash.cpp:412
#4  0xb7653274 in KCrash::defaultCrashHandler (sig=11) at /build/buildd/kde4libs-4.2.2/kdeui/util/kcrash.cpp:337
#5  <signal handler called>
#6  0xb652fb18 in ?? () from /lib/tls/i686/cmov/libc.so.6
#7  0xb6530fbf in ?? () from /lib/tls/i686/cmov/libc.so.6
#8  0xb6531ee6 in realloc () from /lib/tls/i686/cmov/libc.so.6
#9  0xb79c0064 in qRealloc (ptr=0xa1d7f28, size=128) at global/qmalloc.cpp:65
#10 0xb7a0d22f in QString::realloc (this=0x88, alloc=54) at tools/qstring.cpp:1088
#11 0xb7a0d80a in QString::append (this=0xbf87b6c4, str=@0x9fbb1e0) at tools/qstring.cpp:1304
#12 0xb69341de in KLocalizedStringPrivate::substituteSimple (this=0xa1dea08, trans=@0xbf87b6f8, plchar=@0xbf87b732, partial=false)
    at /build/buildd/kde4libs-4.2.2/kdecore/localization/klocalizedstring.cpp:432
#13 0xb6938496 in KLocalizedStringPrivate::toString (this=0xa1dea08, locale=0x9d614e8) at /build/buildd/kde4libs-4.2.2/kdecore/localization/klocalizedstring.cpp:294
#14 0xb6939264 in KLocalizedString::toString (this=0xbf87b7d0) at /build/buildd/kde4libs-4.2.2/kdecore/localization/klocalizedstring.cpp:205
#15 0x080898b4 in _start ()
#0  0xb7f5e430 in __kernel_vsyscall ()
Comment 2 BORGULYA Gábor 2009-07-20 22:34:41 UTC
Seems to happen always.
No crash if I press CTRL+S after each rotated image individually.
Comment 3 Dario Andres 2009-07-21 00:32:15 UTC
The first backtrace is bug 189992, which is already fixed in the current code.
The second backtrace seems to be a different issue: please, file a new bug report about it. Do the second crash happened after the same steps that caused the first? 
Thanks

*** This bug has been marked as a duplicate of bug 189992 ***
Comment 4 BORGULYA Gábor 2009-07-21 00:46:11 UTC
On Dienstag 21 Juli 2009 00.32.16 Dario Andres wrote:
> Do the second crash happened after the same steps that caused the
> first?
Yes.
Comment 5 Dario Andres 2009-07-21 00:47:31 UTC
OK, please file a new bug report about it including the steps you did in order to reproduce. Thanks