This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[NOT KDE RELATED] plasma crash at session start (nvidia 8600GT SLI)

Tags: None
(comma "," separated)
User avatar
ponce
Registered Member
Posts
17
Karma
0
OS
plasma crashes at session start on my hardware with the new stable drivers from nvidia, 180.22: everything is working with 177.82 but kde 4.2 is much smoother with 180.22.

I'm on Slackware 12.2 with kde 4.1.96 packages from slackware current, but it's doing the same with 4.1.3.
tried rebuilding kdebase-workspace with nvidia 180.22 drivers installed but with no effect.

if i change "startkde" (in .xinitrc) with "xterm & startkde" I can relaunch plasma in the xterm but khotkeys don't work (no use restarting it).
before that, I generated the attached bug report nvidia-bug-report.log.gz and the redirected x output as x.log.gz.
I have done logs also of working situation with 177.82.

trying to get a strace of plasma process I:
- renamed /usr/bin/plasma to /usr/bin/plasma-real
- created an executable script named /usr/bin/plasma with the line
strace plasma-real > /tmp/plasma.log 2>&1
- launched X
- plasma don't die at start but I still got the khotkey problem.

I got plasma logs of the two drivers.

tried to use gdb (first time) but I wasn't able to apply at this particular situation, valgrind output is here
Code: Select all
==16781== Memcheck, a memory error detector.
==16781== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==16781== Using LibVEX rev 1804, a library for dynamic binary translation.
==16781== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==16781== Using valgrind-3.3.0, a dynamic binary instrumentation framework.
==16781== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==16781== For more details, rerun with: -v
==16781==
==16781== My PID = 16781, parent PID = 16760.  Prog and args are:
==16781==    plasma
==16781==
==16784== Warning: set address range perms: large range 126341120 (defined)
==16784== Conditional jump or move depends on uninitialised value(s)
==16784==    at 0x6A26850: (within /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A2741C: (within /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A27BB0: deflate (in /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A23ACA: compress2 (in /usr/lib/libz.so.1.2.3)
==16784==    by 0x59EA9F1: qCompress(unsigned char const*, int, int) (in /usr/lib/qt/lib/libQtCore.so.4.4.3)
==16784==    by 0x49D7891: KPixmapCache::Private::writeData(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x49DB13A: KPixmapCache::insert(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x492319A: KIconCache::insert(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x4923120: KIconCache::insert(QString const&, QPixmap const&, QString const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x4915BD1: KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x490BA55: (within /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x50F993A: QIcon::pixmap(QSize const&, QIcon::Mode, QIcon::State) const (in /usr/lib/qt/lib/libQtGui.so.4.4.3)
==16784==
==16784== Conditional jump or move depends on uninitialised value(s)
==16784==    at 0x6A26867: (within /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A2741C: (within /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A27BB0: deflate (in /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A23ACA: compress2 (in /usr/lib/libz.so.1.2.3)
==16784==    by 0x59EA9F1: qCompress(unsigned char const*, int, int) (in /usr/lib/qt/lib/libQtCore.so.4.4.3)
==16784==    by 0x49D7891: KPixmapCache::Private::writeData(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x49DB13A: KPixmapCache::insert(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x492319A: KIconCache::insert(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x4923120: KIconCache::insert(QString const&, QPixmap const&, QString const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x4915BD1: KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x490BA55: (within /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x50F993A: QIcon::pixmap(QSize const&, QIcon::Mode, QIcon::State) const (in /usr/lib/qt/lib/libQtGui.so.4.4.3)
==16784==
==16784== Conditional jump or move depends on uninitialised value(s)
==16784==    at 0x6A267BA: (within /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A2741C: (within /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A27BB0: deflate (in /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A23ACA: compress2 (in /usr/lib/libz.so.1.2.3)
==16784==    by 0x59EA9F1: qCompress(unsigned char const*, int, int) (in /usr/lib/qt/lib/libQtCore.so.4.4.3)
==16784==    by 0x49D7891: KPixmapCache::Private::writeData(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x49DB13A: KPixmapCache::insert(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x492319A: KIconCache::insert(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x4923120: KIconCache::insert(QString const&, QPixmap const&, QString const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x4915BD1: KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x490BA55: (within /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x50F993A: QIcon::pixmap(QSize const&, QIcon::Mode, QIcon::State) const (in /usr/lib/qt/lib/libQtGui.so.4.4.3)
==16784==
==16784== Conditional jump or move depends on uninitialised value(s)
==16784==    at 0x6A267D5: (within /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A2741C: (within /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A27BB0: deflate (in /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A23ACA: compress2 (in /usr/lib/libz.so.1.2.3)
==16784==    by 0x59EA9F1: qCompress(unsigned char const*, int, int) (in /usr/lib/qt/lib/libQtCore.so.4.4.3)
==16784==    by 0x49D7891: KPixmapCache::Private::writeData(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x49DB13A: KPixmapCache::insert(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x492319A: KIconCache::insert(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x4923120: KIconCache::insert(QString const&, QPixmap const&, QString const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x4915BD1: KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x490BA55: (within /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x50F993A: QIcon::pixmap(QSize const&, QIcon::Mode, QIcon::State) const (in /usr/lib/qt/lib/libQtGui.so.4.4.3)
==16784==
==16784== Conditional jump or move depends on uninitialised value(s)
==16784==    at 0x6A267F0: (within /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A2741C: (within /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A27BB0: deflate (in /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A23ACA: compress2 (in /usr/lib/libz.so.1.2.3)
==16784==    by 0x59EA9F1: qCompress(unsigned char const*, int, int) (in /usr/lib/qt/lib/libQtCore.so.4.4.3)
==16784==    by 0x49D7891: KPixmapCache::Private::writeData(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x49DB13A: KPixmapCache::insert(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x492319A: KIconCache::insert(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x4923120: KIconCache::insert(QString const&, QPixmap const&, QString const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x4915BD1: KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x490BA55: (within /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x50F993A: QIcon::pixmap(QSize const&, QIcon::Mode, QIcon::State) const (in /usr/lib/qt/lib/libQtGui.so.4.4.3)
==16784==
==16784== Conditional jump or move depends on uninitialised value(s)
==16784==    at 0x6A2680B: (within /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A2741C: (within /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A27BB0: deflate (in /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A23ACA: compress2 (in /usr/lib/libz.so.1.2.3)
==16784==    by 0x59EA9F1: qCompress(unsigned char const*, int, int) (in /usr/lib/qt/lib/libQtCore.so.4.4.3)
==16784==    by 0x49D7891: KPixmapCache::Private::writeData(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x49DB13A: KPixmapCache::insert(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x492319A: KIconCache::insert(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x4923120: KIconCache::insert(QString const&, QPixmap const&, QString const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x4915BD1: KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x490BA55: (within /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x50F993A: QIcon::pixmap(QSize const&, QIcon::Mode, QIcon::State) const (in /usr/lib/qt/lib/libQtGui.so.4.4.3)
==16784==
==16784== Conditional jump or move depends on uninitialised value(s)
==16784==    at 0x6A26822: (within /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A2741C: (within /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A27BB0: deflate (in /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A23ACA: compress2 (in /usr/lib/libz.so.1.2.3)
==16784==    by 0x59EA9F1: qCompress(unsigned char const*, int, int) (in /usr/lib/qt/lib/libQtCore.so.4.4.3)
==16784==    by 0x49D7891: KPixmapCache::Private::writeData(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x49DB13A: KPixmapCache::insert(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x492319A: KIconCache::insert(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x4923120: KIconCache::insert(QString const&, QPixmap const&, QString const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x4915BD1: KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x490BA55: (within /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x50F993A: QIcon::pixmap(QSize const&, QIcon::Mode, QIcon::State) const (in /usr/lib/qt/lib/libQtGui.so.4.4.3)
==16784==
==16784== Conditional jump or move depends on uninitialised value(s)
==16784==    at 0x6A26839: (within /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A2741C: (within /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A27BB0: deflate (in /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A23ACA: compress2 (in /usr/lib/libz.so.1.2.3)
==16784==    by 0x59EA9F1: qCompress(unsigned char const*, int, int) (in /usr/lib/qt/lib/libQtCore.so.4.4.3)
==16784==    by 0x49D7891: KPixmapCache::Private::writeData(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x49DB13A: KPixmapCache::insert(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x492319A: KIconCache::insert(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x4923120: KIconCache::insert(QString const&, QPixmap const&, QString const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x4915BD1: KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x490BA55: (within /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x50F993A: QIcon::pixmap(QSize const&, QIcon::Mode, QIcon::State) const (in /usr/lib/qt/lib/libQtGui.so.4.4.3)
==16784==
==16784== Conditional jump or move depends on uninitialised value(s)
==16784==    at 0x6A26775: (within /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A2741C: (within /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A27BB0: deflate (in /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A23ACA: compress2 (in /usr/lib/libz.so.1.2.3)
==16784==    by 0x59EA9F1: qCompress(unsigned char const*, int, int) (in /usr/lib/qt/lib/libQtCore.so.4.4.3)
==16784==    by 0x49D7891: KPixmapCache::Private::writeData(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x49DB13A: KPixmapCache::insert(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x492319A: KIconCache::insert(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x4923120: KIconCache::insert(QString const&, QPixmap const&, QString const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x4915BD1: KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x490BA55: (within /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x50F993A: QIcon::pixmap(QSize const&, QIcon::Mode, QIcon::State) const (in /usr/lib/qt/lib/libQtGui.so.4.4.3)
==16784==
==16784== Conditional jump or move depends on uninitialised value(s)
==16784==    at 0x6A2677E: (within /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A2741C: (within /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A27BB0: deflate (in /usr/lib/libz.so.1.2.3)
==16784==    by 0x6A23ACA: compress2 (in /usr/lib/libz.so.1.2.3)
==16784==    by 0x59EA9F1: qCompress(unsigned char const*, int, int) (in /usr/lib/qt/lib/libQtCore.so.4.4.3)
==16784==    by 0x49D7891: KPixmapCache::Private::writeData(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x49DB13A: KPixmapCache::insert(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x492319A: KIconCache::insert(QString const&, QPixmap const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x4923120: KIconCache::insert(QString const&, QPixmap const&, QString const&) (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x4915BD1: KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const (in /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x490BA55: (within /usr/lib/libkdeui.so.5.2.0)
==16784==    by 0x50F993A: QIcon::pixmap(QSize const&, QIcon::Mode, QIcon::State) const (in /usr/lib/qt/lib/libQtGui.so.4.4.3)
==16781==
==16781== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 147 from 1)
==16781== malloc/free: in use at exit: 74,926 bytes in 502 blocks.
==16781== malloc/free: 10,487 allocs, 9,985 frees, 8,278,402 bytes allocated.
==16781== For counts of detected errors, rerun with: -v
==16781== searching for pointers to 502 not-freed blocks.
==16781== checked 3,843,464 bytes.
==16781==
==16781== LEAK SUMMARY:
==16781==    definitely lost: 0 bytes in 0 blocks.
==16781==      possibly lost: 936 bytes in 47 blocks.
==16781==    still reachable: 73,990 bytes in 455 blocks.
==16781==         suppressed: 0 bytes in 0 blocks.
==16781== Rerun with --leak-check=full to see details of leaked memory.
==16784==
==16784== Syscall param writev(vector[...]) points to uninitialised byte(s)
==16784==    at 0x5E5E3B3: writev (in /lib/libc-2.7.so)
==16784==    by 0x6CF2518: (within /usr/lib/libxcb.so.1.0.0)
==16784==    by 0x6CF2B2A: (within /usr/lib/libxcb.so.1.0.0)
==16784==    by 0x6CF2C5E: (within /usr/lib/libxcb.so.1.0.0)
==16784==    by 0x6CF4177: xcb_wait_for_reply (in /usr/lib/libxcb.so.1.0.0)
==16784==    by 0x4E1E5CA: _XReply (in /usr/lib/libX11.so.6.2.0)
==16784==    by 0x4DFD105: XGetWindowProperty (in /usr/lib/libX11.so.6.2.0)
==16784==    by 0x4DFC3A6: XGetWMHints (in /usr/lib/libX11.so.6.2.0)
==16784==    by 0x50E5E36: QWidgetPrivate::setWindowIcon_sys(bool) (in /usr/lib/qt/lib/libQtGui.so.4.4.3)
==16784==    by 0x50AF7D9: QWidget::create(unsigned long, bool, bool) (in /usr/lib/qt/lib/libQtGui.so.4.4.3)
==16784==    by 0x50B0223: QWidgetPrivate::createWinId(unsigned long) (in /usr/lib/qt/lib/libQtGui.so.4.4.3)
==16784==    by 0x41206E7: Plasma::Applet::flushPendingConstraintsEvents() (in /usr/lib/libplasma.so.3.0.0)
==16784==  Address 0x88a855f is 7,143 bytes inside a block of size 8,556 alloc'd
==16784==    at 0x40228D9: calloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16784==    by 0x6CF27B0: xcb_connect_to_fd (in /usr/lib/libxcb.so.1.0.0)
==16784==    by 0x6CF5050: xcb_connect (in /usr/lib/libxcb.so.1.0.0)
==16784==    by 0x4E1DB46: _XConnectXCB (in /usr/lib/libX11.so.6.2.0)
==16784==    by 0x4E065F8: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==16784==    by 0x40708B2: (within /usr/lib/libkdeinit4_plasma.so)
==16784==    by 0x4070FF9: (within /usr/lib/libkdeinit4_plasma.so)
==16784==    by 0x405AF26: kdemain (in /usr/lib/libkdeinit4_plasma.so)
==16784==    by 0x80486B1: (within /usr/bin/plasma)
==16784==    by 0x5DA738F: (below main) (in /lib/libc-2.7.so)
==16784==
==16784== Syscall param writev(vector[...]) points to uninitialised byte(s)
==16784==    at 0x5E5E414: writev (in /lib/libc-2.7.so)
==16784==    by 0x6CF2518: (within /usr/lib/libxcb.so.1.0.0)
==16784==    by 0x6CF2B2A: (within /usr/lib/libxcb.so.1.0.0)
==16784==    by 0x6CF2C5E: (within /usr/lib/libxcb.so.1.0.0)
==16784==    by 0x6CF4177: xcb_wait_for_reply (in /usr/lib/libxcb.so.1.0.0)
==16784==    by 0x4E1E5CA: _XReply (in /usr/lib/libX11.so.6.2.0)
==16784==    by 0x4DFD105: XGetWindowProperty (in /usr/lib/libX11.so.6.2.0)
==16784==    by 0x4DFC3A6: XGetWMHints (in /usr/lib/libX11.so.6.2.0)
==16784==    by 0x50E5E36: QWidgetPrivate::setWindowIcon_sys(bool) (in /usr/lib/qt/lib/libQtGui.so.4.4.3)
==16784==    by 0x50AF7D9: QWidget::create(unsigned long, bool, bool) (in /usr/lib/qt/lib/libQtGui.so.4.4.3)
==16784==    by 0x50B0223: QWidgetPrivate::createWinId(unsigned long) (in /usr/lib/qt/lib/libQtGui.so.4.4.3)
==16784==    by 0x41206E7: Plasma::Applet::flushPendingConstraintsEvents() (in /usr/lib/libplasma.so.3.0.0)
==16784==  Address 0x88a7d87 is 5,135 bytes inside a block of size 8,556 alloc'd
==16784==    at 0x40228D9: calloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16784==    by 0x6CF27B0: xcb_connect_to_fd (in /usr/lib/libxcb.so.1.0.0)
==16784==    by 0x6CF5050: xcb_connect (in /usr/lib/libxcb.so.1.0.0)
==16784==    by 0x4E1DB46: _XConnectXCB (in /usr/lib/libX11.so.6.2.0)
==16784==    by 0x4E065F8: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==16784==    by 0x40708B2: (within /usr/lib/libkdeinit4_plasma.so)
==16784==    by 0x4070FF9: (within /usr/lib/libkdeinit4_plasma.so)
==16784==    by 0x405AF26: kdemain (in /usr/lib/libkdeinit4_plasma.so)
==16784==    by 0x80486B1: (within /usr/bin/plasma)
==16784==    by 0x5DA738F: (below main) (in /lib/libc-2.7.so)


this are the logs
http://omploader.org/vMTV1cA/logs.tar

I'm posting here to ask for suggestions on how to debug it and if you think I should post a bug report on this...

tnx in advance :)

Last edited by ponce on Mon Jan 26, 2009 8:45 am, edited 1 time in total.


ponce, proud to be a member of KDE forums since 2008-Dec.
User avatar
ponce
Registered Member
Posts
17
Karma
0
OS
another interesting thing (maybe for me only cause, as you can see, I'm learning things while reporting):

tried to follow these instructions
http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
to get a backtrace to gdb so I recompiled kdebase-workspace with -g flag and disabled stripping.
if I quit plasma and relaunch in gdb with 177.82 i can run it, pause it, and I got this backtrace
Code: Select all
(gdb) thread apply all backtrace

Thread 2 (Thread 0xa8deeb90 (LWP 27299)):
#0  0xb654e6f0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb65e5ae8 in ?? () from /usr/lib/libQtCore.so.4
#2  0xb65e55e7 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb7a97488 in ?? () from /usr/lib/libQtNetwork.so.4
#4  0xb65e4fb3 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb654a369 in start_thread () from /lib/libpthread.so.0
#6  0xb63b5cfe in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb450c6f0 (LWP 27295)):
#0  0xb63ac01d in poll () from /lib/libc.so.6
#1  0xb55a8526 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x089f3f90 in ?? ()
#3  0x00000008 in ?? ()
#4  0x00001daa in ?? ()
#5  0x089f3f90 in ?? ()
#6  0x0000000a in ?? ()
#7  0xb563b5f8 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0xb563b620 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0xbfd9d494 in ?? ()
#10 0x00000001 in ?? ()
#11 0x00000001 in ?? ()
#12 0x0808c858 in ?? ()
#13 0x089f3f90 in ?? ()
#14 0xb63abfb0 in ?? () from /lib/libc.so.6
#15 0xb654da90 in ?? () from /lib/libpthread.so.0
#16 0xb654c200 in ?? () from /lib/libpthread.so.0
#17 0xb55cc7e2 in g_thread_self () from /usr/lib/libglib-2.0.so.0
#18 0xb55a8aae in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#19 0xb6721266 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#20 0xb6a5d00c in ?? () from /usr/lib/libQtGui.so.4
#21 0xb66eac76 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#22 0xb66eaeb5 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#23 0xb66eebea in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#24 0xb69a4a18 in QApplication::exec () from /usr/lib/libQtGui.so.4
#25 0xb804254b in kdemain (argc=2, argv=0xbfd9d784) at /tmp/kdebase-workspace-4.2.0/workspace/plasma/shells/desktop/main.cpp:54
#26 0x080486b2 in main (argc=Cannot access memory at address 0x8
) at /tmp/kdebase-workspace-4.2.0/build/workspace/plasma/shells/desktop/plasma_qgv_dummy.cpp:3


if I do the same thing with 180.22 program exits with code 01 and this is the output
Code: Select all
(gdb) run --nofork
Starting program: /usr/bin/plasma --nofork
[Thread debugging using libthread_db enabled]
[New Thread 0xb43d36f0 (LWP 28601)]
dlsym vsnprintf error:(null)

Program exited with code 01.
(gdb) thread apply all backtrace
No registers.


I think I'm missing something?


ponce, proud to be a member of KDE forums since 2008-Dec.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
dlsym is used to access symbols in a library, therefore this means a needed symbol cannot be found ( vsnprintf is provided by glibc I think )

Can you use gdb on other applications ( such as KMix, XTerm, etc )
You may also want to ensure that you have debugging symbols installed for Qt, and KDElibs as well.

Last edited by bcooksley on Sun Jan 25, 2009 8:57 am, edited 1 time in total.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
ponce
Registered Member
Posts
17
Karma
0
OS
Code: Select all
(gdb) run
Starting program: /usr/bin/xterm
(no debugging symbols found)
(no debugging symbols found)
^C
Program received signal SIGINT, Interrupt.
0xb7c6f928 in ___newselect_nocancel () from /lib/libc.so.6
(gdb) backtrace
#0  0xb7c6f928 in ___newselect_nocancel () from /lib/libc.so.6
#1  0x0805bc5f in ?? ()
#2  0x00000008 in ?? ()
#3  0x08092be0 in ?? ()
#4  0x08092b60 in ?? ()
#5  0x00000000 in ?? ()

Code: Select all
(gdb) run
Starting program: /usr/bin/kmix
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb5fe46d0 (LWP 15992)]

Program exited normally.

I'm rebuilding qt and kdelibs without stripping (slackbuilds usually execute this two strings, that I commented out)
Code: Select all
#  find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
#  find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null

and I'll post back.


ponce, proud to be a member of KDE forums since 2008-Dec.
User avatar
ponce
Registered Member
Posts
17
Karma
0
OS
now I got qt, kdelibs and kdebase-workspace rebuilt.
with 177.82 I can kquitapp plasma and then
Code: Select all
gdb plasma
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...
(gdb) run --nofork
Starting program: /usr/bin/plasma --nofork
[Thread debugging using libthread_db enabled]
[New Thread 0xb46686f0 (LWP 13838)]
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
[New Thread 0xa8f50b90 (LWP 13889)]
Object::connect: Attempt to bind non-signal TaskManager::TaskGroup::editRequest()
QCoreApplication::postEvent: Unexpected null receiver
plasma(13838)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 27)
plasma(13838)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
plasma(13838)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 27)
plasma(13838)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
QGraphicsLayout::addChildLayout: layout already has a parent
QGraphicsLayout::addChildLayout: layout already has a parent
plasma(13838)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(-1, -1)
plasma(13838)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(-1, -1)
plasma(13838)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(-1, -1)
plasma(13838)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(-16, 27)
plasma(13838)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
plasma(13838)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(-16, 27)
plasma(13838)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
QGraphicsLayout::addChildLayout: layout already has a parent
QGraphicsLayout::addChildLayout: layout already has a parent
QPainter::begin: Cannot paint on a null pixmap
QPainter::begin: Cannot paint on a null pixmap
QCoreApplication::postEvent: Unexpected null receiver
QPainter::begin: Cannot paint on a null pixmap
QPainter::begin: Cannot paint on a null pixmap
QCoreApplication::postEvent: Unexpected null receiver
QCoreApplication::postEvent: Unexpected null receiver
QCoreApplication::postEvent: Unexpected null receiver
^C
Program received signal SIGINT, Interrupt.
[Switching to Thread 0xb46686f0 (LWP 13838)]
0xb63f101d in poll () from /lib/libc.so.6
(gdb) thread apply all backtrace

Thread 2 (Thread 0xa8f50b90 (LWP 13889)):
#0  0xb65936f0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb6622f66 in QWaitCondition::wait (this=0x86b3b38, mutex=0x86b3b34, time=4294967295) at thread/qwaitcondition_unix.cpp:82
#2  0xb7948f0d in QHostInfoAgent::run (this=0x86b3b28) at kernel/qhostinfo.cpp:241
#3  0xb662246e in QThreadPrivate::start (arg=0x86b3b28) at thread/qthread_unix.cpp:185
#4  0xb658f369 in start_thread () from /lib/libpthread.so.0
#5  0xb63facfe in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb46686f0 (LWP 13838)):
#0  0xb63f101d in poll () from /lib/libc.so.6
#1  0xb5763526 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x08861240 in ?? ()
#3  0x00000008 in ?? ()
#4  0x00000b43 in ?? ()
#5  0x08861240 in ?? ()
#6  0x0000000a in ?? ()
#7  0xb57f65f8 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0xb57f6620 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0xbfd7dc84 in ?? ()
#10 0x00000001 in ?? ()
#11 0x00000001 in ?? ()
#12 0x0808c840 in ?? ()
#13 0x08861240 in ?? ()
#14 0xb63f0fb0 in ?? () from /lib/libc.so.6
#15 0xb6592a90 in ?? () from /lib/libpthread.so.0
#16 0xb6591200 in ?? () from /lib/libpthread.so.0
#17 0xb57877e2 in g_thread_self () from /usr/lib/libglib-2.0.so.0
#18 0xb5763aae in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#19 0xb6738d78 in QEventDispatcherGlib::processEvents (this=0x8089978, flags=@0xbfd7dd08) at kernel/qeventdispatcher_glib.cpp:319
#20 0xb6a1b1e5 in QGuiEventDispatcherGlib::processEvents (this=0x8089978, flags=@0xbfd7dd38) at kernel/qguieventdispatcher_glib.cpp:198
#21 0xb670c84d in QEventLoop::processEvents (this=0xbfd7ddb0, flags=@0xbfd7dd74) at kernel/qeventloop.cpp:143
#22 0xb670c9dd in QEventLoop::exec (this=0xbfd7ddb0, flags=@0xbfd7ddb8) at kernel/qeventloop.cpp:194
#23 0xb670ec5d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#24 0xb6988ca7 in QApplication::exec () at kernel/qapplication.cpp:3331
#25 0xb7f2454b in kdemain (argc=2, argv=0xbfd7df64) at /tmp/kdebase-workspace-4.2.0/workspace/plasma/shells/desktop/main.cpp:54
#26 0x080486b2 in main (argc=Cannot access memory at address 0x8
) at /tmp/kdebase-workspace-4.2.0/build/workspace/plasma/shells/desktop/plasma_qgv_dummy.cpp:3
(gdb)


but with 180.22 is still

Code: Select all
$ gdb plasma
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...
(gdb) run --nofork
Starting program: /usr/bin/plasma --nofork
[Thread debugging using libthread_db enabled]
[New Thread 0xb44f96f0 (LWP 12362)]
dlsym vsnprintf error:(null)

Program exited with code 01.


ponce, proud to be a member of KDE forums since 2008-Dec.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I do not have any ideas on why this may be happening. NVidia are likely the only ones who can provide insight.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
ponce
Registered Member
Posts
17
Karma
0
OS
with my little experience in this matter, I supposed that too, but thnx for confirming it and for your help trying to guess out what is happening :)

changed post tag: if you think is not appropriated just let me know ;-)

Last edited by ponce on Mon Jan 26, 2009 8:46 am, edited 1 time in total.


ponce, proud to be a member of KDE forums since 2008-Dec.
User avatar
ponce
Registered Member
Posts
17
Karma
0
OS
news on the matter: seems like libsafe (preloaded in slack) is blocking certain nasty functions of driver 180.xx, as disabling make everything (other than plasma, I experienced problem trying to launch google earth) works.
if you disable it, be sure to use PAE for kernel (as explained in the thread linked).

Last edited by ponce on Tue Feb 03, 2009 6:20 am, edited 1 time in total.


ponce, proud to be a member of KDE forums since 2008-Dec.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]