bug-bash
[Top][All Lists]
Advanced

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

Re: bash segfaults processing a certain .bashrc file on AMD 64-bit machi


From: Chet Ramey
Subject: Re: bash segfaults processing a certain .bashrc file on AMD 64-bit machine
Date: Wed, 17 Nov 2004 17:02:24 -0500

> Machine Type: x86_64-redhat-linux-gnu
>                                                                               
>                                                
> Bash Version: 2.05b
> Patch Level: 0
> Release Status: release
>                                                                               
>                                                
> Description: If my .bashrc file contains the lines below, then newly
> invoked copies of bash segfault on my new Redhat FC2 AMD 64-bit
> machine. The same code works fine on a variety of i386 32-bit machine
> (single, dual CPU) and on 64-bit Sun machines. I got the cleanpath
> function off the web, so it is conceivable that the problem is in
> there. In that case, sorry for wasting your time... In any case, could
> you give me some pointers to fixing this?

I can't reproduce this on my 64-bit powermac, using 2.05b or 3.0.

You could always generate a stack traceback from the core file after it
segfaults:

        gdb bash core
        (gdb) where

That might help pinpoint the problem.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU    chet@po.cwru.edu    http://tiswww.tis.cwru.edu/~chet/




reply via email to

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