Bug 325973 - Gwenview crashes loading simple bitmap
Summary: Gwenview crashes loading simple bitmap
Status: RESOLVED DUPLICATE of bug 310798
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: Other (add details in bug description)
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-13 17:23 UTC by Ofnuts
Modified: 2013-12-29 18:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Problem bitmap (400x400) (156.38 KB, image/x-ms-bmp)
2013-10-13 17:25 UTC, Ofnuts
Details
Problem bitmap (50x50) (9.88 KB, image/x-ms-bmp)
2013-10-13 17:26 UTC, Ofnuts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ofnuts 2013-10-13 17:23:09 UTC
Gwenview 2.9.5 in KDE 4.9.5 crashes when loading a rather simple bitmap:

- created with Gimp 2.8.2
- one layer with alpha channel (at 100% everywhere), filled with white
- exported with A8/R8/G8/B8 mode
- Gwenview crashes on 50x50 and 400x400 bitmaps, Okular crashes only on the 400x400 one.  

Of course if this bitmap is in a directory where you have other images or one of its subdirectories it becomes a real problem because  Gwenview crashes while making thumbnails.


Reproducible: Always

Steps to Reproduce:
1.create bitmap as indicated above
2.load bitmap
3.
Actual Results:  
Gwenview window disappears. In some cases you get the crash recovery dialog.

Expected Results:  
Displaying the bloody bitmap

I'd have loved to attach one of the bitmaps to make sure we have the same file...
Comment 1 Ofnuts 2013-10-13 17:25:38 UTC
Created attachment 82830 [details]
Problem bitmap  (400x400)
Comment 2 Ofnuts 2013-10-13 17:26:22 UTC
Created attachment 82831 [details]
Problem bitmap (50x50)
Comment 3 Jekyll Wu 2013-10-14 06:30:55 UTC
Can't reproduce using gwenview 4.10.5 and the provided pictures. Could you provide the backtrace of the crash ?
Comment 4 Ofnuts 2013-10-14 08:03:11 UTC
Application: Gwenview (gwenview), signal: Floating point exception
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f634f627780 (LWP 8923))]

Thread 4 (Thread 0x7f633a0a1700 (LWP 8925)):
#0  0x00007f6348880e49 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f634884360b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6348843cab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6348843ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f634e49cc16 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f634e46d2bf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f634e46d548 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f634e36eb10 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f634e44d9af in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f634e371aec in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007f6348f06e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007f634c087ccd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f63332fa700 (LWP 8926)):
#0  0x00007f634e3c7920 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#1  0x00007f634e3c79a9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f634e49d41d in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f634e49d763 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f634e49c2cc in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f634e49c375 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f6348843618 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f6348843cab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f6348843ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f634e49cc16 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007f634e46d2bf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007f634e46d548 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#12 0x00007f634e36eb10 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#13 0x00007f634e44d9af in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#14 0x00007f634e371aec in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#15 0x00007f6348f06e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#16 0x00007f634c087ccd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#17 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f63328e5700 (LWP 8927)):
[KCrash Handler]
#5  0x00007f634cdcee08 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#6  0x00007f634cdcfc1c in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#7  0x00007f634cda722d in QImageReader::read(QImage*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#8  0x00007f634ef105c4 in ?? () from /usr/lib/libgwenviewlib.so.4
#9  0x00007f634ef080f6 in ?? () from /usr/lib/libgwenviewlib.so.4
#10 0x00007f634e36545d in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007f634e371aec in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#12 0x00007f6348f06e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#13 0x00007f634c087ccd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#14 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f634f627780 (LWP 8923)):
#0  0x00007f6348f0ad84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f634e37204b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f634e364c2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f634e3666dd in QThreadPool::~QThreadPool() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f634e366719 in QThreadPool::~QThreadPool() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f634e366745 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f634bfcf901 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x00007f634bfcf985 in exit () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x00007f6347e9d73a in ?? () from /usr/lib/x86_64-linux-gnu/libICE.so.6
#9  0x00007f6347ea44d4 in _IceRead () from /usr/lib/x86_64-linux-gnu/libICE.so.6
#10 0x00007f6347ea85c1 in IceProcessMessages () from /usr/lib/x86_64-linux-gnu/libICE.so.6
#11 0x00007f634e483f5f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#12 0x00007f634e4ce79e in QSocketNotifier::activated(int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#13 0x00007f634e48b7eb in QSocketNotifier::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#14 0x00007f634ccdfe9c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x00007f634cce430a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#16 0x00007f634d9e81f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#17 0x00007f634e46e56e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007f634e49c3f8 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007f6348843ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f6348843de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f6348843ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f634e49cbf6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#23 0x00007f634cd84c1e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007f634e46d2bf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#25 0x00007f634e46d548 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007f634e472708 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x0000000000427372 in ?? ()
#28 0x00007f634bfb576d in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#29 0x0000000000427631 in _start ()
Comment 5 Jekyll Wu 2013-10-14 15:59:54 UTC
The backtrace shows it is an Qt problem.  Try Qt 4.8.5 .
Comment 6 Christoph Feck 2013-12-29 18:06:44 UTC

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