Closed
Description
Symptom: debuginfo-lldb
tests failed with signal 11. Only happens on macOS (others use GDB) and usually i686, and only one test is failing.
Example logs (look for "status: signal: 11
"):
[01:40:10] failures:
[01:40:10]
[01:40:10] ---- [debuginfo-lldb] debuginfo/lexical-scopes-in-block-expression.rs stdout ----
[01:40:10] NOTE: compiletest thinks it is using LLDB version 360
[01:40:10]
[01:40:10] error: Error while running LLDB
[01:40:10] status: signal: 11
[01:40:10] command: "/usr/bin/python" "/Users/travis/build/rust-lang/rust/src/etc/lldb_batchmode.py" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/debuginfo/lexical-scopes-in-block-expression.stage2-x86_64-apple-darwin" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/debuginfo/lexical-scopes-in-block-expression.debugger.script"
[01:40:10] stdout:
[01:40:10] ------------------------------------------
[01:40:10] LLDB batch-mode script
[01:40:10] ----------------------
...
Affected PRs:
- Turn
trans_fulfill_obligation
into a query #44967 (comment) (x86_64-apple-darwin :: lexical-scopes-in-block-expression.rs) - Rollup of 5 pull requests #45192 (comment) (i686-apple-darwin :: by-value-non-immediate-argument.rs)
- Rollup of 9 pull requests #45141 (comment) (i686-apple-darwin :: self-in-generic-default-method.rs)
- rustbuild: Compile the error-index in stage 2 #44605 (comment) (i686-apple-darwin :: lexical-scope-in-unique-closure.rs)
- expand on using rustup custom toolchains in CONTRIBUTING.md #44194 (comment) (i686-apple-darwin :: static-method-on-struct-and-enum.rs)
- rustc: Capture diagnostics from all queries #44046 (comment) (x86_64-apple-darwin :: generic-method-on-generic-struct.rs)
- redox: Correct error on exec when file is not found #44000 (comment) (x86_64-apple-darwin :: name-shadowing-and-scope-nesting.rs)
- rustdoc: Hide
self: Box<Self>
in list of deref methods #42394 (comment) (i686-apple-darwin :: lexical-scope-in-if.rs)
Related: #42693 (GDB failed due to ERROR_NOT_ENOUGH_QUOTA
on Windows)
Metadata
Metadata
Assignees
Labels
Area: python, like bootstrap/CI scripts or linters/formatters, etc.Area: Spurious failures in builds (spuriously == for no apparent reason)Area: The testsuite used to check the correctness of rustcCategory: issue that is caused by bugs in software beyond our controlCategory: An issue tracking the progress of sth. like the implementation of an RFCRelevant to the infrastructure team, which will review and decide on the PR/issue.
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
Mark-Simulacrum commentedon Nov 5, 2017
I wasn't able to reproduce the failure locally, but it seems like the problem might be with Python segfaulting, not LLDB. Below is the crashes log from #44967 (comment), and the first one seems to indicate that Python crashed. Maybe we can print that failure out or something? It seems possible that our Python batchmode script or our formatter script for LLDB has some thread race or something like that that causes the crash here....
kennytm commentedon Nov 5, 2017
Ooooohhhhh that's an interesting point. I was puzzled that why there's no LLDB crash log, turns out it is Python crashing! I'll try to
cat
the crash log if the filename doesn't contain "stage2".Rollup merge of rust-lang#45783 - kennytm:compiler-test-fixes, r=alex…
jieyouxu commentedon Dec 6, 2024
Triage: haven't seen activity on this for a good while, it's likely that newer python versions addressed this. Closing as inactive in favor of newer more specific issues.