Re: NetBSD 10 earmv5 issue with awk
John Klos <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.arm |
|---|---|
| Message-ID | <[email protected]> |
>> assertion "s < f->state_count" failed: file
>> "/usr/src/external/historical/nawk/bin/../dist/b.c", line 568, function
>> "pmatch"
>> [1] Abort trap (core dumped) ${AWK} -f
>> ${PKGSRCDIR}/mk/pkgformat/pkg/reduce...
>
> Can you show a full backtrace?
For some reason, no :(
gdb /usr/bin/awk awk.core
...
Reading symbols from /usr/bin/awk...
(No debugging symbols found in /usr/bin/awk)
[New process 29490]
Core was generated by `awk'.
Program terminated with signal SIGABRT, Aborted.
#0 0xbbe06a20 in ?? ()
(gdb) bt
#0 0xbbe06a20 in ?? ()
#1 0xbbe0540c in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
file /usr/bin/awk
/usr/bin/awk: ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (SYSV),
dynamically linked, interpreter /usr/libexec/ld.elf_so, for NetBSD 10.0,
compiled for: earmv5, not stripped
Not sure what I'm doing wrong. From a fresh one after installing all of
base.tgz with symbols (-VMKDEBUG=yes -VMKDEBUGLIB=yes) - before I had just
copied /usr/bin/awk:
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000269ec in yytable ()
(gdb) bt
#0 0x000269ec in yytable ()
#1 0x0002232c in yycheck ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
John