Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2003 20:41:33 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Friedemann Becker <Friedemann.Becker@student.uni-tuebingen.de>, freebsd-hackers@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG
Subject:   Re: where's my pr gone? - supplemental
Message-ID:  <p05200f08ba75eb5f5dca@[128.113.24.47]>
In-Reply-To: <Pine.WNT.4.51.0302160004360.1468@chasey>
References:  <Pine.WNT.4.51.0302160000390.1468@chasey> <Pine.WNT.4.51.0302160004360.1468@chasey>

next in thread | previous in thread | raw e-mail | index | archive | help
At 12:05 AM +0100 2/16/03, Friedemann Becker wrote:
>http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/47512
>
>this happens only with the above link, i.e. from the pr summary.
>searching for the bugid 47512 works (=> not empty)....
>
>someone want to look at this?

The above link worked fine for me.  I did not get a blank page.

Also, doing an 'ls' in bash, after starting 'gdb bash', did not
cause any kernel panic.  But then it occurred to me that my
login shell was bash (ie, I was already in bash when I typed the
'gdb bash' command).

So, I logged into 'toor', which has /bin/sh as the login shell.
If I logged in at the console, and did a 'gdb bash', then when
I tried to do a 'run' I was told:
    Starting program: /usr/local/bin/bash
    Cannot exec : No such file or directory

So, then I ssh'ed into 'toor', to make it easier to copy&paste
that error message into this email.  Behold, it worked fine.
Well, there was a complaint of:
    Starting program: /usr/local/bin/bash
    warning: shared library handler failed to enable breakpoint

but other than that warning it worked fine (as did the 'ls').

Sooo, then I checked to see what the difference was between the
two sessions.  It turned out that when logging into the console,
the SHELL environment variable was set to the null string.  When
I ssh'ed in, it was set to /bin/sh.  If I set SHELL on the console
session, then gdb could run bash OK.

I'm not quite sure what all of that means...

All of this was done an a FreeBSD 5.0-CURRENT system, built
on Sat Feb 15 01:34:07 EST 2003

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05200f08ba75eb5f5dca>