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/22208] New: Deadlock in watchpoint handling


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

            Bug ID: 22208
           Summary: Deadlock in watchpoint handling
           Product: gdb
           Version: 7.12
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: breakpoints
          Assignee: unassigned at sourceware dot org
          Reporter: matthias291999 at gmail dot com
  Target Milestone: ---

When i use::
>watch *(long int)$rsp
>command
>silent
>si
>end

I am also using pwndbg

Then ni a few times.

Gdb enters a deadlock, polling for something...


The stack & registers of the deadlocked process... I am using Ubuntu 17.04

 RAX  0xfffffffffffffdfc
 RBX  0xffffffff
 RCX  0x7efbf5bf5d70 (__poll_nocancel+7) ◂— cmp    rax, -0xfff
 RDX  0xffffffff
 RDI  0x565558f4fb60 ◂— 0x100000003
 RSI  0x3
 R8   0x7efbf5ebc750 (_IO_stdfile_2_lock) ◂— 0x0
 R9   0x7efbf7fba780 ◂— 0x7efbf7fba780
 R10  0x8
*R11  0x346
 R12  0x0
 R13  0x5655581c8950 —▸ 0x565555e2bcb8 —▸ 0x565555758430
(linux_ptrace_test_ret_to_nx_instr+992351) ◂— lea    rax, [rip + 0x6d3881]
 R14  0x56555580b3a0 ◂— push   rbx
 R15  0x565555a73980 ◂— add    byte ptr [rax], al
 RBP  0x565555f31db0 ◂— 0x0
 RSP  0x7ffbffffa898 —▸ 0x5655557b2f31 ◂— cmp    eax, -1
 RIP  0x7efbf5bf5d70 (__poll_nocancel+7) ◂— cmp    rax, -0xfff

-- 
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]