Bug 483336 - korganizer crash on close
Summary: korganizer crash on close
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi, qt6
Depends on:
Blocks:
 
Reported: 2024-03-12 12:44 UTC by Nicolas
Modified: 2024-03-12 20:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 24.02.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas 2024-03-12 12:44:30 UTC
Application: korganizer (6.0.0 (24.02.0))

Qt Version: 6.6.2
Frameworks Version: 6.0.0
Operating System: Linux 6.5.0-25-generic x86_64
Windowing System: X11
Distribution: KDE neon 6.0
DrKonqi: 6.0.0 [CoredumpBackend]

-- Information about the crash:
Closing korganizer crashed it. Otherwise no more information to add

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: KOrganizer (korganizer), signal: Segmentation fault

[New LWP 459989]
[New LWP 459990]
[New LWP 459991]
[New LWP 460001]
[New LWP 464796]
[New LWP 460003]
[New LWP 480164]
[New LWP 480162]
[New LWP 480166]
[New LWP 480168]
[New LWP 480163]
[New LWP 480165]
[New LWP 480167]
[New LWP 480169]

This GDB supports auto-downloading debuginfo from the following URLs:
https://debuginfod.neon.kde.org/:
Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[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/korganizer'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __pthread_kill_implementation (no_tid=0, signo=11, threadid=133554699170816) at ./nptl/pthread_kill.c:44
[Current thread is 1 (Thread 0x7977a066f400 (LWP 459989))]
Cannot QML trace cores :(
[Current thread is 1 (Thread 0x7977a066f400 (LWP 459989))]

Thread 14 (Thread 0x79777d096640 (LWP 480169)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x79777d0955b0, op=137, expected=0, futex_word=0x55d465144620) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x79777d0955b0, clockid=560, expected=0, futex_word=0x55d465144620) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55d465144620, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x79777d0955b0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007977b4594e9b in __pthread_cond_wait_common (abstime=0x79777d0955b0, clockid=1, mutex=0x55d4651445d0, cond=0x55d4651445f8) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x55d4651445f8, mutex=0x55d4651445d0, abstime=0x79777d0955b0) at ./nptl/pthread_cond_wait.c:652
#5  0x00007977b4cdc037 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (deadline=..., this=0x55d4651445d0) at ./src/corelib/thread/qwaitcondition_unix.cpp:93
#6  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55d4651445d0) at ./src/corelib/thread/qwaitcondition_unix.cpp:101
#7  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55d4651a22b0, mutex=mutex@entry=0x55d464ecf328, deadline=...) at ./src/corelib/thread/qwaitcondition_unix.cpp:181
#8  0x00007977b4cdef71 in QThreadPoolThread::run() (this=0x55d4651a22a0) at ./src/corelib/thread/qthreadpool.cpp:114
#9  0x00007977b4cd836d in operator() (__closure=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:324
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:260
#11 QThreadPrivate::start(void*) (arg=0x55d4651a22a0) at ./src/corelib/thread/qthread_unix.cpp:283
#12 0x00007977b4595ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#13 0x00007977b4627850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 13 (Thread 0x79777e098640 (LWP 480167)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x79777e0975b0, op=137, expected=0, futex_word=0x55d465421294) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x79777e0975b0, clockid=560, expected=0, futex_word=0x55d465421294) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55d465421294, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x79777e0975b0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007977b4594e9b in __pthread_cond_wait_common (abstime=0x79777e0975b0, clockid=1, mutex=0x55d465421240, cond=0x55d465421268) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x55d465421268, mutex=0x55d465421240, abstime=0x79777e0975b0) at ./nptl/pthread_cond_wait.c:652
#5  0x00007977b4cdc037 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (deadline=..., this=0x55d465421240) at ./src/corelib/thread/qwaitcondition_unix.cpp:93
#6  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55d465421240) at ./src/corelib/thread/qwaitcondition_unix.cpp:101
#7  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55d46554c670, mutex=mutex@entry=0x55d464ecf328, deadline=...) at ./src/corelib/thread/qwaitcondition_unix.cpp:181
#8  0x00007977b4cdef71 in QThreadPoolThread::run() (this=0x55d46554c660) at ./src/corelib/thread/qthreadpool.cpp:114
#9  0x00007977b4cd836d in operator() (__closure=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:324
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:260
#11 QThreadPrivate::start(void*) (arg=0x55d46554c660) at ./src/corelib/thread/qthread_unix.cpp:283
#12 0x00007977b4595ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#13 0x00007977b4627850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 12 (Thread 0x797773fff640 (LWP 480165)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x797773ffe5b0, op=137, expected=0, futex_word=0x55d4653a5e30) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x797773ffe5b0, clockid=560, expected=0, futex_word=0x55d4653a5e30) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55d4653a5e30, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x797773ffe5b0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007977b4594e9b in __pthread_cond_wait_common (abstime=0x797773ffe5b0, clockid=1, mutex=0x55d4653a5de0, cond=0x55d4653a5e08) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x55d4653a5e08, mutex=0x55d4653a5de0, abstime=0x797773ffe5b0) at ./nptl/pthread_cond_wait.c:652
#5  0x00007977b4cdc037 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (deadline=..., this=0x55d4653a5de0) at ./src/corelib/thread/qwaitcondition_unix.cpp:93
#6  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55d4653a5de0) at ./src/corelib/thread/qwaitcondition_unix.cpp:101
#7  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55d465384560, mutex=mutex@entry=0x55d464ecf328, deadline=...) at ./src/corelib/thread/qwaitcondition_unix.cpp:181
#8  0x00007977b4cdef71 in QThreadPoolThread::run() (this=0x55d465384550) at ./src/corelib/thread/qthreadpool.cpp:114
#9  0x00007977b4cd836d in operator() (__closure=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:324
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:260
#11 QThreadPrivate::start(void*) (arg=0x55d465384550) at ./src/corelib/thread/qthread_unix.cpp:283
#12 0x00007977b4595ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#13 0x00007977b4627850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 11 (Thread 0x79778bfff640 (LWP 480163)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x79778bffe5b0, op=137, expected=0, futex_word=0x55d4647aa490) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x79778bffe5b0, clockid=2013266064, expected=0, futex_word=0x55d4647aa490) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55d4647aa490, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x79778bffe5b0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007977b4594e9b in __pthread_cond_wait_common (abstime=0x79778bffe5b0, clockid=1, mutex=0x55d4647aa440, cond=0x55d4647aa468) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x55d4647aa468, mutex=0x55d4647aa440, abstime=0x79778bffe5b0) at ./nptl/pthread_cond_wait.c:652
#5  0x00007977b4cdc037 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (deadline=..., this=0x55d4647aa440) at ./src/corelib/thread/qwaitcondition_unix.cpp:93
#6  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55d4647aa440) at ./src/corelib/thread/qwaitcondition_unix.cpp:101
#7  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55d465441d90, mutex=mutex@entry=0x55d464ecf328, deadline=...) at ./src/corelib/thread/qwaitcondition_unix.cpp:181
#8  0x00007977b4cdef71 in QThreadPoolThread::run() (this=0x55d465441d80) at ./src/corelib/thread/qthreadpool.cpp:114
#9  0x00007977b4cd836d in operator() (__closure=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:324
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:260
#11 QThreadPrivate::start(void*) (arg=0x55d465441d80) at ./src/corelib/thread/qthread_unix.cpp:283
#12 0x00007977b4595ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#13 0x00007977b4627850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 10 (Thread 0x79777d897640 (LWP 480168)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x79777d8965b0, op=137, expected=0, futex_word=0x55d4651b3554) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x79777d8965b0, clockid=560, expected=0, futex_word=0x55d4651b3554) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55d4651b3554, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x79777d8965b0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007977b4594e9b in __pthread_cond_wait_common (abstime=0x79777d8965b0, clockid=1, mutex=0x55d4651b3500, cond=0x55d4651b3528) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x55d4651b3528, mutex=0x55d4651b3500, abstime=0x79777d8965b0) at ./nptl/pthread_cond_wait.c:652
#5  0x00007977b4cdc037 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (deadline=..., this=0x55d4651b3500) at ./src/corelib/thread/qwaitcondition_unix.cpp:93
#6  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55d4651b3500) at ./src/corelib/thread/qwaitcondition_unix.cpp:101
#7  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55d4651b34e0, mutex=mutex@entry=0x55d464ecf328, deadline=...) at ./src/corelib/thread/qwaitcondition_unix.cpp:181
#8  0x00007977b4cdef71 in QThreadPoolThread::run() (this=0x55d4651b34d0) at ./src/corelib/thread/qthreadpool.cpp:114
#9  0x00007977b4cd836d in operator() (__closure=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:324
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:260
#11 QThreadPrivate::start(void*) (arg=0x55d4651b34d0) at ./src/corelib/thread/qthread_unix.cpp:283
#12 0x00007977b4595ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#13 0x00007977b4627850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 9 (Thread 0x79777f09a640 (LWP 480166)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x79777f0995b0, op=137, expected=0, futex_word=0x55d465386d20) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x79777f0995b0, clockid=-1269148117, expected=0, futex_word=0x55d465386d20) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55d465386d20, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x79777f0995b0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007977b4594e9b in __pthread_cond_wait_common (abstime=0x79777f0995b0, clockid=1, mutex=0x55d465386cd0, cond=0x55d465386cf8) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x55d465386cf8, mutex=0x55d465386cd0, abstime=0x79777f0995b0) at ./nptl/pthread_cond_wait.c:652
#5  0x00007977b4cdc037 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (deadline=..., this=0x55d465386cd0) at ./src/corelib/thread/qwaitcondition_unix.cpp:93
#6  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55d465386cd0) at ./src/corelib/thread/qwaitcondition_unix.cpp:101
#7  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55d46537e2f0, mutex=mutex@entry=0x55d464ecf328, deadline=...) at ./src/corelib/thread/qwaitcondition_unix.cpp:181
#8  0x00007977b4cdef71 in QThreadPoolThread::run() (this=0x55d46537e2e0) at ./src/corelib/thread/qthreadpool.cpp:114
#9  0x00007977b4cd836d in operator() (__closure=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:324
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:260
#11 QThreadPrivate::start(void*) (arg=0x55d46537e2e0) at ./src/corelib/thread/qthread_unix.cpp:283
#12 0x00007977b4595ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#13 0x00007977b4627850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 8 (Thread 0x79778b7fe640 (LWP 480162)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x79778b7fd5b0, op=137, expected=0, futex_word=0x79778c008774) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x79778b7fd5b0, clockid=1946157200, expected=0, futex_word=0x79778c008774) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x79778c008774, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x79778b7fd5b0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007977b4594e9b in __pthread_cond_wait_common (abstime=0x79778b7fd5b0, clockid=1, mutex=0x79778c008720, cond=0x79778c008748) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x79778c008748, mutex=0x79778c008720, abstime=0x79778b7fd5b0) at ./nptl/pthread_cond_wait.c:652
#5  0x00007977b4cdc037 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (deadline=..., this=0x79778c008720) at ./src/corelib/thread/qwaitcondition_unix.cpp:93
#6  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x79778c008720) at ./src/corelib/thread/qwaitcondition_unix.cpp:101
#7  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55d4653a2630, mutex=mutex@entry=0x55d464ecf328, deadline=...) at ./src/corelib/thread/qwaitcondition_unix.cpp:181
#8  0x00007977b4cdef71 in QThreadPoolThread::run() (this=0x55d4653a2620) at ./src/corelib/thread/qthreadpool.cpp:114
#9  0x00007977b4cd836d in operator() (__closure=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:324
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:260
#11 QThreadPrivate::start(void*) (arg=0x55d4653a2620) at ./src/corelib/thread/qthread_unix.cpp:283
#12 0x00007977b4595ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#13 0x00007977b4627850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 7 (Thread 0x79777e899640 (LWP 480164)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x79777e8985b0, op=137, expected=0, futex_word=0x55d4647a21c0) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x79777e8985b0, clockid=-1269148117, expected=0, futex_word=0x55d4647a21c0) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55d4647a21c0, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x79777e8985b0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007977b4594e9b in __pthread_cond_wait_common (abstime=0x79777e8985b0, clockid=1, mutex=0x55d4647a2170, cond=0x55d4647a2198) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x55d4647a2198, mutex=0x55d4647a2170, abstime=0x79777e8985b0) at ./nptl/pthread_cond_wait.c:652
#5  0x00007977b4cdc037 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (deadline=..., this=0x55d4647a2170) at ./src/corelib/thread/qwaitcondition_unix.cpp:93
#6  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55d4647a2170) at ./src/corelib/thread/qwaitcondition_unix.cpp:101
#7  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55d465549fc0, mutex=mutex@entry=0x55d464ecf328, deadline=...) at ./src/corelib/thread/qwaitcondition_unix.cpp:181
#8  0x00007977b4cdef71 in QThreadPoolThread::run() (this=0x55d465549fb0) at ./src/corelib/thread/qthreadpool.cpp:114
#9  0x00007977b4cd836d in operator() (__closure=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:324
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:260
#11 QThreadPrivate::start(void*) (arg=0x55d465549fb0) at ./src/corelib/thread/qthread_unix.cpp:283
#12 0x00007977b4595ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#13 0x00007977b4627850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x797794df8640 (LWP 460003)):
#0  0x00007977b4619bcf in __GI___poll (fds=0x55d464fa5710, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007977b29e41f6 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007977b298c3e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007977b4bd61f0 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x797784000b70, flags=...) at ./src/corelib/kernel/qeventdispatcher_glib.cpp:393
#4  0x00007977b4dde04b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x797794df7660, flags=...) at ./src/corelib/global/qflags.h:34
#5  0x00007977b4d1c938 in QThread::exec() (this=<optimized out>) at ./src/corelib/global/qflags.h:74
#6  0x00007977b4cd836d in operator() (__closure=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:324
#7  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:260
#8  QThreadPrivate::start(void*) (arg=0x55d464fa3550) at ./src/corelib/thread/qthread_unix.cpp:283
#9  0x00007977b4595ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#10 0x00007977b4627850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x797773760640 (LWP 464796)):
#0  0x00007977b4619bcf in __GI___poll (fds=0x797768004200, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007977a163f21d in  () at /lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007977a16285a1 in pa_mainloop_poll () at /lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007977a16330bb in pa_mainloop_iterate () at /lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007977a1633170 in pa_mainloop_run () at /lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007977a164337d in  () at /lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007977a08dbcb3 in  () at /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-15.99.so
#7  0x00007977b4595ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#8  0x00007977b4627850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7977955f9640 (LWP 460001)):
#0  0x00007977b4619bcf in __GI___poll (fds=0x7977980201a0, nfds=6, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007977b29e41f6 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007977b298c3e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007977b4bd61f0 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x79778c000b70, flags=...) at ./src/corelib/kernel/qeventdispatcher_glib.cpp:393
#4  0x00007977b4dde04b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7977955f8660, flags=...) at ./src/corelib/global/qflags.h:34
#5  0x00007977b4d1c938 in QThread::exec() (this=<optimized out>) at ./src/corelib/global/qflags.h:74
#6  0x00007977b4cd836d in operator() (__closure=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:324
#7  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:260
#8  QThreadPrivate::start(void*) (arg=0x55d464fd7310) at ./src/corelib/thread/qthread_unix.cpp:283
#9  0x00007977b4595ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#10 0x00007977b4627850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x79779f7b2640 (LWP 459991)):
#0  0x00007977b4619bcf in __GI___poll (fds=0x79779f7b1568, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007977b1d6f7e2 in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007977b1d7122c in xcb_wait_for_event () at /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007977a02c3c18 in QXcbEventQueue::run() (this=0x55d464742a30) at ./src/plugins/platforms/xcb/qxcbeventqueue.cpp:192
#4  0x00007977b4cd836d in operator() (__closure=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:324
#5  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:260
#6  QThreadPrivate::start(void*) (arg=0x55d464742a30) at ./src/corelib/thread/qthread_unix.cpp:283
#7  0x00007977b4595ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#8  0x00007977b4627850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x79779ffb3640 (LWP 459990)):
#0  0x00007977b4619bcf in __GI___poll (fds=0x55d464713250, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007977b29e41f6 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007977b298c3e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007977b4bd61f0 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x797798000b70, flags=...) at ./src/corelib/kernel/qeventdispatcher_glib.cpp:393
#4  0x00007977b4dde04b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x79779ffb2610, flags=...) at ./src/corelib/global/qflags.h:34
#5  0x00007977b4d1c938 in QThread::exec() (this=this@entry=0x7977b43f03a0 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>) at ./src/corelib/global/qflags.h:74
#6  0x00007977b4378e4e in QDBusConnectionManager::run() (this=0x7977b43f03a0 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>) at ./src/dbus/qdbusconnection.cpp:131
#7  0x00007977b4cd836d in operator() (__closure=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:324
#8  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at ./src/corelib/thread/qthread_unix.cpp:260
#9  QThreadPrivate::start(void*) (arg=0x7977b43f03a0 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>) at ./src/corelib/thread/qthread_unix.cpp:283
#10 0x00007977b4595ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#11 0x00007977b4627850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7977a066f400 (LWP 459989)):
[KCrash Handler]
#6  0x000079777c041cd5 in KOPrefsDialogPlugins::~KOPrefsDialogPlugins() (this=0x55d465bc6a50, this=<optimized out>) at ./src/prefs/koprefsdialogplugins.cpp:111
#7  0x000079777c041f5d in KOPrefsDialogPlugins::~KOPrefsDialogPlugins() (this=0x55d465bc6a50, this=<optimized out>) at ./src/prefs/koprefsdialogplugins.cpp:112
#8  0x00007977b4d420aa in QObjectPrivate::deleteChildren() (this=this@entry=0x55d465cacd00) at ./src/corelib/kernel/qobject.cpp:2207
#9  0x00007977b5d672c8 in QWidget::~QWidget() (this=0x55d465cacbe0, this=<optimized out>) at ./src/widgets/kernel/qwidget.cpp:1532
#10 0x00007977b41eb481 in UnboundScrollArea::~UnboundScrollArea() (this=0x55d465cacbe0, this=<optimized out>) at ./src/kcmultidialog.h:158
#11 UnboundScrollArea::~UnboundScrollArea() (this=0x55d465cacbe0, this=<optimized out>) at ./src/kcmultidialog.h:158
#12 0x00007977b4d420aa in QObjectPrivate::deleteChildren() (this=this@entry=0x55d46588e860) at ./src/corelib/kernel/qobject.cpp:2207
#13 0x00007977b5d672c8 in QWidget::~QWidget() (this=0x55d4658a43a0, this=<optimized out>) at ./src/widgets/kernel/qwidget.cpp:1532
#14 0x00007977b5fad981 in KPageStackedWidget::~KPageStackedWidget() (this=0x55d4658a43a0, this=<optimized out>) at ./src/kpageview_p.h:25
#15 KPageStackedWidget::~KPageStackedWidget() (this=0x55d4658a43a0, this=<optimized out>) at ./src/kpageview_p.h:25
#16 0x00007977b4d420aa in QObjectPrivate::deleteChildren() (this=this@entry=0x55d4654436a0) at ./src/corelib/kernel/qobject.cpp:2207
#17 0x00007977b5d672c8 in QWidget::~QWidget() (this=0x55d465819680, this=<optimized out>) at ./src/widgets/kernel/qwidget.cpp:1532
#18 0x00007977b5fadd9d in KPageWidget::~KPageWidget() (this=0x55d465819680, this=<optimized out>) at ./src/kpagewidget.cpp:58
#19 0x00007977b4d420aa in QObjectPrivate::deleteChildren() (this=this@entry=0x55d465619580) at ./src/corelib/kernel/qobject.cpp:2207
#20 0x00007977b5d672c8 in QWidget::~QWidget() (this=0x55d46560bad0, this=<optimized out>) at ./src/widgets/kernel/qwidget.cpp:1532
#21 0x00007977b41ec61d in KCMultiDialog::~KCMultiDialog() (this=0x55d46560bad0, this=<optimized out>) at ./src/kcmultidialog.cpp:240
#22 0x00007977b6bc8327 in KODialogManager::~KODialogManager() (this=0x55d464fcf8c0, this=<optimized out>) at ./src/kodialogmanager.cpp:59
#23 0x00007977b6b9ac13 in KODialogManager::~KODialogManager() (this=0x55d464fcf8c0, this=<optimized out>) at ./src/kodialogmanager.cpp:57
#24 CalendarView::~CalendarView() (this=0x55d464817c40, this=<optimized out>) at ./src/calendarview.cpp:284
#25 0x00007977b6b6b9e1 in CalendarView::~CalendarView() (this=0x55d464817c40, this=<optimized out>) at ./src/calendarview.cpp:277
#26 ActionManager::~ActionManager() (this=0x55d4650d65c0, this=<optimized out>) at ./src/actionmanager.cpp:118
#27 0x00007977b6b6babd in ActionManager::~ActionManager() (this=0x55d4650d65c0, this=<optimized out>) at ./src/actionmanager.cpp:119
#28 0x000055d462f06691 in KOrganizer::~KOrganizer() (this=0x55d46500b1e0, this=<optimized out>) at ./src/korganizer.cpp:81
#29 0x000055d462f0673d in KOrganizer::~KOrganizer() (this=0x55d46500b1e0, this=<optimized out>) at ./src/korganizer.cpp:84
#30 0x00007977b4d41353 in QObject::event(QEvent*) (this=0x55d46500b1e0, e=0x55d46579de30) at ./src/corelib/kernel/qobject.cpp:1424
#31 0x00007977b644c65d in KXmlGuiWindow::event(QEvent*) (this=0x55d46500b1e0, ev=0x55d46579de30) at ./src/kxmlguiwindow.cpp:221
#32 0x00007977b5d430eb in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55d46500b1e0, e=0x55d46579de30) at ./src/widgets/kernel/qapplication.cpp:3296
#33 0x00007977b4ddbe18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55d46500b1e0, event=event@entry=0x55d46579de30) at ./src/corelib/kernel/qcoreapplication.cpp:1121
#34 0x00007977b4ddbe5d in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=event@entry=0x55d46579de30) at ./src/corelib/kernel/qcoreapplication.cpp:1539
#35 0x00007977b4ddc530 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x55d46470d440) at ./src/corelib/kernel/qcoreapplication.cpp:1901
#36 0x00007977b4bdb2f7 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55d4647fa700) at ./src/corelib/kernel/qeventdispatcher_glib.cpp:243
#37 0x00007977b298ed3b in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007977b29e4258 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007977b298c3e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007977b4bd61f0 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55d4647c7840, flags=...) at ./src/corelib/kernel/qeventdispatcher_glib.cpp:393
#41 0x00007977b4dde04b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffff0438710, flags=..., flags@entry=...) at ./src/corelib/global/qflags.h:34
#42 0x00007977b4ddfc7c in QCoreApplication::exec() () at ./src/corelib/global/qflags.h:74
#43 0x00007977b520aa20 in QGuiApplication::exec() () at ./src/gui/kernel/qguiapplication.cpp:1925
#44 0x00007977b5d40689 in QApplication::exec() () at ./src/widgets/kernel/qapplication.cpp:2574
#45 0x000055d462f0592c in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:62

Reported using DrKonqi
Comment 1 Daniel Vrátil 2024-03-12 20:49:33 UTC
Git commit 03ec88abd428aea0ce9cf04d9def2af77860e00f by Daniel Vrátil.
Committed on 12/03/2024 at 20:48.
Pushed by dvratil into branch 'release/24.02'.

Fix double-free corruption on exit

The mDecorations QTreeWidgetItem is owned by the QTreeWidget, which is owned
by KOPrefsDialogPlugins' parent widget. So when the parent widget deletes
the QTreeWidget, the decorations tree item is deleted as well and once
we enter KOPrefsDialogPlugins' destructor, mDecorations is a dangling
pointer by then.

(cherry picked from commit 87c20da417cbf9314b60275cdcd38a8cfc723a05)
FIXED-IN: 24.02.2

M  +0    -1    src/prefs/koprefsdialogplugins.cpp

https://invent.kde.org/pim/korganizer/-/commit/03ec88abd428aea0ce9cf04d9def2af77860e00f