GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Interpreter crashes with `--with-trace-refs` on · Issue #103621 · python/cpython

Interpreter crashes with --with-trace-refs on #103621

New issue
Copy link
New issue
Copy link
Closed
Closed
Interpreter crashes with --with-trace-refs on#103621
Copy link
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

@sunmy2019
sunmy2019
opened on Apr 19, 2023
Issue body actions

Crash report

Interpreter crashes with --with-trace-refs on.

./configure --with-trace-refs
make -j

./_bootstrap_python has 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

  • CPython versions tested on: current main d1e4917
  • Operating system and architecture: ubuntu 22.04 x64

Releated ideas

https://discuss.python.org/t/enhance-ref-trace-facilities/25990

Activity

  1. sunmy2019
    added
    type-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
  2. arhadthedev
    added
    buildThe build process and cross-buildThe build process and cross-build
    on Apr 19, 2023
  3. corona10 commented on Apr 19, 2023

    @corona10
    corona10
    on Apr 19, 2023
    Member
    More actions

    I can reproduce the issue on my local too.

  4. arhadthedev commented on Apr 19, 2023

    @arhadthedev
    arhadthedev
    on Apr 19, 2023
    Member
    More actions

    gh-103561 probably fixes this.

    Reacted by sunmy2019 and Furkan Onder
  5. kumaraditya303
    added
    release-blocker
    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
    on Apr 19, 2023
  6. github-project-automation
    moved this to Todo in Release and Deferred blockers 🚫on Apr 19, 2023
  7. ezio-melotti
    added this to Release and Deferred blockers 🚫on Apr 19, 2023
  8. arhadthedev commented on Apr 21, 2023

    @arhadthedev
    arhadthedev
    on Apr 21, 2023
    Member
    More actions

    @sunmy2019 gh-103561 is merged; could you check if the issue is fixed?

  9. sobolevn commented on Apr 21, 2023

    @sobolevn
    sobolevn
    on Apr 21, 2023
    Member
    More actions

    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
  10. sobolevn
    closed this as completedon Apr 21, 2023
  11. github-project-automation
    moved this from Todo to Done in Release and Deferred blockers 🚫on Apr 21, 2023
  12. AlexWaygood
    changed the title [-]Interpretor crashes with `--with-trace-refs` on[/-] [+]Interpreter crashes with `--with-trace-refs` on[/+] on Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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

    • Release and Deferred blockers 🚫
      Status
      Done
      Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.