This is the mail archive of the gdb-prs@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]

[Bug breakpoints/11094] cannot reexecute programs using the GDB JIT interface in shared libs


https://sourceware.org/bugzilla/show_bug.cgi?id=11094

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
   Last reconfirmed|                            |2016-08-24
                 CC|                            |palves at redhat dot com
         Resolution|FIXED                       |---
     Ever confirmed|0                           |1

--- Comment #14 from Pedro Alves <palves at redhat dot com> ---
With master, GDB crashes with a seg fault:

Program received signal SIGSEGV, Segmentation fault.
0x00000000005ee894 in event_location_to_string (location=0x0) at
/home/pedro/gdb/mygit/src/gdb/location.c:412
412       if (EL_STRING (location) == NULL)
(top-gdb) bt
#0  0x00000000005ee894 in event_location_to_string (location=0x0) at
/home/pedro/gdb/mygit/src/gdb/location.c:412
#1  0x000000000057411a in print_breakpoint_location (b=0x18288e0, loc=0x0) at
/home/pedro/gdb/mygit/src/gdb/breakpoint.c:6201
#2  0x000000000057483f in print_one_breakpoint_location (b=0x18288e0,
loc=0x182cf10, loc_number=0, last_loc=0x7fffffffd258, allflag=1)
    at /home/pedro/gdb/mygit/src/gdb/breakpoint.c:6473
#3  0x00000000005751e1 in print_one_breakpoint (b=0x18288e0,
last_loc=0x7fffffffd258, allflag=1) at
/home/pedro/gdb/mygit/src/gdb/breakpoint.c:6707
#4  0x000000000057589c in breakpoint_1 (args=0x0, allflag=1, filter=0x0) at
/home/pedro/gdb/mygit/src/gdb/breakpoint.c:6947
#5  0x0000000000575aa8 in maintenance_info_breakpoints (args=0x0, from_tty=0)
at /home/pedro/gdb/mygit/src/gdb/breakpoint.c:7026
#6  0x00000000004b74c4 in do_cfunc (c=0xedc760, args=0x0, from_tty=0) at
/home/pedro/gdb/mygit/src/gdb/cli/cli-decode.c:105
#7  0x00000000004ba420 in cmd_func (cmd=0xedc760, args=0x0, from_tty=0) at
/home/pedro/gdb/mygit/src/gdb/cli/cli-decode.c:1888
#8  0x000000000073f089 in execute_command (p=0x16a4426 "", from_tty=0) at
/home/pedro/gdb/mygit/src/gdb/top.c:668
#9  0x0000000000624191 in command_handler (command=0x16a4410 "maint info
breakpoints") at /home/pedro/gdb/mygit/src/gdb/event-top.c:620
#10 0x000000000073ec9c in read_command_file (stream=0x1715db0) at
/home/pedro/gdb/mygit/src/gdb/top.c:481
#11 0x00000000004bd42e in script_from_file (stream=0x1715db0,
file=0x7fffffffdca5 "/home/pedro/tmp/pr11094/gdb.tmp") at
/home/pedro/gdb/mygit/src/gdb/cli/cli-script.c:1703
#12 0x00000000004be16e in source_script_from_stream (stream=0x1715db0,
file=0x7fffffffdca5 "/home/pedro/tmp/pr11094/gdb.tmp", 
    file_to_open=0x7fffffffdca5 "/home/pedro/tmp/pr11094/gdb.tmp") at
/home/pedro/gdb/mygit/src/gdb/cli/cli-cmds.c:578
#13 0x00000000004be22f in source_script_with_search (file=0x7fffffffdca5
"/home/pedro/tmp/pr11094/gdb.tmp", from_tty=1, search_path=0)
    at /home/pedro/gdb/mygit/src/gdb/cli/cli-cmds.c:618
#14 0x00000000004be262 in source_script (file=0x7fffffffdca5
"/home/pedro/tmp/pr11094/gdb.tmp", from_tty=1) at
/home/pedro/gdb/mygit/src/gdb/cli/cli-cmds.c:628
#15 0x000000000061b0f5 in catch_command_errors_const (command=0x4be23d
<source_script(char const*, int)>, arg=0x7fffffffdca5
"/home/pedro/tmp/pr11094/gdb.tmp", from_tty=1)
    at /home/pedro/gdb/mygit/src/gdb/main.c:402
#16 0x000000000061c469 in captured_main (data=0x7fffffffd720) at
/home/pedro/gdb/mygit/src/gdb/main.c:1122
#17 0x000000000061c50a in gdb_main (args=0x7fffffffd720) at
/home/pedro/gdb/mygit/src/gdb/main.c:1159
#18 0x000000000040d38d in main (
During symbol reading, cannot get low and high bounds for subprogram DIE at
24065.
argc=5, argv=0x7fffffffd828) at /home/pedro/gdb/mygit/src/gdb/gdb.c:32
(top-gdb)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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