bug-bash
[Top][All Lists]
Advanced

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

Bash segfaults on fc execution


From: Dominik Russenberger
Subject: Bash segfaults on fc execution
Date: Mon, 20 Jun 2011 16:23:54 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-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 pab3-boot 2.6.32-32-server #62-Ubuntu SMP Wed Apr 20 
22:07:43 UTC 2011 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

Bash Version: 4.1
Patch Level: 5
Release Status: release

Description:
        Bash segfaults

Repeat-By:
        Create a file e.g /bin/foo, following content:
        `(fc -nl -1 || true)`
        Make executable.
        Add following line to e.g. ~/.profile:
        PROMPT_COMMAND=". /bin/foo"
        Following kernel error shows up on login:
        [881910.617549] bash[15527]: segfault at 10 ip 00000000004737a4 sp 
00007fffb36745f0 error 4 in bash[400000+db000]

Fix:
        [Description of how to fix the problem.  If you don't know a
        fix for the problem, don't include this section.]

-- 
terreActive AG
Kasinostrasse 30
CH-5001 Aarau
Tel: +41 62 834 00 55
Fax: +41 62 823 93 56
www.terreactive.ch
Wir sichern Ihren Erfolg - seit 15 Jahren



reply via email to

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