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

            Bug ID: 427780
           Summary: Crash when tagging images (not videos)
           Product: kphotoalbum
           Version: 5.7.0
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kpab...@willden.org
          Reporter: aseq...@gmail.com
  Target Milestone: ---

Application: kphotoalbum (5.7.0)

Qt Version: 5.15.0
Frameworks Version: 5.75.0
Operating System: Linux 5.4.0-51-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.20

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

I have reported some crashes when browsing videos, this time the crash happened
when opening an image


qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 9014, resource
id: 14680208, major code: 40 (TranslateCoords), minor code: 0
Warning: Directory NikonPreview has an unexpected next pointer; ignored.
Warning: Directory NikonPreview, entry 0x0201: Data area exceeds data buffer,
ignoring it.
Warning: Directory NikonPreview, entry 0x0000 has unknown Exif (TIFF) type 0;
setting type size 1.
Warning: Directory Minolta, entry 0x0088: Data area exceeds data buffer,
ignoring it.
Warning: Directory Minolta, entry 0x0088: Data area exceeds data buffer,
ignoring it.
Warning: Directory Canon has an unexpected next pointer; ignored.
Warning: Directory Canon has an unexpected next pointer; ignored.
Warning: Directory Canon has an unexpected next pointer; ignored.
Warning: Directory Canon has an unexpected next pointer; ignored.
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kphotoalbum path = /usr/bin pid = 1905

The crash can be reproduced sometimes.

-- Backtrace:
Application: KPhotoAlbum (kphotoalbum), signal: Segmentation fault

[New LWP 1907]
[New LWP 1908]
[New LWP 1909]
[New LWP 1910]
[New LWP 1911]
[New LWP 1940]
[New LWP 1941]
[New LWP 1942]
[New LWP 2214]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007ff7aeac1aff in __GI___poll (fds=0x7ffeaee97528, nfds=1, timeout=1000) at
../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7ff79bfa4180 (LWP 1905))]

