ubu...@ubuntu:~/ast$ gdb `which ksh` core
GNU gdb (GDB) 7.2-ubuntu
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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /bin/ksh...done.

warning: exec file is newer than core file.
[New Thread 17169]
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Core was generated by `ksh -i'.
Program terminated with signal 11, Segmentation fault.
#0  0x00000000004dee53 in parse (env=0x0, rex=0x77d960, cont=0x77d960, s=0x1 
<Address 0x1 out of bounds>)
    at /home/ubuntu/ast/src/lib/libast/regex/regnexec.c:976
976                                             switch (follow(env, rex, cont, 
s))
(gdb) where
#0  0x00000000004dee53 in parse (env=0x0, rex=0x77d960, cont=0x77d960, s=0x1 
<Address 0x1 out of bounds>)
    at /home/ubuntu/ast/src/lib/libast/regex/regnexec.c:976
#1  0x000000000042678f in fcmbstate (state=0x1705de0 "\216\004", s=0xb93639a0, 
len=0x77e560)
    at /home/ubuntu/ast/src/cmd/ksh93/sh/fcin.c:198
#2  0x000000000045d4b3 in arith_exec (ep=0x16ee680) at 
/home/ubuntu/ast/src/cmd/ksh93/sh/streval.c:252
#3  0x000000000045dac7 in arith_exec (ep=0x0) at 
/home/ubuntu/ast/src/cmd/ksh93/sh/streval.c:325
#4  0x000000000045dbff in arith_exec (ep=0x77d960) at 
/home/ubuntu/ast/src/cmd/ksh93/sh/streval.c:327
#5  0x0000000000461742 in sh_subshell (t=0x4, flags=16, comsub=0)
    at /home/ubuntu/ast/src/cmd/ksh93/sh/subshell.c:597
#6  0x0000000000461d31 in sh_subshell (t=0x400408418, flags=0, comsub=24045144)
    at /home/ubuntu/ast/src/cmd/ksh93/sh/subshell.c:684
#7  0x000000000045c6f1 in sh_fmtqf (string=0x0, single=4, fold=0)
    at /home/ubuntu/ast/src/cmd/ksh93/sh/string.c:574
#8  0x0000000000461742 in sh_subshell (t=0x4, flags=16, comsub=1)
    at /home/ubuntu/ast/src/cmd/ksh93/sh/subshell.c:597
#9  0x0000000000461d31 in sh_subshell (t=0x4016f5ef0, flags=0, comsub=24044992)
    at /home/ubuntu/ast/src/cmd/ksh93/sh/subshell.c:684
#10 0x000000000045c6f1 in sh_fmtqf (string=0x0, single=4, fold=0)
    at /home/ubuntu/ast/src/cmd/ksh93/sh/string.c:574
#11 0x0000000000407dca in ?? ()
#12 0x0000003100000000 in ?? ()
#13 0x000000000077e560 in _ast_conf_data ()
#14 0x000000000077cde0 in _ast_conf_data ()
#15 0x000000000077e560 in _ast_conf_data ()
#16 0x000000000077e560 in _ast_conf_data ()
#17 0x42f07029a1943312 in ?? ()
#18 0x0000000000000000 in ?? ()
(gdb)

-- 
ksh93 crashed with SIGSEGV
https://bugs.launchpad.net/bugs/638867
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to