Bug 471973

Summary: gwenview crashes immediately after startup
Product: [Applications] gwenview Reporter: hardpenguin13
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: mircomir, nicolas.fella
Priority: NOR Keywords: drkonqi
Version: 23.04.2   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description hardpenguin13 2023-07-05 12:17:33 UTC
Application: gwenview (23.04.2)

Qt Version: 5.15.8
Frameworks Version: 5.107.0
Operating System: Linux 6.3.0-2-amd64 x86_64
Windowing System: X11
Distribution: Debian GNU/Linux trixie/sid
DrKonqi: 5.27.5 [CoredumpBackend]

-- Information about the crash:
Happens every time, regardless whether I am opening a file from Dolphin or simply want to start gwenview via command line.

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Aborted

           PID: 30235 (gwenview)
           UID: 1000 (van)
           GID: 1000 (van)
        Signal: 6 (ABRT)
     Timestamp: Wed 2023-07-05 14:08:01 CEST (34s ago)
  Command Line: /usr/bin/gwenview /home/van/Pobrane/FAXTtPpXMAUN-QC.png
    Executable: /usr/bin/gwenview
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.gwenview-8962390c74b54e1ca31c3fa51ea372de.scope
          Unit: user@1000.service
     User Unit: app-org.kde.gwenview-8962390c74b54e1ca31c3fa51ea372de.scope
         Slice: user-1000.slice
     Owner UID: 1000 (van)
       Boot ID: de43ecce7fee45fc96a895eaca2951b9
    Machine ID: 899a70cca01f4c7696b6648827a00555
      Hostname: locke
       Storage: /var/lib/systemd/coredump/core.gwenview.1000.de43ecce7fee45fc96a895eaca2951b9.30235.1688558881000000.zst (present)
  Size on Disk: 2.4M
       Message: Process 30235 (gwenview) of user 1000 dumped core.
                
                Module libsystemd.so.0 from deb systemd-253.5-1.amd64
                Module libudev.so.1 from deb systemd-253.5-1.amd64
                Stack trace of thread 30235:
                #0  0x00007f230daa80fc __pthread_kill_implementation (libc.so.6 + 0x8a0fc)
                #1  0x00007f230da5a472 __GI_raise (libc.so.6 + 0x3c472)
                #2  0x00007f230de5eb46 _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x5b46)
                #3  0x00007f230da5a510 __restore_rt (libc.so.6 + 0x3c510)
                #4  0x00007f230daa80fc __pthread_kill_implementation (libc.so.6 + 0x8a0fc)
                #5  0x00007f230da5a472 __GI_raise (libc.so.6 + 0x3c472)
                #6  0x00007f230da444b2 __GI_abort (libc.so.6 + 0x264b2)
                #7  0x00007f230da451ed __libc_message (libc.so.6 + 0x271ed)
                #8  0x00007f230dab1a75 malloc_printerr (libc.so.6 + 0x93a75)
                #9  0x00007f230dab37f4 _int_free (libc.so.6 + 0x957f4)
                #10 0x00007f230dab616f __GI___libc_free (libc.so.6 + 0x9816f)
                #11 0x00007f230b982792 _ZN6LibRawD1Ev (libraw.so.23 + 0x9d792)
                #12 0x00007f230b9827e9 _ZN6LibRawD0Ev (libraw.so.23 + 0x9d7e9)
                #13 0x00007f23043606ea n/a (kimg_raw.so + 0xa6ea)
                #14 0x00007f230436090c n/a (kimg_raw.so + 0xa90c)
                #15 0x00007f230e7a9f94 n/a (libQt5Gui.so.5 + 0x1a9f94)
                #16 0x00007f230e7aaf86 n/a (libQt5Gui.so.5 + 0x1aaf86)
                #17 0x00007f230e7aba6c _ZNK12QImageReader7canReadEv (libQt5Gui.so.5 + 0x1aba6c)
                #18 0x00007f230fc03cd2 n/a (libKF5IconThemes.so.5 + 0x2bcd2)
                #19 0x00007f230fc04bc7 _ZNK11KIconLoader14loadScaledIconERK7QStringNS_5GroupEdRK5QSizeiRK11QStringListPS0_bRKSt8optionalI11KIconColorsE (libKF5IconThemes.so.5 + 0x2cbc7)
                #20 0x00007f230fbfa253 _ZN11KIconEngine12createPixmapERK5QSizedN5QIcon4ModeENS3_5StateE (libKF5IconThemes.so.5 + 0x22253)
                #21 0x00007f230fbfa675 _ZN11KIconEngine6pixmapERK5QSizeN5QIcon4ModeENS3_5StateE (libKF5IconThemes.so.5 + 0x22675)
                #22 0x00007f230e7ccbc4 _ZNK5QIcon6pixmapEP7QWindowRK5QSizeNS_4ModeENS_5StateE (libQt5Gui.so.5 + 0x1ccbc4)
                #23 0x00007f230e7cccce _ZNK5QIcon6pixmapERK5QSizeNS_4ModeENS_5StateE (libQt5Gui.so.5 + 0x1cccce)
                #24 0x00005568a1302b8d n/a (gwenview + 0x7cb8d)
                #25 0x00005568a130170d n/a (gwenview + 0x7b70d)
                #26 0x00005568a12f943b n/a (gwenview + 0x7343b)
                #27 0x00005568a12f7a56 n/a (gwenview + 0x71a56)
                #28 0x00005568a12ee50e n/a (gwenview + 0x6850e)
                #29 0x00005568a12c157d n/a (gwenview + 0x3b57d)
                #30 0x00007f230da456ca __libc_start_call_main (libc.so.6 + 0x276ca)
                #31 0x00007f230da45785 __libc_start_main_impl (libc.so.6 + 0x27785)
                #32 0x00005568a12c16c1 n/a (gwenview + 0x3b6c1)
                
                Stack trace of thread 30237:
                #0  0x00007f230c37d6f0 n/a (libglib-2.0.so.0 + 0x526f0)
                #1  0x00007f230c37ee0b g_main_context_prepare (libglib-2.0.so.0 + 0x53e0b)
                #2  0x00007f230c37f8e3 n/a (libglib-2.0.so.0 + 0x548e3)
                #3  0x00007f230c37facc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc)
                #4  0x00007f230e30984e _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x30984e)
                #5  0x00007f230e2b017b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b017b)
                #6  0x00007f230e0cab87 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcab87)
                #7  0x00007f230ed86487 n/a (libQt5DBus.so.5 + 0x17487)
                #8  0x00007f230e0cbd43 n/a (libQt5Core.so.5 + 0xcbd43)
                #9  0x00007f230daa63ec start_thread (libc.so.6 + 0x883ec)
                #10 0x00007f230db26a1c __clone3 (libc.so.6 + 0x108a1c)
                
                Stack trace of thread 30238:
                #0  0x00007f230daa3156 __futex_abstimed_wait_common64 (libc.so.6 + 0x85156)
                #1  0x00007f230daa5818 __pthread_cond_wait_common (libc.so.6 + 0x87818)
                #2  0x00007f230e0d1a2b _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd1a2b)
                #3  0x00007f231059e095 n/a (libgwenviewlib.so.5 + 0x107095)
                #4  0x00007f230e0cbd43 n/a (libQt5Core.so.5 + 0xcbd43)
                #5  0x00007f230daa63ec start_thread (libc.so.6 + 0x883ec)
                #6  0x00007f230db26a1c __clone3 (libc.so.6 + 0x108a1c)
                
                Stack trace of thread 30236:
                #0  0x00007f230db199ef __GI___poll (libc.so.6 + 0xfb9ef)
                #1  0x00007f230bde4d12 n/a (libxcb.so.1 + 0xcd12)
                #2  0x00007f230bde707a xcb_wait_for_event (libxcb.so.1 + 0xf07a)
                #3  0x00007f2307afaf00 n/a (libQt5XcbQpa.so.5 + 0x6cf00)
                #4  0x00007f230e0cbd43 n/a (libQt5Core.so.5 + 0xcbd43)
                #5  0x00007f230daa63ec start_thread (libc.so.6 + 0x883ec)
                #6  0x00007f230db26a1c __clone3 (libc.so.6 + 0x108a1c)
                ELF object binary architecture: AMD x86-64

