Bug 471914 - gwenview crash jpg
Summary: gwenview crash jpg
Status: RESOLVED DUPLICATE of bug 470880
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 23.04.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-07-03 20:01 UTC by Philipp
Modified: 2023-07-08 11:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp 2023-07-03 20:01:27 UTC
Application: gwenview (23.04.2)

Qt Version: 5.15.10
Frameworks Version: 5.107.0
Operating System: Linux 6.3.9-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.6 [KCrashBackend]

-- Information about the crash:
Gwenview crashes when opening a jpg file from my Sony camera. I get the following error message in Konsole:
KCrash: Application 'gwenview' crashing...
Corrupt JPEG data: premature end of data segment
KCrash: Attempting to start /usr/libexec/drkonqi
QFile::at: Cannot set file position 7323648

the files open just fine on other viewers, only gwenview crashes

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f1065757dfd in Exiv2::ExifData::findKey(Exiv2::ExifKey const&) const () from /lib64/glibc-hwcaps/x86-64-v3/libexiv2.so.0.28.0
#5  0x00007f1065831085 in ?? () from /lib64/glibc-hwcaps/x86-64-v3/libexiv2.so.0.28.0
#6  0x00007f10657f0c3f in ?? () from /lib64/glibc-hwcaps/x86-64-v3/libexiv2.so.0.28.0
#7  0x00007f106574fb81 in Exiv2::Exifdatum::write(std::basic_ostream<char, std::char_traits<char> >&, Exiv2::ExifData const*) const () from /lib64/glibc-hwcaps/x86-64-v3/libexiv2.so.0.28.0
#8  0x00007f106663dfd8 in Gwenview::ImageMetaInfoModel::setExiv2Image(Exiv2::Image const*) () from /lib64/libgwenviewlib.so.5
#9  0x00007f106660538c in Gwenview::Document::setExiv2Image(std::unique_ptr<Exiv2::Image, std::default_delete<Exiv2::Image> >) () from /lib64/libgwenviewlib.so.5
#10 0x00007f106660fda1 in ?? () from /lib64/libgwenviewlib.so.5
#11 0x00007f10643257a2 in ?? () from /lib64/libQt5Core.so.5
#12 0x00007f106410d925 in QFutureWatcherBase::event(QEvent*) () from /lib64/libQt5Core.so.5
#13 0x00007f1064fa519e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#14 0x00007f10642ed4f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#15 0x00007f10642f0af1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#16 0x00007f1064346c83 in ?? () from /lib64/libQt5Core.so.5
#17 0x00007f1061f168d8 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#18 0x00007f1061f16ce8 in ?? () from /lib64/libglib-2.0.so.0
#19 0x00007f1061f16d7c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#20 0x00007f1064346496 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#21 0x00007f10642ebf8b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#22 0x00007f10642f4420 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#23 0x0000558d6830f413 in ?? ()
#24 0x00007f1063a2abb0 in __libc_start_call_main () from /lib64/libc.so.6
#25 0x00007f1063a2ac79 in __libc_start_main_impl () from /lib64/libc.so.6
#26 0x0000558d6830fb75 in ?? ()
[Inferior 1 (process 3117) detached]

The reporter indicates this bug may be a duplicate of or related to bug 471167.

Reported using DrKonqi
Comment 1 Nicolas Fella 2023-07-08 11:55:10 UTC

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