Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Native stack merging fails for Python 3.14 tail-call symbols without the .llvm. suffix

未关闭
#371 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
42/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
cpp, linux, python
领域
tooling

调研方向

Start with the reproducer in the issue, which runs pystack remote --native on a CPython 3.14.8 build with the tail-call interpreter. Search the codebase for the error text "insufficient native information" and for the handling of the .llvm. symbol suffix, then check how tail-call interpreter symbols are matched without it. Done when the reproducer merges Python and native frames on that build without the error.

由索引模型根据 Issue 内容生成。

描述

bug
Is there an existing issue for this?
  • I have searched the existing issues
Current Behavior

PyStack fails to merge Python and native stacks when Python 3.14 uses the tail-call interpreter and its native symbols do not have a .llvm. suffix.

Expected Behavior

No response

Steps To Reproduce

Merge python and native stack successfully.

Environment

  • Linux x86_64, with ptrace permitted
  • PyStack 1.7.0
  • uv 0.12.23
  • CPython 3.14.8, python-build-standalone 20261003
  • Built with --with-tail-call-interp and --with-lto=full

Minimal reproducer

Save as repro.py:

import os
import subprocess

subprocess.run(
    ["pystack", "remote", "--native", "--no-color", str(os.getpid())]
)

Install Python and run:

uv python install 3.14.8
uv run --no-project --python 3.14.8 --with pystack==1.7.0 python repro.py

Actual behavior

Unable to merge native stack due to insufficient native information
Pystack Version

1.7.0

Python Version

3.14

Linux distribution

Debian

Anything else?

No response

主要语言
C++
星标
1.2k
派生
74
平均合并
1 天 6 小时
30 天内合并 PR
11

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

bloomberg/pystack 的其他 Issue

查看 bloomberg/pystack 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。