Hi,

not sure which of the many bugs this is…

t...@frozenfish:~/b $ ./test.sh -v
Segmentation fault
139|t...@frozenfish:~/b $ dpkg-query -W tcc
tcc     0.9.25-3
t...@frozenfish:~/b $ ./mksh -c true
Segmentation fault
139|t...@frozenfish:~/b $ gdb --args ./mksh -c true
GNU gdb (GDB) 7.1-debian
Copyright (C) 2010 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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
BFD: /home/tg/b/mksh: no group info for section .text.__i686.get_pc_thunk.bx
BFD: /home/tg/b/mksh: no group info for section .text.__i686.get_pc_thunk.bx
Reading symbols from /home/tg/b/mksh...done.
(gdb) r
Starting program: /home/tg/b/mksh -c true
Failed to read a valid object file image from memory.

Program received signal SIGSEGV, Segmentation fault.
0x08081256 in inittraps () at ../mksh/histrap.c:1078
1078                            sigtraps[i].mess = sys_siglist[i];
(gdb) print sys_siglist
$1 = 0
(gdb) bt
#0  0x08081256 in inittraps () at ../mksh/histrap.c:1078
#1  0x080933f3 in mksh_init () at ../mksh/main.c:158
#2  0x080946d2 in main () at ../mksh/main.c:472
(gdb)

This is after:

cvs -d _anon...@anoncvs.mirbsd.org:/cvs -z9 co -PA mksh
mkdir b
cd b
CC=tcc sh ../mksh/Build.sh -r

bye,
//mirabilos
-- 
FWIW, I'm quite impressed with mksh interactively. I thought it was much
*much* more bare bones. But it turns out it beats the living hell out of
ksh93 in that respect. I'd even consider it for my daily use if I hadn't
wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to