Bug 356599 - 15.08.3 Crash in QGraphicsProxyWidget::focusNextPrevChild
Summary: 15.08.3 Crash in QGraphicsProxyWidget::focusNextPrevChild
Status: RESOLVED DUPLICATE of bug 344809
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: Other (add details in bug description)
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-13 13:49 UTC by Michał
Modified: 2016-11-02 16:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał 2015-12-13 13:49:59 UTC
Version is 15.08.3
Image attached (CR2 file)

Gwenview shows red message that it could not read Meta Information (kind of expected).
What's unexpected is that when trying to navigate to the next image, Gwenview crashes.

GDBed stack trace:
(gdb) run .
Starting program: /usr/bin/gwenview .
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffe1049700 (LWP 25188)]
[New Thread 0x7fffd7e6e700 (LWP 25191)]
QImageReader::read() using format hint "cr2" failed: "Unsupported image format"
QImageReader::read() without format hint failed: "Unsupported image format"
[New Thread 0x7fffd766d700 (LWP 25192)]
Could not generate thumbnail for file "file:///home/mcv/+gwenview crash/IMG_7597.CR2"

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff48479b0 in ?? () from /usr/lib/libQt5Widgets.so.5
(gdb) whe
#0  0x00007ffff48479b0 in ?? () from /usr/lib/libQt5Widgets.so.5
#1  0x00007ffff484cd8f in QGraphicsProxyWidget::focusNextPrevChild(bool) () from /usr/lib/libQt5Widgets.so.5
#2  0x00007ffff4832c0b in QGraphicsItemPrivate::setVisibleHelper(bool, bool, bool, bool) () from /usr/lib/libQt5Widgets.so.5
#3  0x00007ffff484b542 in QGraphicsProxyWidget::eventFilter(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#4  0x00007ffff332e75c in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#5  0x00007ffff452fffc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#6  0x00007ffff45354f6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#7  0x00007ffff332e96b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#8  0x00007ffff456e0a3 in QWidgetPrivate::hide_helper() () from /usr/lib/libQt5Widgets.so.5
#9  0x00007ffff4572870 in QWidget::setVisible(bool) () from /usr/lib/libQt5Widgets.so.5
#10 0x00007ffff456e271 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /usr/lib/libQt5Widgets.so.5
#11 0x00007ffff456e863 in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5
#12 0x00007ffff456e939 in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5
#13 0x00007ffff484725a in QGraphicsProxyWidget::~QGraphicsProxyWidget() () from /usr/lib/libQt5Widgets.so.5
#14 0x00007ffff4847299 in QGraphicsProxyWidget::~QGraphicsProxyWidget() () from /usr/lib/libQt5Widgets.so.5
#15 0x00007ffff4838876 in QGraphicsItem::~QGraphicsItem() () from /usr/lib/libQt5Widgets.so.5
#16 0x00007ffff4838b03 in QGraphicsObject::~QGraphicsObject() () from /usr/lib/libQt5Widgets.so.5
#17 0x00007ffff4888325 in QGraphicsWidget::~QGraphicsWidget() () from /usr/lib/libQt5Widgets.so.5
#18 0x00007ffff768faf9 in Gwenview::DocumentView::~DocumentView() () from /usr/lib/libgwenviewlib.so.5
#19 0x00007ffff335dfc0 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#20 0x00007ffff488980b in QGraphicsWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#21 0x00007ffff453001c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#22 0x00007ffff45354f6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#23 0x00007ffff332e96b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#24 0x00007ffff3330d66 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#25 0x00007ffff3384f03 in ?? () from /usr/lib/libQt5Core.so.5
#26 0x00007fffec9d4dc7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x00007fffec9d5020 in ?? () from /usr/lib/libglib-2.0.so.0
#28 0x00007fffec9d50cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0x00007ffff338530f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#30 0x00007ffff332c33a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#31 0x00007ffff33342fc in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#32 0x000000000043e570 in main ()

Reproducible: Always

Steps to Reproduce:
1. Open attached image
2. Try to navigate to another image in directory (by pressing space or arrows)



Can't attach the image right now, will do it soon (after I get better connection).
Comment 1 Michał 2015-12-13 22:24:06 UTC
Hmm, I can't upload 22 MB file, beacuse of 4 MB size limit. But I think any CR2 file should do the trick…
Comment 2 Michał 2015-12-21 11:01:01 UTC
Stopped reproducing in 15.12.0. The CR2 file is now loaded and shown properly.
Comment 3 Christoph Feck 2016-11-02 16:27:44 UTC

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