Bug 487135 - L2tp vpn setup bug
Summary: L2tp vpn setup bug
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_networkmanagement (show other bugs)
Version: 6.0.4
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
: 484860 487313 487892 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-05-17 08:12 UTC by Attila
Modified: 2024-06-19 12:35 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Attila 2024-05-17 08:12:41 UTC
Application: systemsettings (6.0.4)

Qt Version: 6.7.0
Frameworks Version: 6.2.0
Operating System: Linux 6.8.9-300.fc40.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 40 (KDE Plasma)"
DrKonqi: 6.0.4 [CoredumpBackend]

-- Information about the crash:
I am trying to set up a 12tp vpn connection in the Fedora Kde system, but the network setting module crashes when saving

The crash can be reproduced every time.

-- Backtrace:
Application: Rendszerbeállítások (systemsettings), signal: Segmentation fault


This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.fedoraproject.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.
[New LWP 6668]
[New LWP 6669]
[New LWP 6697]
[New LWP 6696]
[New LWP 6705]
[New LWP 6717]
[New LWP 6716]
[New LWP 6732]
[New LWP 6726]
[New LWP 6719]
[New LWP 6673]
[New LWP 6670]
[New LWP 6695]
[New LWP 6682]
[New LWP 6718]
[New LWP 6723]
[New LWP 6735]
[New LWP 6672]
[New LWP 6733]
[New LWP 6734]
[New LWP 6685]
[New LWP 6736]
[New LWP 6684]
[New LWP 6671]
[New LWP 6715]
[New LWP 6704]
[New LWP 6706]
[New LWP 6722]
[New LWP 6721]
[New LWP 6720]
[New LWP 6725]
[New LWP 6724]
[New LWP 6703]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/bin/systemsettings kcm_networkmanagement'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fbbb1eab144 in __pthread_kill_implementation () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7fbbac02ab00 (LWP 6668))]
Cannot QML trace cores :(
[Current thread is 1 (Thread 0x7fbbac02ab00 (LWP 6668))]

Thread 33 (Thread 0x7fbb726006c0 (LWP 6703)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea82e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbb95a9d84d in cnd_wait () from /usr/lib64/dri/iris_dri.so
#3  0x00007fbb95a7b40b in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#4  0x00007fbb95a9d77c in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 32 (Thread 0x7fbb4f4006c0 (LWP 6724)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea8652 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbbb095ba0d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007fbbb09587d5 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007fbbb094f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 31 (Thread 0x7fbb4ea006c0 (LWP 6725)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea8652 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbbb095ba0d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007fbbb09587d5 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007fbbb094f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 30 (Thread 0x7fbb5a2006c0 (LWP 6720)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea8652 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbbb095ba0d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007fbbb09587d5 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007fbbb094f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 29 (Thread 0x7fbb598006c0 (LWP 6721)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea8652 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbbb095ba0d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007fbbb09587d5 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007fbbb094f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 28 (Thread 0x7fbb58e006c0 (LWP 6722)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea8652 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbbb095ba0d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007fbbb09587d5 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007fbbb094f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 27 (Thread 0x7fbb67e006c0 (LWP 6706)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea82e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbb95a9d84d in cnd_wait () from /usr/lib64/dri/iris_dri.so
#3  0x00007fbb95a7b40b in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#4  0x00007fbb95a9d77c in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 26 (Thread 0x7fbb71c006c0 (LWP 6704)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea82e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbb95a9d84d in cnd_wait () from /usr/lib64/dri/iris_dri.so
#3  0x00007fbb95a7b40b in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#4  0x00007fbb95a9d77c in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 25 (Thread 0x7fbb674006c0 (LWP 6715)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea8652 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbbb095ba0d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007fbbb09587d5 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007fbbb094f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 24 (Thread 0x7fbb9ca006c0 (LWP 6671)):
#0  0x00007fbbb1f1d72d in poll () from /lib64/libc.so.6
#1  0x00007fbbaeb76d85 in QtWaylandClient::EventThread::run() () from /lib64/libQt6WaylandClient.so.6
#2  0x00007fbbb094f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#3  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#4  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 23 (Thread 0x7fbb7fe006c0 (LWP 6684)):
#0  0x00007fbbb1f1d72d in poll () from /lib64/libc.so.6
#1  0x00007fbbafc646a4 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#2  0x00007fbbafc04b23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007fbbb0a7bf83 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#4  0x00007fbbb07a26b3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#5  0x00007fbbb08b402f in QThread::exec() () from /lib64/libQt6Core.so.6
#6  0x00007fbbb094f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#7  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#8  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 22 (Thread 0x7fbb360006c0 (LWP 6736)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea82e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbb95a9d84d in cnd_wait () from /usr/lib64/dri/iris_dri.so
#3  0x00007fbb95a7b40b in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#4  0x00007fbb95a9d77c in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 21 (Thread 0x7fbb7f4006c0 (LWP 6685)):
#0  0x00007fbbb1f1d72d in poll () from /lib64/libc.so.6
#1  0x00007fbbafc646a4 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#2  0x00007fbbafc04b23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007fbbb0a7bf83 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#4  0x00007fbbb07a26b3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#5  0x00007fbbb08b402f in QThread::exec() () from /lib64/libQt6Core.so.6
#6  0x00007fbbb094f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#7  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#8  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 20 (Thread 0x7fbb374006c0 (LWP 6734)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea82e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbb95a9d84d in cnd_wait () from /usr/lib64/dri/iris_dri.so
#3  0x00007fbb95a7b40b in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#4  0x00007fbb95a9d77c in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 19 (Thread 0x7fbb37e006c0 (LWP 6733)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea82e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbb95a9d84d in cnd_wait () from /usr/lib64/dri/iris_dri.so
#3  0x00007fbb95a7b40b in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#4  0x00007fbb95a9d77c in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 18 (Thread 0x7fbb958006c0 (LWP 6672)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea82e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbb95a9d84d in cnd_wait () from /usr/lib64/dri/iris_dri.so
#3  0x00007fbb95a7b40b in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#4  0x00007fbb95a9d77c in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 17 (Thread 0x7fbb36a006c0 (LWP 6735)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea82e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbb95a9d84d in cnd_wait () from /usr/lib64/dri/iris_dri.so
#3  0x00007fbb95a7b40b in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#4  0x00007fbb95a9d77c in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 16 (Thread 0x7fbb4fe006c0 (LWP 6723)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea8652 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbbb095ba0d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007fbbb09587d5 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007fbbb094f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 15 (Thread 0x7fbb656006c0 (LWP 6718)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea8652 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbbb095ba0d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007fbbb09587d5 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007fbbb094f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 14 (Thread 0x7fbb84c006c0 (LWP 6682)):
#0  0x00007fbbb1f1d72d in poll () from /lib64/libc.so.6
#1  0x00007fbbafc646a4 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#2  0x00007fbbafc04b23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007fbbb0a7bf83 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#4  0x00007fbbb07a26b3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#5  0x00007fbbb08b402f in QThread::exec() () from /lib64/libQt6Core.so.6
#6  0x00007fbbb094f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#7  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#8  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 13 (Thread 0x7fbb7ea006c0 (LWP 6695)):
#0  0x00007fbbb1f2918d in syscall () from /lib64/libc.so.6
#1  0x00007fbbafc617bd in g_cond_wait () from /lib64/libglib-2.0.so.0
#2  0x00007fbbafbce5ab in g_async_queue_pop_intern_unlocked () from /lib64/libglib-2.0.so.0
#3  0x00007fbbafc34a53 in g_thread_pool_spawn_thread () from /lib64/libglib-2.0.so.0
#4  0x00007fbbafc33863 in g_thread_proxy () from /lib64/libglib-2.0.so.0
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 12 (Thread 0x7fbb9d4006c0 (LWP 6670)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea82e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbbb095ba8b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007fbbaeb76d1e in QtWaylandClient::EventThread::run() () from /lib64/libQt6WaylandClient.so.6
#4  0x00007fbbb094f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 11 (Thread 0x7fbb94e006c0 (LWP 6673)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea82e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbb95a9d84d in cnd_wait () from /usr/lib64/dri/iris_dri.so
#3  0x00007fbb95a7b40b in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#4  0x00007fbb95a9d77c in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 10 (Thread 0x7fbb5ac006c0 (LWP 6719)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea8652 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbbb095ba0d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007fbbb09587d5 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007fbbb094f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 9 (Thread 0x7fbb4e0006c0 (LWP 6726)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea8652 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbbb095ba0d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007fbbb09587d5 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007fbbb094f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 8 (Thread 0x7fbb410006c0 (LWP 6732)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea82e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbbb095ba8b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007fbbb24c89c9 in QSGRenderThread::processEventsAndWaitForMore() () from /lib64/libQt6Quick.so.6
#4  0x00007fbbb24c8c4a in QSGRenderThread::run() () from /lib64/libQt6Quick.so.6
#5  0x00007fbbb094f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#6  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#7  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 7 (Thread 0x7fbb66a006c0 (LWP 6716)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea8652 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbbb095ba0d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007fbbb09587d5 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007fbbb094f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 6 (Thread 0x7fbb660006c0 (LWP 6717)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea8652 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbbb095ba0d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007fbbb09587d5 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007fbbb094f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 5 (Thread 0x7fbb712006c0 (LWP 6705)):
#0  0x00007fbbb1ea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fbbb1ea82e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fbb95a9d84d in cnd_wait () from /usr/lib64/dri/iris_dri.so
#3  0x00007fbb95a7b40b in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#4  0x00007fbb95a9d77c in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 4 (Thread 0x7fbb73a006c0 (LWP 6696)):
#0  0x00007fbbb1f1d72d in poll () from /lib64/libc.so.6
#1  0x00007fbbafc646a4 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#2  0x00007fbbafc04b23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007fbbafc04b79 in glib_worker_main () from /lib64/libglib-2.0.so.0
#4  0x00007fbbafc33863 in g_thread_proxy () from /lib64/libglib-2.0.so.0
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 3 (Thread 0x7fbb730006c0 (LWP 6697)):
#0  0x00007fbbb1f1d72d in poll () from /lib64/libc.so.6
#1  0x00007fbbafc646a4 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#2  0x00007fbbafc09667 in g_main_loop_run () from /lib64/libglib-2.0.so.0
#3  0x00007fbbac53ee82 in gdbus_shared_thread_func.lto_priv () from /lib64/libgio-2.0.so.0
#4  0x00007fbbafc33863 in g_thread_proxy () from /lib64/libglib-2.0.so.0
#5  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#6  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 2 (Thread 0x7fbb9e2006c0 (LWP 6669)):
#0  0x00007fbbb1f1d72d in poll () from /lib64/libc.so.6
#1  0x00007fbbafc646a4 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#2  0x00007fbbafc04b23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007fbbb0a7bf83 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#4  0x00007fbbb07a26b3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#5  0x00007fbbb08b402f in QThread::exec() () from /lib64/libQt6Core.so.6
#6  0x00007fbbb0d71af1 in QDBusConnectionManager::run() () from /lib64/libQt6DBus.so.6
#7  0x00007fbbb094f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#8  0x00007fbbb1ea91b7 in start_thread () from /lib64/libc.so.6
#9  0x00007fbbb1f2b39c in clone3 () from /lib64/libc.so.6

Thread 1 (Thread 0x7fbbac02ab00 (LWP 6668)):
[KCrash Handler]
#4  0x00007fbbb0a01254 in QPersistentModelIndex::row() const () from /lib64/libQt6Core.so.6
#5  0x00007fbb71da5775 in L2tpWidget::setting() const () from /usr/lib64/qt6/plugins/plasma/network/vpn/plasmanetworkmanagement_l2tpui.so
#6  0x00007fbb7ff69337 in ConnectionEditorBase::setting() const () from /lib64/libplasmanm_editor.so
#7  0x00007fbb7ff737d6 in ConnectionEditorDialog::setting() const () from /lib64/libplasmanm_editor.so
#8  0x00007fbb84104af8 in QtPrivate::QCallableObject<KCMNetworkmanagement::addConnection(QSharedPointer<NetworkManager::ConnectionSettings> const&)::{lambda()#1}, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from /usr/lib64/qt6/plugins/plasma/kcms/systemsettings_qwidgets/kcm_networkmanagement.so
#9  0x00007fbbb07fa3f4 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt6Core.so.6
#10 0x00007fbbb2c10868 in QDialog::done(int) () from /lib64/libQt6Widgets.so.6
#11 0x00007fbbb07fa3f4 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt6Core.so.6
#12 0x00007fbbb2b90298 in QDialogButtonBoxPrivate::handleButtonClicked() () from /lib64/libQt6Widgets.so.6
#13 0x00007fbbb07fa3f4 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt6Core.so.6
#14 0x00007fbbb2ac0134 in QAbstractButton::clicked(bool) () from /lib64/libQt6Widgets.so.6
#15 0x00007fbbb2ac03bf in QAbstractButtonPrivate::emitClicked() () from /lib64/libQt6Widgets.so.6
#16 0x00007fbbb2ac1a8f in QAbstractButtonPrivate::click() () from /lib64/libQt6Widgets.so.6
#17 0x00007fbbb2ac1ca5 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt6Widgets.so.6
#18 0x00007fbbb29ebe00 in QWidget::event(QEvent*) () from /lib64/libQt6Widgets.so.6
#19 0x00007fbbb298b368 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt6Widgets.so.6
#20 0x00007fbbb2996002 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt6Widgets.so.6
#21 0x00007fbbb0795ab8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt6Core.so.6
#22 0x00007fbbb29945cc in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt6Widgets.so.6
#23 0x00007fbbb29ff606 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt6Widgets.so.6
#24 0x00007fbbb2a02520 in QWidgetWindow::event(QEvent*) () from /lib64/libQt6Widgets.so.6
#25 0x00007fbbb298b368 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt6Widgets.so.6
#26 0x00007fbbb0795ab8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt6Core.so.6
#27 0x00007fbbb0fe575b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt6Gui.so.6
#28 0x00007fbbb104933c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Gui.so.6
#29 0x00007fbbb15550b4 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt6Gui.so.6
#30 0x00007fbbafc036ac in g_main_context_dispatch_unlocked.lto_priv () from /lib64/libglib-2.0.so.0
#31 0x00007fbbafc64708 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#32 0x00007fbbafc04b23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#33 0x00007fbbb0a7bf83 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#34 0x00007fbbb07a26b3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#35 0x00007fbbb079e63c in QCoreApplication::exec() () from /lib64/libQt6Core.so.6
#36 0x000055f3b2fbda42 in main ()

Reported using DrKonqi
Comment 1 duha.bugs 2024-05-21 18:34:44 UTC
*** Bug 484860 has been marked as a duplicate of this bug. ***
Comment 2 duha.bugs 2024-05-21 18:35:13 UTC
*** Bug 487313 has been marked as a duplicate of this bug. ***
Comment 3 Nicolas Fella 2024-06-02 12:41:41 UTC
*** Bug 487892 has been marked as a duplicate of this bug. ***
Comment 4 Nicolas Fella 2024-06-02 12:42:04 UTC
==19563==ERROR: AddressSanitizer: heap-use-after-free on address 0x50d00027a9c0 at pc 0x7f7674ac4a99 bp 0x7ffcbe943e40 sp 0x7ffcbe943e38
READ of size 8 at 0x50d00027a9c0 thread T0
    #0 0x7f7674ac4a98 in QSharedPointer<NetworkManager::VpnSetting>::data() const /home/nico/kde/usr/include/QtCore/qsharedpointer_impl.h:274
    #1 0x7f7674ac4a98 in QSharedPointer<NetworkManager::VpnSetting>::isNull() const /home/nico/kde/usr/include/QtCore/qsharedpointer_impl.h:276
    #2 0x7f7674ac4a98 in L2tpWidget::setting() const /home/nico/kde/src/plasma-nm/vpn/l2tp/l2tpwidget.cpp:149
    #3 0x7f7675a9a956 in ConnectionEditorBase::setting() const /home/nico/kde/src/plasma-nm/libs/editor/connectioneditorbase.cpp:94
    #4 0x7f7675ad6f8b in ConnectionEditorDialog::setting() const /home/nico/kde/src/plasma-nm/libs/editor/connectioneditordialog.cpp:43
    #5 0x7f768a5bf4c4 in operator() /home/nico/kde/src/plasma-nm/kcm/kcm.cpp:484
    #6 0x7f768a5bf4c4 in call /home/nico/kde/usr/include/QtCore/qobjectdefs_impl.h:137
    #7 0x7f768a5bf4c4 in call<QtPrivate::List<>, void> /home/nico/kde/usr/include/QtCore/qobjectdefs_impl.h:345
    #8 0x7f768a5bf4c4 in impl /home/nico/kde/usr/include/QtCore/qobjectdefs_impl.h:555
    #9 0x7f76af661937 in void doActivate<false>(QObject*, int, void**) (/home/nico/kde/usr/lib64/libQt6Core.so.6+0x461937) (BuildId: eba16a304ee3fbbb9129ffaa902c01f9c51b14dc)
    #10 0x7f76af6408a5 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:4146
    #11 0x7f76b58b3dbb in QDialog::accepted() /home/nico/workspace/qt6/qtbase/src/widgets/Widgets_autogen/include/moc_qdialog.cpp:247
    #12 0x7f76b58b7e16 in QDialog::done(int) /home/nico/workspace/qt6/qtbase/src/widgets/dialogs/qdialog.cpp:614
    #13 0x7f76b58b3854 in QDialog::accept() /home/nico/workspace/qt6/qtbase/src/widgets/dialogs/qdialog.cpp:630
    #14 0x7f7675ad77da in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (QDialog::*)()>::call(void (QDialog::*)(), QDialog*, void**) /home/nico/kde/usr/include/QtCore/qobjectdefs_impl.h:145
    #15 0x7f7675ad77da in void QtPrivate::FunctionPointer<void (QDialog::*)()>::call<QtPrivate::List<>, void>(void (QDialog::*)(), QDialog*, void**) /home/nico/kde/usr/include/QtCore/qobjectdefs_impl.h:182
    #16 0x7f7675ad77da in QtPrivate::QCallableObject<void (QDialog::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /home/nico/kde/usr/include/QtCore/qobjectdefs_impl.h:553
    #17 0x7f76af661937 in void doActivate<false>(QObject*, int, void**) (/home/nico/kde/usr/lib64/libQt6Core.so.6+0x461937) (BuildId: eba16a304ee3fbbb9129ffaa902c01f9c51b14dc)
    #18 0x7f76af6408a5 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:4146
    #19 0x7f76b57181d7 in QDialogButtonBox::accepted() /home/nico/workspace/qt6/qtbase/src/widgets/Widgets_autogen/include/moc_qdialogbuttonbox.cpp:279
    #20 0x7f76b571aca5 in QDialogButtonBoxPrivate::handleButtonClicked() /home/nico/workspace/qt6/qtbase/src/widgets/widgets/qdialogbuttonbox.cpp:882
    #21 0x7f76b5729181 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (QDialogButtonBoxPrivate::*)()>::call(void (QDialogButtonBoxPrivate::*)(), QDialogButtonBoxPrivate*, void**) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobjectdefs_impl.h:145
    #22 0x7f76b57292ba in void QtPrivate::FunctionPointer<void (QDialogButtonBoxPrivate::*)()>::call<QtPrivate::List<>, void>(void (QDialogButtonBoxPrivate::*)(), QDialogButtonBoxPrivate*, void**) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobjectdefs_impl.h:182
    #23 0x7f76b57292ba in QtPrivate::QPrivateSlotObject<void (QDialogButtonBoxPrivate::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject_p.h:282
    #24 0x7f76af661937 in void doActivate<false>(QObject*, int, void**) (/home/nico/kde/usr/lib64/libQt6Core.so.6+0x461937) (BuildId: eba16a304ee3fbbb9129ffaa902c01f9c51b14dc)
    #25 0x7f76af6408a5 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:4146
    #26 0x7f76b547272f in QAbstractButton::clicked(bool) /home/nico/workspace/qt6/qtbase/src/widgets/Widgets_autogen/include/moc_qabstractbutton.cpp:327
    #27 0x7f76b5475038 in QAbstractButtonPrivate::emitClicked() /home/nico/workspace/qt6/qtbase/src/widgets/widgets/qabstractbutton.cpp:381
    #28 0x7f76b5477588 in QAbstractButtonPrivate::click() /home/nico/workspace/qt6/qtbase/src/widgets/widgets/qabstractbutton.cpp:374
    #29 0x7f76b54779d1 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) /home/nico/workspace/qt6/qtbase/src/widgets/widgets/qabstractbutton.cpp:976
    #30 0x7f76b51a9d59 in QWidget::event(QEvent*) /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qwidget.cpp:9025
    #31 0x7f76b547b301 in QAbstractButton::event(QEvent*) /home/nico/workspace/qt6/qtbase/src/widgets/widgets/qabstractbutton.cpp:933
    #32 0x7f76b570d3f5 in QPushButton::event(QEvent*) /home/nico/workspace/qt6/qtbase/src/widgets/widgets/qpushbutton.cpp:684
    #33 0x7f76b5067833 in QApplicationPrivate::notify_helper(QObject*, QEvent*) /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qapplication.cpp:3287
    #34 0x7f76b507f0cf in QApplication::notify(QObject*, QEvent*) /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qapplication.cpp:2765
    #35 0x7f76af55c0f4 in QCoreApplication::notifyInternal2(QObject*, QEvent*) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1142
    #36 0x7f76af55c30c in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1597
    #37 0x7f76b507bfaf in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qapplication.cpp:2347
    #38 0x7f76b51f45fc in QWidgetWindow::handleMouseEvent(QMouseEvent*) /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qwidgetwindow.cpp:649
    #39 0x7f76b51fb3f8 in QWidgetWindow::event(QEvent*) /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qwidgetwindow.cpp:263
    #40 0x7f76b5067833 in QApplicationPrivate::notify_helper(QObject*, QEvent*) /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qapplication.cpp:3287
    #41 0x7f76b50834ca in QApplication::notify(QObject*, QEvent*) /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qapplication.cpp:3238
    #42 0x7f76af55c0f4 in QCoreApplication::notifyInternal2(QObject*, QEvent*) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1142
    #43 0x7f76af55c30c in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1597
    #44 0x7f76b0603927 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) /home/nico/workspace/qt6/qtbase/src/gui/kernel/qguiapplication.cpp:2327
    #45 0x7f76b0609129 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) /home/nico/workspace/qt6/qtbase/src/gui/kernel/qguiapplication.cpp:2071
    #46 0x7f76b0743156 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) /home/nico/workspace/qt6/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1114
    #47 0x7f76b13af215 in userEventSourceDispatch /home/nico/workspace/qt6/qtbase/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
    #48 0x7f76acf1273f in g_main_dispatch ../glib/gmain.c:3344
    #49 0x7f76acf1273f in g_main_context_dispatch_unlocked ../glib/gmain.c:4152
    #50 0x7f76acf14387 in g_main_context_iterate_unlocked ../glib/gmain.c:4217
    #51 0x7f76acf14a3b in g_main_context_iteration ../glib/gmain.c:4282
    #52 0x7f76afd0d0fd in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:394
    #53 0x7f76b13af5f7 in QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) /home/nico/workspace/qt6/qtbase/src/gui/platform/unix/qeventdispatcher_glib.cpp:87
    #54 0x7f76af579117 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qeventloop.cpp:100
    #55 0x7f76af57a5bf in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qeventloop.cpp:182
    #56 0x7f76af5642f4 in QCoreApplication::exec() /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1486
    #57 0x7f76b05dda2d in QGuiApplication::exec() /home/nico/workspace/qt6/qtbase/src/gui/kernel/qguiapplication.cpp:1926
    #58 0x7f76b5066ec8 in QApplication::exec() /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qapplication.cpp:2555
    #59 0x41c370 in main /home/nico/kde/src/systemsettings/app/main.cpp:175
    #60 0x7f76aea2a1ef in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
    #61 0x7f76aea2a2b8 in __libc_start_main_impl ../csu/libc-start.c:360
    #62 0x420f34 in _start ../sysdeps/x86_64/start.S:115

0x50d00027a9c0 is located 128 bytes inside of 144-byte region [0x50d00027a940,0x50d00027a9d0)
freed by thread T0 here:
    #0 0x7f76b98fd0d8 in operator delete(void*, unsigned long) ../../../../libsanitizer/asan/asan_new_delete.cpp:164
    #1 0x7f7674ab214d in L2tpWidget::~L2tpWidget() /home/nico/kde/src/plasma-nm/vpn/l2tp/l2tpwidget.cpp:65
    #2 0x7f76af650a93 in QObjectPrivate::deleteChildren() /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:2222
    #3 0x7f76b51996a4 in QWidget::~QWidget() /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qwidget.cpp:1559
    #4 0x7f76b5397eea in QFrame::~QFrame() /home/nico/workspace/qt6/qtbase/src/widgets/widgets/qframe.cpp:235
    #5 0x7f76b5780460 in QStackedWidget::~QStackedWidget() /home/nico/workspace/qt6/qtbase/src/widgets/widgets/qstackedwidget.cpp:112
    #6 0x7f76b5780486 in QStackedWidget::~QStackedWidget() /home/nico/workspace/qt6/qtbase/src/widgets/widgets/qstackedwidget.cpp:112
    #7 0x7f76af650a93 in QObjectPrivate::deleteChildren() /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:2222
    #8 0x7f76b51996a4 in QWidget::~QWidget() /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qwidget.cpp:1559
    #9 0x7f76b5801e70 in QTabWidget::~QTabWidget() /home/nico/workspace/qt6/qtbase/src/widgets/widgets/qtabwidget.cpp:338
    #10 0x7f76b5801e96 in QTabWidget::~QTabWidget() /home/nico/workspace/qt6/qtbase/src/widgets/widgets/qtabwidget.cpp:338
    #11 0x7f76af650a93 in QObjectPrivate::deleteChildren() /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:2222
    #12 0x7f76b51996a4 in QWidget::~QWidget() /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qwidget.cpp:1559
    #13 0x7f7675a9849a in ConnectionEditorBase::~ConnectionEditorBase() /home/nico/kde/src/plasma-nm/libs/editor/connectioneditorbase.cpp:67
    #14 0x7f7675ad7a04 in ConnectionEditorTabWidget::~ConnectionEditorTabWidget() /home/nico/kde/src/plasma-nm/libs/editor/connectioneditortabwidget.cpp:32
    #15 0x7f7675ad7a30 in ConnectionEditorTabWidget::~ConnectionEditorTabWidget() /home/nico/kde/src/plasma-nm/libs/editor/connectioneditortabwidget.cpp:32
    #16 0x7f76af650a93 in QObjectPrivate::deleteChildren() /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:2222
    #17 0x7f76b51996a4 in QWidget::~QWidget() /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qwidget.cpp:1559
    #18 0x7f76b58b3acd in QDialog::~QDialog() /home/nico/workspace/qt6/qtbase/src/widgets/dialogs/qdialog.cpp:394
    #19 0x7f7675ad5984 in ConnectionEditorDialog::~ConnectionEditorDialog() /home/nico/kde/src/plasma-nm/libs/editor/connectioneditordialog.cpp:39
    #20 0x7f7675ad59b0 in ConnectionEditorDialog::~ConnectionEditorDialog() /home/nico/kde/src/plasma-nm/libs/editor/connectioneditordialog.cpp:39
    #21 0x7f76af6376cd in qDeleteInEventHandler(QObject*) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:5001
    #22 0x7f76af64607f in QObject::event(QEvent*) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:1437
    #23 0x7f76b51acc26 in QWidget::event(QEvent*) /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qwidget.cpp:9464
    #24 0x7f76b5067833 in QApplicationPrivate::notify_helper(QObject*, QEvent*) /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qapplication.cpp:3287
    #25 0x7f76b507df55 in QApplication::notify(QObject*, QEvent*) /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qapplication.cpp:3234
    #26 0x7f76af55c0f4 in QCoreApplication::notifyInternal2(QObject*, QEvent*) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1142
    #27 0x7f76af55c282 in QCoreApplication::sendEvent(QObject*, QEvent*) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1583
    #28 0x7f76af55d5e5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1940
    #29 0x7f76af55d8da in QCoreApplication::sendPostedEvents(QObject*, int) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1797

previously allocated by thread T0 here:
    #0 0x7f76b98fc1d8 in operator new(unsigned long) ../../../../libsanitizer/asan/asan_new_delete.cpp:95
    #1 0x7f7674aae4f8 in L2tpUiPlugin::widget(QSharedPointer<NetworkManager::VpnSetting> const&, QWidget*) /home/nico/kde/src/plasma-nm/vpn/l2tp/l2tp.cpp:26
    #2 0x7f7675aa06c1 in ConnectionEditorBase::initialize() /home/nico/kde/src/plasma-nm/libs/editor/connectioneditorbase.cpp:274
    #3 0x7f7675ad88a5 in ConnectionEditorTabWidget::ConnectionEditorTabWidget(QSharedPointer<NetworkManager::ConnectionSettings> const&, QWidget*, QFlags<Qt::WindowType>) /home/nico/kde/src/plasma-nm/libs/editor/connectioneditortabwidget.cpp:19
    #4 0x7f7675ad5d41 in ConnectionEditorDialog::ConnectionEditorDialog(QSharedPointer<NetworkManager::ConnectionSettings> const&, QWidget*, QFlags<Qt::WindowType>) /home/nico/kde/src/plasma-nm/libs/editor/connectioneditordialog.cpp:17
    #5 0x7f768a5c4cf4 in KCMNetworkmanagement::addConnection(QSharedPointer<NetworkManager::ConnectionSettings> const&) /home/nico/kde/src/plasma-nm/kcm/kcm.cpp:479
    #6 0x7f768a5d41c9 in KCMNetworkmanagement::onRequestCreateConnection(int, QString const&, QString const&, bool) /home/nico/kde/src/plasma-nm/kcm/kcm.cpp:388
    #7 0x7f768a5db394 in KCMNetworkmanagement::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/nico/kde/build/plasma-nm/kcm/kcm_networkmanagement_autogen/include/moc_kcm.cpp:150
    #8 0x7f768a5dc0ef in KCMNetworkmanagement::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/nico/kde/build/plasma-nm/kcm/kcm_networkmanagement_autogen/include/moc_kcm.cpp:141
    #9 0x7f768a5dc0ef in KCMNetworkmanagement::qt_metacall(QMetaObject::Call, int, void**) /home/nico/kde/build/plasma-nm/kcm/kcm_networkmanagement_autogen/include/moc_kcm.cpp:179
    #10 0x7f76af581cf4 in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qmetaobject.cpp:334
    #11 0x7f76b2d03342 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlobjectorgadget.cpp:14
    #12 0x7f76b28cd1ff in CallMethod /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1645
    #13 0x7f76b28cfcc0 in CallPrecise /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1950
    #14 0x7f76b28cfefc in operator() /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2924
    #15 0x7f76b28d01d4 in operator()<QV4::QObjectMethod::callInternal(const QV4::Value*, const QV4::Value*, int) const::<lambda()> > /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2901
    #16 0x7f76b28d12e6 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2924
    #17 0x7f76b28d1620 in QV4::QObjectMethod::virtualCall(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int) /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2806
    #18 0x7f76b263f203 in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:171
    #19 0x7f76b29faeb0 in QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:798
    #20 0x7f76b2a0e2d8 in QV4::Moth::VME::exec(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*) /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:487
    #21 0x7f76b27ac6a5 in doCall /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4function.cpp:54
    #22 0x7f76b27ae24a in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext*) /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4function.cpp:79
    #23 0x7f76b27ae767 in operator() /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4function.cpp:30
    #24 0x7f76b27ae767 in convertAndCall<QV4::Function::call(QObject*, void**, const QMetaType*, int, QV4::ExecutionContext*)::<lambda(const QV4::Value*, const QV4::Value*, int)> > /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4jscall_p.h:202
    #25 0x7f76b27aecd1 in QV4::Function::call(QObject*, void**, QMetaType const*, int, QV4::ExecutionContext*) /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4function.cpp:27
    #26 0x7f76b2c31514 in QQmlJavaScriptExpression::evaluate(void**, QMetaType const*, int) /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmljavascriptexpression.cpp:270
    #27 0x7f76b2b04f91 in QQmlBoundSignalExpression::evaluate(void**) /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlboundsignal.cpp:199
    #28 0x7f76b2b0636c in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlboundsignal.cpp:314
    #29 0x7f76b2cb849f in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlnotifier.cpp:70
    #30 0x7f76b2b93c60 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlengine.cpp:352
    #31 0x7f76af660e72 in void doActivate<false>(QObject*, int, void**) (/home/nico/kde/usr/lib64/libQt6Core.so.6+0x460e72) (BuildId: eba16a304ee3fbbb9129ffaa902c01f9c51b14dc)
Comment 5 Nicolas Fella 2024-06-02 13:32:23 UTC
This is caused by the call to QApplication::processEvents in https://invent.kde.org/plasma/plasma-nm/-/blob/master/vpn/l2tp/l2tpipsecwidget.cpp#L324

It causes the WA_DeleteOnClose for ConnectionEditorDialog to be executed too early while settings are still read
Comment 6 Bug Janitor Service 2024-06-02 14:00:58 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-nm/-/merge_requests/351
Comment 7 Nicolas Fella 2024-06-09 17:31:58 UTC
Git commit 59de1353dc09190a71caede6107734a5717205ab by Nicolas Fella.
Committed on 09/06/2024 at 17:30.
Pushed by nicolasfella into branch 'master'.

Don't call QApplication::processEvents to update size hint

The current code calls setSizePolicy and then resizes the dialog to the sizeHint.

However sizeHint is only updated asynchronously, so we use QApplication::processEvents
to force that.

Processing the events this way can cause unforseen havoc, in particular it causes dialogs
that use WA_DeleteOnClose to be closed too early, causing crashes.

Instead of force processing the events delay the setting of the new size one event loop iteration

M  +6    -2    vpn/l2tp/l2tpipsecwidget.cpp

https://invent.kde.org/plasma/plasma-nm/-/commit/59de1353dc09190a71caede6107734a5717205ab
Comment 8 Nicolas Fella 2024-06-09 17:34:59 UTC
Git commit 8d35cd8b4006f760ba95e3ff2ee575fad80776b1 by Nicolas Fella.
Committed on 09/06/2024 at 17:34.
Pushed by nicolasfella into branch 'Plasma/6.1'.

Don't call QApplication::processEvents to update size hint

The current code calls setSizePolicy and then resizes the dialog to the sizeHint.

However sizeHint is only updated asynchronously, so we use QApplication::processEvents
to force that.

Processing the events this way can cause unforseen havoc, in particular it causes dialogs
that use WA_DeleteOnClose to be closed too early, causing crashes.

Instead of force processing the events delay the setting of the new size one event loop iteration
(cherry picked from commit 59de1353dc09190a71caede6107734a5717205ab)

M  +6    -2    vpn/l2tp/l2tpipsecwidget.cpp

https://invent.kde.org/plasma/plasma-nm/-/commit/8d35cd8b4006f760ba95e3ff2ee575fad80776b1