This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Crashing new testcase gdb.go/basic-types.exp [Re: [patch, doc RFA] Go language support]


Hello Doug,

On Wed, 25 Apr 2012 04:17:35 +0200, Doug Evans wrote:
> There's still more work to do, but I'm going to check this in now
> to establish a base to work from.

on i386 (=32-bit host) getting this crash.


Thanks,
Jan


pt complex64(i1.0)^M
ERROR: Process no longer exists
UNRESOLVED: gdb.go/basic-types.exp: pt complex64(i1.0)
ERROR: Couldn't send pt complex128(.42) to GDB.
UNRESOLVED: gdb.go/basic-types.exp: pt complex128(.42)
ERROR: Couldn't send pt complex128(.42i1.0) to GDB.
UNRESOLVED: gdb.go/basic-types.exp: pt complex128(.42i1.0)
ERROR: Couldn't send pt complex128(i1.0) to GDB.
UNRESOLVED: gdb.go/basic-types.exp: pt complex128(i1.0)
Valgrind output:
==23050== Invalid read of size 2
==23050==    at 0x82DF182: symbol_read_needs_frame (findvar.c:371)
==23050==    by 0x82B710B: go_parse_internal (go-exp.y:595)
==23050==    by 0x82B92E4: go_parse (go-exp.y:1606)
==23050==    by 0x837A076: parse_exp_in_context (parse.c:1198)
==23050==    by 0x8379EB4: parse_exp_1 (parse.c:1114)
==23050==    by 0x837A19A: parse_expression (parse.c:1242)
==23050==    by 0x840DA0F: whatis_exp (typeprint.c:127)
==23050==    by 0x840DBCF: ptype_command (typeprint.c:179)
==23050==    by 0x82625EA: do_cfunc (cli-decode.c:67)
==23050==    by 0x8264F37: cmd_func (cli-decode.c:1810)
==23050==    by 0x8429018: execute_command (top.c:483)
==23050==    by 0x8354EFF: command_handler (event-top.c:435)
==23050==    by 0x835543D: command_line_handler (event-top.c:636)
==23050==    by 0x84713B3: rl_callback_read_char (callback.c:220)
==23050==    by 0x8354AAA: rl_callback_read_char_wrapper (event-top.c:169)
==23050==    by 0x8354E24: stdin_event_handler (event-top.c:375)
==23050==    by 0x8353E7C: handle_file_event (event-loop.c:827)
==23050==    by 0x8353476: process_event (event-loop.c:401)
==23050==    by 0x835351E: gdb_do_one_event (event-loop.c:453)
==23050==    by 0x8353597: start_event_loop (event-loop.c:490)
==23050==    by 0x8354AD3: cli_command_loop (event-top.c:182)
==23050==    by 0x834CDA4: current_interp_command_loop (interps.c:309)
==23050==    by 0x834D63E: captured_command_loop (main.c:226)
==23050==    by 0x834BFB7: catch_errors (exceptions.c:546)
==23050==    by 0x834E90E: captured_main (main.c:1001)
==23050==    by 0x834BFB7: catch_errors (exceptions.c:546)
==23050==    by 0x834E95A: gdb_main (main.c:1010)
==23050==    by 0x80BAE0E: main (gdb.c:34)
==23050==  Address 0x401d is not stack'd, malloc'd or (recently) free'd


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]