DDD 3.4.1 (aarch64-unknown-linux-gnu) gets `Speicherzugriffsfehler' signal

Bernd Bluemmel <[email protected]> Wed, 4 Sep 2024 08:24:01 +0200
Newsgroups gmane.comp.debugging.ddd.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------Kd0Se2QRkoDPpRe7VD5gHFP0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

running ddd 3.4.1 from the official fedora f40 repository: crashed after showing splash screen
build from source: crashed after showing splash screen

uname -a: Linux fedoraAsahi 6.10.6-401.asahi.fc40.aarch64+16k #1 SMP PREEMPT_DYNAMIC Sat Aug 24 16:13:13 UTC 2024 aarch64 GNU/Linux

ddd 3.4.0 works.


-- 
Limesstraße 10,
64625 Bensheim
Telefon: +49 6251 68114
Mobil: +49 175 5709712
Mail:[email protected]

--------------Kd0Se2QRkoDPpRe7VD5gHFP0
Content-Type: text/plain; charset=windows-1252; name="log"
Content-Disposition: attachment; filename="log"
Content-Transfer-Encoding: 8bit

GNU DDD 3.4.0 (aarch64-redhat-linux-gnu)
Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany.
Copyright (C) 1999-2001 Universität Passau, Germany.
Copyright (C) 2001 Universität des Saarlandes, Germany.
Copyright (C) 2001-2009 Free Software Foundation, Inc.

Compiled with GCC 14.0.1 20240118 (Red Hat 14.0.1-0), GNU libc 2.38
Requires X11R6, Xt11R7, Motif 2.3.4 (Motif Version 2.3.4)
Includes XPM 3.4.11, Athena Panner (7000002L), DDD core, Readline 8.2
$  /usr/bin/ddd
+  /bin/sh -c 'exec gdb -q -fullname'
#  Hello, world!
#  Starting GDB...
#  Running GDB (pid 91303, tty /dev/pts/1)...
#  Current language: C/C++
#  Searching "vsllib/ddd.vsl"...
#  Trying "/home/babba/.ddd/vsllib/ddd.vsl"
#  Trying "/usr/share/ddd-3.4.0/vsllib/ddd.vsl"
#  Searching "vsllib/ddd.vsl"..."/usr/share/ddd-3.4.0/vsllib/ddd.vsl".
2024.09.04 08:20:23
<- "(gdb) "
2024.09.04 08:20:23
-> "set prompt (gdb) \n"
2024.09.04 08:20:23
<- "(gdb) "
2024.09.04 08:20:23
-> "set height 0\n"
2024.09.04 08:20:23
<- "(gdb) "
2024.09.04 08:20:23
-> "set width 0\n"
2024.09.04 08:20:23
<- "(gdb) "
2024.09.04 08:20:23
-> "set annotate 1\n"
2024.09.04 08:20:23
<- "(gdb) "
2024.09.04 08:20:23
-> "set print repeats unlimited\n"
2024.09.04 08:20:23
<- "(gdb) "
2024.09.04 08:20:23
-> " set verbose off\n"
2024.09.04 08:20:23
<- "(gdb) "
2024.09.04 08:20:23
-> "info line\n"
2024.09.04 08:20:23
<- "No line number information available.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "list\n"
2024.09.04 08:20:23
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info line\n"
2024.09.04 08:20:23
<- "No line number information available.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "output 4711\n"
2024.09.04 08:20:23
<- "4711(gdb) "
2024.09.04 08:20:23
-> "show language\n"
2024.09.04 08:20:23
<- "The current source language is \"auto; currently c\".\n"
   "(gdb) "
2024.09.04 08:20:23
-> "show version\n"
2024.09.04 08:20:23
<- "GNU gdb (Fedora Linux) 14.2-3.fc40\n"
   "Copyright (C) 2023 Free Software Foundation, Inc.\n"
   "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n"
   "This is free software: you are free to change and redistribute it.\n"
   "There is NO WARRANTY, to the extent permitted by law.\n"
   "Type \"show copying\" and \"show warranty\" for details.\n"
   "This GDB was configured as \"aarch64-redhat-linux-gnu\".\n"
   "Type \"show configuration\" for configuration details.\n"
   "For bug reporting instructions, please see:\n"
   "<https://www.gnu.org/software/gdb/bugs/>.\n"
   "Find the GDB manual and other documentation resources online at:\n"
   "    <http://www.gnu.org/software/gdb/documentation/>.\n"
   "\n"
   "For help, type \"help\".\n"
   "Type \"apropos word\" to search for commands related to \"word\".\n"
   "(gdb) "
2024.09.04 08:20:23
-> "pwd\n"
2024.09.04 08:20:23
<- "Working directory /home/babba/src/ddd-3.4.1.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info breakpoints\n"
2024.09.04 08:20:23
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "show history filename\n"
2024.09.04 08:20:23
<- "The filename in which to record the command history is \"/home/babba/src/ddd-3.4.1/.gdb_history\".\n"
   "(gdb) "
2024.09.04 08:20:23
-> "show history size\n"
2024.09.04 08:20:23
<- "The size of the command history is 256.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info source\n"
2024.09.04 08:20:23
<- "No current source file.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info sources\n"
2024.09.04 08:20:23
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info line main\n"
2024.09.04 08:20:23
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info source\n"
2024.09.04 08:20:23
<- "No current source file.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info line MAIN\n"
2024.09.04 08:20:23
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info files\n"
2024.09.04 08:20:23
<- "(gdb) "
2024.09.04 08:20:23
-> "info line main_\n"
2024.09.04 08:20:23
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info program\n"
2024.09.04 08:20:23
<- "The program being debugged is not being run.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info line MAIN_\n"
2024.09.04 08:20:23
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info source\n"
2024.09.04 08:20:23
<- "No current source file.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info line main__\n"
2024.09.04 08:20:23
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info source\n"
2024.09.04 08:20:23
<- "No current source file.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info line MAIN__\n"
2024.09.04 08:20:23
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info source\n"
2024.09.04 08:20:23
<- "No current source file.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info line _main\n"
2024.09.04 08:20:23
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info source\n"
2024.09.04 08:20:23
<- "No current source file.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info line _MAIN\n"
2024.09.04 08:20:23
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info source\n"
2024.09.04 08:20:23
<- "No current source file.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info line __main\n"
2024.09.04 08:20:23
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info source\n"
2024.09.04 08:20:23
<- "No current source file.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info line __MAIN\n"
2024.09.04 08:20:23
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info source\n"
2024.09.04 08:20:23
<- "No current source file.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info line my_main\n"
2024.09.04 08:20:23
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info source\n"
2024.09.04 08:20:23
<- "No current source file.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info line the_main\n"
2024.09.04 08:20:23
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info source\n"
2024.09.04 08:20:23
<- "No current source file.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info line vxworks_main\n"
2024.09.04 08:20:23
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info source\n"
2024.09.04 08:20:23
<- "No current source file.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info line main_vxworks\n"
2024.09.04 08:20:23
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "set confirm off\n"
2024.09.04 08:20:23
<- "(gdb) "
2024.09.04 08:20:23
-> "source /tmp/dddKxCsDE\n"
2024.09.04 08:20:23
<- "(gdb) "
2024.09.04 08:20:23
-> "info breakpoints\n"
2024.09.04 08:20:23
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info source\n"
2024.09.04 08:20:23
<- "No current source file.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "# reset\n"
2024.09.04 08:20:23
<- "(gdb) "
2024.09.04 08:20:23
-> "info breakpoints\n"
2024.09.04 08:20:23
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "display\n"
2024.09.04 08:20:23
<- "(gdb) "
2024.09.04 08:20:23
-> "info display\n"
2024.09.04 08:20:23
<- "There are no auto-display expressions now.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "set environment TERM dumb\n"
2024.09.04 08:20:23
<- "(gdb) "
2024.09.04 08:20:23
-> "info source\n"
2024.09.04 08:20:23
<- "No current source file.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "info files\n"
2024.09.04 08:20:23
<- "(gdb) "
2024.09.04 08:20:23
-> "info program\n"
2024.09.04 08:20:23
<- "The program being debugged is not being run.\n"
   "(gdb) "
#  Creating options in "/home/babba/.ddd/init"...
#  Creating options in "/home/babba/.ddd/init"...done.
#  Starting GDB...done.
#  Welcome to DDD 3.4.0 "Plitvice Lakes" (aarch64-redhat-linux-gnu)
2024.09.04 08:20:23
-> "help detach\n"
2024.09.04 08:20:23
<- "Detach a process or file previously attached.\n"
   "If a process, it is no longer traced, and it continues its execution.  If\n"
   "you were debugging a file, the file is closed and gdb no longer accesses it.\n"
   "\n"
   "List of detach subcommands:\n"
   "\n"
   "detach checkpoint -- Detach from a checkpoint (experimental).\n"
   "detach inferiors -- Detach from inferior ID (or list of IDS).\n"
   "\n"
2024.09.04 08:20:23
<- "Type \"help detach\" followed by detach subcommand name for full documentation.\n"
   "Type \"apropos word\" to search for commands related to \"word\".\n"
   "Type \"apropos -v word\" for full documentation of commands related to \"word\".\n"
   "Command name abbreviations are allowed if unambiguous.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "help run\n"
2024.09.04 08:20:23
<- "run, r\n"
   "Start debugged program.\n"
   "You may specify arguments to give it.\n"
   "Args may include \"*\", or \"[...]\"; they are expanded using the\n"
   "shell that will start the program (specified by the \"$SHELL\" environment\n"
   "variable).  Input and output redirection with \">\", \"<\", or \">>\"\n"
   "are also allowed.\n"
   "\n"
   "With no arguments, uses arguments last specified (with \"run\" or \n"
   "\"set args\").  To cancel previous arguments and run with no arguments,\n"
   "use \"set args\" without arguments.\n"
   "\n"
   "To start the inferior without using a shell, use \"set startup-with-shell off\".\n"
   "(gdb) "
2024.09.04 08:20:23
-> "help step\n"
2024.09.04 08:20:23
<- "step, s\n"
   "Step program until it reaches a different source line.\n"
   "Usage: step [N]\n"
   "Argument N means step N times (or till program stops for another reason).\n"
   "(gdb) "
2024.09.04 08:20:23
-> "help stepi\n"
2024.09.04 08:20:23
<- "stepi, si\n"
   "Step one instruction exactly.\n"
   "Usage: stepi [N]\n"
   "Argument N means step N times (or till program stops for another reason).\n"
   "(gdb) "
2024.09.04 08:20:23
-> "help next\n"
2024.09.04 08:20:23
<- "next, n\n"
   "Step program, proceeding through subroutine calls.\n"
   "Usage: next [N]\n"
   "Unlike \"step\", if the current source line calls a subroutine,\n"
   "this command does not enter the subroutine, but instead steps over\n"
   "the call, in effect treating it as a single source line.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "help nexti\n"
2024.09.04 08:20:23
<- "nexti, ni\n"
   "Step one instruction, but proceed through subroutine calls.\n"
   "Usage: nexti [N]\n"
   "Argument N means step N times (or till program stops for another reason).\n"
   "(gdb) "
2024.09.04 08:20:23
-> "help until\n"
2024.09.04 08:20:23
<- "until, u\n"
   "Execute until past the current line or past a LOCATION.\n"
   "Execute until the program reaches a source line greater than the current\n"
   "or a specified location (same args as break command) within the current frame.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "help finish\n"
2024.09.04 08:20:23
<- "finish, fin\n"
   "Execute until selected stack frame returns.\n"
   "Usage: finish\n"
   "Upon return, the value returned is printed and put in the value history.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "help cont\n"
2024.09.04 08:20:23
<- "continue, fg, c\n"
   "Continue program being debugged, after signal or breakpoint.\n"
   "Usage: continue [N]\n"
   "If proceeding from breakpoint, a number N may be used as an argument,\n"
   "which means to set the ignore count of that breakpoint to N - 1 (so that\n"
   "the breakpoint won\'t break until the Nth time it is reached).\n"
   "\n"
   "If non-stop mode is enabled, continue only the current thread,\n"
   "otherwise all the threads in the program are continued.  To \n"
   "continue all stopped threads in non-stop mode, use the -a option.\n"
   "Specifying -a and an ignore count simultaneously is an error.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "help signal\n"
2024.09.04 08:20:23
<- "Continue program with the specified signal.\n"
   "Usage: signal SIGNAL\n"
   "The SIGNAL argument is processed the same as the handle command.\n"
   "\n"
   "An argument of \"0\" means continue the program without sending it a signal.\n"
   "This is useful in cases where the program stopped because of a signal,\n"
   "and you want to resume the program while discarding the signal.\n"
   "\n"
   "In a multi-threaded program the signal is delivered to, or discarded from,\n"
   "the current thread only.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "help kill\n"
2024.09.04 08:20:23
<- "Kill execution of program being debugged.\n"
   "\n"
   "List of kill subcommands:\n"
   "\n"
   "kill inferiors -- Kill inferior ID (or list of IDs).\n"
   "\n"
2024.09.04 08:20:23
<- "Type \"help kill\" followed by kill subcommand name for full documentation.\n"
   "Type \"apropos word\" to search for commands related to \"word\".\n"
   "Type \"apropos -v word\" for full documentation of commands related to \"word\".\n"
   "Command name abbreviations are allowed if unambiguous.\n"
   "(gdb) "
2024.09.04 08:20:23
-> "help up\n"
2024.09.04 08:20:23
<- "Select and print stack frame that called this one.\n"
   "An argument says how many frames up to go.\n"
   "(gdb) "
2024.09.04 08:20:24
-> "help down\n"
2024.09.04 08:20:24
<- "down, dow, do\n"
   "Select and print stack frame called by this one.\n"
   "An argument says how many frames down to go.\n"
   "(gdb) "
2024.09.04 08:20:40
-> "quit\n"
#  GDB: EOF detected
#  Running GDB (pid 91303, tty /dev/pts/1)...Exit 0.
#  Saving options in "/home/babba/.ddd/init"...
#  Saving options in "/home/babba/.ddd/init"...done.
#  Saving history in "/home/babba/.ddd/history"...
#  Saving history in "/home/babba/.ddd/history"...done.
#  Thanks for using DDD 3.4.0!

--------------Kd0Se2QRkoDPpRe7VD5gHFP0--