bug-bash
[Top][All Lists]
Advanced

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

Crash, malloc: block on free list clobbered & p->minfo.mi_alloc == ((ch


From: Dean McBride
Subject: Crash, malloc: block on free list clobbered & p->minfo.mi_alloc == ((char) 0xf7
Date: Tue, 04 Jun 2002 09:58:03 -0400

Configuration Information [Automatically generated, do not change]:
Machine: powerpc
OS: linux-gnu
Compiler: ppc_7xx-gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='powerpc' -DCONF_OSTYPE='l inux-gnu' -DCONF_MACHTYPE='powerpc-hardhat-linux-gnu' -DCONF_VENDOR='hardhat' -D
SHELL -DHAVE_CONFIG_H   -I.  -I.. -I../include -I../lib -O2
uname output: Linux ds 2.4.10-pre10 #38 SMP Mon Jun 3 17:15:30 EDT 2002 ppc unkn
own
Machine Type: powerpc-hardhat-linux-gnu

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

Description:
1st crash output:
------------------------
Thu Jan  1 00:08:58 UTC 1970
malloc: block on free list clobbered
Report this to address@hidden
Stopping myself...(S:2-F:4000-M:0xff) Rcvd 120060 bufs, Saved 20010 (1120560 byt
es) Restarts: 0!
./looprun: line 10:    89 Aborted                 /opt/ds/src/lm1/bin/lm1_write
-s 4 -m 15 -f 20000 -a -r -u 0
Segmentation fault

sh-2.03#sh-2.03# bash -version
bash -version
GNU bash, version 2.03.0(1)-release (powerpc-hardhat-linux-gnu)
Copyright 1998 Free Software Foundation, Inc.
bash-2.03#

2nd crash output:
-------------------------
p->minfo.mi_alloc == ((char) 0xf7
Report this to address@hidden
Stopping myself...Aborted

sh-2.03# bash --version
GNU bash, version 2.03.0(1)-release (powerpc-hardhat-linux-gnu)
Copyright 1998 Free Software Foundation, Inc.


Repeat-By:
        I've had 2 bash crashes lately while attempting to run the following
        script (Note, the 2nd crash was on loop # 14):
#!/bin/bash
declare -i counter=1
/opt/ds/src/lm1/bin/lm1_shm -c &
while [ $counter -le $1 ] ; do
   /opt/ds/src/lm1/bin/lm1_read  -s 4 -m 255 -f 4000  -a -r -g 1 -u 3&
   /opt/ds/src/lm1/bin/lm1_write -s 4 -m 15  -f 12500 -a -r -u 0 &
   usleep 10
   wait
   cat /proc/meminfo
   echo "Loop: $counter ------------------------"
   date
   let counter=$counter+1
done





reply via email to

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