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

Pedro <pe...@outlook.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pe...@outlook.com
     Ever confirmed|0                           |1
             Status|REPORTED                    |CONFIRMED

--- Comment #1 from Pedro <pe...@outlook.com> ---
I can reproduce this issue in a more recent version of Gwenview, but it doesn’t
seem consistent and the backtrace looks different. Here I list the steps I
follow but I don’t know what conditions are important.

Procedure
- Open a directory with Gwenview.
    - The directory has 72 images from 7MB to 11MB, but I've been able to
replicate it with smaller images.
- Display the images in the `Browse` view
- Set the zoom so the vertical scrollbar is about half the window.
- Select the last visible image with the vertical scrollbar all to the top
- Start deleting images from the the selected image to the first one. Move
using the arrow keys.
- Repeat delete process if the app doesn’t crash
    - I've seen it crash at the 6th deleted image but sometimes it takes more
than 20 deleted images, or even it doesn't happen and I need to copy the images
and try again.


Software
  Operating System: TUXEDO OS 
  KDE Plasma Version: 6.2.5
  KDE Frameworks Version: 6.10.0
  Qt Version: 6.8.1
  Kernel Version: 6.11.0-108014-tuxedo (64-bit)
  Graphics Platform: Wayland


Backtrace

Application: Gwenview (gwenview), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized
out>}
[KCrash Handler]
#4  0x000076b8584b9e10 in Gwenview::Document::setExiv2Image (this=0x5cb686641,
image=std::unique_ptr<Exiv2::Image> = {...}) at
/usr/src/gwenview-4:24.12.1-0zneon+24.04+noble+release+build15/lib/document/document.cpp:392
#5  0x000076b8584c17c3 in Gwenview::AbstractDocumentImpl::setDocumentExiv2Image
(this=0x5cb6866867c0, image=std::unique_ptr<Exiv2::Image> = {...}) at
/usr/src/gwenview-4:24.12.1-0zneon+24.04+noble+release+build15/lib/document/abstractdocumentimpl.cpp:81
#6  Gwenview::LoadingDocumentImpl::slotMetaInfoLoaded (this=0x5cb6866867c0) at
/usr/src/gwenview-4:24.12.1-0zneon+24.04+noble+release+build15/lib/document/loadingdocumentimpl.cpp:488
#7  0x000076b85607ada9 in QtPrivate::QSlotObjectBase::call (a=0x7ffcc58908f8,
r=<optimized out>, this=0x5cb686631950, this=<optimized out>, r=<optimized
out>, a=<optimized out>) at
/usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/kernel/qobjectdefs_impl.h:486
#8  doActivate<false> (sender=0x5cb685d89298, signal_index=4,
argv=0x7ffcc58908f8) at
/usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/kernel/qobject.cpp:4124
#9  0x000076b855eac648 in QFutureWatcherBasePrivate::sendCallOutEvent
(event=0x76b7e804f010, this=0x5cb685e58360) at
/usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/thread/qfuturewatcher.cpp:493
#10 QFutureWatcherBase::event (this=<optimized out>, event=0x76b7e804f010) at
/usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/thread/qfuturewatcher.cpp:392
#11 0x000076b8571fff48 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x5cb685d89298, e=0x76b7e804f010) at
/usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/widgets/kernel/qapplication.cpp:3296
#12 0x000076b8560b5718 in QCoreApplication::notifyInternal2
(receiver=0x5cb685d89298, event=0x76b7e804f010) at
/usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/kernel/qcoreapplication.cpp:1168
#13 0x000076b8560b575d in QCoreApplication::sendEvent (receiver=<optimized
out>, event=<optimized out>) at
/usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/kernel/qcoreapplication.cpp:1612
#14 0x000076b8560b8242 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x5cb685327d00) at
/usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/kernel/qcoreapplication.cpp:1968
#15 0x000076b855e725cf in postEventSourceDispatch (s=s@entry=0x5cb68535fa20) at
/usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#16 0x000076b853f9e5b5 in g_main_dispatch (context=0x76b848000f30) at
../../../glib/gmain.c:3344
#17 0x000076b853ffd717 in g_main_context_dispatch_unlocked
(context=0x76b848000f30) at ../../../glib/gmain.c:4152
#18 g_main_context_iterate_unlocked.isra.0
(context=context@entry=0x76b848000f30, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4217
#19 0x000076b853f9da53 in g_main_context_iteration (context=0x76b848000f30,
may_block=1) at ../../../glib/gmain.c:4282
#20 0x000076b855e702cf in QEventDispatcherGlib::processEvents
(this=0x5cb6852e9910, flags=...) at
/usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#21 0x000076b8560c1aeb in QEventLoop::exec (this=0x7ffcc5890d60, flags=...) at
/usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/global/qflags.h:34
#22 0x000076b8560b8c2d in QCoreApplication::exec () at
/usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/global/qflags.h:74
#23 0x000076b8564d6fbd in QGuiApplication::exec () at
/usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/gui/kernel/qguiapplication.cpp:1975
#24 0x000076b8571f9069 in QApplication::exec () at
/usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/widgets/kernel/qapplication.cpp:2564
#25 0x00005cb679a3fae5 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/gwenview-4:24.12.1-0zneon+24.04+noble+release+build15/app/main.cpp:221
[Inferior 1 (process 30581) detached]

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

Reply via email to