Bug 8790 - KVPNC crash on first run when kwallet is enabled
Summary: KVPNC crash on first run when kwallet is enabled
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Juan Luis Baptiste
QA Contact:
URL:
Whiteboard: 3beta4
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-23 12:40 CET by Arnaud Vacquier
Modified: 2013-12-24 21:54 CET (History)
0 users

See Also:
Source RPM: kvpnc
CVE:
Status comment:


Attachments
crash (822 bytes, text/plain)
2013-01-28 06:05 CET, Arnaud Vacquier
Details

Description Arnaud Vacquier 2013-01-23 12:40:46 CET
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
Arnaud Vacquier 2013-01-23 12:42:58 CET

Source RPM: (none) => kvpnc

Manuel Hiebel 2013-01-23 18:06:14 CET

Assignee: bugsquad => juan.baptiste

Comment 1 Arnaud Vacquier 2013-01-28 06:05:43 CET
Created attachment 3446 [details]
crash
Comment 2 Arnaud Vacquier 2013-03-03 00:33:21 CET
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 ()
Comment 3 Arnaud Vacquier 2013-04-03 13:35:52 CEST
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]#
Arnaud Vacquier 2013-04-03 13:36:37 CEST

Whiteboard: (none) => 3beta4

Comment 4 Arnaud Vacquier 2013-04-03 13:38:36 CEST
bug too if i install number one ( 1- ipsec-tools-0.8.0-3.mga3.i586 )
Comment 5 Arnaud Vacquier 2013-04-05 07:27:08 CEST
fixed with 4.10.2 kde

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 6 Arnaud Vacquier 2013-04-06 00:42:12 CEST
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 => REOPENED
Resolution: FIXED => (none)

Comment 7 Juan Luis Baptiste 2013-06-10 04:47:37 CEST
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.
Comment 8 Juan Luis Baptiste 2013-09-18 05:17:06 CEST
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.
Comment 9 Juan Luis Baptiste 2013-09-18 05:21:05 CEST
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.
Juan Luis Baptiste 2013-09-19 18:58:56 CEST

Summary: KVPNC crash => KVPNC crash on first run when kwallet is enabled

Comment 10 Juan Luis Baptiste 2013-09-19 19:08:28 CEST
Ok, I have done a patch to fix this crash, available on kvpnc-0.9.6-7. Please test it and report back.
Comment 11 Juan Luis Baptiste 2013-09-30 08:54:40 CEST
This bug is also present on mga3, so I have prepared an updated version, available on core/updates_testing.

Version: Cauldron => 3

Comment 12 Juan Luis Baptiste 2013-12-24 21:54:58 CET
The crash was fixed with my patch and as there wasn't any feedback I'm closing it as Fixed.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.