Bug 356594 - Open with gwenview a .nef photo will crash the appliction
Summary: Open with gwenview a .nef photo will crash the appliction
Status: RESOLVED FIXED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: Other (add details in bug description)
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-13 11:50 UTC by Rainer Finke
Modified: 2017-11-25 12:56 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Finke 2015-12-13 11:50:04 UTC
When I open a .nef photo with gwenview 15.08.03 (it will only show an message that the photo and metadata could not be loaded) and I go to the next picture gwenview will crash.

-----CRASH REPORT-----
Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f55c6a62840 (LWP 1840))]

Thread 3 (Thread 0x7f55afc2c700 (LWP 1841)):
#0  0x00007f55c15d418d in poll () from /usr/lib/libc.so.6
#1  0x00007f55b96e1ae2 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f55b96e3757 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007f55b0d1de89 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f55c1cd597e in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007f55bba7a4a4 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f55c15dd13d in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f55a7be9700 (LWP 1842)):
#0  0x00007f55bba80428 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f55c1cd6b46 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f55c1cd2603 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007f55c1cd597e in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f55bba7a4a4 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f55c15dd13d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f55c6a62840 (LWP 1840)):
[KCrash Handler]
#5  0x00007f55c33cf9b0 in ?? () from /usr/lib/libQt5Widgets.so.5
#6  0x00007f55c33d4d8f in QGraphicsProxyWidget::focusNextPrevChild(bool) () from /usr/lib/libQt5Widgets.so.5
#7  0x00007f55c33bac0b in QGraphicsItemPrivate::setVisibleHelper(bool, bool, bool, bool) () from /usr/lib/libQt5Widgets.so.5
#8  0x00007f55c33d3542 in QGraphicsProxyWidget::eventFilter(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#9  0x00007f55c1eb675c in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#10 0x00007f55c30b7ffc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#11 0x00007f55c30bd4f6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#12 0x00007f55c1eb696b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#13 0x00007f55c30f60a3 in QWidgetPrivate::hide_helper() () from /usr/lib/libQt5Widgets.so.5
#14 0x00007f55c30fa870 in QWidget::setVisible(bool) () from /usr/lib/libQt5Widgets.so.5
#15 0x00007f55c30f6271 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007f55c30f6863 in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5
#17 0x00007f55c30f6939 in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5
#18 0x00007f55c33cf25a in QGraphicsProxyWidget::~QGraphicsProxyWidget() () from /usr/lib/libQt5Widgets.so.5
#19 0x00007f55c33cf299 in QGraphicsProxyWidget::~QGraphicsProxyWidget() () from /usr/lib/libQt5Widgets.so.5
#20 0x00007f55c33c0876 in QGraphicsItem::~QGraphicsItem() () from /usr/lib/libQt5Widgets.so.5
#21 0x00007f55c33c0b03 in QGraphicsObject::~QGraphicsObject() () from /usr/lib/libQt5Widgets.so.5
#22 0x00007f55c3410325 in QGraphicsWidget::~QGraphicsWidget() () from /usr/lib/libQt5Widgets.so.5
#23 0x00007f55c6217af9 in Gwenview::DocumentView::~DocumentView() () from /usr/lib/libgwenviewlib.so.5
#24 0x00007f55c1ee5fc0 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#25 0x00007f55c341180b in QGraphicsWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#26 0x00007f55c30b801c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#27 0x00007f55c30bd4f6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#28 0x00007f55c1eb696b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#29 0x00007f55c1eb8d66 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#30 0x00007f55c1f0cf03 in ?? () from /usr/lib/libQt5Core.so.5
#31 0x00007f55bb55cdc7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0x00007f55bb55d020 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0x00007f55bb55d0cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0x00007f55c1f0d30f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#35 0x00007f55c1eb433a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#36 0x00007f55c1ebc2fc in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#37 0x000000000043e570 in main ()


Reproducible: Always

Steps to Reproduce:
1. Open a .nef photo with gwenview
2. It will not show any content
3. Click next photo

Actual Results:  
gwenview will always crash

Expected Results:  
Show the .nef raw photo or just skip it
Comment 1 Rainer Finke 2015-12-13 15:00:57 UTC
As mentioned in Bug 356599 gwenview will creash as well, when you open a corrupt .jpg file and the if you go to the next picture.
Comment 2 Rainer Finke 2017-11-25 10:43:28 UTC
I don't have this issue anymore with newer versions.
Comment 3 null 2017-11-25 12:56:30 UTC
Thanks for the update, this helps a lot to focus on the actual/current issues.