bug-bash
[Top][All Lists]
Advanced

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

Bash2 segfaults in while: do loops


From: nuage
Subject: Bash2 segfaults in while: do loops
Date: Thu, 14 Sep 2006 12:39:39 -0400 (EDT)

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: freebsd6.1
Compiler: cc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='freebsd6.1' -DCONF_MACHTYPE='i386-portbld-freebsd6.1' 
-DCONF_VENDOR='portbld' -DSHELL  -DHAVE_CONFIG_H  -I. -I/usr/local/include -I. 
-I./include -I./lib  -O2 -fno-strict-aliasing -pipe
uname output: FreeBSD frigo.nuageinfo.com 6.1-RELEASE FreeBSD 6.1-RELEASE #0: 
Sun May  7 04:42:56 UTC 2006     address@hidden:/usr/obj/usr/src/sys/SMP  i386
Machine Type: i386-portbld-freebsd6.1

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

Description:
        When trying to run a while loop, bash seldom segfaults. The behavior is 
not constant. The machine is in fact an AMD 64x2, here is a extract from dmesg:

Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 6.1-RELEASE #0: Sun May  7 04:42:56 UTC 2006
    address@hidden:/usr/obj/usr/src/sys/SMP
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (2010.31-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x20fb1  Stepping = 1
  
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x1<SSE3>
  AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow>
  AMD Features2=0x3<LAHF,CMP>
  Cores per package: 2
real memory  = 1073676288 (1023 MB)
avail memory = 1037348864 (989 MB)
ACPI APIC Table: <Nvidia AWRDACPI>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 <Version 1.1> irqs 0-23 on motherboard


Repeat-By:
address@hidden ~]$ while : ; do true ;done
Segmentation fault: 11 (core dumped)




reply via email to

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