[Bug 310886] New: When importing ovpn file, NetworkManager crash

Máté Soós msoos at freemail.hu
Thu Nov 29 17:07:17 GMT 2012


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

            Bug ID: 310886
          Severity: crash
           Version: unspecified
          Priority: NOR
          Assignee: unassigned-bugs at kde.org
           Summary: When importing ovpn file, NetworkManager crash
    Classification: Unclassified
                OS: Linux
          Reporter: msoos at freemail.hu
          Hardware: Ubuntu Packages
            Status: UNCONFIRMED
         Component: general
           Product: systemsettings

Application: kcmshell4 ()
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-33-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

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

The network manager crashed when importing OVPN file from ipredator.se trying
to set up a VPN. It crashes reliably, every time. Full trace included. 

Content of ovpn file:
--------
client
dev tun0
proto udp
remote pw.openvpn.ipredator.se 1194
resolv-retry infinite
nobind

auth-user-pass

ca /path/to/openvpn/config/keys/IPredator.se.ca.crt

tls-client
tls-auth /path/to/openvpn/config/keys/IPredator.se.ta.key
ns-cert-type server

keepalive 10 30
cipher AES-256-CBC
tls-cipher TLSv1:!ADH:!SSLv2:!NULL:!EXPORT:!DES:!LOW:!MEDIUM:@STRENGTH
persist-key
persist-tun
comp-lzo
tun-mtu 1500
mssfix
passtos
verb 3
--------

By the way, I can now see that "/path/to/openvpn/config/keys/" is wrong, and
probably that's why it's not accepted, but this should most certainly not
segfault, just give an error message.

Please fix! Thx!

Mate

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Control Module (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2c2abf3780 (LWP 21466))]