Thread 10 (Thread 0x7ff7697fc700 (LWP 2214)):
#0  __GI___libc_read (nbytes=10, buf=0x7ff7697fb25e, fd=21) at
../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=21, buf=0x7ff7697fb25e, nbytes=10) at
../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007ff7a579c955 in pa_read () from
/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
#3  0x00007ff7ade85416 in pa_mainloop_prepare () from
/usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007ff7ade85eb4 in pa_mainloop_iterate () from
/usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007ff7ade85f70 in pa_mainloop_run () from
/usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007ff7ade9411d in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#7  0x00007ff7a57cb67c in ?? () from
/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
#8  0x00007ff7ae948609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#9  0x00007ff7aeace293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7ff7723fd700 (LWP 1942)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55c5d34eeba0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55c5d34eeb50,
cond=0x55c5d34eeb78) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55c5d34eeb78, mutex=0x55c5d34eeb50) at
pthread_cond_wait.c:638
#3  0x00007ff7aefbf10b in QWaitConditionPrivate::wait (deadline=...,
this=0x55c5d34eeb50) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x55c5d36af880,
deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007ff7aefbf1d1 in QWaitCondition::wait (this=this@entry=0x55c5d36af878,
mutex=mutex@entry=0x55c5d36af880, time=time@entry=18446744073709551615) at
../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#6  0x000055c5cc6e9f5a in ImageManager::AsyncLoader::next (this=0x55c5d36af850)
at ./ImageManager/AsyncLoader.cpp:186
#7  0x000055c5cc6e9656 in ImageManager::ImageLoaderThread::run
(this=0x55c5d3670030) at ./ImageManager/ImageLoaderThread.cpp:59
#8  0x00007ff7aefb920c in QThreadPrivate::start (arg=0x55c5d3670030) at
thread/qthread_unix.cpp:342
#9  0x00007ff7ae948609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#10 0x00007ff7aeace293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7ff773fff700 (LWP 1941)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55c5d34eeba0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55c5d34eeb50,
cond=0x55c5d34eeb78) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55c5d34eeb78, mutex=0x55c5d34eeb50) at
pthread_cond_wait.c:638
#3  0x00007ff7aefbf10b in QWaitConditionPrivate::wait (deadline=...,
this=0x55c5d34eeb50) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x55c5d36af880,
deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007ff7aefbf1d1 in QWaitCondition::wait (this=this@entry=0x55c5d36af878,
mutex=mutex@entry=0x55c5d36af880, time=time@entry=18446744073709551615) at
../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#6  0x000055c5cc6e9f5a in ImageManager::AsyncLoader::next (this=0x55c5d36af850)
at ./ImageManager/AsyncLoader.cpp:186
#7  0x000055c5cc6e9656 in ImageManager::ImageLoaderThread::run
(this=0x55c5d3a34d20) at ./ImageManager/ImageLoaderThread.cpp:59
#8  0x00007ff7aefb920c in QThreadPrivate::start (arg=0x55c5d3a34d20) at
thread/qthread_unix.cpp:342
#9  0x00007ff7ae948609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#10 0x00007ff7aeace293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7ff78b781700 (LWP 1940)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55c5d34eeba0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55c5d34eeb50,
cond=0x55c5d34eeb78) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55c5d34eeb78, mutex=0x55c5d34eeb50) at
pthread_cond_wait.c:638
#3  0x00007ff7aefbf10b in QWaitConditionPrivate::wait (deadline=...,
this=0x55c5d34eeb50) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x55c5d36af880,
deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007ff7aefbf1d1 in QWaitCondition::wait (this=this@entry=0x55c5d36af878,
mutex=mutex@entry=0x55c5d36af880, time=time@entry=18446744073709551615) at
../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#6  0x000055c5cc6e9f5a in ImageManager::AsyncLoader::next (this=0x55c5d36af850)
at ./ImageManager/AsyncLoader.cpp:186
#7  0x000055c5cc6e9656 in ImageManager::ImageLoaderThread::run
(this=0x55c5d3a34c90) at ./ImageManager/ImageLoaderThread.cpp:59
#8  0x00007ff7aefb920c in QThreadPrivate::start (arg=0x55c5d3a34c90) at
thread/qthread_unix.cpp:342
#9  0x00007ff7ae948609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#10 0x00007ff7aeace293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7ff791f38700 (LWP 1911)):
#0  0x00007ff7ad584368 in g_mutex_unlock () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ff7ad537169 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff7ad5372e3 in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff7af1f5eab in QEventDispatcherGlib::processEvents
(this=0x7ff774000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007ff7af19a1bb in QEventLoop::exec (this=this@entry=0x7ff791f373f0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007ff7aefb8082 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007ff7b03f7f2b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007ff7aefb920c in QThreadPrivate::start (arg=0x7ff7b047ad80) at
thread/qthread_unix.cpp:342
#8  0x00007ff7ae948609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#9  0x00007ff7aeace293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7ff7937fe700 (LWP 1910)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x7ff794005718) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7ff7940056c8,
cond=0x7ff7940056f0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7ff7940056f0, mutex=0x7ff7940056c8) at
pthread_cond_wait.c:638
#3  0x00007ff79967097b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007ff79967058b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007ff7ae948609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#6  0x00007ff7aeace293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7ff78bfff700 (LWP 1909)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x7ff794005718) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7ff7940056c8,
cond=0x7ff7940056f0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7ff7940056f0, mutex=0x7ff7940056c8) at
pthread_cond_wait.c:638
#3  0x00007ff79967097b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007ff79967058b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007ff7ae948609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#6  0x00007ff7aeace293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7ff793fff700 (LWP 1908)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x7ff794005718) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7ff7940056c8,
cond=0x7ff7940056f0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7ff7940056f0, mutex=0x7ff7940056c8) at
pthread_cond_wait.c:638
#3  0x00007ff79967097b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007ff79967058b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007ff7ae948609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#6  0x00007ff7aeace293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ff798ee7700 (LWP 1907)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x7ff794005718) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7ff7940056c8,
cond=0x7ff7940056f0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7ff7940056f0, mutex=0x7ff7940056c8) at
pthread_cond_wait.c:638
#3  0x00007ff79967097b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007ff79967058b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007ff7ae948609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#6  0x00007ff7aeace293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ff79bfa4180 (LWP 1905)):
[KCrash Handler]
#4  0x000055c5cc7d78b0 in
BackgroundJobs::HandleVideoThumbnailRequestJob::sendResult
(this=0x55c5d3b746b0, image=...) at
./BackgroundJobs/HandleVideoThumbnailRequestJob.cpp:106
#5  0x000055c5cc7d7aa7 in
BackgroundJobs::HandleVideoThumbnailRequestJob::frameLoaded
(this=this@entry=0x55c5d3b746b0, image=...) at
./BackgroundJobs/HandleVideoThumbnailRequestJob.cpp:72
#6  0x000055c5cc5d957d in
BackgroundJobs::HandleVideoThumbnailRequestJob::qt_static_metacall
(_o=0x55c5d3b746b0, _c=<optimized out>, _id=<optimized out>, _a=<optimized
out>) at
./obj-x86_64-linux-gnu/kphotoalbum_autogen/UHUIEV64BD/moc_HandleVideoThumbnailRequestJob.cpp:73
#7  0x00007ff7af1d25e0 in doActivate<false> (sender=0x55c5d45c3a20,
signal_index=3, argv=0x7ffeaee97f20) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#8  0x00007ff7af1cb977 in QMetaObject::activate
(sender=sender@entry=0x55c5d45c3a20, m=m@entry=0x55c5cc8981a0
<ImageManager::ExtractOneVideoFrame::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffeaee97f20)
at kernel/qobject.cpp:3946
#9  0x000055c5cc5ced26 in ImageManager::ExtractOneVideoFrame::result
(this=this@entry=0x55c5d45c3a20, _t1=...) at
./obj-x86_64-linux-gnu/kphotoalbum_autogen/NAEE7Z5ID4/moc_ExtractOneVideoFrame.cpp:144
#10 0x000055c5cc6fd2c4 in ImageManager::ExtractOneVideoFrame::frameFetched
(this=0x55c5d45c3a20) at ./ImageManager/ExtractOneVideoFrame.cpp:98
#11 0x00007ff7af1d25ae in QtPrivate::QSlotObjectBase::call (a=0x7ffeaee980e0,
r=0x55c5d45c3a20, this=0x55c5d3fb6a80) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#12 doActivate<false> (sender=0x55c5d46bae40, signal_index=11,
argv=0x7ffeaee980e0) at kernel/qobject.cpp:3886
#13 0x00007ff7af1cb977 in QMetaObject::activate
(sender=sender@entry=0x55c5d46bae40, m=m@entry=0x7ff7af480780
<QProcess::staticMetaObject>, local_signal_index=local_signal_index@entry=2,
argv=argv@entry=0x7ffeaee980e0) at kernel/qobject.cpp:3946
#14 0x00007ff7af10a65c in QProcess::finished (this=this@entry=0x55c5d46bae40,
_t1=<optimized out>, _t2=<optimized out>) at .moc/moc_qprocess.cpp:339
#15 0x00007ff7af113e9f in QProcessPrivate::_q_processDied (this=0x7ff79400fb10)
at io/qprocess.cpp:1184
#16 0x00007ff7af114082 in QProcess::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=0x7ffeaee98280) at
io/qprocess.h:318
#17 0x00007ff7af1d25e0 in doActivate<false> (sender=0x55c5d46d8a10,
signal_index=3, argv=0x7ffeaee98280) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#18 0x00007ff7af1cb977 in QMetaObject::activate
(sender=sender@entry=0x55c5d46d8a10, m=m@entry=0x7ff7af482b60
<QSocketNotifier::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffeaee98280)
at kernel/qobject.cpp:3946
#19 0x00007ff7af1d6623 in QSocketNotifier::activated
(this=this@entry=0x55c5d46d8a10, _t1=..., _t2=<optimized out>, _t3=...) at
.moc/moc_qsocketnotifier.cpp:178
#20 0x00007ff7af1d6dc3 in QSocketNotifier::event (this=0x55c5d46d8a10,
e=0x7ffeaee98550) at kernel/qsocketnotifier.cpp:302
#21 0x00007ff7afcd4cc3 in QApplicationPrivate::notify_helper
(this=this@entry=0x55c5cdeb1db0, receiver=receiver@entry=0x55c5d46d8a10,
e=e@entry=0x7ffeaee98550) at kernel/qapplication.cpp:3671
#22 0x00007ff7afcddc70 in QApplication::notify (this=0x7ffeaee98840,
receiver=0x55c5d46d8a10, e=0x7ffeaee98550) at kernel/qapplication.cpp:3417
#23 0x00007ff7af19b6aa in QCoreApplication::notifyInternal2
(receiver=0x55c5d46d8a10, event=0x7ffeaee98550) at
../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#24 0x00007ff7af1f6a95 in socketNotifierSourceDispatch (source=0x55c5cdf61810)
at kernel/qeventdispatcher_glib.cpp:107
#25 0x00007ff7ad536fbd in g_main_context_dispatch () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007ff7ad537240 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007ff7ad5372e3 in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007ff7af1f5eab in QEventDispatcherGlib::processEvents
(this=0x55c5cdf65870, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#29 0x00007ff7af19a1bb in QEventLoop::exec (this=this@entry=0x7ffeaee98760,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#30 0x00007ff7af1a2354 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#31 0x000055c5cc5cb9cc in main (argc=<optimized out>, argv=<optimized out>) at
./main.cpp:158
[Inferior 1 (process 1905) detached]

Possible duplicates by query: bug 423811, bug 422555.

Reported using DrKonqi

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

Reply via email to