DSSS 0.54 and Rebuild 0.12 released!
Gregor Richards
Richards at codu.org
Mon Feb 26 22:49:35 PST 2007
Jari-Matti Mäkelä wrote:
> Here's a backtrace from my linux box:
>
> $ echo void main() {} > test.d
> $ rebuild test
> $ gdb --args rebuild test
> GNU gdb 6.6
> Copyright (C) 2006 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 "i686-pc-linux-gnu"...
> Using host libthread_db library "/lib/libthread_db.so.1".
> (gdb) run
> Starting program:
> /mnt/home/users/demise/dsss-0.54-dmd-gnuWlinux/bin/rebuild test
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x0804ac80 in Array::pop (this=0x812c818) at array.c:100
> 100 return data[--dim];
> Current language: auto; currently c++
> (gdb) bt full
> #0 0x0804ac80 in Array::pop (this=0x812c818) at array.c:100
> No locals.
> #1 0x080af88c in main (argc=5, argv=0x812c888) at mars.c:1259
> gc = (GroupedCompile *) 0x812c7f8
> ignore = 1 '\001'
> i = 0
> files = {<Object> = {_vptr.Object = 0x80ef3e8}, dim = 1,
> allocdim = 1, data = 0x812a3a0}
> p = 0xbfaee052 "test"
> m = (class Module *) 0x812cb08
> status = 0
> argcstart = 2
> chooseProfile = 0x81004e7 "default"
> envProfile = 0x0
> GroupedCompiles = {<Object> = {_vptr.Object = 0x80ef3e8}, dim =
> 1, allocdim = 1, data = 0x812cdd0}
> __PRETTY_FUNCTION__ = "int main(int, char**)"
Aha! Found the bug, fixed the bug. Gracias. Next release (soon) will
have this fixed.
- Gregor Richards
More information about the Digitalmars-d-announce
mailing list