Bug 253749 - [gwenview/exiv] crash when i try to open the file
Summary: [gwenview/exiv] crash when i try to open the file
Status: RESOLVED UPSTREAM
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-10 15:18 UTC by Alex Savin
Modified: 2012-10-19 13:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
problematic file (357.04 KB, image/jpeg)
2010-10-10 15:20 UTC, Alex Savin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Savin 2010-10-10 15:18:38 UTC
Application: gwenview (2.5.2)
KDE Platform Version: 4.5.2 (KDE 4.5.2) "release 5"
Qt Version: 4.7.0
Operating System: Linux 2.6.34.7-0.3-desktop i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
gwenview crash every time when i try to open the image file 
(I try to open this file in kview(kde3) - works good)

The crash can be reproduced every time.

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

Thread 2 (Thread 0xb1c2db70 (LWP 16425)):
[KCrash Handler]
#7  0xffffe424 in __kernel_vsyscall ()
#8  0xb5d387ff in raise () from /lib/libc.so.6
#9  0xb5d3a140 in abort () from /lib/libc.so.6
#10 0xb5d31014 in __assert_fail () from /lib/libc.so.6
#11 0xb5a46104 in Exiv2::Internal::TiffMnCreator::create (tag=37500, group=256, make="- - -", pData=0x86a0eda "\020", size=858, byteOrder=Exiv2::littleEndian) at makernote.cpp:103
#12 0xb5aa6709 in Exiv2::Internal::TiffReader::visitMnEntry (this=0xb1c2cf78, object=0x82b0bc8) at tiffvisitor.cpp:1290
#13 0xb5a94a6e in Exiv2::Internal::TiffMnEntry::doAccept (this=0x82b0bc8, visitor=...) at tiffcomposite.cpp:918
#14 0xb5a94952 in Exiv2::Internal::TiffComponent::accept (this=0x82b0bc8, visitor=...) at tiffcomposite.cpp:872
#15 0xb5a94c2a in Exiv2::Internal::TiffDirectory::doAccept (this=0x83bc000, visitor=...) at tiffcomposite.cpp:900
#16 0xb5a94952 in Exiv2::Internal::TiffComponent::accept (this=0x83bc000, visitor=...) at tiffcomposite.cpp:872
#17 0xb5a94b26 in Exiv2::Internal::TiffSubIfd::doAccept (this=0x830e848, visitor=...) at tiffcomposite.cpp:912
#18 0xb5a94952 in Exiv2::Internal::TiffComponent::accept (this=0x830e848, visitor=...) at tiffcomposite.cpp:872
#19 0xb5a94c2a in Exiv2::Internal::TiffDirectory::doAccept (this=0x82a1f78, visitor=...) at tiffcomposite.cpp:900
#20 0xb5a94952 in Exiv2::Internal::TiffComponent::accept (this=0x82a1f78, visitor=...) at tiffcomposite.cpp:872
#21 0xb5a9ad40 in Exiv2::Internal::TiffParserWorker::parse (pData=0x86a0bf0 "II*", size=8673, root=131072, pHeader=0x83eebf8) at tiffimage.cpp:1380
#22 0xb5a9b680 in Exiv2::Internal::TiffParserWorker::decode (exifData=..., iptcData=..., xmpData=..., pData=0x6 <Address 0x6 out of bounds>, size=6, root=6, findDecoderFct=0, pHeader=0x83eebf8)
    at tiffimage.cpp:1280
