NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-hppa/56065: Several old hppa binaries don't work on NetBSD 9.1



The following reply was made to PR port-hppa/56065; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: port-hppa/56065: Several old hppa binaries don't work on NetBSD
	 9.1
Date: Sun, 21 Mar 2021 00:51:41 +0900

 > Also several local binaries got SIGSEGV
 > 
 > % /usr/local/bin/tcsh
 > Segmentation fault (core dumped)
 > % file /usr/local/bin/tcsh
 > /usr/local/bin/tcsh: ELF 32-bit MSB executable, PA-RISC, 1.1 version 1 (NetBSD), dynamically linked, interpreter /usr/libexec/ld.elf_so, for NetBSD 5.0, stripped
 > % /usr/local/bin/emacs
 > Segmentation fault (core dumped)
 > % file /usr/local/bin/emacs
 > /usr/local/bin/emacs: sticky ELF 32-bit MSB executable, PA-RISC, 1.1 version 1 (NetBSD), dynamically linked, interpreter /usr/libexec/ld.elf_so, for NetBSD 7.1, with debug_info, not stripped
 
 Note both these /usr/local/bin/tcsh and /usr/local/bin/emacs binaries
 worked fine on NetBSD/hppa 7.1.
 
 tcsh-6.22.02 binary built on NetBSD/hppa 9.1 also dumps core:
 ---
 # file tcsh
 tcsh: ELF 32-bit MSB executable, PA-RISC, 1.1 version 1 (NetBSD), dynamically linked, interpreter /usr/libexec/ld.elf_so, for NetBSD 9.1, with debug_info, not stripped
 # ./tcsh
 Segmentation fault (core dumped)
 # gdb tcsh
 GNU gdb (GDB) 8.3
 Copyright (C) 2019 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.
 Type "show copying" and "show warranty" for details.
 This GDB was configured as "hppa--netbsd".
 Type "show configuration" for configuration details.
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>.
 Find the GDB manual and other documentation resources online at:
     <http://www.gnu.org/software/gdb/documentation/>.
 
 For help, type "help".
 Type "apropos word" to search for commands related to "word"...
 Reading symbols from tcsh...
 (gdb) run
 Starting program: /root/tcsh-6.22.02/tcsh
 
 Program received signal SIGSEGV, Segmentation fault.
 0x000548a4 in malloc (nbytes=24) at tc.alloc.c:211
 211         if (nextf[bucket] == NULL)
 (gdb) bt
 #0  0x000548a4 in malloc (nbytes=24) at tc.alloc.c:211
 #1  0xaf199424 in pthread_atfork () from /usr/lib/libc.so.12
 #2  0xaf11eff8 in ?? () from /usr/lib/libc.so.12
 #3  0xaf19f0e0 in ?? () from /usr/lib/libc.so.12
 Backtrace stopped: previous frame identical to this frame (corrupt stack?)
 (gdb)
 
 ---
 
 So there are something wrong in NetBSD/hppa 9.1 libc?
 
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index