On Friday, 9. June 2006 17:23, Robertsen A. Riehle wrote: > Hello, > > kpager allows you to move windows within a desktop or from one desktop to > another. This neat little feature that I use habitually. Upon upgrading > to kde-3.5.3 (on FreeBSD 5-stable), kpager crashes when I grab a window and > try to move it.
> [...] Looks like you found KDE bug 128663. I have another PORTREVISION-bumping update for the kdebase3 port in the pipeline and will commit the fix for kpager together with that in a few days in order to save people some recompiling - if you don't want to wait, you can find the patch attached to this email, just put it into x11/kdebase3/files and recompile/reinstall. However... > Here is what it tells me from the command line: > $ kpager & > [1] 17284 > $ kpager in free(): error: chunk is already free > KCrash: Application 'kpager' crashing... > kpager in malloc(): error: recursive call ... this output indicates you have malloc debugging turned on. Malloc debugging will significantly slow down your system in general and KDE in particular, since it's quite a heavy malloc user. You might want to do an ln -sf aj /etc/malloc.conf to make sure malloc debugging is turned off. This will incidentally 'fix' this crash, too, even without applying the patch and recompiling (the bug is that kpager tries to free memory that's already been freed, a non-fatal error in most circumstances). Cheers, -- ,_, | Michael Nottebrock | [EMAIL PROTECTED] (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org
--- kpager/windowdrag.cpp 2006/05/23 12:51:36 544025
+++ kpager/windowdrag.cpp 2006/06/05 19:55:59 548525
@@ -31,7 +31,7 @@
QString tmp;
tmp.sprintf("%d %d %d %d", static_cast<int>(w), deltax, deltay, origdesk);
QByteArray data(tmp.length()+1);
- data.assign(tmp.latin1(),tmp.length()+1);
+ data.duplicate(tmp.latin1(),tmp.length()+1);
setEncodedData(data);
}
pgpxbZCDYNy15.pgp
Description: PGP signature
_______________________________________________ kde-freebsd mailing list [email protected] http://freebsd.kde.org/mailman/listinfo/kde-freebsd