#23 0xb5a9b7f5 in Exiv2::TiffParser::decode (exifData=..., iptcData=..., xmpData=..., pData=0x86a0bf0 "II*", size=8673) at tiffimage.cpp:202
#24 0xb5a2f272 in Exiv2::ExifParser::decode (exifData=..., pData=0x86a0bf0 "II*", size=8673) at exif.cpp:634
#25 0xb5a40cfe in Exiv2::JpegBase::readMetadata (this=0x84d9b78) at jpgimage.cpp:346
#26 0xb76d7873 in ?? () from /usr/lib/libgwenviewlib.so.4
#27 0xb76c5b24 in ?? () from /usr/lib/libgwenviewlib.so.4
#28 0xb76c58cb in ?? () from /usr/lib/libgwenviewlib.so.4
#29 0xb76c5cb6 in ?? () from /usr/lib/libgwenviewlib.so.4
#30 0xb71b5c43 in QThreadPoolThread::run (this=0x847dc08) at concurrent/qthreadpool.cpp:106
#31 0xb71c027a in QThreadPrivate::start (arg=0x847dc08) at thread/qthread_unix.cpp:266
#32 0xb5957b25 in start_thread (arg=0xb1c2db70) at pthread_create.c:297
#33 0xb5de046e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb4bd6710 (LWP 16422)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5dd575e in poll () from /lib/libc.so.6
#2  0xb4ec1470 in ?? () from /usr/lib/libxcb.so.1
#3  0xb4ec1a82 in ?? () from /usr/lib/libxcb.so.1
#4  0xb4ec1b31 in xcb_writev () from /usr/lib/libxcb.so.1
#5  0xb568c490 in _XSend (dpy=0x80db6b8, data=0x86a2dd8 "", size=4096) at xcb_io.c:339
#6  0xb56787eb in SendZImage (dpy=<value optimized out>, d=182452529, gc=0x8388010, image=0x82b0c80, req_xoffset=0, req_yoffset=0, x=0, y=0, req_width=32, req_height=32, dest_bits_per_pixel=32, 
    dest_scanline_pad=32) at PutImage.c:804
#7  PutImageRequest (dpy=<value optimized out>, d=182452529, gc=0x8388010, image=0x82b0c80, req_xoffset=0, req_yoffset=0, x=0, y=0, req_width=32, req_height=32, dest_bits_per_pixel=32, 
    dest_scanline_pad=32) at PutImage.c:872
#8  PutSubImage (dpy=<value optimized out>, d=182452529, gc=0x8388010, image=0x82b0c80, req_xoffset=0, req_yoffset=0, x=0, y=0, req_width=32, req_height=32, dest_bits_per_pixel=32, dest_scanline_pad=
    32) at PutImage.c:910
#9  0xb56789e5 in XPutImage (dpy=0x80db6b8, d=182452529, gc=0x8388010, image=0x82b0c80, req_xoffset=0, req_yoffset=0, x=0, y=0, req_width=32, req_height=32) at PutImage.c:1029
#10 0xb61a93c3 in QX11PixmapData::fromImage (this=0x829eff8, img=..., flags=...) at image/qpixmap_x11.cpp:612
#11 0xb6197eb5 in QPixmapData::fromFile (this=0x829eff8, fileName=..., format=0x1 <Address 0x1 out of bounds>, flags=) at image/qpixmapdata.cpp:140
#12 0xb619046c in QPixmap::load (this=0xbfbdbca4, fileName=..., format=0xffffffff <Address 0xffffffff out of bounds>, flags=) at image/qpixmap.cpp:846
#13 0xb619339a in QPixmap::QPixmap (this=0xbfbdbca4, fileName=..., format=0x0, flags=...) at image/qpixmap.cpp:260
#14 0xb76f9a06 in Gwenview::ScrollTool::ScrollTool(Gwenview::ImageView*) () from /usr/lib/libgwenviewlib.so.4
#15 0xb76cf9e2 in Gwenview::ImageViewAdapter::ImageViewAdapter(QWidget*) () from /usr/lib/libgwenviewlib.so.4
#16 0xb76cb362 in Gwenview::DocumentView::createAdapterForDocument() () from /usr/lib/libgwenviewlib.so.4
#17 0xb76cb85d in Gwenview::DocumentView::finishOpenUrl() () from /usr/lib/libgwenviewlib.so.4
#18 0xb76cbf99 in Gwenview::DocumentView::openUrl(KUrl const&) () from /usr/lib/libgwenviewlib.so.4
#19 0x08081a40 in _start ()

Reported using DrKonqi
Comment 1 Alex Savin 2010-10-10 15:20:52 UTC
Created attachment 52390 [details]
problematic file
Comment 2 Bastian Senst 2010-10-10 21:31:36 UTC
The bug is reproducible with gwenview & showFoto. Though it seems to be an exiv2 bug.
The file can be opened with both okular and GIMP
Comment 3 Bastian Senst 2010-10-15 09:51:46 UTC
I reported the bug to upstream and it has been fixed there:
http://dev.exiv2.org/issues/736

The version it'll be fixed in is exiv 0.21
Thank you for the report!