|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Small script that sometimes elicits a memory errorConfiguration Information [Automatically generated, do not change]:
Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -g -O2 -Wall uname output: Linux debian1.loaner.com 2.6.25-2-686 #1 SMP Fri Jun 27 03:23:20 UTC 2008 i686 GNU/Linux Machine Type: i486-pc-linux-gnu Bash Version: 4.0 Patch Level: 33 Release Status: release Description: Sometime the following code causes: malloc: ../bash/subst.c:4198: assertion botched realloc: start and end chunk sizes differ Aborting...tmp/bug: line 283: 9468 Done 9469 Aborted (core dumped) Repeat-By: read -d '' v <<EOF 010.4 074.67 37.33 3616 40.82 2099 023.7 000382 000382 205.01 205.01 0866 0155.1 0623 111.58 3000 0960 240 240 10.4 104 9.4 94 3900 44.031 2050 23.144 7 7 7 7 400 400 395 395 390 390 385 385 380 380 375 375 370 370 365 365 360 360 355 355 350 350 345 345 340 340 335 335 330 330 325 325 320 320 315 315 310 310 305 305 300 300 295 295 290 290 285 285 280 280 275 275 270 270 265 265 260 260 255 255 250 250 245 245 240 240 235 235 230 180 175 175 170 170 165 165 160 160 155 155 150 150 145 145 140 140 135 135 130 130 125 125 120 120 115 115 110 110 105 105 100 100 95 95 90 90 85 85 80 80 75 75 70 70 65 65 60 60 55 55 50 50 45 45 40 40 35 35 30 30 25 25 20 20 15 15 10 10 5 5 0 0 5 5 370 365 365 360 360 355 355 350 350 345 345 340 340 335 335 330 330 325 325 320 320 315 315 310 310 305 305 300 300 295 295 290 290 285 285 280 280 275 275 270 270 265 265 260 260 255 255 250 250 245 245 240 240 235 235 230 130 125 110 110 105 105 200 200 13189 682.1 60.3 554.3 0049 2498.899 025.321 85.5436 36.8847 450.9854 08717.988 87.5753 77.4046 63.1502 13.6946 EOF f(){ echo "$v" | while read d ; do while read c ; do : done < <(echo a) done } f b |
|
|
Re: Small script that sometimes elicits a memory errorchange@... wrote:
> Configuration Information [Automatically generated, do not change]: > Machine: i486 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -g -O2 -Wall > uname output: Linux debian1.loaner.com 2.6.25-2-686 #1 SMP Fri Jun 27 03:23:20 UTC 2008 i686 GNU/Linux > Machine Type: i486-pc-linux-gnu > > Bash Version: 4.0 > Patch Level: 33 > Release Status: release > > Description: > > Sometime the following code causes: > > malloc: ../bash/subst.c:4198: assertion botched > realloc: start and end chunk sizes differ > Aborting...tmp/bug: line 283: 9468 Done > 9469 Aborted (core dumped) I am unable to reproduce it. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU chet@... http://cnswww.cns.cwru.edu/~chet/ |
| Free embeddable forum powered by Nabble | Forum Help |