ddd crashing

Fred Krogh <[email protected]> Sun, 10 Apr 2016 08:53:30 -0700
Newsgroups gmane.comp.debugging.ddd.bugs
Organization Math a la Carte
Message-ID <[email protected]>
ddd is dying frequently on me.  When re-installing ddd on a gentoo 
system, I get

  * QA Notice: Package triggers severe warnings which indicate that it
  *            may exhibit random runtime failures.
* Binary file /var/tmp/portage/dev-util/ddd-3.3.12-r4/temp/build.log matches

  * Please do not file a Gentoo bug and instead report the above QA
  * issues directly to the upstream developers of this software.
  * Homepage: https://www.gnu.org/software/ddd
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R 
.GCC.command.line -R .note.gnu.gold-version
    usr/bin/ddd

  On a dd crash, I get
warning: .dynamic section for "/lib64/libc.so.6" is not at the expected 
address (wrong library or version mismatch?)

warning: .dynamic section for "/lib64/libpthread.so.0" is not at the 
expected address (wrong library or version mismatch?)

warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
Warning: couldn't activate thread debugging using libthread_db: Cannot 
find new threads: generic error

I have
lrwxrwxrwx 1 root root 12 Apr  3 13:53 /lib64/libc.so.6 -> libc-2.22.so*
lrwxrwxrwx 1 root root 18 Apr  3 13:53 /lib64/libpthread.so.0 -> 
libpthread-2.22.so*
and
-rwxr-xr-x 1 root root 1677152 Apr  3 13:52 /lib64/libc-2.22.so*
-rwxr-xr-x 1 root root   97728 Apr  3 13:52 /lib64/libpthread-2.22.so*

There appears to be no linux-vdso.so on my system.  If that is the 
problem, what should be done about it?  I've tried this.
The first two warnings were eliminated with
  export LD_LIBRARY_PATH=/lib64
which was not needed some time ago.

I then tried
ln -s /usr/src/linux/arch/x86/entry/vdso/vdso64.so /lib64/linux-vdso.so.1

which gets rid of the vdso complaint, but changes nothing else.  I 
suspect the problem started with an update to glibc sometime ago. But 
the maintainers on Gentoo seem to think the problem is "upstream", thus 
either in ddd or gdb.

I have offered in the past to try helping with checking out the new (?) 
version of ddd.  Is that work still going on?  Is the current version 
being maintained?  If so would more information or  a core dump be 
desired?.  Thanks,
Fred