Bug 250237 - Kvpnc crash on start and hang up system
Summary: Kvpnc crash on start and hang up system
Status: RESOLVED DUPLICATE of bug 246016
Alias: None
Product: kvpnc
Classification: Miscellaneous
Component: general (show other bugs)
Version: 0.9.6
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Christoph Thielecke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-05 07:17 UTC by Sasha
Modified: 2010-10-11 17:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sasha 2010-09-05 07:17:46 UTC
Version:           0.9.6 (using Devel) 
OS:                Linux

Only with command "nice -n 19 kvpnc" I can get result without hang up:
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
KCrash: Application 'kvpnc' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/asm/.kde/socket-asm-eee/kdeinit4__0

This result was returned 1 or 2 minutes after start. In this time system hang up because system begin work with swap(!). I see on swap indicator near 500Kb of use. In standard mode my swap has 0 kb of use.
When I run kvpnc with standard nice it hang up system(mouse not move and when I press Ctrl+Alt+F1 then system not respond some time) and create swaping to swap file(in normal mode my swap not using on my eeepc).

I use beta of Kubuntu 10.10 with KDE 4.5.1:
Qt: 4.7.0
KDE Development Platform: 4.5.1 (KDE 4.5.1)
KVpnc: 0.9.6


Reproducible: Always

Steps to Reproduce:
run kvpnc from console

Actual Results:  
system hang up


My PC:EEE PC 900 with 1Gb of RAM and 1Gb of swap-file.
But this problem was on another big PC(Kubuntu 10.04+KDE 4.5.1 from Kubuntu ppa:kubuntu-ppa/backports repository).
I probe use Kvpnc 0.9.6a-2 from Debian unstable but have crash too...
Comment 1 Sasha 2010-09-06 11:31:14 UTC
On another PC I have result:

>kdesudo kvpnc
QImage: out of memory, returning null

In /var/log/messages or /var/log/syslog I see nothing...
Comment 2 Sasha 2010-09-20 13:13:04 UTC
After latest updates kvpnc not crached but not working too...
When I run it in console I can see:
QImage: out of memory, returning null
Bus::open:: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon

In GUI I can see "Kvpnc must be started as root"

when I run "sudo kvpnc" I can see that:
Error: "/var/tmp/kdecache-blablabla" is owned by uid 1000 instead of uid 0
kvpnc: Session bus not found

KCrash: Application 'kvpnc' craching...
KCrach: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/user/.kde/....
Comment 3 Sasha 2010-09-29 10:52:50 UTC
I have oldest updates of Kubuntu 10.10beta and now Kvpnc not hangup system but not working and print in console next:

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
KCrash: Application 'kvpnc' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/asm/.kde/socket-asm-eee/kdeinit4__0
[1]   Exit 253                kvpnc

[2]+  Stopped                 kvpnc
Comment 4 Christoph Feck 2010-10-11 17:07:40 UTC

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