Bug 246016 - Kvpnc crashes on launch
Summary: Kvpnc crashes on launch
Status: RESOLVED FIXED
Alias: None
Product: kvpnc
Classification: Unmaintained
Component: general (show other bugs)
Version: 0.9.6
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Christoph Thielecke
URL:
Keywords:
: 250237 252685 253756 253992 254688 254904 254982 255060 255146 255534 255685 256158 256576 256613 257663 258757 259379 259648 260950 261885 262852 263043 263884 263940 264195 264206 264303 264525 265625 266523 267900 268443 268729 268764 270403 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-28 11:59 UTC by Etz
Modified: 2011-04-08 17:42 UTC (History)
41 users (show)

See Also:
Latest Commit:
Version Fixed In: KDE 4.5.2
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (1.99 KB, text/plain)
2010-09-17 00:03 UTC, Stefan Reuschl
Details
New crash information added by DrKonqi (2.42 KB, text/plain)
2010-10-14 07:05 UTC, bkcchan
Details
New crash information added by DrKonqi (1.99 KB, text/plain)
2010-10-19 18:20 UTC, Branko
Details
New crash information added by DrKonqi (1.99 KB, text/plain)
2010-10-26 23:20 UTC, james
Details
New crash information added by DrKonqi (2.45 KB, text/plain)
2010-11-19 18:31 UTC, Matthew
Details
New crash information added by DrKonqi (2.38 KB, text/plain)
2010-11-30 16:23 UTC, Adrian Sandoval
Details
New crash information added by DrKonqi (2.29 KB, text/plain)
2011-01-24 19:33 UTC, Loreno
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Etz 2010-07-28 11:59:15 UTC
Application: kvpnc (0.9.6)
KDE Platform Version: 4.4.92 (KDE 4.4.92 (KDE 4.5 RC2))
Qt Version: 4.7.0
Operating System: Linux 2.6.32-24-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Starting program, always crashes after inserting kdesudo password...

The crash can be reproduced every time.

-- Backtrace:
Application: KVpnc (kvpnc), signal: Segmentation fault
[KCrash Handler]
#7  0x0547e3f6 in QImageScale::qimageCalcXPoints (sw=32, dw=1260920948) at painting/qimagescale.cpp:195
#8  0x0547e667 in QImageScale::qimageCalcScaleInfo (img=..., sw=32, sh=32, dw=1260920948, dh=1260920948, aa=1 '\001') at painting/qimagescale.cpp:289
#9  0x0547e813 in qSmoothScaleImage (src=..., dw=1260920948, dh=1260920948) at painting/qimagescale.cpp:1009
#10 0x0532cd23 in smoothScaled (source=<value optimized out>, w=1260920948, h=1260920948) at image/qimage.cpp:5958
#11 0x05331f8e in QImage::transformed (this=0xbfab871c, matrix=..., mode=Qt::SmoothTransformation) at image/qimage.cpp:6150
#12 0x053323c2 in QImage::scaled (this=0xbfab871c, s=..., aspectMode=Qt::IgnoreAspectRatio, mode=Qt::SmoothTransformation) at image/qimage.cpp:4039
#13 0x019c027d in ?? () from /usr/lib/libkdeui.so.5
#14 0x019c73fe in KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const () from /usr/lib/libkdeui.so.5
#15 0x08182b5a in _start ()

Reported using DrKonqi
Comment 1 Thomas Bartschies 2010-08-17 19:34:12 UTC
I can confirm this bug. KDE Version is now SC 4.5 release.
QT Version is 4.7.0 Beta2. kvpnc version is also 0.9.6.

Backtrace is the same.
Comment 2 Stefan Reuschl 2010-09-17 00:03:52 UTC
Created attachment 51734 [details]
New crash information added by DrKonqi

kvpnc (0.9.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

same backtrace here
I didn't notice this crash in any other application yet.

-- Backtrace (Reduced):
#14 0x0755961d in QImageScale::qimageCalcXPoints (sw=32, dw=926288494) at painting/qimagescale.cpp:189
#15 0x075598d7 in QImageScale::qimageCalcScaleInfo (img=..., sw=32, sh=32, dw=926288494, dh=926288494, aa=1 '\001') at painting/qimagescale.cpp:289
#16 0x07559a83 in qSmoothScaleImage (src=..., dw=926288494, dh=926288494) at painting/qimagescale.cpp:1009
#17 0x07408203 in smoothScaled (source=<value optimized out>, w=926288494, h=926288494) at image/qimage.cpp:6251
#18 0x0740c50e in QImage::transformed (this=0xbf88995c, matrix=..., mode=Qt::SmoothTransformation) at image/qimage.cpp:6443
Comment 3 Christoph Feck 2010-09-27 01:23:35 UTC
SVN commit 1180089 by cfeck:

Fix crash when no icon group and size is specified

Re-add the kWarning() from 4.4 branch and fall back to
KIconLoader::Desktop size in this case.

The bug in kvpnc is in KVpnc::initAction(), first three lines:
The loadIcon() calls specify no group and size. One of them
must be passed so that the loader knows which size the result
pixmap should have. It is probably simplest to replace those
calls with KIcon("iconname") constructs.

CCBUG: 246016


 M  +6 -1      kiconloader.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1180089
Comment 4 Christoph Feck 2010-09-27 01:44:58 UTC
SVN commit 1180094 by cfeck:

Use KIcon to set window icons

BUG: 246016


 M  +4 -7      kvpnc.cpp  
 M  +0 -3      kvpnc.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1180094
Comment 5 Christoph Feck 2010-09-28 21:28:45 UTC
*** Bug 252685 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2010-10-10 17:21:08 UTC
*** Bug 253756 has been marked as a duplicate of this bug. ***
Comment 7 Jeffrey 2010-10-11 16:21:40 UTC
I've noticed that uninstalling and reinstalling Kvpnc 0.9.6a-2 will allow me to launch the app just fine for the first run, but it crashes with additional attempts.  So, I just remove and reinstall it if needed.  By no means an ideal situation, of course.

shell$ sudo aptitude purge kvpnc kvpnc-dbg kvpnc-data && sudo aptitude install kvpnc kvpnc-dbg kvpnc-data
Comment 8 Christoph Feck 2010-10-11 17:07:40 UTC
*** Bug 250237 has been marked as a duplicate of this bug. ***
Comment 9 Christoph Feck 2010-10-13 01:46:04 UTC
*** Bug 253992 has been marked as a duplicate of this bug. ***
Comment 10 bkcchan 2010-10-14 07:05:35 UTC
Created attachment 52496 [details]
New crash information added by DrKonqi

kvpnc (0.9.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

Able to launch kvpnc successfully after a reboot.  Once vpn is connected, kvpnc will crash in a few minutes on its own.  Subsequent attempts to re-launch kvpnc  does not work.

-- Backtrace (Reduced):
#14 0x0148a71a in QImageScale::qimageCalcYPoints (src=0x865c110, sw=32, sh=32, dh=540094512) at painting/qimagescale.cpp:161
#15 0x0148a954 in QImageScale::qimageCalcScaleInfo (img=..., sw=32, sh=32, dw=540094512, dh=540094512, aa=1 '\001') at painting/qimagescale.cpp:293
#16 0x0148aa83 in qSmoothScaleImage (src=..., dw=540094512, dh=540094512) at painting/qimagescale.cpp:1009
#17 0x0133b193 in smoothScaled (source=<value optimized out>, w=540094512, h=540094512) at image/qimage.cpp:6251
#18 0x0133f516 in QImage::transformed (this=0xbff75b1c, matrix=..., mode=Qt::SmoothTransformation) at image/qimage.cpp:6443
Comment 11 Branko 2010-10-19 18:20:44 UTC
Created attachment 52683 [details]
New crash information added by DrKonqi

kvpnc (0.9.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:
restart computer, run kvpnc, crashed .. restart kvpnc doesn't work.. reinstall either..
twice (from 40 attempts) i could establish vpn connection but it ended after few minutes 
recently updated to ubuntu 10.10 and changed desktop template.. if this is related

-- Backtrace (Reduced):
#7  QImageScale::qimageCalcXPoints (sw=32, dw=1126188356) at painting/qimagescale.cpp:195
#8  0x06e918d7 in QImageScale::qimageCalcScaleInfo (img=..., sw=32, sh=32, dw=1126188356, dh=1126188356, aa=1 '\001') at painting/qimagescale.cpp:289
#9  0x06e91a83 in qSmoothScaleImage (src=..., dw=1126188356, dh=1126188356) at painting/qimagescale.cpp:1009
#10 0x06d42193 in smoothScaled (source=<value optimized out>, w=1126188356, h=1126188356) at image/qimage.cpp:6251
#11 0x06d46516 in QImage::transformed (this=0xbf88260c, matrix=..., mode=Qt::SmoothTransformation) at image/qimage.cpp:6443
Comment 12 Christoph Feck 2010-10-19 21:59:29 UTC
*** Bug 254688 has been marked as a duplicate of this bug. ***
Comment 13 Christoph Feck 2010-10-21 22:35:24 UTC
*** Bug 254904 has been marked as a duplicate of this bug. ***
Comment 14 Christoph Feck 2010-10-22 19:20:55 UTC
*** Bug 254982 has been marked as a duplicate of this bug. ***
Comment 15 Christoph Feck 2010-10-23 19:52:34 UTC
*** Bug 255060 has been marked as a duplicate of this bug. ***
Comment 16 Christoph Feck 2010-10-25 04:07:31 UTC
*** Bug 255146 has been marked as a duplicate of this bug. ***
Comment 17 james 2010-10-26 23:20:40 UTC
Created attachment 52895 [details]
New crash information added by DrKonqi

kvpnc (0.9.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:
1. Booted the OS. 
2. Tried to launch kvpnc
3. Unable to start the application.
4. uninstalling and reinstalling fixes the problem
5. VPN connection works well
6. If connection is terminated the problem continues, so back to 4.

-- Backtrace (Reduced):
#5  QImageScale::qimageCalcXPoints (sw=32, dw=1277194863) at painting/qimagescale.cpp:195
#6  0x096408d7 in QImageScale::qimageCalcScaleInfo (img=..., sw=32, sh=32, dw=1277194863, dh=1277194863, aa=1 '\001') at painting/qimagescale.cpp:289
#7  0x09640a83 in qSmoothScaleImage (src=..., dw=1277194863, dh=1277194863) at painting/qimagescale.cpp:1009
#8  0x094f1193 in smoothScaled (source=<value optimized out>, w=1277194863, h=1277194863) at image/qimage.cpp:6251
#9  0x094f5516 in QImage::transformed (this=0xbfab966c, matrix=..., mode=Qt::SmoothTransformation) at image/qimage.cpp:6443
Comment 18 Christoph Feck 2010-10-29 00:11:14 UTC
*** Bug 255534 has been marked as a duplicate of this bug. ***
Comment 19 Christoph Feck 2010-10-30 20:09:47 UTC
*** Bug 255685 has been marked as a duplicate of this bug. ***
Comment 20 Christoph Feck 2010-11-05 17:47:31 UTC
*** Bug 256158 has been marked as a duplicate of this bug. ***
Comment 21 Pino Toscano 2010-11-11 11:22:24 UTC
*** Bug 256576 has been marked as a duplicate of this bug. ***
Comment 22 Christoph Feck 2010-11-11 16:17:03 UTC
*** Bug 256613 has been marked as a duplicate of this bug. ***
Comment 23 Matthew 2010-11-19 18:31:56 UTC
Created attachment 53554 [details]
New crash information added by DrKonqi

kvpnc (0.9.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:
ran after install on Ubunut 10.10.  Tried mulitple machines and multiple locations to eliminate hardware and network configurations.

-- Backtrace (Reduced):
#14 0x0698e62a in QImageScale::qimageCalcXPoints (sw=32, dw=859321141) at painting/qimagescale.cpp:189
#15 0x0698e8d7 in QImageScale::qimageCalcScaleInfo (img=..., sw=32, sh=32, dw=859321141, dh=859321141, aa=1 '\001') at painting/qimagescale.cpp:289
#16 0x0698ea83 in qSmoothScaleImage (src=..., dw=859321141, dh=859321141) at painting/qimagescale.cpp:1009
#17 0x0683f193 in smoothScaled (source=<value optimized out>, w=859321141, h=859321141) at image/qimage.cpp:6251
#18 0x06843516 in QImage::transformed (this=0xbfd5b06c, matrix=..., mode=Qt::SmoothTransformation) at image/qimage.cpp:6443
Comment 24 Christoph Feck 2010-11-23 16:54:53 UTC
*** Bug 257663 has been marked as a duplicate of this bug. ***
Comment 25 Adrian Sandoval 2010-11-30 16:23:48 UTC
Created attachment 53893 [details]
New crash information added by DrKonqi

kvpnc (0.9.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:

It crash every time I try to run it, by command or GUI.

-- Backtrace (Reduced):
#16 0xb5e6262a in QImageScale::qimageCalcXPoints (sw=32, dw=1852401505) at painting/qimagescale.cpp:189
#17 0xb5e628d7 in QImageScale::qimageCalcScaleInfo (img=..., sw=32, sh=32, dw=1852401505, dh=1852401505, aa=1 '\001') at painting/qimagescale.cpp:289
#18 0xb5e62a83 in qSmoothScaleImage (src=..., dw=1852401505, dh=1852401505) at painting/qimagescale.cpp:1009
#19 0xb5d13193 in smoothScaled (source=<value optimized out>, w=1852401505, h=1852401505) at image/qimage.cpp:6251
#20 0xb5d17516 in QImage::transformed (this=0xbfadc26c, matrix=..., mode=Qt::SmoothTransformation) at image/qimage.cpp:6443
Comment 26 Christoph Feck 2010-12-04 03:50:07 UTC
*** Bug 258757 has been marked as a duplicate of this bug. ***
Comment 27 Christoph Feck 2010-12-09 22:58:23 UTC
*** Bug 259379 has been marked as a duplicate of this bug. ***
Comment 28 Pino Toscano 2010-12-12 23:47:50 UTC
*** Bug 259648 has been marked as a duplicate of this bug. ***
Comment 29 Christoph Feck 2010-12-22 15:27:51 UTC
*** Bug 260950 has been marked as a duplicate of this bug. ***
Comment 30 Christoph Feck 2011-01-03 01:43:18 UTC
*** Bug 261885 has been marked as a duplicate of this bug. ***
Comment 31 Christoph Feck 2011-01-11 14:46:55 UTC
*** Bug 262852 has been marked as a duplicate of this bug. ***
Comment 32 Pino Toscano 2011-01-13 18:47:27 UTC
*** Bug 263043 has been marked as a duplicate of this bug. ***
Comment 33 Christoph Feck 2011-01-21 17:28:52 UTC
*** Bug 263884 has been marked as a duplicate of this bug. ***
Comment 34 Christoph Feck 2011-01-22 14:58:31 UTC
*** Bug 263940 has been marked as a duplicate of this bug. ***
Comment 35 Christoph Feck 2011-01-24 19:12:55 UTC
*** Bug 264195 has been marked as a duplicate of this bug. ***
Comment 36 Loreno 2011-01-24 19:33:04 UTC
Created attachment 56396 [details]
New crash information added by DrKonqi

kvpnc (0.9.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

Kubuntu 10.10 standard

-- Backtrace (Reduced):
#14 0x015d462a in QImageScale::qimageCalcXPoints (sw=32, dw=1870099557) at painting/qimagescale.cpp:189
#15 0x015d48d7 in QImageScale::qimageCalcScaleInfo (img=..., sw=32, sh=32, dw=1870099557, dh=1870099557, aa=1 '\001') at painting/qimagescale.cpp:289
#16 0x015d4a83 in qSmoothScaleImage (src=..., dw=1870099557, dh=1870099557) at painting/qimagescale.cpp:1009
#17 0x01485193 in smoothScaled (source=<value optimized out>, w=1870099557, h=1870099557) at image/qimage.cpp:6251
#18 0x01489516 in QImage::transformed (this=0xbf9eecdc, matrix=..., mode=Qt::SmoothTransformation) at image/qimage.cpp:6443
Comment 37 Christoph Feck 2011-01-25 02:38:16 UTC
*** Bug 264206 has been marked as a duplicate of this bug. ***
Comment 38 Christoph Feck 2011-01-26 01:48:40 UTC
*** Bug 264303 has been marked as a duplicate of this bug. ***
Comment 39 Christoph Feck 2011-01-27 22:56:54 UTC
*** Bug 264525 has been marked as a duplicate of this bug. ***
Comment 40 Christoph Feck 2011-02-06 17:40:51 UTC
*** Bug 265625 has been marked as a duplicate of this bug. ***
Comment 41 Pino Toscano 2011-02-17 14:11:00 UTC
*** Bug 266523 has been marked as a duplicate of this bug. ***
Comment 42 Christoph Feck 2011-03-07 20:38:59 UTC
*** Bug 267900 has been marked as a duplicate of this bug. ***
Comment 43 Christoph Feck 2011-03-14 15:26:24 UTC
*** Bug 268443 has been marked as a duplicate of this bug. ***
Comment 44 Christoph Feck 2011-03-17 14:00:29 UTC
*** Bug 268729 has been marked as a duplicate of this bug. ***
Comment 45 Christoph Feck 2011-03-17 22:58:34 UTC
*** Bug 268764 has been marked as a duplicate of this bug. ***
Comment 46 Christoph Feck 2011-04-08 17:42:09 UTC
*** Bug 270403 has been marked as a duplicate of this bug. ***