I'm sorry I can't help; i'm not using rrdtool anymore.
-----Original message----- From: Jean-Michel Vourgère <nir...@debian.org> Sent: Friday 24th July 2015 17:53 To: Folkert van Heusden <f.vanheus...@zarafa.com> Cc: 758...@bugs.debian.org Subject: Re: rrdtool-dbg: does not contain debug symbols for librrd_th Control: tags -1 moreinfo Hello Folkert Your wrote: > rrdtool-dbg: does not contain debug symbols for librrd_th I rebuilt version 1.4.8-1.1 and here's an extract of the build logs with DH_VERBOSE=1 : > dh_strip -a --dbg-package=rrdtool-dbg > (...) > install -d debian/rrdtool-dbg/usr/lib/debug/.build-id/86 > > objcopy --only-keep-debug --compress-debug-sections > debian/librrd4/usr/lib/librrd_th.so.4.2.1 > debian/rrdtool-dbg/usr/lib/debug/.build-id/86/53ea4714da9eaf4abe6b19532bf7685483e383.debug > > chmod 644 > debian/rrdtool-dbg/usr/lib/debug/.build-id/86/53ea4714da9eaf4abe6b19532bf7685483e383.debug > > strip --remove-section=.comment --remove-section=.note --strip-unneeded > debian/librrd4/usr/lib/librrd_th.so.4.2.1 > > objcopy --add-gnu-debuglink > debian/rrdtool-dbg/usr/lib/debug/.build-id/86/53ea4714da9eaf4abe6b19532bf7685483e383.debug > debian/librrd4/usr/lib/librrd_th.so.4.2.1 So it looks like the symbols are in the -dbg package. Running valgrind, I find the same level of information in rrdtools that in other libraries. Valgrind is not a tool I know much about. Can you explain what you expected? Here, if I run > valgrind -d -v -v --leak-check=full rrdtool graph temperature.png DEF:t=temperature.rrd:temp:AVERAGE LINE1:t#0000FF:"temperature\l" (should work with any command), I get: > (...) > --20065-- Reading syms from /usr/bin/rrdtool > --20065-- svma 0x0000401620, avma 0x0000401620 > --20065-- Considering > /usr/lib/debug/.build-id/d3/910add213ad29a1b3f751982fe540a21f76987.debug .. > --20065-- .. build-id is valid > (...) > --20065-- Reading syms from /usr/lib/librrd.so.4.2.1 > --20065-- svma 0x00000072b0, avma 0x0004e3c2b0 > --20065-- Considering > /usr/lib/debug/.build-id/ab/17988d14073d564daf60499867b0cbb018b2f5.debug .. > --20065-- .. build-id is valid And so on. Can you try it with "-d -v -v" and post the "Reading syms from" blocks, please? If I uninstall rrdtool-dbg, I have errors like > --20198-- Reading syms from /usr/lib/librrd.so.4.2.1 > --20198-- svma 0x00000072b0, avma 0x0004e3c2b0 > --20198-- object doesn't have a symbol table so I guess this is working ok. Reading other bug repports, I can see that there are issue with valgrind not showing the line numbers. Is that your issue? See: https://bugs.debian.org/701480 https://bugs.debian.org/780173 Please keep us informed if this is it.