Hi Description of problem: Kvpnc crash every start Version-Release number of selected component (if applicable): Mageia 3 Cauldron KDE x86_64 How reproducible: Install kvpnc and launch Error : @localhost ~]# kvpnc kvpnc(8202)/kdeui (KIconLoader) KIconLoaderPrivate::normalizeIconMetadata: Neither size nor group specified! kvpnc(8202)/kdeui (KIconLoader) KIconLoaderPrivate::normalizeIconMetadata: Neither size nor group specified! kvpnc(8202)/kdeui (KIconLoader) KIconLoaderPrivate::normalizeIconMetadata: Neither size nor group specified! KCrash: Application 'kvpnc' crashing... KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit sock_file=/root/.kde4/socket-localhost/kdeinit4__0 thank you
Source RPM: (none) => kvpnc
Assignee: bugsquad => juan.baptiste
Created attachment 3446 [details] crash
more information with kde 4.10 : Application: KVpnc (kvpnc), signal: Segmentation fault Using host libthread_db library "/lib/i686/libthread_db.so.1". [Current thread is 1 (Thread 0xb4204740 (LWP 13494))] Thread 2 (Thread 0xb17efb40 (LWP 13501)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb5852ac1 in select () from /lib/i686/libc.so.6 #2 0xb66a5653 in QProcessManager::run() () from /lib/libQtCore.so.4 #3 0xb65b68a8 in QThreadPrivate::start(void*) () from /lib/libQtCore.so.4 #4 0xb55cabb8 in start_thread () from /lib/i686/libpthread.so.0 #5 0xb585b2fe in clone () from /lib/i686/libc.so.6 Thread 1 (Thread 0xb4204740 (LWP 13494)): [KCrash Handler] #6 0x08138183 in KVpncConfig::loadOptions() () #7 0x081eedc6 in KVpnc::KVpnc(KApplication*, QWidget*) () #8 0x0805db0c in main ()
Still in new install beta4 : install : [root@Aranud aranud]# urpmi kvpnc Afin de satisfaire les dépendances de « kvpnc-backend », un des paquetages suivants est nécessaire : 1- ipsec-tools-0.8.0-3.mga3.i586 : Tools for configuring and using IPSEC (à installer) 2- vpnc-0.5.3-8.mga3.i586 : A free vpn client for the Cisco 3000 concentrators (à installer) Que choisissez-vous ? (1-2) 2 Pour satisfaire les dépendances, les paquetages suivants vont être installés : Paquetage Version Révision Arch (média « Core Release (distrib1) ») kvpnc 0.9.6 6.mga3 i586 vpnc 0.5.3 8.mga3 i586 un espace additionnel de 6.8Mo sera utilisé. 1.4Mo de paquets seront récupérés. Procéder à l'installation des 2 paquetages ? (O/n) o $MIRRORLIST: media/core/release/vpnc-0.5.3-8.mga3.i586.rpm $MIRRORLIST: media/core/release/kvpnc-0.9.6-6.mga3.i586.rpm installation de vpnc-0.5.3-8.mga3.i586.rpm kvpnc-0.9.6-6.mga3.i586.rpm depuis /var/cache/urpmi/rpms Préparation... ############################################# 1/2: vpnc ############################################# 2/2: kvpnc ############################################# [root@Aranud aranud]# error : Application: KVpnc (kvpnc), signal: Segmentation fault Using host libthread_db library "/lib/i686/libthread_db.so.1". [KCrash Handler] #6 0x08138183 in KVpncConfig::loadOptions() () #7 0x081eedc6 in KVpnc::KVpnc(KApplication*, QWidget*) () #8 0x0805db0c in main () in terminal : [root@Aranud aranud]# kvpnc kvpnc(22173)/kdeui (kdelibs): Session bus not found To circumvent this problem try the following command (with Linux and bash) export $(dbus-launch) KCrash: Application 'kvpnc' crashing... KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit sock_file=/root/.kde4/socket-Aranud/kdeinit4__0 [1]+ Stoppé kvpnc [root@Aranud aranud]#
Whiteboard: (none) => 3beta4
bug too if i install number one ( 1- ipsec-tools-0.8.0-3.mga3.i586 )
fixed with 4.10.2 kde
Status: NEW => RESOLVEDResolution: (none) => FIXED
Hi, It is partial fixed : [root@Aranud aranud]# urpmi kvpnc Afin de satisfaire les dépendances de « kvpnc-backend », un des paquetages suivants est nécessaire : 1- ipsec-tools-0.8.0-3.mga3.i586 : Tools for configuring and using IPSEC (à installer) 2- vpnc-0.5.3-8.mga3.i586 : A free vpn client for the Cisco 3000 concentrators (à installer) Que choisissez-vous ? (1-2) 2 If you install number 1 is crash yet but if you install number 2 it is run ;)
Status: RESOLVED => REOPENEDResolution: FIXED => (none)
I can't reproduce it, I installed kvpnc from command line and selected option no. 1 (ipsec-tools), and it runs with no crashes. Selecting vpnc package doesn't do any difference either.
I was able to make it crash. For me, it only happens the first time I open the application and KWallet integration hasn't been setup. If you enable KWallet integration for kvpnc then the application will not crash and open correctly. But, if KWallet isn't enabled then kvpnc will crash, that time. Next run will work ok.
btw, @Arnaud your traces are useless because you haven't installed the debug package of kvpnc. Please install it with urpmi kvpnc-debuginfo. With ith I can see that the crash is at line 1016 of kvpncconfig.cpp: if (wallet->isOpen()) { That check is the one making the crash for me, I'll have to dig more to know why.
Summary: KVPNC crash => KVPNC crash on first run when kwallet is enabled
Ok, I have done a patch to fix this crash, available on kvpnc-0.9.6-7. Please test it and report back.
This bug is also present on mga3, so I have prepared an updated version, available on core/updates_testing.
Version: Cauldron => 3
The crash was fixed with my patch and as there wasn't any feedback I'm closing it as Fixed.
Status: REOPENED => RESOLVEDResolution: (none) => FIXED