bug-bash
[Top][All Lists]
Advanced

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

bash crashes after "fc"


From: uwe
Subject: bash crashes after "fc"
Date: Wed, 1 Aug 2001 22:48:01 +0200

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux
Compiler: gcc -I/usr/src/packages/BUILD/bash-2.05
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='linux' -DCONF_MACHTYPE='i386-suse-linux' -DCONF_VENDOR='suse' 
-DSHELL -DHAVE_CONFIG_H  -D_FILE_OFFSET_BITS=64  -I. -I/usr/include -I. 
-I./include -I./lib -I/usr/include -O2 -m486 -mcpu=i486 -march=i486 
-D_GNU_SOURCE -Wall -pipe
uname output: Linux majestix 2.4.4-4GB #1 Wed May 16 00:37:55 GMT 2001 i586 
unknown
Machine Type: i386-suse-linux

Bash Version: 2.05
Patch Level: 0
Release Status: release

Description:
        bash crashes after "fc" with SEGV.

Repeat-By:

pi@majestix ~ >bash
pi@majestix ~ >echo $HOME
/home/pi
pi@majestix ~ >fc
echo $HOME
/home/pi
Speicherzugriffsfehler (SEGV)

OR:
gdb  /usr/src/packages/BUILD/bash-2.05/bash
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-suse-linux"...(no debugging symbols
found)...
(gdb) r
Starting program: /usr/src/packages/BUILD/bash-2.05/bash
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
pi@majestix ~ >echo $HOME
/home/pi
pi@majestix ~ >fc
echo $HOME
/home/pi
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x40114f65 in chunk_alloc () from /lib/libc.so.6
(gdb) where
#0  0x40114f65 in chunk_alloc () from /lib/libc.so.6
#1  0x401145a4 in malloc () from /lib/libc.so.6
#2  0x8089e14 in xmalloc ()
#3  0x807c099 in unwind_protect_var ()
#4  0x8064b55 in execute_command_internal ()
#5  0x8065069 in execute_shell_function ()
#6  0x8064757 in execute_command_internal ()
#7  0x8061a90 in execute_command_internal ()
#8  0x808d723 in parse_and_execute ()
#9  0x805947a in execute_prompt_command ()
#10 0x80583b5 in parse_command ()
#11 0x8058491 in read_command ()
#12 0x80581f6 in reader_loop ()
#13 0x8056787 in main ()
#14 0x400bdc6f in __libc_start_main () from /lib/libc.so.6





reply via email to

[Prev in Thread] Current Thread [Next in Thread]