Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jun 2004 18:59:58 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Matthias Andree <ma@dt.e-technik.uni-dortmund.de>
Cc:        current@freebsd.org
Subject:   Re: HEADS UP! KSE needs more attention
Message-ID:  <20040607015958.GA97735@dhcp50.pn.xcllnt.net>
In-Reply-To: <m34qpoqkc4.fsf@merlin.emma.line.org>
References:  <40C36D31.4010003@freebsd.org> <20040606193510.GA95886@dhcp50.pn.xcllnt.net> <40C37F3C.1050602@freebsd.org> <20040606211249.GC96607@dhcp50.pn.xcllnt.net> <m34qpoqkc4.fsf@merlin.emma.line.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 07, 2004 at 02:32:11AM +0200, Matthias Andree wrote:
> Marcel Moolenaar <marcel@xcllnt.net> writes:
> 
> > As for alpha, we don't even seem to be able to degrade it to tier 2
> > without losing face. kris@ has already stopped package builds for it
> > for his own sake.
> 
> Alpha is special, with what seems to me like a GDB bug. Try this:
> 
> echo '#include <stdlib.h>
> int main() {abort();}' >abortme.c
> gcc -O2 -o abortme abortme.c
> ./abortme
> gdb ./abortme ./core.abortme
> (inside gdb:) backtrace
> (inside gdb:) backtrace full
> (inside gdb:) quit
> 
> This stuff is run as part of the ports/mail/bogofilter test suite (which
> is part of the build) determine if core dumps from the build logs are
> usable.
> 
> A couple of days ago, the backtrace of the trivial program ended up in
> an unterminated loop on the build cluster, GDB kept repeating stack
> frame #0. Whoops. The other architectures appeared fine though.

This is fixed in gdb 6.x:

GNU gdb 6.1.0.90_20040413 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "alpha-intree-freebsd"...
Core was generated by `abortme'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib/libc.so.5...done.
Loaded symbols for /lib/libc.so.5
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x00000001601b29bc in kill () from /lib/libc.so.5
(gdb) l
1       #include <stdlib.h>
2       int main()
3       {
4               abort();
5       }
(gdb) bt
#0  0x00000001601b29bc in kill () from /lib/libc.so.5
#1  0x00000001601a5298 in raise () from /lib/libc.so.5
#2  0x0000000160233f88 in abort () from /lib/libc.so.5
#3  0x00000001200008a0 in main () at abortme.c:4
(gdb) 

An import of gdb 6.1 or gdb 6.1.1 will resolve this.

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net



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