[gvd-devel] gvd crash on display reference

Thorsten Roggendorf schrotie@uni-bielefeld.de
Mon, 28 May 2001 17:40:05 +0200


Hi,

I guess you know the problem, but anyway, gvd crashes when you try to
display a reference (printing it is possible, even when it's quite
complex).

Here is what gvd thought about it:

Please report with the contents of the file /users/schrotie/.gvd/log
the following information:
Version: 1.1.0
Date: 20010307
Target: i686-pc-linux-gnu
Exception name: STORAGE_ERROR
Message: debugger-gdb-c.adb:309
Call stack traceback locations:
0x818666e 0x8189d6c 0x81aa00f 0x82091dc 0x824cab1 0x824e644 0x82353a8
0x822615a 0x8228067 0x836a39e 0x83699a8 0x8367fad 0x83920c6 0x834edca
0x834e2f9 0x834910a 0x83699de 0x8367fad 0x8391f9a 0x8349094 0x834856d
0x83ab5b2 0x83bf37c 0x83bf88b 0x83bf9cd 0x834802b 0x81e8444 0x80e123d
0x40110a5c

and a description as complete as possible (including sources) to reproduce
the bug

Here is what it put in the logfile:

[1] <- "(gdb) "
[1] -> "file /users/schrotie/prog/src/temp/test/a.out\n"
[1] <- "Reading symbols from /users/schrotie/prog/src/temp/test/a.out...done.\n"
[1] <- "(gdb) "
[1] -> "break test.cpp:3\n"
[1] <- "Breakpoint 1 at 0x8048517: file test.cpp, line 3.\n"
[1] <- "(gdb) "
[1] -> "run \n"
[1] <- "Starting program: /users/schrotie/prog/src/temp/test/a.out \n"
[1] <- "\n"
[1] <- "Breakpoint 1, main () at test.cpp:3\n"
[1] <- "^Z^Z/users/schrotie/prog/src/temp/test/test.cpp:3:33:beg:0x8048517\n"
[1] <- "(gdb) "
[1] -> "graph display b"

And here is the source:

void main() {
  int a(0), &b(a);
}

I guess that's as minimal as it get's and hopefully all you need ;-) 

Cool debugger anyway, better than ddd (or soon so).

Regards

   Thorsten