[New LWP 30235]
[New LWP 30237]
[New LWP 30238]
[New LWP 30236]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/gwenview /home/van/Pobrane/FAXTtPpXMAUN-QC.png'.
Program terminated with signal SIGABRT, Aborted.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
[Current thread is 1 (Thread 0x7f2308031400 (LWP 30235))]
[Current thread is 1 (Thread 0x7f2308031400 (LWP 30235))]

Thread 4 (Thread 0x7f23077ff6c0 (LWP 30236)):
#0  0x00007f230db199ef in __GI___poll (fds=0x7f23077fe848, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f230bde4d12 in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f230bde707a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f2307afaf00 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f230e0cbd43 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f230daa63ec in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444
#6  0x00007f230db26a1c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7f22f77ff6c0 (LWP 30238)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x5568a1dcfa10) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x5568a1dcfa10, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007f230daa31bb in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5568a1dcfa10, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f230daa5818 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5568a1dcf9c0, cond=0x5568a1dcf9e8) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x5568a1dcf9e8, mutex=0x5568a1dcf9c0) at ./nptl/pthread_cond_wait.c:618
#5  0x00007f230e0d1a2b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f231059e095 in ?? () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#7  0x00007f230e0cbd43 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f230daa63ec in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444
#9  0x00007f230db26a1c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7f230686a6c0 (LWP 30237)):
#0  0x00007f230c37d6f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f230c37ee0b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f230c37f8e3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f230c37facc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f230e30984e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f230e2b017b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f230e0cab87 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f230ed86487 in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f230e0cbd43 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f230daa63ec in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444
#10 0x00007f230db26a1c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7f2308031400 (LWP 30235)):
[KCrash Handler]
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
#6  0x00007f230daa815f in __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#7  0x00007f230da5a472 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f230da444b2 in __GI_abort () at ./stdlib/abort.c:79
#9  0x00007f230da451ed in __libc_message (fmt=fmt@entry=0x7f230dbb778c "%s\n") at ../sysdeps/posix/libc_fatal.c:150
#10 0x00007f230dab1a75 in malloc_printerr (str=str@entry=0x7f230dbb522c "free(): invalid pointer") at ./malloc/malloc.c:5651
#11 0x00007f230dab37f4 in _int_free (av=<optimized out>, p=<optimized out>, have_lock=have_lock@entry=0) at ./malloc/malloc.c:4425
#12 0x00007f230dab616f in __GI___libc_free (mem=<optimized out>) at ./malloc/malloc.c:3367
#13 0x00007f230b982792 in LibRaw::~LibRaw() () from /lib/x86_64-linux-gnu/libraw.so.23
#14 0x00007f230b9827e9 in LibRaw::~LibRaw() () from /lib/x86_64-linux-gnu/libraw.so.23
#15 0x00007f23043606ea in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/imageformats/kimg_raw.so
#16 0x00007f230436090c in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/imageformats/kimg_raw.so
#17 0x00007f230e7a9f94 in ?? () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#18 0x00007f230e7aaf86 in ?? () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#19 0x00007f230e7aba6c in QImageReader::canRead() const () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#20 0x00007f230fc03cd2 in ?? () from /lib/x86_64-linux-gnu/libKF5IconThemes.so.5
#21 0x00007f230fc04bc7 in KIconLoader::loadScaledIcon(QString const&, KIconLoader::Group, double, QSize const&, int, QStringList const&, QString*, bool, std::optional<KIconColors> const&) const () from /lib/x86_64-linux-gnu/libKF5IconThemes.so.5
#22 0x00007f230fbfa253 in KIconEngine::createPixmap(QSize const&, double, QIcon::Mode, QIcon::State) () from /lib/x86_64-linux-gnu/libKF5IconThemes.so.5
#23 0x00007f230fbfa675 in KIconEngine::pixmap(QSize const&, QIcon::Mode, QIcon::State) () from /lib/x86_64-linux-gnu/libKF5IconThemes.so.5
#24 0x00007f230e7ccbc4 in QIcon::pixmap(QWindow*, QSize const&, QIcon::Mode, QIcon::State) const () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#25 0x00007f230e7cccce in QIcon::pixmap(QSize const&, QIcon::Mode, QIcon::State) const () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#26 0x00005568a1302b8d in ?? ()
#27 0x00005568a130170d in ?? ()
#28 0x00005568a12f943b in ?? ()
#29 0x00005568a12f7a56 in ?? ()
#30 0x00005568a12ee50e in ?? ()
#31 0x00005568a12c157d in ?? ()
#32 0x00007f230da456ca in __libc_start_call_main (main=main@entry=0x5568a12c1070, argc=argc@entry=2, argv=argv@entry=0x7fff302456b8) at ../sysdeps/nptl/libc_start_call_main.h:58
#33 0x00007f230da45785 in __libc_start_main_impl (main=0x5568a12c1070, argc=2, argv=0x7fff302456b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff302456a8) at ../csu/libc-start.c:360
#34 0x00005568a12c16c1 in ?? ()

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

Reported using DrKonqi
Comment 1 Nicolas Fella 2023-07-05 12:54:24 UTC

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