https://bugs.llvm.org/show_bug.cgi?id=47952
Bug ID: 47952
Summary: SIGCHLD prevents from entering breakpoint
Product: lldb
Version: 11.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: lldb-dev@lists.llvm.org
Reporter: artemhevorh...@gmail.com
CC: jdevliegh...@apple.com, llvm-b...@lists.llvm.org
- Running Ubuntu 18.04.
- Binaries for reproduction:
- Download Swift 5.3 toolchain:
https://swift.org/builds/swift-5.3-release/ubuntu1804/swift-5.3-RELEASE/swift-5.3-RELEASE-ubuntu18.04.tar.gz
- Download llvm toolchain v.11.
- Commands:
- `lldb $swiftc`, `swiftc` is path to Swift compiler.
- Inside LLDB run:
- `breakpoint set --name Lexer` - should see this:
- `Breakpoint 1: 8 locations.`
- `run main.swift`, where `main.swift` is a file with the following
contents:
- `func fibbonaci(n: Int) { print("hello") }`
AT THIS POINT, I EXPECT LLDB TO STOP AT BREAKPOINT,
INSTEAD, IT MISSES THE BREAKPOINT AND FINISHES EXECUTION OF THE PROGRAM,
REPORTING THIS ALONG THE WAY (3 TIMES):
- `Process` X `stopped and restarted: thread 1 received signal: SIGCHLD`
Have checked this SO thread, configured the signal handler for SIGCHLD in this
way :
- `pro hand -p true -s false SIGCHLD`
With this configuration, the behaviour of lldb is completely the same as
described above.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev