Bug 414662

Summary: crash when opening raw file (Gwenview::JpegContent::loadFromData())
Product: [Applications] gwenview Reporter: Rolf Eike Beer <kde>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: 19.08.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: testcase

Description Rolf Eike Beer 2019-11-29 17:54:46 UTC
Created attachment 124186 [details]
testcase

Thread 4 (Thread 0x7fbb38ee0700 (LWP 26338)):
[KCrash Handler]
#6  Gwenview::JpegContent::loadFromData (this=this@entry=0x7fbb300058d0, 
data=..., exiv2Image=0x0) at /usr/src/debug/gwenview5-19.08.3-1.2.x86_64/lib/
jpegcontent.cpp:268
#7  0x00007fbb433c63d2 in Gwenview::LoadingDocumentImplPrivate::loadMetaInfo 
(this=0x55b748f7b060) at /usr/include/c++/9/bits/unique_ptr.h:352
#8  0x00007fbb433c3c64 in non-virtual thunk to 
QtConcurrent::RunFunctionTask<bool>::run() () at /usr/include/c++/9/bits/
exception.h:63
#9  0x00007fbb417994c2 in  () from /usr/lib64/libQt5Core.so.5
#10 0x00007fbb417961a2 in  () from /usr/lib64/libQt5Core.so.5
#11 0x00007fbb3fb22f2a in start_thread () from /lib64/libpthread.so.0
#12 0x00007fbb4141d4af in clone () from /lib64/libc.so.6
Comment 1 Christoph Feck 2019-12-19 15:23:29 UTC
Isn't that just the testcase for massive expansion of an archive file? In any case, I wonder why Gwenview believes it is a JPEG image. Maybe some raw format wants to embed JPEG.
Comment 2 Justin Zobel 2022-09-30 04:38:05 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 3 Rolf Eike Beer 2022-10-01 15:05:12 UTC
Does not crash in 21.12.3.