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 tui/14486] New: resize crashes tui


http://sourceware.org/bugzilla/show_bug.cgi?id=14486

             Bug #: 14486
           Summary: resize crashes tui
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tui
        AssignedTo: unassigned@sourceware.org
        ReportedBy: hjl.tools@gmail.com
    Classification: Unclassified


[hjl@gnu-6 gdb]$ gdb gdb
GNU gdb (GDB) 7.4.50.20120707-cvs
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /export/build/gnu/gdb/build-x86_64-linux/gdb/gdb...done.
Setting up the environment for debugging gdb.
Breakpoint 1 at 0x6c430e: file /export/gnu/import/git/gdb/gdb/utils.c, line
897.
Breakpoint 2 at 0x4d621c: file /export/gnu/import/git/gdb/gdb/cli/cli-cmds.c,
line 223.
(top-gdb) b main
Breakpoint 3 at 0x456f5b: file /export/gnu/import/git/gdb/gdb/gdb.c, line 29.
(top-gdb) r
Starting program: /export/build/gnu/gdb/build-x86_64-linux/gdb/gdb 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Breakpoint 3, 
During symbol reading, incomplete CFI data; unspecified registers (e.g., rax)
at 0x456f9b.
main (argc=1, argv=0x7fffffffdee8) at /export/gnu/import/git/gdb/gdb/gdb.c:29
29      memset (&args, 0, sizeof args);
(top-gdb) layout asm

Resize window

(top-gdb) si

tui crashed:

(top-gdb) bt
#0  0x00000000004efb22 in tui_source_is_displayed (fname=0x593ce10 "bug4.js")
    at /export/gnu/import/git/gdb/gdb/tui/tui-source.c:337
#1  0x00000000004f0538 in tui_show_frame_info (fi=0xd1d800)
    at /export/gnu/import/git/gdb/gdb/tui/tui-stack.c:351
#2  0x00000000004eb1bd in tui_selected_frame_level_changed_hook (level=0)
    at /export/gnu/import/git/gdb/gdb/tui/tui-hooks.c:226
#3  0x00000000006cd470 in select_frame (fi=0xd1d800)
    at /export/gnu/import/git/gdb/gdb/frame.c:1419
#4  0x00000000005c9850 in restore_selected_frame (a_frame_id=...,
frame_level=0)
    at /export/gnu/import/git/gdb/gdb/thread.c:1038
#5  0x00000000005c9aa3 in do_restore_current_thread_cleanup (arg=0x57d82f0)
    at /export/gnu/import/git/gdb/gdb/thread.c:1106
#6  0x000000000055c3c0 in do_my_cleanups (pmy_chain=0xc11c50 <cleanup_chain>, 
    old_chain=0x42ca0f0) at /export/gnu/import/git/gdb/gdb/cleanups.c:155
#7  0x000000000055c42d in do_cleanups (old_chain=0x42ca0f0)
    at /export/gnu/import/git/gdb/gdb/cleanups.c:177
#8  0x000000000053ecd9 in insert_breakpoint_locations ()
    at /export/gnu/import/git/gdb/gdb/breakpoint.c:2891
#9  0x000000000053e7c0 in insert_breakpoints ()
    at /export/gnu/import/git/gdb/gdb/breakpoint.c:2716
#10 0x00000000005b48f4 in proceed (addr=18446744073709551615, 
    siggnal=GDB_SIGNAL_DEFAULT, step=1)
    at /export/gnu/import/git/gdb/gdb/infrun.c:2205

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]