https://bugs.kde.org/show_bug.cgi?id=471167

            Bug ID: 471167
           Summary: Gwenview crashes on opening pictures from Sony a6600
    Classification: Applications
           Product: gwenview
           Version: 23.04.2
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: gwenview-bugs-n...@kde.org
          Reporter: engo...@inbox.lv
  Target Milestone: ---

Application: gwenview (23.04.2)

Qt Version: 5.15.10
Frameworks Version: 5.107.0
Operating System: Linux 6.3.8-arch1-1 x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
Just opening any picture from a Sony alpha 6600 camera crashes with stack trace
going on about exif.
Can provide a sample pic that reliably crashes Gwenview every time.

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized
out>}
[KCrash Handler]
#6  0x00007f8a371c97ab in std::__cxx11::list<Exiv2::Exifdatum,
std::allocator<Exiv2::Exifdatum> >::begin (this=<optimized out>,
this=<optimized out>) at /usr/include/c++/13.1.1/bits/stl_list.h:1033
#7  Exiv2::ExifData::findKey (this=0x0, key=...) at
/usr/src/debug/exiv2/exiv2-0.28.0/src/exif.cpp:457
#8  0x00007f8a37242fda in Exiv2::Internal::getModel(Exiv2::ExifData const*,
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>
>&) [clone .constprop.0] (metadata=metadata@entry=0x0, val="") at
/usr/src/debug/exiv2/exiv2-0.28.0/src/sonymn_int.cpp:641
#9  0x00007f8a3716711d in Exiv2::Internal::SonyMakerNote::printFocusMode2
(os=..., value=..., metadata=0x0) at
/usr/src/debug/exiv2/exiv2-0.28.0/src/sonymn_int.cpp:838
#10 0x00007f8a371c0914 in Exiv2::Exifdatum::write (this=0x7f8a140dac20, os=...,
pMetadata=0x0) at /usr/src/debug/exiv2/exiv2-0.28.0/src/exif.cpp:187
#11 0x00007f8a37f8f1f4 in Exiv2::operator<< (md=..., os=...) at
/usr/include/exiv2/metadatum.hpp:277
#12 Gwenview::ImageMetaInfoModelPrivate::fillExivGroup<Exiv2::ExifData,
std::_List_const_iterator<Exiv2::Exifdatum> > (container=...,
group=0x55c393168df0, parent=..., this=0x55c393168dd0) at
/usr/src/debug/gwenview/gwenview-23.04.2/lib/imagemetainfomodel.cpp:282
#13 Gwenview::ImageMetaInfoModel::setExiv2Image (this=0x55c392f0f760,
image=0x7f8a140019c0) at
/usr/src/debug/gwenview/gwenview-23.04.2/lib/imagemetainfomodel.cpp:441
#14 0x00007f8a37f53c21 in Gwenview::Document::setExiv2Image
(this=0x55c392e57890, image=...) at
/usr/src/debug/gwenview/gwenview-23.04.2/lib/document/document.cpp:388
#15 0x00007f8a37f5ed8e in Gwenview::AbstractDocumentImpl::setDocumentExiv2Image
(this=0x55c392f9aca0, image=std::unique_ptr<Exiv2::Image> = {...}) at
/usr/src/debug/gwenview/gwenview-23.04.2/lib/document/abstractdocumentimpl.cpp:81
#16 Gwenview::LoadingDocumentImpl::slotMetaInfoLoaded (this=0x55c392f9aca0) at
/usr/src/debug/gwenview/gwenview-23.04.2/lib/document/loadingdocumentimpl.cpp:497
#17 0x00007f8a35cd06a7 in QtPrivate::QSlotObjectBase::call (a=<optimized out>,
r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized
out>, a=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#18 doActivate<false> (sender=0x55c392e5f968, signal_index=4,
argv=0x7ffeceb67b40) at kernel/qobject.cpp:3925
#19 0x00007f8a35afd4d5 in QFutureWatcherBase::event (this=<optimized out>,
event=0x7f8a141cf630) at thread/qfuturewatcher.cpp:334
#20 0x00007f8a3697893f in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55c392e5f968, e=0x7f8a141cf630) at
kernel/qapplication.cpp:3640
#21 0x00007f8a35c9b778 in QCoreApplication::notifyInternal2
(receiver=0x55c392e5f968, event=0x7f8a141cf630) at
kernel/qcoreapplication.cpp:1064
#22 0x00007f8a35ca06db in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x55c39249ab20) at
kernel/qcoreapplication.cpp:1821
#23 0x00007f8a35ce6748 in postEventSourceDispatch (s=0x55c39255eaf0) at
kernel/qeventdispatcher_glib.cpp:277
#24 0x00007f8a33b10981 in g_main_dispatch (context=0x7f8a28000ee0) at
../glib/glib/gmain.c:3460
#25 g_main_context_dispatch (context=0x7f8a28000ee0) at
../glib/glib/gmain.c:4200
#26 0x00007f8a33b6db39 in g_main_context_iterate.isra.0
(context=context@entry=0x7f8a28000ee0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#27 0x00007f8a33b0e032 in g_main_context_iteration (context=0x7f8a28000ee0,
may_block=1) at ../glib/glib/gmain.c:4343
#28 0x00007f8a35cea5cc in QEventDispatcherGlib::processEvents
(this=0x55c3925635e0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007f8a35c9a484 in QEventLoop::exec (this=this@entry=0x7ffeceb67f70,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#30 0x00007f8a35c9b923 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#31 0x00007f8a3613bf12 in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1870
#32 0x00007f8a36976cda in QApplication::exec () at kernel/qapplication.cpp:2832
#33 0x000055c391472a49 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/gwenview/gwenview-23.04.2/app/main.cpp:213
[Inferior 1 (process 3307) detached]

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to