Bug 349931 - crash when switching from empty (0 bytes) file
Summary: crash when switching from empty (0 bytes) file
Status: RESOLVED DUPLICATE of bug 344809
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 5.0.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-05 15:23 UTC by Mikhail Khvoinitsky
Modified: 2016-11-02 16:26 UTC (History)
2 users (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 Mikhail Khvoinitsky 2015-07-05 15:23:57 UTC
Application: gwenview (5.0.0)

Qt Version: 5.4.2
Operating System: Linux 4.0.7-2-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:
 * Open picture in folder which contains empty file.
 * Press "→" or space to navigate to this empty file
 * Gwenview displays "Loading 'filename' failed. Loading meta information failed."
 * Press "→" or space one more time to jump to next picture
 * Gwenview crashes.

The crash can be reproduced every time.

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

Thread 4 (Thread 0x7f9857a6f700 (LWP 7601)):
#0  0x00007f9869a20e8d in poll () from /usr/lib/libc.so.6
#1  0x00007f9861af49f2 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f9861af656f in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007f9858d5e089 in ?? () from /usr/lib/qt/plugins/platforms/libqxcb.so
#4  0x00007f986a10608e in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007f9863c59354 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f9869a29bfd in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f984c920700 (LWP 7602)):
#0  0x00007f9863c5ed18 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f986a107256 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f986a102dd3 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007f986a10608e in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f9863c59354 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f9869a29bfd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f984a88a700 (LWP 7608)):
#0  0x00007f9863c5ed18 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f986a107256 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f986a102dd3 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007f986a10608e in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f9863c59354 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f9869a29bfd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f986ed75840 (LWP 7600)):
[KCrash Handler]
#5  0x00007f986b4e9e00 in ?? () from /usr/lib/libQt5Widgets.so.5
#6  0x00007f986b4ef1df in QGraphicsProxyWidget::focusNextPrevChild(bool) () from /usr/lib/libQt5Widgets.so.5
#7  0x00007f986b4d54cb in QGraphicsItemPrivate::setVisibleHelper(bool, bool, bool, bool) () from /usr/lib/libQt5Widgets.so.5
#8  0x00007f986b4ed992 in QGraphicsProxyWidget::eventFilter(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#9  0x00007f986a2e536c in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#10 0x00007f986b1db60c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#11 0x00007f986b1e0d10 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#12 0x00007f986a2e557b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#13 0x00007f986b219613 in QWidgetPrivate::hide_helper() () from /usr/lib/libQt5Widgets.so.5
#14 0x00007f986b21d3e0 in QWidget::setVisible(bool) () from /usr/lib/libQt5Widgets.so.5
#15 0x00007f986b2197e1 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007f986b219dc3 in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5
#17 0x00007f986b219e99 in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5
#18 0x00007f986b4e96aa in QGraphicsProxyWidget::~QGraphicsProxyWidget() () from /usr/lib/libQt5Widgets.so.5
#19 0x00007f986b4e96e9 in QGraphicsProxyWidget::~QGraphicsProxyWidget() () from /usr/lib/libQt5Widgets.so.5
#20 0x00007f986b4db0f6 in QGraphicsItem::~QGraphicsItem() () from /usr/lib/libQt5Widgets.so.5
#21 0x00007f986b4db363 in QGraphicsObject::~QGraphicsObject() () from /usr/lib/libQt5Widgets.so.5
#22 0x00007f986b52a3d5 in QGraphicsWidget::~QGraphicsWidget() () from /usr/lib/libQt5Widgets.so.5
#23 0x00007f986e54ce99 in Gwenview::DocumentView::~DocumentView() () from /usr/lib/libgwenviewlib.so.5
#24 0x00007f986a316b00 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#25 0x00007f986b52b8bb in QGraphicsWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#26 0x00007f986b1db62c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#27 0x00007f986b1e0d10 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#28 0x00007f986a2e557b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#29 0x00007f986a2e76b7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#30 0x00007f986a33c8f3 in ?? () from /usr/lib/libQt5Core.so.5
#31 0x00007f986373c9fd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0x00007f986373cce0 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0x00007f986373cd8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0x00007f986a33ccff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#35 0x00007f986a2e2ffa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#36 0x00007f986a2eaa4c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#37 0x000000000043e2f0 in main ()

Reproducible: Always
Comment 1 Christoph Feck 2016-11-02 16:26:56 UTC

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