Kontact Mobile N900 dbg packages

Bernhard Reiter bernhard at intevation.de
Thu Sep 16 11:30:17 CEST 2010


Yesterday I've managed to get backtraces with symbols on the N900
with the packages for the first time.

Of course we try to correct this within the packaging, but if you need
backtraces earlies than that, here is what I did:

a) First problem the dbg packages were installed to
   /usr/lib/debug/opt/ which is on the root ('/') partition,
   so often you cannot install them because lack of space.

Solution: move the real data to /opt or MyDocs and use a symbolic link.
I did something like

# dir  /opt/usr/lib/debug not existing befoe
mkdir /opt/usr/lib/debug
mv /usr/lib/debug/opt /opt/usr/lib/debug
ln -s /opt/usr/lib/debug/opt  /usr/lib/debug/opt

Then I could install debugging packages, e.g. 
kdepim-dbg                            4:4.5~20100910.1175630-1maemo6.1174786  
libqt4-experimental-gui-dbg           4.7.0~git20100908-0maemo1  

b) libqt4 symbols were found, but kmail-mobile were not.
You can add them manually with the gdb commands
  symbol-file /path/to/symbol/kmail-mobile
and add-symbol-file for the dynamic objects, for that you would need
the address where the dynamic objects is loaded. "info files" gives you 
something, I've tried the .text address with some success.

Or you need to change the names so that gdb finds it directly.
for the frontends themselfs is 
  /usr/lib/debug/opt/maemo/usr/bin/kmail-mobile
should be 
  /usr/lib/debug/usr/bin/kmail-mobile

for the libraries is
  /usr/lib/debug/opt/maemo/usr/lib/libmessagelist.so.4.5.0
should be
  /usr/lib/debug/usr/lib/libmessagelist.so.4.5.0

Best,
Bernhard
  
-- 
Managing Director - Owner: www.intevation.net       (Free Software Company)
Deputy Coordinator Germany: fsfe.org. Board member: www.kolabsys.com.
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3696 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-mobile/attachments/20100916/7e9c8c14/attachment-0001.p7s 


More information about the Kde-mobile mailing list