Thread 3 (Thread 0x7f2c0e8ed700 (LWP 21468)):
#0  0x00007f2c25e1105d in __pthread_mutex_unlock_usercnt (mutex=<optimized
out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f2c08000a60) at pthread_mutex_unlock.c:290
#2  0x00007f2c255725d1 in g_mutex_unlock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2c25536fe9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2c25537164 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2c29873426 in QEventDispatcherGlib::processEvents
(this=0x7f2c080008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f2c29842c82 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f2c29842ed7 in QEventLoop::exec (this=0x7f2c0e8ecdd0, flags=...) at
kernel/qeventloop.cpp:204
#8  0x00007f2c29741fa7 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#9  0x00007f2c298229ff in QInotifyFileSystemWatcherEngine::run (this=0x13c8ca0)
at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f2c29744fcb in QThreadPrivate::start (arg=0x13c8ca0) at
thread/qthread_unix.cpp:298
#11 0x00007f2c25e0de9a in start_thread (arg=0x7f2c0e8ed700) at
pthread_create.c:308
#12 0x00007f2c2842fcbd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2c0e03c700 (LWP 21471)):
#0  0x00007f2c28424303 in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2c25537036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2c25537164 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2c29873426 in QEventDispatcherGlib::processEvents
(this=0x7f2c000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f2c29842c82 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2c29842ed7 in QEventLoop::exec (this=0x7f2c0e03bdd0, flags=...) at
kernel/qeventloop.cpp:204
#6  0x00007f2c29741fa7 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#7  0x00007f2c298229ff in QInotifyFileSystemWatcherEngine::run (this=0x1675290)
at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f2c29744fcb in QThreadPrivate::start (arg=0x1675290) at
thread/qthread_unix.cpp:298
#9  0x00007f2c25e0de9a in start_thread (arg=0x7f2c0e03c700) at
pthread_create.c:308
#10 0x00007f2c2842fcbd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2c2abf3780 (LWP 21466)):
[KCrash Handler]
#6  deref (this=0x21) at
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:133
#7  QString::operator= (this=0x1934b98, other=...) at tools/qstring.cpp:1411
#8  0x00007f2c0cfe159e in OpenVpnUiPlugin::importConnectionSettings
(this=0x14c1910, fileName=...) at ../../../vpnplugins/openvpn/openvpn.cpp:398
#9  0x00007f2c1100462d in ManageConnectionWidget::importClicked
(this=0x125f280) at ../../../settings/config/manageconnectionwidget.cpp:435
#10 0x00007f2c29858281 in QMetaObject::activate (sender=0x13d4840, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fffceeee970) at
kernel/qobject.cpp:3547
#11 0x00007f2c29256c72 in QAbstractButton::clicked (this=<optimized out>,
_t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#12 0x00007f2c28f94a4e in QAbstractButtonPrivate::emitClicked (this=<optimized
out>) at widgets/qabstractbutton.cpp:548
#13 0x00007f2c28f95d8b in QAbstractButtonPrivate::click (this=0x13d4880) at
widgets/qabstractbutton.cpp:541
#14 0x00007f2c28f95ffc in QAbstractButton::mouseReleaseEvent (this=0x13d4840,
e=0x7fffceeef240) at widgets/qabstractbutton.cpp:1123
#15 0x00007f2c28c17144 in QWidget::event (this=0x13d4840, event=0x7fffceeef240)
at kernel/qwidget.cpp:8362
#16 0x00007f2c28bc6894 in notify_helper (e=0x7fffceeef240, receiver=0x13d4840,
this=0xf33580) at kernel/qapplication.cpp:4559
#17 QApplicationPrivate::notify_helper (this=0xf33580, receiver=0x13d4840,
e=0x7fffceeef240) at kernel/qapplication.cpp:4531
#18 0x00007f2c28bcc0bf in QApplication::notify (this=<optimized out>,
receiver=0x13d4840, e=0x7fffceeef240) at kernel/qapplication.cpp:4102
#19 0x00007f2c2a5dd3f6 in KApplication::notify (this=0x7fffceeeff60,
receiver=0x13d4840, event=0x7fffceeef240) at
../../kdeui/kernel/kapplication.cpp:311
#20 0x00007f2c29843e9c in QCoreApplication::notifyInternal
(this=0x7fffceeeff60, receiver=0x13d4840, event=0x7fffceeef240) at
kernel/qcoreapplication.cpp:876
#21 0x00007f2c28bc7862 in sendEvent (event=<optimized out>, receiver=<optimized
out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#22 QApplicationPrivate::sendMouseEvent (receiver=0x13d4840,
event=0x7fffceeef240, alienWidget=0x13d4840, nativeWidget=0x1272320,
buttonDown=0x13d4840, lastMouseReceiver=..., spontaneous=true) at
kernel/qapplication.cpp:3170
#23 0x00007f2c28c46bf5 in QETWidget::translateMouseEvent (this=0x1272320,
event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#24 0x00007f2c28c45bae in QApplication::x11ProcessEvent (this=0x7fffceeeff60,
event=0x7fffceeefb10) at kernel/qapplication_x11.cpp:3732
#25 0x00007f2c28c6f0d2 in x11EventSourceDispatch (s=0xf35f20, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#26 0x00007f2c25536d53 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f2c255370a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f2c25537164 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f2c298733bf in QEventDispatcherGlib::processEvents (this=0xe827d0,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#30 0x00007f2c28c6ed5e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f2c29842c82 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f2c29842ed7 in QEventLoop::exec (this=0x7fffceeefeb0, flags=...) at
kernel/qeventloop.cpp:204
#33 0x00007f2c29096936 in QDialog::exec (this=0x1086e00) at
dialogs/qdialog.cpp:554
#34 0x00007f2c16b1ad2c in kdemain (_argc=<optimized out>, _argv=<optimized
out>) at ../../kcmshell/main.cpp:292
#35 0x00000000004086a4 in launch (argc=5, _name=0xf32238 "kcmshell4",
args=<optimized out>, cwd=0x0, envc=<optimized out>, envs=<optimized out>,
reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40b31e "0") at
../../kinit/kinit.cpp:746
#36 0x0000000000409a16 in handle_launcher_request (sock=8, who=<optimized out>)
at ../../kinit/kinit.cpp:1238
#37 0x0000000000409f47 in handle_requests (waitForPid=0) at
../../kinit/kinit.cpp:1431
#38 0x000000000040532f in main (argc=4, argv=0x7fff00000001,
envp=0x7fffceef1960) at ../../kinit/kinit.cpp:1919

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list