<< Juillet >>
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  
<< 2009 >>
FAQ/HOWTO
04/01/2006 : Comment utiliser urpmi --parallel
09/03/2005 : Comment installer plusieurs distributions
07/07/2004 : Introduction à Linux
07/07/2004 : Gestion des logiciels ( tar.gz, rpm et urpmi )
07/07/2004 : Comment installer le pilote NForce ?

Linux Wizard - Help debugging KDE4 for 2009.1 Spring

Mandriva : Help debugging KDE4 for 2009.1 Spring29/12/2008 15:14:40

As you already know, KDE 4.2 beta 1 is available in cooker. KDE developers want to provide a rock solid KDE 4 experience to Mandriva users. For this, all issues ( crashes, missing functionalities, regressions, ... ) should be reported on Mandriva Bugzilla. However crash reports are only useful if complete debugging data are provided. For this you need to install the -debug packages. Hare is the procedure for KDE 4 :

  • Add the debug media : In case you don't add yet the debug media, please use urpmi.addmedia to add the corresponding debug medias for main, and eventually contrib :
    urpmi.addmedia main_debug ftp://ftp.proxad.net/pub/Distributions_Linux/MandrivaLinux/devel/cooker/i586/media/debug_main/release/
    urpmi.addmedia contrib_debug ftp://ftp.proxad.net/pub/Distributions_Linux/MandrivaLinux/devel/cooker/i586/media/debug_contrib/release/
  • Install the -debug packages for KDE 4 : urpmi kdebase4-debug kdebase4-workspace-debug kdeplasma-addons-debug kdelibs4-debug kdenetwork4-debug kdepim4-debug kdepimlibs4-debug kdemultimedia4-debug amarok-debug digikam-debug qt4-debug
  • Don't forget to install gdb : urpmi gdb
Now when a KDE4 application will crash, you will be able to provide complete backtraces thanks to the KDE crash handler. If you want to have further informations about the way to create backtraces from GDB or even Valgring, please have a look at the KDE tutorial on techbase.kde.org : Development/Tutorials/Debugging/How to create useful crash reports

Now eventually, you may end up asking how you can know the names of the debug packages to install. Most fo the time, the -debug package name comes from the scr.rpm used to build this package. For example kopete comes from the kdenetwork4 src.rpm package. So you just have to add -debug at the end of the name. To know the src.rpm used to build a package, you just need to use rpm -qi. For example for kopete, you will use : rpm -qi kopete. This command will show you that kopete comes from the source RPM kdenetwork4-4.1.85-2mdv2009.1.src.rpm.
For further readings, please consult theses previous blog entries :

Happy New Year, and Happy debugging !!!

new comment 12 comment (s)  
Bookmark and Share
FACORAT Fabrice