#186089 ddd: Just invoking ddd causing Segmentation fault.

Package:
ddd
Source:
ddd
Description:
Data Display Debugger, a graphical debugger frontend
Submitter:
Plamen Tonev
Date:
2025-08-17 17:47:08 UTC
Severity:
normal
Tags:
#186089#5
Date:
2003-03-24 13:26:52 UTC
From:
To:
--------------------------------------------------------
Public PGP key at: http://www.fadata.bg/pgp/micropgp.asc
--------------------------------------------------------

#186089#14
Date:
2003-08-05 23:32:10 UTC
From:
To:
Just installed ddd, and it segfaults right away upon starting.

When invoked with one of the options  --version, --help, --configuration, --license or --manual, there's no segfault.

On this system, I log in using ssh from a Windows pc (using PuTTY), and the X display is forwarded through SSH to my local X server, automatically setting $DISPLAY to "localhost:11.0" or similar. This also happens even when my local X server is not running.

Whenever $DISPLAY is set to a forwarded display and no local X server is running on my Windows pc to accept the forwarded connection, ddd segfaults.

If I unset $DISPLAY, or change it to "localhost:44.0" or any other non-forwarded/non-existing display, ddd correctly reports "Error: Can't open display:" or "Error: Can't open display: localhost:44.0".

Starting the local X server and running ddd again works perfectly. :)

I have included .ddd/log and partial strace logs for ddd below.


System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux lazarus 2.4.21 #4 SMP tir jul 1 00:25:34 CEST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages ddd depends on:
ii  lesstif2                  1:0.93.44-2    OSF/Motif 2.1 implementation relea
ii  libc6                     2.3.1-16       GNU C Library: Shared libraries an
ii  libgcc1                   1:3.3.1-0pre0  GCC support library
ii  libncurses5               5.3.20030510-2 Shared libraries for terminal hand
ii  libstdc++5                1:3.3.1-0pre0  The GNU Standard C++ Library v3
ii  libxaw7                   4.2.1-6        X Athena widget set library
ii  xlibs                     4.2.1-6        X Window System client libraries