Bug 486660

Summary: plasma-nm crashes when trying to connect to a PAN Global Protect network
Product: [Plasma] plasmashell Reporter: Rohan Garg <rohan>
Component: Networking in generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nicolas.fella, rohan
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rohan Garg 2024-05-06 08:26:56 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
Plasma NM OpenConnect kded6 module crashes when trying to connect to a PAN Global Protect network.

STEPS TO REPRODUCE
1.  Create a new connection to a PAN Global Protect Network
2.  Try and authenticate

OBSERVED RESULT
kded6 crashes with the following backtrace

0x00007fffd29e989f in OpenconnectAuthWidget::formLoginClicked (this=<optimized out>) at /usr/src/debug/plasma-nm/plasma-nm-6.0.4/vpn/openconnect/openconnectauth.cpp:833
Downloading source file /usr/src/debug/plasma-nm/plasma-nm-6.0.4/vpn/openconnect/openconnectauth.cpp
833         QLayout *layout = d->ui.loginBoxLayout->itemAt(d->passwordFormIndex)->layout();                                                                                                                                                                                                                                                                                                                                                                                                 
(gdb) bt
#0  0x00007fffd29e989f in OpenconnectAuthWidget::formLoginClicked (this=<optimized out>) at /usr/src/debug/plasma-nm/plasma-nm-6.0.4/vpn/openconnect/openconnectauth.cpp:833
#1  0x00007ffff6788324 in QObject::event (this=0x555555b64450, e=0x5555568a4b80) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1446
#2  0x00007ffff78fbfcb in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x555555b64450, e=0x5555568a4b80) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3287
#3  0x00007ffff673daa8 in QCoreApplication::notifyInternal2 (receiver=0x555555b64450, event=event@entry=0x5555568a4b80) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1142
#4  0x00007ffff673de34 in QCoreApplication::sendEvent (event=0x5555568a4b80, receiver=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1583
#5  QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x555555594400) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1940
#6  0x00007ffff6985fe4 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1797
#7  postEventSourceDispatch (s=0x5555555970c0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:244
#8  0x00007ffff5ed9199 in g_main_dispatch (context=0x7fffec000f00) at ../glib/glib/gmain.c:3344
#9  0x00007ffff5f383bf in g_main_context_dispatch_unlocked (context=0x7fffec000f00) at ../glib/glib/gmain.c:4152
#10 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7fffec000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4217
#11 0x00007ffff5ed8712 in g_main_context_iteration (context=0x7fffec000f00, may_block=1) at ../glib/glib/gmain.c:4282
#12 0x00007ffff6983cf4 in QEventDispatcherGlib::processEvents (this=0x5555555b4f50, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#13 0x00007ffff6745c3e in QEventLoop::processEvents (flags=..., this=0x7fffffffd220) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#14 QEventLoop::exec (this=0x7fffffffd220, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:182
#15 0x00007ffff67416a8 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#16 0x00007ffff78f851a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2555
#17 0x0000555555559b66 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kded/kded-6.1.0/src/kded.cpp:675

EXPECTED RESULT
I'm able to connect to the network
Comment 1 Nicolas Fella 2024-05-07 22:16:17 UTC

*** This bug has been marked as a duplicate of bug 485093 ***
Comment 2 Ben Cooksley 2024-12-23 18:23:42 UTC
Bulk transfer as requested in T17796