Stacktrace::Configurable loses anonymous caller metadata on both backends
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by running the five failing upstream tests: t/003-percent_s.t, t/004-percent_f.t, t/100-l4p.t, t/101-l4p_charY.t, and t/102-l4p_recursion.t, on both PerlOnJava backends. Trace the shared caller-stack and frame-metadata path used by Stacktrace::Configurable and the Log::Log4perl stack-trace layouts. Done means a focused regression test preserves the standard-Perl expectations for anonymous names, arguments, package/source formatting, and deparse data on both backends.
索引モデルが issue の本文から書いたものです。
説明
Summary
The CPAN distribution Stacktrace-Configurable-0.06 fails under PerlOnJava because PerlOnJava does not preserve the same caller metadata used by Stacktrace::Configurable and Log::Log4perl::Layout::PatternLayout::Stacktrace.
This was observed in CPAN random tester run 20260928-091741-26386 for Log::Log4perl::Layout::PatternLayout::Stacktrace.
Evidence
- Standard Perl passes the complete upstream suite: 14 files, 84 tests.
- PerlOnJava fails 14 subtests in 5 files:
t/003-percent_s.tt/004-percent_f.tt/100-l4p.tt/101-l4p_charY.tt/102-l4p_recursion.t
- The failure reproduces on both the JVM backend and the interpreter backend.
- The failure is deterministic and does not involve XS/native code, missing services, display requirements, or a timeout.
Observed mismatches
The expected stack frames include anonymous caller information and arguments, for example:
__ANON__ (Log::Log4perl::Logger=HASH(...), "msg")
PerlOnJava instead reports forms such as:
debug
or, on the interpreter backend:
debug (Log::Log4perl::Logger=HASH(...), "msg")
Additional failures show incorrect package/file-name formatting in %s and %f, and closure deparsing that returns the wrong body (1+1 instead of the expected 2). The recursion-protection assertion itself passes, so the defect is specifically in stack-frame identity/argument/source metadata rather than the whole logging path.
Scope
The affected behavior is used by both Stacktrace::Configurable and Log::Log4perl stack-trace layouts. Please investigate the shared caller-stack/frame metadata path, including anonymous-sub naming, argument capture, package/source-name normalization, and source/deparse information exposed to stack-trace formatters.
The original CPAN failure was recorded as 14 failed subtests in the run identified above. A focused project regression test should preserve the standard-Perl expectations from the five failing upstream tests and pass on both PerlOnJava backends.
- 主要言語
- Perl
- スター
- 64
- フォーク
- 6
- 平均マージ
- 4時間 55分
- マージ済み PR(30日)
- 169
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fglock/PerlOnJava のほかの issue
-
area:cpan-port area:unicode bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
fglock/PerlOnJava#1341 ·
メンテナーはふだん 1 日以内に返信
-
area:cpan-port area:regex area:unicode bug
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
fglock/PerlOnJava#1556 ·
メンテナーはふだん 1 日以内に返信
-
area:backend area:runtime bug
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
fglock/PerlOnJava#1554 ·
メンテナーはふだん 1 日以内に返信
-
area:cpan-port area:runtime bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
fglock/PerlOnJava#1552 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
fglock/PerlOnJava#1541 ·
メンテナーはふだん 1 日以内に返信
fglock/PerlOnJava の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
objectionary/eolang.sty#167 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
conan-io/conan-center-index#31065 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
openfoodfacts/openfoodfacts-server#14749 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信