Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lldb crash #6760

Open
gonsolo opened this issue May 2, 2023 · 0 comments
Open

lldb crash #6760

gonsolo opened this issue May 2, 2023 · 0 comments

Comments

@gonsolo
Copy link

gonsolo commented May 2, 2023

Installing Swift 5.8 from swiftlang.xyz and running lldb results in the following crash:
The Swift program used was github.com/gonsolo/gonzales and a breakpoint was set at VolumePathIntegrator.getRadianceAndAlbedo.

PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. #0 0x00005650c592b933 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/libexec/swift/bin/lldb+0x23933) #1 0x00005650c5929c4e llvm::sys::RunSignalHandlers() (/usr/libexec/swift/bin/lldb+0x21c4e) #2 0x00005650c592bf6a SignalHandler(int) Signals.cpp:0:0 #3 0x00007ff35303c4b0 (/lib/x86_64-linux-gnu/libc.so.6+0x3c4b0) #4 0x00007ff354ae1813 lldb_private::TypeSystemSwiftTypeRef::ReconstructType(lldb_private::CompilerType) (/usr/libexec/swift/bin/../lib/liblldb.so.13git+0x12e1813) #5 0x00007ff354ae5119 lldb_private::TypeSystemSwiftTypeRef::GetCanonicalType(void*) (/usr/libexec/swift/bin/../lib/liblldb.so.13git+0x12e5119) #6 0x00007ff354ae34f6 lldb_private::TypeSystemSwiftTypeRef::IsPossibleDynamicType(void*, lldb_private::CompilerType*, bool, bool) (/usr/libexec/swift/bin/../lib/liblldb.so.13git+0x12e34f6) #7 0x00007ff3545b6f0b lldb_private::CompilerType::IsPossibleDynamicType(lldb_private::CompilerType*, bool, bool) const (/usr/libexec/swift/bin/../lib/liblldb.so.13git+0xdb6f0b) #8 0x00007ff3548ca2fd lldb_private::SwiftLanguageRuntime::CouldHaveDynamicValue(lldb_private::ValueObject&) (/usr/libexec/swift/bin/../lib/liblldb.so.13git+0x10ca2fd) #9 0x00007ff354628dd5 lldb_private::Process::IsPossibleDynamicValue(lldb_private::ValueObject&) (/usr/libexec/swift/bin/../lib/liblldb.so.13git+0xe28dd5) #10 0x00007ff3544fbc32 lldb_private::ValueObject::CalculateDynamicValue(lldb::DynamicValueType) (/usr/libexec/swift/bin/../lib/liblldb.so.13git+0xcfbc32) #11 0x00007ff3544fbcaa lldb_private::ValueObject::GetDynamicValue(lldb::DynamicValueType) (/usr/libexec/swift/bin/../lib/liblldb.so.13git+0xcfbcaa) #12 0x00007ff3544fe58c lldb_private::ValueObject::GetQualifiedRepresentationIfAvailable(lldb::DynamicValueType, bool) (/usr/libexec/swift/bin/../lib/liblldb.so.13git+0xcfe58c) #13 0x00007ff35483c412 lldb_private::SwiftLanguage::GetFunctionDisplayName(lldb_private::SymbolContext const*, lldb_private::ExecutionContext const*, lldb_private::Language::FunctionNameRepresentation, lldb_private::Stream&) (/usr/libexec/swift/bin/../lib/liblldb.so.13git+0x103c412) #14 0x00007ff3544c04ef lldb_private::FormatEntity::Format(lldb_private::FormatEntity::Entry const&, lldb_private::Stream&, lldb_private::SymbolContext const*, lldb_private::ExecutionContext const*, lldb_private::Address const*, lldb_private::ValueObject*, bool, bool) (/usr/libexec/swift/bin/../lib/liblldb.so.13git+0xcc04ef) #15 0x00007ff3544bf907 lldb_private::FormatEntity::Format(lldb_private::FormatEntity::Entry const&, lldb_private::Stream&, lldb_private::SymbolContext const*, lldb_private::ExecutionContext const*, lldb_private::Address const*, lldb_private::ValueObject*, bool, bool) (/usr/libexec/swift/bin/../lib/liblldb.so.13git+0xcbf907) #16 0x00007ff3544bf907 lldb_private::FormatEntity::Format(lldb_private::FormatEntity::Entry const&, lldb_private::Stream&, lldb_private::SymbolContext const*, lldb_private::ExecutionContext const*, lldb_private::Address const*, lldb_private::ValueObject*, bool, bool) (/usr/libexec/swift/bin/../lib/liblldb.so.13git+0xcbf907) #17 0x00007ff3544bf880 lldb_private::FormatEntity::Format(lldb_private::FormatEntity::Entry const&, lldb_private::Stream&, lldb_private::SymbolContext const*, lldb_private::ExecutionContext const*, lldb_private::Address const*, lldb_private::ValueObject*, bool, bool) (/usr/libexec/swift/bin/../lib/liblldb.so.13git+0xcbf880) #18 0x00007ff35464df94 lldb_private::StackFrame::DumpUsingSettingsFormat(lldb_private::Stream*, bool, char const*) (/usr/libexec/swift/bin/../lib/liblldb.so.13git+0xe4df94) #19 0x00007ff35464e3d5 lldb_private::StackFrame::GetStatus(lldb_private::Stream&, bool, bool, bool, char const*) (/usr/libexec/swift/bin/../lib/liblldb.so.13git+0xe4e3d5) #20 0x00007ff35465385a lldb_private::StackFrameList::GetStatus(lldb_private::Stream&, unsigned int, unsigned int, bool, unsigned int, bool, char const*) (/usr/libexec/swift/bin/../lib/liblldb.so.13git+0xe5385a) #21 0x00007ff354697dc3 lldb_private::Thread::GetStatus(lldb_private::Stream&, unsigned int, unsigned int, unsigned int, bool, bool) (/usr/libexec/swift/bin/../lib/liblldb.so.13git+0xe97dc3) #22 0x00007ff354625993 lldb_private::Process::GetThreadStatus(lldb_private::Stream&, bool, unsigned int, unsigned int, unsigned int, bool) (/usr/libexec/swift/bin/../lib/liblldb.so.13git+0xe25993) #23 0x00007ff35462497c lldb_private::Process::HandleProcessStateChangedEvent(std::shared_ptr<lldb_private::Event> const&, lldb_private::Stream*, bool&, bool&) (/usr/libexec/swift/bin/../lib/liblldb.so.13git+0xe2497c) #24 0x00007ff3544ac57c lldb_private::Debugger::HandleProcessEvent(std::shared_ptr<lldb_private::Event> const&) (/usr/libexec/swift/bin/../lib/liblldb.so.13git+0xcac57c) #25 0x00007ff3544ace89 lldb_private::Debugger::DefaultEventHandler() (/usr/libexec/swift/bin/../lib/liblldb.so.13git+0xcace89) #26 0x00007ff3544b07b9 std::_Function_handler<void* (), lldb_private::Debugger::StartEventHandlerThread()::$_3>::_M_invoke(std::_Any_data const&) Debugger.cpp:0:0 #27 0x00007ff354564b60 lldb_private::HostNativeThreadBase::ThreadCreateTrampoline(void*) (/usr/libexec/swift/bin/../lib/liblldb.so.13git+0xd64b60) #28 0x00007ff35308f18a start_thread ./nptl/pthread_create.c:444:8 #29 0x00007ff35311dbd0 clone3 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0 Segmentation fault (core dumped)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant