Issue 125477
Summary Infinite loop at `dlopen` (shared-library-event breakpoint)
Labels
Assignees
Reporter georglauterbach
    In LLDB, When using `dlopen(...)`, I am seeing infite hits on `shared-library-event` breakpoint:

```txt
Process 14278 stopped
* thread #43, name = 'libref_adv_ld_d', stop reason = shared-library-event
    frame #0: 0x00007ffff7fc9110 ld-linux-x86-64.so.2`__GI__dl_debug_state at dl-debug.c:116:1
(lldb) br list -i
Current breakpoints:
Kind: shared-library-event
-1: names = {'_dl_debug_state', 'rtld_db_dlactivity', '__dl_rtld_db_dlactivity', 'r_debug_state', '_r_debug_state', '_rtld_debug_state'}, language = c, module = ld-linux-x86-64.so.2, locations = 1, resolved = 1, hit count = 3096

  -1.1: where = ld-linux-x86-64.so.2`__GI__dl_debug_state at dl-debug.c:116:1, address = 0x00007ffff7fc9110, resolved, hit count = 3096
```

The program is unable to continue this way, and I am stuck.

ref: #114701
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to