Bug 415490

Summary: kcmshell crashes when un-checking "Send host name" in "Connexions" pannel
Product: [Applications] systemsettings Reporter: Warbeaver <warbeaver>
Component: kcmshellAssignee: josselin <jneveux2>
Status: RESOLVED DUPLICATE    
Severity: crash CC: jneveux2, kde, warbeaver
Priority: NOR    
Version: 5.17.4   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: same crash as my neighbour above

Description Warbeaver 2019-12-23 16:27:53 UTC
Application: kcmshell5 (5.17.4)

Qt Version: 5.12.4
Frameworks Version: 5.65.0
Operating System: Linux 5.3.0-24-generic x86_64
Distribution: Ubuntu 19.10

-- Information about the crash:

- Steps to reproduce:

1) Open "Connexions" panel (via system settings or status bar shortcuts)
2) Go tot IPv4 sub-pannel
3) Open "Advanced settings" (or whatever it's named in english)
4) Un-check "Send host name"
5) Click "Ok"
=> Crash

- Custom settings:

Was playing with DNS settings (trying to use Cloudflare's servers). Maybe related?
Everything default appart from DNS servers (on IPv4 and IPv6), and "Method", set to "Automatic (adresses only)".
Re-defaulting all fields and repeating steps still results in crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Module de configuration du système (kcmshell5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7efed1dafc80 (LWP 19411))]

Thread 4 (Thread 0x7efec1ac4700 (LWP 19416)):
#0  0x00007efed4fa02c6 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5584baf3fb2c) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  0x00007efed4fa02c6 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5584baf3fad8, cond=0x5584baf3fb00) at pthread_cond_wait.c:508
#2  0x00007efed4fa02c6 in __pthread_cond_wait (cond=0x5584baf3fb00, mutex=0x5584baf3fad8) at pthread_cond_wait.c:638
#3  0x00007efec214997b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007efec214959b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007efed4f99669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#6  0x00007efed7663323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7efec96ad700 (LWP 19414)):
#0  0x00007efed7656c2f in __GI___poll (fds=0x7efebc0025e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007efed4470a3e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007efed4470b73 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007efed60fb6c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007efed60a263b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007efed5edba75 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007efed54a2319 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007efed5edccc2 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007efed4f99669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#9  0x00007efed7663323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7efecba73700 (LWP 19413)):
#0  0x00007efed5edd1c3 in QMutex::unlock() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007efed60fbdd9 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007efed4470471 in g_main_context_check () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007efed44709e2 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007efed4470b73 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007efed60fb6c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007efed60a263b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007efed5edba75 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007efed70a1efa in  () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007efed5edccc2 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007efed4f99669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#11 0x00007efed7663323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7efed1dafc80 (LWP 19411)):
[KCrash Handler]
#6  0x00007efed6baaaf8 in QAbstractButton::isChecked() const () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007efeca5d5fc4 in  () at /lib/x86_64-linux-gnu/libplasmanm_editor.so
#8  0x00007efed60cf5c8 in QMetaObject::activate(QObject*, int, int, void**) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007efed6cb7f18 in QDialogPrivate::finalize(int, int) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007efed60cf5c8 in QMetaObject::activate(QObject*, int, int, void**) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007efed6c50f76 in  () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007efed60cf468 in QMetaObject::activate(QObject*, int, int, void**) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007efed6baa236 in QAbstractButton::clicked(bool) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007efed6baa45e in  () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007efed6bab8a3 in  () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007efed6baba65 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007efed6af804e in QWidget::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007efed6ab5a86 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007efed6abf053 in QApplication::notify(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007efed60a3a9a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007efed6abe157 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007efed6b1414d in  () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007efed6b16fdc in  () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007efed6ab5a86 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007efed6abee00 in QApplication::notify(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007efed60a3a9a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007efed648bd73 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#28 0x00007efed648d5fb in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#29 0x00007efed646726b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#30 0x00007efed147d28e in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#31 0x00007efed447084d in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007efed4470ad0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007efed4470b73 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007efed60fb6a5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007efed60a263b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007efed60aa3a6 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007efed773c381 in kdemain () at /lib/x86_64-linux-gnu/libkdeinit5_kcmshell5.so
#38 0x00007efed75681e3 in __libc_start_main (main=0x5584ba0a0060, argc=2, argv=0x7ffdb2774ed8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdb2774ec8) at ../csu/libc-start.c:308
#39 0x00005584ba0a009e in _start ()
[Inferior 1 (process 19411) detached]
Comment 1 josselin 2019-12-30 01:11:19 UTC
Created attachment 124780 [details]
same crash as my neighbour above

is there anybody in the room to help us?
Comment 2 Kai Uwe Broulik 2020-01-07 12:18:15 UTC

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