Quoting Theo Buehler <tb@theobuehler.org>:
>> Anybody knows why this happens on arm64 ?
>>
>> ws-4# uname -a
>> OpenBSD ws-4.my.domain 7.3 GENERIC.MP#2164 arm64
>>
>> ws-4# screen -v
>> Segmentation fault (core dumped)
>
> Does not happen here. Could you provide a backtrace, please?
>
> # pkg_delete screen
> # pkg_add gdb debug-screen
>
> Then reproduce the crash and at the gdb prompt type 'bt' and share the
> output, please.
>
> # egdb screen screen.core
> (gdb) bt
Thank you for your instructions! Here you go:
ws-4# pkg_delete screen
screen-4.9.0|
|
0%Invalid \0 character in pathname for ftlink: SPCRP\0 at
/usr/libdata/perl5/OpenBSD/Delete.pm line 432.
Invalid \0 character in pathname for ftfile: SPCRP\0 at
/usr/libdata/perl5/OpenBSD/Delete.pm line 436.
File SPCRP????�BOCHS BXPC
????BXPC??????????????? ??????!?????????����????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????DBG2W????�BOCHS BXPC ????BXPC????,????????+????&?????????????"???????? ????????COM0?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? does not
exist
Use of uninitialized value $name in pattern match (m//) at
/usr/libdata/perl5/OpenBSD/PackageInfo.pm line 111.
Use of uninitialized value $name in concatenation (.) or string at
/usr/libdata/perl5/OpenBSD/PackageInfo.pm line 114.
Use of uninitialized value $p in delete at
/usr/libdata/perl5/OpenBSD/PackageInfo.pm line 82.
Use of uninitialized value $s in pattern match (m//) at
/usr/libdata/perl5/OpenBSD/PackageName.pm line 71.
Use of uninitialized value $s in transliteration (tr///) at
/usr/libdata/perl5/OpenBSD/PackageName.pm line 81.
Use of uninitialized value $stem in hash element at
/usr/libdata/perl5/OpenBSD/PackageName.pm line 124.
Use of uninitialized value $pkgname in delete at
/usr/libdata/perl5/OpenBSD/PackageName.pm line 124.
Use of uninitialized value $stem in hash element at
/usr/libdata/perl5/OpenBSD/PackageName.pm line 125.
Use of uninitialized value $stem in delete at
/usr/libdata/perl5/OpenBSD/PackageName.pm line 126.
screen-4.9.0: ok
ws-4# pkg_add gdb debug-screen
quirks-6.133 signed on 2023-06-19T09:15:25Z
gdb-9.2p3:sqlite3-3.41.2p0: ok
gdb-9.2p3:libffi-3.4.4: ok
gdb-9.2p3:bzip2-1.0.8p0: ok
gdb-9.2p3:xz-5.4.3: ok
gdb-9.2p3:python-3.10.11p0: ok
gdb-9.2p3: ok
Collision in screen-4.9.0: the following files already exist
/usr/local/bin/screen from screen-4.9.0 (different checksum)
/usr/local/info/screen.info from screen-4.9.0 (different checksum)
/usr/local/man/cat1/screen.0 from screen-4.9.0 (different checksum)
/usr/local/share/examples/screen/screenrc from screen-4.9.0
(different checksum)
/usr/local/share/screen/utf8encodings/01 from screen-4.9.0 (different
checksum)
/usr/local/share/screen/utf8encodings/02 from screen-4.9.0 (different
checksum)
/usr/local/share/screen/utf8encodings/03 from screen-4.9.0 (different
checksum)
/usr/local/share/screen/utf8encodings/04 from screen-4.9.0 (different
checksum)
/usr/local/share/screen/utf8encodings/18 from screen-4.9.0 (different
checksum)
/usr/local/share/screen/utf8encodings/19 from screen-4.9.0 (different
checksum)
/usr/local/share/screen/utf8encodings/a1 from screen-4.9.0 (different
checksum)
/usr/local/share/screen/utf8encodings/bf from screen-4.9.0 (different
checksum)
/usr/local/share/screen/utf8encodings/c2 from screen-4.9.0 (different
checksum)
/usr/local/share/screen/utf8encodings/c3 from screen-4.9.0 (different
checksum)
/usr/local/share/screen/utf8encodings/c4 from screen-4.9.0 (different
checksum)
/usr/local/share/screen/utf8encodings/c6 from screen-4.9.0 (different
checksum)
/usr/local/share/screen/utf8encodings/c7 from screen-4.9.0 (different
checksum)
/usr/local/share/screen/utf8encodings/c8 from screen-4.9.0 (different
checksum)
/usr/local/share/screen/utf8encodings/cc from screen-4.9.0 (different
checksum)
/usr/local/share/screen/utf8encodings/cd from screen-4.9.0 (different
checksum)
/usr/local/share/screen/utf8encodings/d6 from screen-4.9.0 (different
checksum)
It seems to be a missing package registration
Repair ? [y/N/a] y
debug-screen-4.9.0:screen-4.9.0: ok
debug-screen-4.9.0: ok
makewhatis: dbm_map(mandoc.db): Inconsistent file size 78180 (expected 4)
/usr/local/man//mandoc.db: Inappropriate file type or format:
Automatically recreating from scratch
ws-4# screen -v
Screen version 4.09.00 (GNU) 30-Jan-22
ws-4# egdb screen screen.core
GNU gdb (GDB) 9.2
Copyright (C) 2020 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 "aarch64-unknown-openbsd7.3".
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 screen...
Reading symbols from /usr/local/bin/.debug/screen.dbg...
[New process 330663]
Core was generated by `screen'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000001341903958 in ?? ()
(gdb) bt
#0 0x0000001341903958 in ?? ()
#1 0x000000134190377c in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
No comments:
Post a Comment