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

            Bug ID: 412809
           Summary: Gwenview crashes when opening a picture under wayland
           Product: gwenview
           Version: 19.08.1
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: gwenview-bugs-n...@kde.org
          Reporter: tian.tian...@gmail.com
  Target Milestone: ---

Application: gwenview (19.08.1)

Qt Version: 5.13.1
Frameworks Version: 5.62.0
Operating System: Linux 5.3.2-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
I was loading a large folder of pictures (around 45k files). Gwenview crashed
when I hit <enter> to load a picture.

- Custom settings of the application:
Gwenview started using Wayland.

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2bddbc99c0 (LWP 12830))]

Thread 3 (Thread 0x7f2bd8868700 (LWP 12832)):
#0  0x00007f2bdf8286a5 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f2bd91a672b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007f2bd91a5067 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007f2bdf821f2a in start_thread () from /lib64/libpthread.so.0
#4  0x00007f2be10a54af in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f2bdb435700 (LWP 12831)):
#0  0x00007f2be109abdf in poll () from /lib64/libc.so.6
#1  0x00007f2bdef883ce in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2bdef8849f in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f2be163c99b in QEventDispatcherGlib::processEvents
(this=0x7f2bd4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f2be15e50db in QEventLoop::exec (this=this@entry=0x7f2bdb434bb0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f2be141d021 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f2be0e464f6 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f2be141e1a2 in QThreadPrivate::start (arg=0x7f2be0ec8d80) at
thread/qthread_unix.cpp:360
#8  0x00007f2bdf821f2a in start_thread () from /lib64/libpthread.so.0
#9  0x00007f2be10a54af in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2bddbc99c0 (LWP 12830)):
[KCrash Handler]
#6  0x00007f2be0fe20d1 in raise () from /lib64/libc.so.6
#7  0x00007f2be0fcb55d in abort () from /lib64/libc.so.6
#8  0x00007f2be32248e1 in wl_abort (fmt=fmt@entry=0x7f2be3229e88 "Error
marshalling request: %s\n") at src/wayland-util.c:417
#9  0x00007f2be322809d in wl_proxy_marshal_array_constructor_versioned
(proxy=proxy@entry=0x560214622f30, opcode=opcode@entry=1,
args=args@entry=0x7ffccff45810, interface=interface@entry=0x7f2bdbe79500
<wl_subsurface_interface>, version=<optimized out>) at src/wayland-client.c:744
#10 0x00007f2be3228289 in wl_proxy_marshal_array_constructor
(proxy=proxy@entry=0x560214622f30, opcode=opcode@entry=1,
args=args@entry=0x7ffccff45810, interface=interface@entry=0x7f2bdbe79500
<wl_subsurface_interface>) at src/wayland-client.c:690
#11 0x00007f2be3228387 in wl_proxy_marshal_constructor (proxy=0x560214622f30,
opcode=opcode@entry=1, interface=0x7f2bdbe79500 <wl_subsurface_interface>) at
src/wayland-client.c:824
#12 0x00007f2bdbdd2dbf in wl_subcompositor_get_subsurface (parent=<optimized
out>, surface=<optimized out>, wl_subcompositor=<optimized out>) at
../../include/QtWaylandClient/5.13.1/QtWaylandClient/private/../../../../../src/client/wayland-wayland-client-protocol.h:5399
#13 QtWayland::wl_subcompositor::get_subsurface
(this=this@entry=0x560214622f10, surface=<optimized out>, parent=<optimized
out>) at qwayland-wayland.cpp:2269
#14 0x00007f2bdbda83e7 in QtWaylandClient::QWaylandDisplay::createSubSurface
(this=<optimized out>, window=window@entry=0x5602148d97f0,
parent=parent@entry=0x560214bf9030) at
../../include/QtWaylandClient/5.13.1/QtWaylandClient/private/../../../../../src/client/qwayland-wayland.h:622
#15 0x00007f2bdbdb49e5 in QtWaylandClient::QWaylandWindow::initWindow
(this=0x5602148d97f0) at qwaylandwindow.cpp:128
#16 0x00007f2bdbdb4ffa in QtWaylandClient::QWaylandWindow::setVisible
(visible=true, this=0x5602148d97f0) at qwaylandwindow.cpp:397
#17 QtWaylandClient::QWaylandWindow::setVisible
(this=this@entry=0x5602148d97f0, visible=<optimized out>) at
qwaylandwindow.cpp:392
#18 0x00007f2bd973f3d4 in QtWaylandClient::QWaylandEglWindow::setVisible
(this=0x5602148d97f0, visible=<optimized out>) at
../../../../hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp:168
#19 0x00007f2be1c09544 in QWindowPrivate::setVisible (this=0x560214a29900,
visible=visible@entry=true) at kernel/qwindow.cpp:408
#20 0x00007f2be228f47d in QWidgetWindow::setNativeWindowVisibility
(this=this@entry=0x5602149e3030, visible=visible@entry=true) at
kernel/qwidgetwindow.cpp:205
#21 0x00007f2be2268d67 in QWidgetPrivate::show_sys
(this=this@entry=0x560214b87a20) at kernel/qwidget.cpp:8173
#22 0x00007f2be2271acb in QWidgetPrivate::show_helper (this=0x560214b87a20) at
kernel/qwidget.cpp:8096
#23 0x00007f2be22718f1 in QWidgetPrivate::show_recursive (this=<optimized out>)
at kernel/qwidget.cpp:7965
#24 0x00007f2be2271a2a in QWidgetPrivate::showChildren
(this=this@entry=0x560214c57180, spontaneous=spontaneous@entry=false) at
kernel/qwidget.h:131
#25 0x00007f2be2271a9f in QWidgetPrivate::show_helper
(this=this@entry=0x560214c57180) at kernel/qwidget.cpp:8041
#26 0x00007f2be2274bc3 in QWidgetPrivate::setVisible (this=0x560214c57180,
visible=<optimized out>) at kernel/qwidget.cpp:8398
#27 0x00007f2be2258f64 in QStackedLayout::setCurrentIndex (this=0x5602147126c0,
index=1) at kernel/qstackedlayout.cpp:321
#28 0x00007f2be2259209 in QStackedLayout::setCurrentWidget
(this=0x5602147126c0, widget=widget@entry=0x560214962360) at
kernel/qstackedlayout.cpp:376
#29 0x00007f2be23e47a5 in QStackedWidget::setCurrentWidget (this=<optimized
out>, widget=0x560214962360) at widgets/qstackedwidget.cpp:248
#30 0x0000560214027e0b in Gwenview::MainWindow::setActiveViewModeAction
(this=0x5602146b9630, action=<optimized out>) at
/usr/src/debug/gwenview5-19.08.1-1.2.x86_64/app/mainwindow.cpp:1002
#31 0x00007f2be1611638 in QtPrivate::QSlotObjectBase::call (a=0x7ffccff45ff0,
r=0x5602146b9630, this=0x5602149c9470) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#32 QMetaObject::activate (sender=0x5602149c94f0, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=<optimized out>) at
kernel/qobject.cpp:3789
#33 0x00007f2be223000f in QActionGroup::triggered (this=<optimized out>,
_t1=<optimized out>) at .moc/moc_qactiongroup.cpp:247
#34 0x00007f2be22301f8 in QActionGroupPrivate::_q_actionTriggered
(this=<optimized out>) at kernel/qactiongroup.cpp:91
#35 0x00007f2be2230ad2 in QActionGroup::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
kernel/qactiongroup.h:56
#36 0x00007f2be16114d8 in QMetaObject::activate (sender=0x5602149cf0b0,
signalOffset=<optimized out>, local_signal_index=<optimized out>,
argv=<optimized out>) at kernel/qobject.cpp:3809
#37 0x00007f2be222c852 in QAction::triggered (this=this@entry=0x5602149cf0b0,
_t1=<optimized out>) at .moc/moc_qaction.cpp:381
#38 0x00007f2be222ef22 in QAction::activate (this=0x5602149cf0b0,
event=<optimized out>) at kernel/qaction.cpp:1166
#39 0x0000560214026dc2 in QAction::trigger (this=<optimized out>) at
/usr/include/qt5/QtWidgets/qaction.h:187
#40 Gwenview::MainWindow::toggleSlideShow (this=0x5602146b9630) at
/usr/src/debug/gwenview5-19.08.1-1.2.x86_64/app/mainwindow.cpp:1480
#41 0x0000560213ffaf8c in Gwenview::MainWindow::qt_static_metacall
(_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized
out>) at
/usr/src/debug/gwenview5-19.08.1-1.2.x86_64/build/app/gwenview_autogen/EWIEGA46WW/moc_mainwindow.cpp:221
#42 0x00007f2be16114d8 in QMetaObject::activate (sender=0x560214b91fb0,
signalOffset=<optimized out>, local_signal_index=<optimized out>,
argv=<optimized out>) at kernel/qobject.cpp:3809
#43 0x00007f2be222c852 in QAction::triggered (this=this@entry=0x560214b91fb0,
_t1=<optimized out>) at .moc/moc_qaction.cpp:381
#44 0x00007f2be222ef22 in QAction::activate (this=0x560214b91fb0,
event=<optimized out>) at kernel/qaction.cpp:1166
#45 0x00007f2be222f7bf in QAction::event (e=<optimized out>, this=<optimized
out>) at kernel/qaction.cpp:1092
#46 QAction::event (this=<optimized out>, e=<optimized out>) at
kernel/qaction.cpp:1081
#47 0x00007f2be2232c62 in QApplicationPrivate::notify_helper
(this=this@entry=0x5602146134a0, receiver=receiver@entry=0x560214b91fb0,
e=e@entry=0x7ffccff466a0) at kernel/qapplication.cpp:3703
#48 0x00007f2be223c1e0 in QApplication::notify (this=0x7ffccff46c00,
receiver=0x560214b91fb0, e=0x7ffccff466a0) at kernel/qapplication.cpp:3449
#49 0x00007f2be15e6572 in QCoreApplication::notifyInternal2
(receiver=0x560214b91fb0, event=0x7ffccff466a0) at
../../include/QtCore/../../src/corelib/kernel/qobject.h:143
#50 0x00007f2be1c289ae in QShortcutMap::dispatchEvent
(this=this@entry=0x560214613580, e=e@entry=0x7ffccff46750) at
kernel/qshortcutmap.cpp:700
#51 0x00007f2be1c28a8b in QShortcutMap::tryShortcut
(this=this@entry=0x560214613580, e=e@entry=0x7ffccff46750) at
kernel/qshortcutmap.cpp:351
#52 0x00007f2be1bde4fe in QWindowSystemInterface::handleShortcutEvent
(window=<optimized out>, window@entry=0x5602149faba0, timestamp=20678212,
keyCode=32, modifiers=..., nativeScanCode=65, nativeVirtualKey=32,
nativeModifiers=0, text=..., autorepeat=false, count=1) at
kernel/qwindowsysteminterface.cpp:465
#53 0x00007f2be1bfae4d in QGuiApplicationPrivate::processKeyEvent
(e=e@entry=0x56022bdc9170) at kernel/qguiapplication.cpp:2216
#54 0x00007f2be1c00271 in QGuiApplicationPrivate::processWindowSystemEvent
(e=e@entry=0x56022bdc9170) at kernel/qguiapplication.cpp:1852
#55 0x00007f2be1bdb25b in QWindowSystemInterface::sendWindowSystemEvents
(flags=...) at kernel/qwindowsysteminterface.cpp:1148
#56 0x00007f2bdbde2230 in userEventSourceDispatch (source=<optimized out>) at
qeventdispatcher_glib.cpp:74
#57 0x00007f2bdef866b3 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#58 0x00007f2bdef88460 in ?? () from /usr/lib64/libglib-2.0.so.0
#59 0x00007f2bdef8849f in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#60 0x00007f2be163c981 in QEventDispatcherGlib::processEvents
(this=0x560214642130, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#61 0x00007f2be15e50db in QEventLoop::exec (this=this@entry=0x7ffccff46b00,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#62 0x00007f2be15ecd42 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#63 0x0000560213ff908d in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/gwenview5-19.08.1-1.2.x86_64/app/main.cpp:163
[Inferior 1 (process 12830) detached]

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

Possible duplicates by query: bug 410083, bug 381034, bug 381033.

Reported using DrKonqi

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

Reply via email to