Source-Changes-D archive

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

Re: CVS commit: src/sys/arch/atari/stand/installboot



martin@ wrote:

> I still don't see the segmentation violation - what am I missing?
> Gdb is a bit confused about the stack:
> 
> (gdb) bt
> #0  0x0008c2b8 in ?? ()
> #1  0xffffaba4 in ?? ()
> #2  0xffffbc34 in ?? ()
> #3  0x0006fce8 in ?? ()
> #4  0x00000000 in ?? ()

With unstripped binary, it looks distrib/utils/libhack issue?

---
(gdb) run y/0123456789/abcdefghij/
Starting program: /r/work/netbsd-7/src/distrib/atari/floppies/install/obj.atari/sed/sed y/0123456789/abcdefghij/

Program received signal SIGSEGV, Segmentation fault.
0x0008bbce in mbsrtowcs ()
(gdb) bt
#0  0x0008bbce in mbsrtowcs ()
#1  0x0006f9b2 in compile_stream.clone ()
#2  0x0006fbf2 in compile$$from$$sed ()
#3  0x0006ff28 in _crunched_sed_stub ()
#4  0x000021e6 in ___start ()
#5  0x000020d4 in _start ()
(gdb)

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index