[gvd-devel] GVD 1.0.2 bug gvd-process.adb:1052 CONSTRAINT_ERROR

Brian Beckrich beckrich@mcci-arl-va.com
Tue, 27 Feb 2001 14:22:15 -0500 (EST)


To whom it may concern-

Got a constraint error while trying to interact with the
command line gdb window after trying to graphically
examine a tagged type's contents.

Here's the terminal output:

Bug detected in GVD
Please report with the contents of the file /sandy/beckrich/.gvd/log
the following information:
Version: 1.0.2
Exception name: CONSTRAINT_ERROR
Message: gvd-process.adb:1052
Call stack traceback locations:
0x2580cc 0x258a0c 0x280a58 0x30ad48 0x3d9cdc 0x3d8e9c 0x3d6838 0x385494 0x3f01ac 0x3aa978 0x3d8ee4 0x3d6838 0x40e978 0x418930 0x3aa978 0x3d8ee4 0x3d6838 0x40e978 0x3aa860 0x3a9a7c 0x431330 0x448858 0x448ee8 0x449070 0x3a9278 0x228d44 0xf2148 0xf1640

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



Here's the log file output:

[1] <- "(gdb) "
[1] -> "break test_it2.adb:21\n"
[1] <- "Breakpoint 1 at "
[1] <- "0x4c448: file ../test_it2.adb, line 21.\n"
       "(gdb) "
[1] -> "run\n"
[1] <- "Starting program: /sandy/beckrich/fortran/primgen/test/test_it2 \n"
[1] <- "[New LWP    2        ]\n"
[1] <- "[New LWP    3        ]\n"
[1] <- "\n"
       "Breakpoint 1, test_it () at ../test_it2.adb:21\n"
[1] <- "/sandy/beckrich/fortran/primgen/test/../test_it2.adb:21:559:beg:0x4c448\n"
[1] <- "(gdb) "
[1] -> "n\n"
[1] <- "/sandy/beckrich/fortran/primgen/test/../test_it2.adb:19:506:beg:0x"
[1] <- "4c52c\n"
       "(gdb) "
[1] -> "n\n"
[1] <- "/sandy/beckrich/fortran/primgen/test/../test_it2.adb:21:559:beg:0x"
[1] <- "4c530\n"
       "(gdb) "
[1] -> "n\n"
[1] <- "/sandy/beckrich/fortran/primgen/test/../test_it2.adb:22:597:beg:0x"
[1] <- "4c580\n"
       "(gdb) "
[1] -> "p cc\n"
[1] <- "$1 = (access "
[1] <- "ada_language_support.context_clauses.ada_context_clause) "
[1] <- "0x93d88\n"
       "(gdb) "
[1] -> "p cc.all\n"
[1] <- "$2 = "
[1] <- "(initialized"
[1] <- " => false, identifier => "
[1] <- "(initialized => false, "
[1] <- "string_rec => Cannot access memory at address 0x0.\n"
       "(gdb) "
[1] -> "s\n"
[1] <- "ada_language_support.context_clauses.initialize (clause"
[1] <- "=@0x93d88, with_kind=with_clause, with_unit=0x8ca88) at ../ada_language_support-context_clauses.adb:29\n"
[1] <- "/sandy/beckrich/fortran/primgen/test/../ada_language_support-context_clauses.adb:29:940:beg:0x41ff8\n"
       "(gdb) "
[1] -> "n\n"
[1] <- "/sandy/beckrich/fortran/primgen/test/../ada_language_support-context_clauses.adb:33:1120:beg:0x"
[1] <- "42044\n"
       "(gdb) "
[1] -> "n\n"
[1] <- "/sandy/beckrich/fortran/primgen/test/../ada_language_support-context_clauses.adb:34:1164:beg:0x"
[1] <- "42058\n"
       "(gdb) "
[1] -> "n\n"
[1] <- "/sandy/beckrich/fortran/primgen/test/../ada_language_support-context_clauses.adb:35:1195:beg:0x"
[1] <- "42064\n"
       "(gdb) "
[1] -> "n\n"
[1] <- "/sandy/beckrich/fortran/primgen/test/../ada_language_support-context_clauses.adb:36:1263:beg:0x"
[1] <- "420b0\n"
       "(gdb) "
[1] -> "n\n"
[1] <- "/sandy/beckrich/fortran/primgen/test/../ada_language_support-context_clauses.adb:37:1330:beg:0x"
[1] <- "4210c\n"
       "(gdb) "
[1] -> "n\n"
[1] <- "/sandy/beckrich/fortran/primgen/test/../ada_language_support-context_clauses.adb:37:1330:beg:0x"
[1] <- "42120\n"
       "(gdb) "
[1] -> "n\n"
[1] <- "test_it ()"
[1] <- " at ../test_it2.adb:25\n"
       "/sandy/beckrich/fortran/primgen/test/../test_it2.adb:25:719:beg:0x4c61c\n"
       "(gdb) "
[1] -> "p cc\n"
[1] <- "$3 = (access "
[1] <- "ada_language_support.context_clauses.ada_context_clause) "
[1] <- "0x93d88\n"
       "(gdb) "
[1] -> "p cc.all\n"
[1] <- "$4 = "
[1] <- "(initialized => "
[1] <- "true, identifier => "
[1] <- "(initialized => true, string_rec => "
[1] <- "0x93de0), comment => "
[1] <- "(initialized => false, string_rec => Cannot access memory at address 0x0.\n"
       "(gdb) "
[1] -> "p cc.all\n"
[1] <- "$5 = "
[1] <- "(initialized"
[1] <- " => true, identifier => "
[1] <- "(initialized => true, string_rec => "
[1] <- "0x93de0), comment => "
[1] <- "(initialized => false, string_rec => Cannot access memory at address 0x0.\n"
       "(gdb) "
[1] -> "p cc.kind\n"
[1] <- "$6 = with_clause"
[1] <- "\n"
       "(gdb) "
[1] -> "set confirm off\n"
[1] <- "Quit\n"
[1] <- "(gdb) "


Hope this is helpful-

Brian Beckrich