Repository navigation
Interpreter crashes with --with-trace-refs on #103621
Copy link
Copy link
Closed
Labels
buildThe build process and cross-buildThe build process and cross-buildinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)release-blockertype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump
Description
Activity
- addedtype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump
on Apr 19, 2023 - addedbuildThe build process and cross-buildThe build process and cross-build
on Apr 19, 2023 I can reproduce the issue on my local too.
gh-103561 probably fixes this.
Reacted by sunmy2019 and Furkan Onder- addedinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
on Apr 19, 2023 @sunmy2019 gh-103561 is merged; could you check if the issue is fixed?
I can confirm that it solved the issue:
» ./configure --with-trace-refs --with-pydebug && make -j ... ./python.exe -E -c 'import sys ; from sysconfig import get_platform ; print("%s-%d.%d" % (get_platform(), *sys.version_info[:2]))' >platform The following modules are *disabled* in configure script: xxlimited xxlimited_35 The necessary bits to build these optional modules were not found: _tkinter To find the necessary bits, look in configure.ac and config.log. Checked 111 modules (30 built-in, 76 shared, 2 n/a on macosx-10.14-x86_64, 2 disabled, 1 missing, 0 failed on import)Reacted by sunmy2019- moved this from Todo to Done in Release and Deferred blockers 🚫
on Apr 21, 2023 - changed the title
[-]Interpretor crashes with `--with-trace-refs` on[/-][+]Interpreter crashes with `--with-trace-refs` on[/+]on Apr 21, 2023
Metadata
Metadata
Assignees
Labels
buildThe build process and cross-buildThe build process and cross-buildinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)release-blockertype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump
Projects
- StatusShow more project fieldsDone
Crash report
Interpreter crashes with
--with-trace-refson../_bootstrap_pythonhas a segment fault.The compiler warns when initializing some PyObjects. I think it's due to an incorrect fill of fields with trace ref API.
Your environment
Releated ideas
https://discuss.python.org/t/enhance-ref-trace-facilities/25990