Bug 439146 - Gwenview instantly crashes when resizing or cropping an image
Summary: Gwenview instantly crashes when resizing or cropping an image
Status: RESOLVED DUPLICATE of bug 417218
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 21.04.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-06-25 08:51 UTC by Max
Modified: 2022-09-20 20:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (3.93 KB, text/plain)
2022-08-19 20:00 UTC, Mário Oravec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Max 2021-06-25 08:51:49 UTC
Application: gwenview (21.04.2)

Qt Version: 5.15.2
Frameworks Version: 5.83.0
Operating System: Linux 5.12.12-1-default x86_64
Windowing System: X11
Drkonqi Version: 5.22.1
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:

* Open an image (JPG or PNG, I've tried with various images from various sources)
* Attempt to crop or resize the image

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f7c6a18ca40 (LWP 7653))]
[KCrash Handler]
#6  std::__atomic_base<QObjectPrivate::SignalVector*>::load (__m=std::memory_order_relaxed, this=0x454545454545454d) at /usr/include/c++/11/bits/atomic_base.h:836
#7  std::atomic<QObjectPrivate::SignalVector*>::load (__m=std::memory_order_relaxed, this=0x454545454545454d) at /usr/include/c++/11/atomic:570
#8  QAtomicOps<QObjectPrivate::SignalVector*>::loadRelaxed<QObjectPrivate::SignalVector*> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#9  QBasicAtomicPointer<QObjectPrivate::SignalVector>::loadRelaxed (this=0x454545454545454d) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:248
#10 QObjectPrivate::isSignalConnected (this=this@entry=0x5637f5bb4e20, signalIndex=7, checkDeclarative=checkDeclarative@entry=true) at kernel/qobject.cpp:459
#11 0x00007f7c6dc2c1fc in QVariantAnimationPrivate::setCurrentValueForProgress (this=0x5637f5bb4e20, progress=<optimized out>) at animation/qvariantanimation.cpp:291
#12 0x00007f7c6dc29493 in QAbstractAnimation::setCurrentTime (this=0x5637f5ed6a50, msecs=17) at animation/qabstractanimation.cpp:1326
#13 0x00007f7c6dc295d4 in QAnimationTimer::updateAnimationsTime (this=0x5637f5ef2e70, delta=17) at animation/qabstractanimation.cpp:608
#14 0x00007f7c6dc27f0b in QUnifiedTimer::updateAnimationTimers (this=0x5637f5b33670, currentTick=<optimized out>) at animation/qabstractanimation.cpp:324
#15 0x00007f7c6dc29c1d in QAnimationDriver::advanceAnimation (this=<optimized out>, timeStep=-1) at animation/qabstractanimation.cpp:823
#16 0x00007f7c6de52fbf in QObject::event (this=0x5637f5b33688, e=0x7ffe5804c700) at kernel/qobject.cpp:1336
#17 0x00007f7c6ebaaa5f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5637f5b33688, e=0x7ffe5804c700) at kernel/qapplication.cpp:3632
#18 0x00007f7c6de26aaa in QCoreApplication::notifyInternal2 (receiver=0x5637f5b33688, event=0x7ffe5804c700) at kernel/qcoreapplication.cpp:1063
#19 0x00007f7c6de7d48b in QTimerInfoList::activateTimers (this=this@entry=0x5637f58d9810) at kernel/qtimerinfo_unix.cpp:643
#20 0x00007f7c6de7dd34 in timerSourceDispatch (source=source@entry=0x5637f58d97b0) at kernel/qeventdispatcher_glib.cpp:183
#21 0x00007f7c6b7b080f in g_main_dispatch (context=0x5637f579f720) at ../glib/gmain.c:3337
#22 g_main_context_dispatch (context=0x5637f579f720) at ../glib/gmain.c:4055
#23 0x00007f7c6b7b0b98 in g_main_context_iterate (context=context@entry=0x5637f579f720, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#24 0x00007f7c6b7b0c4f in g_main_context_iteration (context=0x5637f579f720, may_block=1) at ../glib/gmain.c:4196
#25 0x00007f7c6de7e0f4 in QEventDispatcherGlib::processEvents (this=0x5637f58caac0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#26 0x00007f7c6de254bb in QEventLoop::exec (this=this@entry=0x7ffe5804c940, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#27 0x00007f7c6de2d790 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#28 0x00007f7c6e44c1fc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#29 0x00007f7c6ebaa9d5 in QApplication::exec () at kernel/qapplication.cpp:2824
#30 0x00005637f56b22f3 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/gwenview5-21.04.2-1.1.x86_64/app/main.cpp:202
[Inferior 1 (process 7653) detached]

Reported using DrKonqi
Comment 1 Paul Worrall 2021-06-25 12:06:19 UTC
Duplicate of bug 438633 ?

FWIW I can't reproduce on my system using same versions of gwenview & frameworks, and Qt 5.15.3.  Tried on X11 and Wayland.

Maybe specific to openSUSE?

Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.2
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.3
Kernel Version: 5.8.0-59-generic (64-bit)
Graphics Platform: Wayland
Processors: 2 × AMD A6-6400K APU with Radeon(tm) HD Graphics
Memory: 7.7 GiB of RAM
Graphics Processor: AMD CEDAR
Comment 2 Mário Oravec 2022-08-19 20:00:36 UTC
Created attachment 151435 [details]
New crash information added by DrKonqi

gwenview (21.12.3) using Qt 5.15.2

- What I was doing when the application crashed:

- crop picture

as well tried
- resize picture

on any of that action app had crashed

-- Backtrace (Reduced):
#4  std::__atomic_base<QObjectPrivate::SignalVector*>::load (__m=std::memory_order_relaxed, this=0x454545454545454d) at /usr/include/c++/7/bits/atomic_base.h:713
#5  std::atomic<QObjectPrivate::SignalVector*>::load (__m=std::memory_order_relaxed, this=0x454545454545454d) at /usr/include/c++/7/atomic:452
#6  QAtomicOps<QObjectPrivate::SignalVector*>::loadRelaxed<QObjectPrivate::SignalVector*> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#7  QBasicAtomicPointer<QObjectPrivate::SignalVector>::loadRelaxed (this=0x454545454545454d) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:248
#8  QObjectPrivate::isSignalConnected (this=this@entry=0x556e56af4ef0, signalIndex=7, checkDeclarative=checkDeclarative@entry=true) at kernel/qobject.cpp:459
Comment 3 Christophe Marin 2022-09-20 20:01:40 UTC

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