Bug 90777 - kdevassistant crashing at start
Summary: kdevassistant crashing at start
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-05 00:27 UTC by François-Denis Gonthier
Modified: 2005-05-12 12:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
kdevassistant patch (411 bytes, patch)
2005-01-10 13:39 UTC, Malix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description François-Denis Gonthier 2004-10-05 00:27:24 UTC
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...
Comment 1 François-Denis Gonthier 2004-10-05 02:50:21 UTC
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.
Comment 2 Malix 2005-01-10 13:39:06 UTC
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
Comment 3 Jens Dagerbo 2005-01-10 17:55:14 UTC
No, that patch assumes the KDevAssistant splash is installed in the kdevassistant appdir, which it isn't.

It probably should be though...
Comment 4 Malix 2005-01-10 19:05:20 UTC
So why not move the kdevassistant splash in appdir, as is in main.cpp for kdevelop splash?
Comment 5 Ralf Seliger 2005-05-12 12:03:42 UTC
Just copy /usr/share/apps/kdevelop3/pics to /usr/share/apps/kdevelop/pics
It's not nice, but it works.