On Tuesday, May 8, 2012 17:46:39 Marius Cirsta wrote: > Hi > > First of all sorry for posting here, not sure if it's the right list > to post to but seems like there's dev activity here. > I'm a maintainer for Qt and KDE for less known distro, Frugalware. > > Ever since the latest upgrade to glibc 2.15 we've had krunner crashing > on start with bad_alloc.
thanks for the sleuthwork.. very helpful when someone does the sort of work you've done. does the attached patch help when applied to kde-workspace? -- Aaron Seigo
diff --git a/libs/plasmagenericshell/panelshadows.cpp b/libs/plasmagenericshell/panelshadows.cpp
index ee55571..2f45153 100644
--- a/libs/plasmagenericshell/panelshadows.cpp
+++ b/libs/plasmagenericshell/panelshadows.cpp
@@ -122,7 +122,7 @@ void PanelShadows::Private::initPixmap(const QString &element)
{
#ifdef Q_WS_X11
QPixmap pix = q->pixmap(element);
- if (pix.handle() == 0) {
+ if (!pix.isNull() && pix.handle() == 0) {
Pixmap xPix = XCreatePixmap(QX11Info::display(), QX11Info::appRootWindow(), pix.width(), pix.height(), 32);
QPixmap tempPix = QPixmap::fromX11Pixmap(xPix, QPixmap::ExplicitlyShared);
tempPix.fill(Qt::transparent);
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/plasma-devel
