Issue |
123025
|
Summary |
[LLDB] lldb-rpc-server stack overflow cause by recursive function calls
|
Labels |
new issue
|
Assignees |
|
Reporter |
wingfiring
|
Environment:
Apple M1 Pro, 32GB memory
MacOS 14.6 (23G80)
Xcode Version 15.2 (15C500b)
lldb version
lldb-1500.0.200.58
Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
I can't make a reasonable reproduce steps, but have a crash log, looks like a endless recursive function calls.
```
VM Region Info: 0x381bbbff0 is in 0x381bb8000-0x381bbc000; bytes after start: 16368 bytes before end: 15
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
Stack 3813b0000-381bb8000 [ 8224K] rw-/rwx SM=PRV thread 7
---> STACK GUARD 381bb8000-381bbc000 [ 16K] ---/rwx SM=NUL stack guard for thread 8
Stack 381bbc000-3823c4000 [ 8224K] rw-/rwx SM=PRV thread 8
...
12 LLDB 0x1155cd390 lldb_private::ValueObjectSynthetic::ValueObjectSynthetic(lldb_private::ValueObject&, std::__1::shared_ptr<lldb_private::SyntheticChildren>) + 264
13 LLDB 0x1155c1938 lldb_private::ValueObject::CalculateSyntheticValue() + 156
14 LLDB 0x1155c1b54 lldb_private::ValueObject::HasSyntheticValue() + 44
15 LLDB 0x1155c3900 lldb_private::ValueObject::Dereference(lldb_private::Status&) + 580
16 LLDB 0x1155cd90c lldb_private::ValueObjectSynthetic::CreateSynthFilter() + 200
17 LLDB 0x1155cd390 lldb_private::ValueObjectSynthetic::ValueObjectSynthetic(lldb_private::ValueObject&, std::__1::shared_ptr<lldb_private::SyntheticChildren>) + 264
18 LLDB 0x1155c1938 lldb_private::ValueObject::CalculateSyntheticValue() + 156
19 LLDB 0x1155c1b54 lldb_private::ValueObject::HasSyntheticValue() + 44
20 LLDB 0x1155c3900 lldb_private::ValueObject::Dereference(lldb_private::Status&) + 580
21 LLDB 0x1155cd90c lldb_private::ValueObjectSynthetic::CreateSynthFilter() + 200
```
[lldb-rpc-server.log](https://github.com/user-attachments/files/18421261/lldb-rpc-server.log)
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs