Bug 258742 - KPackageKit crashed - not used [QWidget::metric, logicalDpiY, QFont, ..., ~KStatusNotifierItem]
Summary: KPackageKit crashed - not used [QWidget::metric, logicalDpiY, QFont, ..., ~KS...
Status: RESOLVED FIXED
Alias: None
Product: kpackagekit
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Steven M. Parrish
URL:
Keywords:
: 260614 262546 270078 292858 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-03 23:04 UTC by Michal Papis
Modified: 2012-01-30 11:40 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (2.09 KB, text/plain)
2010-12-04 19:19 UTC, Valentin Rusu
Details
New crash information added by DrKonqi (2.07 KB, text/plain)
2010-12-24 03:11 UTC, linuxg33k4life
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Papis 2010-12-03 23:04:19 UTC
Application: kpackagekitsmarticon (0.6.2)
KDE Platform Version: 4.5.80 (4.6 Beta1)
Qt Version: 4.7.1
Operating System: Linux 2.6.37-rc3-git1-6-desktop i686
Distribution: "openSUSE 11.4 Milestone 4 of 6 (i586)"

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

Installing packages with yast - on opensuse factory (Milestone 4 of 6 - 11.4)

The crash can be reproduced some of the time.

-- Backtrace:
Application: KPackageKit (kpackagekitsmarticon), signal: Segmentation fault
[KCrash Handler]
#7  0xb62ffca5 in QWidget::metric (this=0x816e690, m=QPaintDevice::PdmDpiY) at kernel/qwidget_x11.cpp:2747
#8  0xb64a8246 in logicalDpiY (this=0xbfd65a70, font=..., pd=0x816e698) at ../../src/gui/painting/qpaintdevice.h:96
#9  QFont::QFont (this=0xbfd65a70, font=..., pd=0x816e698) at text/qfont.cpp:715
#10 0xb62a8bf9 in QWidgetPrivate::updateFont (this=0x816e930, font=...) at kernel/qwidget.cpp:4779
#11 0xb62a8b2c in setFont_helper (this=0x816e930) at ../../src/gui/kernel/qwidget_p.h:417
#12 QWidgetPrivate::resolveFont (this=0x816e930) at kernel/qwidget.cpp:4756
#13 0xb62bae54 in QWidget::setParent (this=0x816e690, parent=0x0, f=...) at kernel/qwidget.cpp:10030
#14 0xb62bb46f in QWidget::setParent (this=0x816e690, parent=0x0) at kernel/qwidget.cpp:9950
#15 0xb62befb3 in QWidgetAction::releaseWidget (this=0x816df30, widget=0x816e690) at kernel/qwidgetaction.cpp:207
#16 0xb67087be in QMenu::~QMenu (this=0x816dd48, __in_chrg=<value optimized out>) at widgets/qmenu.cpp:1396
#17 0xb758f264 in KMenu::~KMenu (this=0x816dd48, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.80/kdeui/widgets/kmenu.cpp:164
#18 0xb758f2a2 in KMenu::~KMenu (this=0x816dd48, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.80/kdeui/widgets/kmenu.cpp:167
#19 0xb767b898 in KStatusNotifierItem::~KStatusNotifierItem (this=0x81642b8, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.80/kdeui/notifications/kstatusnotifieritem.cpp:121
#20 0x08051d46 in ~TransactionTrayIcon (this=0x81642b8, __in_chrg=<value optimized out>) at /usr/src/debug/kpackagekit-0.6.2/SmartIcon/TransactionTrayIcon.cpp:46
#21 TransactionTrayIcon::~TransactionTrayIcon (this=0x81642b8, __in_chrg=<value optimized out>) at /usr/src/debug/kpackagekit-0.6.2/SmartIcon/TransactionTrayIcon.cpp:48
#22 0xb7037c34 in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
#23 0xb703caec in QObject::~QObject() () from /usr/lib/libQtCore.so.4
#24 0xb6eb07a6 in KpkAbstractIsRunning::~KpkAbstractIsRunning (this=0x8164450, __in_chrg=<value optimized out>) at /usr/src/debug/kpackagekit-0.6.2/libkpackagekit/KpkAbstractIsRunning.cpp:31
#25 0x080539c0 in KpkTransactionTrayIcon::~KpkTransactionTrayIcon (this=0x8164450, __in_chrg=<value optimized out>) at /usr/src/debug/kpackagekit-0.6.2/SmartIcon/KpkTransactionTrayIcon.cpp:86
#26 0xb7037c34 in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
#27 0xb703caec in QObject::~QObject() () from /usr/lib/libQtCore.so.4
#28 0xb7026fa0 in QCoreApplication::~QCoreApplication() () from /usr/lib/libQtCore.so.4
#29 0xb6264740 in QApplication::~QApplication (this=0xbfd65f18, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1071
#30 0xb759c7c8 in KApplication::~KApplication (this=0xbfd65f18, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.80/kdeui/kernel/kapplication.cpp:892
#31 0xb759c838 in KUniqueApplication::~KUniqueApplication (this=0xbfd65f18, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.80/kdeui/kernel/kuniqueapplication.cpp:343
#32 0x0806be6b in main (argc=135720200, argv=0x10) at /usr/src/debug/kpackagekit-0.6.2/SmartIcon/main.cpp:52

This bug may be a duplicate of or related to bug 253930.

Possible duplicates by query: bug 258116, bug 257792, bug 257536, bug 257478, bug 256985.

Reported using DrKonqi
Comment 1 Dario Andres 2010-12-04 15:57:36 UTC
[Comment from a bug triager]
This looks like bug 253930. Are all your packages up to date ?
Regards
Comment 2 Valentin Rusu 2010-12-04 19:19:33 UTC
Created attachment 54119 [details]
New crash information added by DrKonqi

kpackagekitsmarticon (0.6.2) on KDE Platform 4.5.80 (4.6 Beta1) using Qt 4.7.1

- What I was doing when the application crashed:

I was installing updated packages with Yast. My system was pretty up-to-date though.
The crash handler unexpectedly appeared on the screen.

-- Backtrace (Reduced):
#7  0xb615aca5 in QWidget::metric (this=0x8134940, m=QPaintDevice::PdmDpiY) at kernel/qwidget_x11.cpp:2747
#8  0xb6303246 in logicalDpiY (this=0xbf8253b0, font=..., pd=0x8134948) at ../../src/gui/painting/qpaintdevice.h:96
#9  QFont::QFont (this=0xbf8253b0, font=..., pd=0x8134948) at text/qfont.cpp:715
#10 0xb6103bf9 in QWidgetPrivate::updateFont (this=0x8136160, font=...) at kernel/qwidget.cpp:4779
#11 0xb6103b2c in setFont_helper (this=0x8136160) at ../../src/gui/kernel/qwidget_p.h:417
Comment 3 Dario Andres 2010-12-18 13:39:26 UTC
[Comment from a bug triager]
From bug 260614:
- What I was doing when the application crashed:
A lot of times when I use yast2 software management or zypper, kpackagekit
crashes when it checks for updates
The crash can be reproduced some of the time.
Comment 4 Dario Andres 2010-12-18 13:39:33 UTC
*** Bug 260614 has been marked as a duplicate of this bug. ***
Comment 5 linuxg33k4life 2010-12-24 03:11:13 UTC
Created attachment 55202 [details]
New crash information added by DrKonqi

kpackagekitsmarticon (0.6.2) on KDE Platform 4.5.85 (4.6 Beta2) using Qt 4.7.1

- What I was doing when the application crashed:
I was using yast to try and install new software, and evidently kpackagekit crashed.

-- Backtrace (Reduced):
#6  0x00007fbe540dbed9 in QWidget::metric (this=<value optimized out>, m=QPaintDevice::PdmDpiY) at kernel/qwidget_x11.cpp:2747
#7  0x00007fbe5425e671 in logicalDpiY (this=0x7fffb78d20a0, font=..., pd=<value optimized out>) at ../../src/gui/painting/qpaintdevice.h:96
#8  QFont::QFont (this=0x7fffb78d20a0, font=..., pd=<value optimized out>) at text/qfont.cpp:715
#9  0x00007fbe5408be03 in QWidgetPrivate::updateFont (this=0x790c30, font=...) at kernel/qwidget.cpp:4779
#10 0x00007fbe5408bd3c in setFont_helper (this=0x790c30) at ../../src/gui/kernel/qwidget_p.h:417
Comment 6 Daniel Nicoletti 2010-12-24 13:36:09 UTC
This crash happened in Kubuntu and was fixed, it happens in two steps:
- The backend crashed (aptcc), probably zypper is crashing too
- PackageKit-qt wasn't emiting that the daemon crashed (fixed)

So Suse also needs this packagekit-qt patch so that kpackagekit does not crash and review it's backend.
Comment 7 Daniel Nicoletti 2010-12-26 17:29:21 UTC
Setting as Fixed since openSuse does have PackageKit 0.6.10 which does not include packagekit-qt fix (an email to fix it was sent).
And a bug report against packagekit-backend-zypper should be opened since it seems to crash when Yast is open.
Comment 8 Pino Toscano 2011-01-08 17:59:07 UTC
*** Bug 262546 has been marked as a duplicate of this bug. ***
Comment 9 Christoph Feck 2011-11-19 14:13:53 UTC
*** Bug 270078 has been marked as a duplicate of this bug. ***
Comment 10 Jekyll Wu 2012-01-30 11:40:15 UTC
*** Bug 292858 has been marked as a duplicate of this bug. ***