Re: DDD 3.3.12 (x86_64-pc-linux-gnu) gets `Segmentation fault' signal

Michael Eager <[email protected]> Thu, 3 Oct 2024 06:48:18 -0700
Newsgroups gmane.comp.debugging.ddd.general
Message-ID <[email protected]>
Hi Robin --

DDD-3.3.12 is very old.  Please download and build ddd-3.4.1 from 
sources.  See https://www.gnu.org/software/ddd/

(We will reach out to Unbuntu maintainers and ask them to update the 
24.04 LTS distro.)

On 10/2/24 10:34 PM, Robin Felix wrote:
>   *
>     Running Ubuntu Linux:
> 
> 
> *robin@ubuntu*:*~*$ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 24.04.1 LTS
> Release: 24.04
> Codename: noble
> 
>   *
>     Running XQuartz (XQuartz 2.8.5 (xorg-server 21.1.6)) on MacOS
>     Ventura v13.7.
> 
> 
>   *
>     Accessing linux terminal over LAN using XQuartz terminal:
> 
> 
> robin@RF-Macbook-Pro-13 ~ % ssh -X 192.168.50.51
> 
> Installed ddd on linux box using apt:
> 
> *robin@ubuntu*:*~/asmwork/01_eatsyscall*$ sudo apt install ddd
> [sudo] password for robin:
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> The following additional packages will be installed:
>    libmotif-common libxm4
> Suggested packages:
>    ddd-doc pydb glibc-doc xterm gnuplot rsh-client
> The following NEW packages will be installed:
>    ddd libmotif-common libxm4
> 0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
> Need to get 2,418 kB of archives.
> After this operation, 7,107 kB of additional disk space will be used.
> Do you want to continue? [Y/n] y
> Get:1 http://us.archive.ubuntu.com/ubuntu noble/universe amd64 libmotif- 
> common all 2.3.8-3.1build1 [10.1 kB]
> Get:2 http://us.archive.ubuntu.com/ubuntu noble/universe amd64 libxm4 
> amd64 2.3.8-3.1build1 [1,091 kB]
> Get:3 http://us.archive.ubuntu.com/ubuntu noble/universe amd64 ddd amd64 
> 1:3.3.12-5.4build2 [1,317 kB]
> Fetched 2,418 kB in 6s (391 kB/s)
> Selecting previously unselected package libmotif-common.
> (Reading database ... 211343 files and directories currently installed.)
> Preparing to unpack .../libmotif-common_2.3.8-3.1build1_all.deb ...
> Unpacking libmotif-common (2.3.8-3.1build1) ...
> Selecting previously unselected package libxm4:amd64.
> Preparing to unpack .../libxm4_2.3.8-3.1build1_amd64.deb ...
> Unpacking libxm4:amd64 (2.3.8-3.1build1) ...
> Selecting previously unselected package ddd.
> Preparing to unpack .../ddd_1%3a3.3.12-5.4build2_amd64.deb ...
> Unpacking ddd (1:3.3.12-5.4build2) ...
> Setting up libmotif-common (2.3.8-3.1build1) ...
> Setting up libxm4:amd64 (2.3.8-3.1build1) ...
> Setting up ddd (1:3.3.12-5.4build2) ...
> Processing triggers for install-info (7.1-3build2) ...
> Processing triggers for desktop-file-utils (0.27-2build1) ...
> Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
> Processing triggers for libc-bin (2.39-0ubuntu8.3) ...
> Processing triggers for man-db (2.12.0-4build2) ...
> *robin@ubuntu*:*~/asmwork/01_eatsyscall*$
> 
>   *
>     Every time I invoke ddd I get a segmentation fault:
> 
> 
> robin@ubuntu:~$ ddd
> Warning:
>      Name: copy
>      Class: XmPushButton
>      Illegal mnemonic character;  Could not convert X KEYSYM to a keycode
> 
> (Annoyed?  Try 'Edit->Preferences->General->Suppress X Warnings'!)
> Warning:
>      Name: copy
>      Class: XmPushButton
>      Illegal mnemonic character;  Could not convert X KEYSYM to a keycode
> 
> Warning:
>      Name: paste
>      Class: XmPushButton
>      Illegal mnemonic character;  Could not convert X KEYSYM to a keycode
> 
> Warning:
>      Name: paste
>      Class: XmPushButton
>      Illegal mnemonic character;  Could not convert X KEYSYM to a keycode
> 
> Warning:
>      Name: copy
>      Class: XmPushButton
>      Illegal mnemonic character;  Could not convert X KEYSYM to a keycode
> 
> Warning:
>      Name: paste
>      Class: XmPushButton
>      Illegal mnemonic character;  Could not convert X KEYSYM to a keycode
> 
> X Error of failed request:  BadAccess (attempt to access private 
> resource denied)
>    Major opcode of failed request:  18 (X_ChangeProperty)
>    Serial number of failed request:  11
>    Current serial number in output stream:  13
> 
> Internal error (Segmentation fault).
> 
> ---
> 
>   *
>     Hope that's useful to you.
> 
> 
> Robin Felix
> [email protected]

-- 
Michael Eager