Bug 241777 - Gwenview crash when opening a specific image
Summary: Gwenview crash when opening a specific image
Status: RESOLVED UPSTREAM
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 2.4
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
: 248232 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-14 23:11 UTC by Jean-Marie Favreau
Modified: 2012-10-19 13:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Image that produce the crash (129.29 KB, image/jpeg)
2010-06-14 23:12 UTC, Jean-Marie Favreau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Marie Favreau 2010-06-14 23:11:14 UTC
Application: gwenview (2.4.3)
KDE Platform Version: 4.4.4 (KDE 4.4.4)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-5-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
When I try to open a specific image (attached), or ther directory where this image is stored, gwenview crashes.

The crash can be reproduced every time.

 -- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fa13c901760 (LWP 15048))]

Thread 3 (Thread 0x7fa12e082710 (LWP 15050)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa13b8d9e8b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1f1ce18, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1f1ce18, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa13c26344c in ?? () from /usr/lib/libgwenviewlib.so.4
#4  0x00007fa13b8d8e35 in QThreadPrivate::start (arg=0x1f1ce00) at thread/qthread_unix.cpp:248
#5  0x00007fa13698e8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fa13963d01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa12a17b710 (LWP 15051)):
[KCrash Handler]
#5  0x0000000000000000 in ?? ()
#6  0x00007fa1386f780d in Exiv2::ExifKey::clone() const () from /usr/lib/libexiv2.so.6
#7  0x00007fa1386a8d77 in Exiv2::Exifdatum::Exifdatum(Exiv2::Exifdatum const&) () from /usr/lib/libexiv2.so.6
#8  0x00007fa13c234904 in std::vector<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> >::operator=(std::vector<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> > const&) ()
   from /usr/lib/libgwenviewlib.so.4
#9  0x00007fa13c233014 in Gwenview::JpegContent::loadFromData(QByteArray const&, Exiv2::Image*) () from /usr/lib/libgwenviewlib.so.4
#10 0x00007fa13c212e6a in ?? () from /usr/lib/libgwenviewlib.so.4
#11 0x00007fa13c212636 in ?? () from /usr/lib/libgwenviewlib.so.4
#12 0x00007fa13c2136f2 in ?? () from /usr/lib/libgwenviewlib.so.4
#13 0x00007fa13b8ced7f in QThreadPoolThread::run (this=0x23a1ad0) at concurrent/qthreadpool.cpp:106
#14 0x00007fa13b8d8e35 in QThreadPrivate::start (arg=0x23a1ad0) at thread/qthread_unix.cpp:248
#15 0x00007fa13698e8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#16 0x00007fa13963d01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa13c901760 (LWP 15048)):
#0  0x00007fa139632103 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa13318b8ca in ?? () from /usr/lib/libxcb.so.1
#2  0x00007fa13318bec9 in ?? () from /usr/lib/libxcb.so.1
#3  0x00007fa13318c175 in xcb_writev () from /usr/lib/libxcb.so.1
#4  0x00007fa137481616 in _XSend () from /usr/lib/libX11.so.6
#5  0x00007fa137481769 in _XReply () from /usr/lib/libX11.so.6
#6  0x00007fa13745da67 in XGetImage () from /usr/lib/libX11.so.6
#7  0x00007fa139ed58a0 in QX11PixmapData::toImage (this=0x23a5020) at image/qpixmap_x11.cpp:1492
#8  0x00007fa139ebd9d0 in QPixmap::toImage (this=0x7ffff8a4d6c0) at image/qpixmap.cpp:486
#9  0x00007fa139df0e4d in QCursor (this=0x7ffff8a4d6e0, pixmap=..., hotX=-1, hotY=-1) at kernel/qcursor.cpp:307
#10 0x00007fa13c241780 in Gwenview::ScrollTool::ScrollTool(Gwenview::ImageView*) () from /usr/lib/libgwenviewlib.so.4
#11 0x00007fa13c21b35c in Gwenview::ImageViewAdapter::ImageViewAdapter(QWidget*) () from /usr/lib/libgwenviewlib.so.4
#12 0x00007fa13c2182a8 in Gwenview::DocumentView::createAdapterForDocument() () from /usr/lib/libgwenviewlib.so.4
#13 0x00007fa13c2188ba in Gwenview::DocumentView::finishOpenUrl() () from /usr/lib/libgwenviewlib.so.4
#14 0x00007fa13c218ba3 in Gwenview::DocumentView::openUrl(KUrl const&) () from /usr/lib/libgwenviewlib.so.4
#15 0x000000000044632b in _start ()

Reported using DrKonqi
Comment 1 Jean-Marie Favreau 2010-06-14 23:12:23 UTC
Created attachment 48014 [details]
Image that produce the crash
Comment 2 Jean-Marie Favreau 2010-06-14 23:46:06 UTC
Finally, it occurs with every images. It may be linked to the graphical drivers, I recently updated. I'm going to investigate about this possibility.
Comment 3 Jean-Marie Favreau 2010-06-15 01:01:56 UTC
By switching to linux 2.6.34 (experimental), and using the nouveau driver, the crash still occurs, and with every image (not only this one).
Comment 4 Aurelien Gateau 2010-06-15 22:49:10 UTC
I don't think it's hardware related as it crashes in a function from Exiv2, a library to manipulate image meta information. I can't reproduce the bug unfortunately. Which version of libexiv2 do you use?
Comment 5 Jean-Marie Favreau 2010-06-15 22:55:35 UTC
Since the last debian sid update today, it works now correctly. I'm not able to remember which package has been updated. With libexiv2 0.19-3 it seems to work. I'm going to close this bug, sorry for the inconvenience.
Comment 6 Christoph Feck 2010-09-26 22:55:00 UTC
*** Bug 248232 has been marked as a duplicate of this bug. ***
Comment 7 Jekyll Wu 2012-07-04 14:27:55 UTC
crash within libexiv2