Version: 3.1.0-3 (using KDE KDE 3.3.0) Installed from: Debian testing/unstable Packages Compiler: 3.3.4 OS: Linux kdevassistant crashes on my systems. Debian package version 3.1.0-3 and 3.1.0-1. It also crashes when using the package source files. Console trace: neumann@Silvester:~$ kdevassistant QPainter::begin: Cannot paint null pixmap QPainter::setPen: Will be reset by begin() KCrash: Application 'kdevassistant' crashing... KCrash Backtrace: Using host libthread_db library "/lib/tls/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 1102465024 (LWP 32431)] [KCrash handler] #3 0x41755117 in XCreateGC () from /usr/X11R6/lib/libX11.so.6 #4 0x411a976e in qsincos () from /usr/lib/libqt-mt.so.3 #5 0x411a9b7c in qsincos () from /usr/lib/libqt-mt.so.3 #6 0x411a9fa7 in QPainter::updatePen () from /usr/lib/libqt-mt.so.3 #7 0x41251377 in QPainter::setPen () from /usr/lib/libqt-mt.so.3 #8 0x4136922f in QSplashScreen::drawContents () from /usr/lib/libqt-mt.so.3 #9 0x413691c9 in QSplashScreen::drawContents () from /usr/lib/libqt-mt.so.3 #10 0x41368eb2 in QSplashScreen::repaint () from /usr/lib/libqt-mt.so.3 #11 0x4136913c in QSplashScreen::setPixmap () from /usr/lib/libqt-mt.so.3 #12 0x41368be9 in QSplashScreen::QSplashScreen () from /usr/lib/libqt-mt.so.3 #13 0x080a2101 in QValueListPrivate<QString>::clear () #14 0x080a1c06 in QValueListPrivate<QString>::clear () #15 0x419027f8 in __libc_start_main () from /lib/tls/libc.so.6 #16 0x41a24edc in ?? () from /lib/tls/libc.so.6 Will investigate further...
The source of the problem is the "3" in the directory name: "/usr/share/apps/kdevelop3". kdevassistant is crashing at line: pm.load(locate("data", "kdevelop/pics/kdevassistant-splash.png")); Since this problem is not related to Kdevelop but to the way it is packaged, I will contact Debian package manager for resolution. Sorry for inconvenience.
Created attachment 9018 [details] kdevassistant patch I think that this patch can solve the problem in Debian and in any other package that change the default path of kdevelop data
No, that patch assumes the KDevAssistant splash is installed in the kdevassistant appdir, which it isn't. It probably should be though...
So why not move the kdevassistant splash in appdir, as is in main.cpp for kdevelop splash?
Just copy /usr/share/apps/kdevelop3/pics to /usr/share/apps/kdevelop/pics It's not nice, but it works.