Skip to content

Getting abstract error when running node with --perf-basic-prof enabled on Android device via Termux #60695

@SiRumCz

Description

@SiRumCz

Here's what I see when I run my script:
$ node --perf-basic-prof index.js .


#
# Fatal error in , line 0
# Check failed: (perf_output_handle_) != nullptr.
#
#
#
#FailureMessage Object: 0x7fff8ac920
----- Native stack trace -----
Trap

I want to profile my nodejs project on android device via Termux, without this flag, simpleperf tool can only show jitted symbols. but I get this error when I run the code.

I tried to define TMPDIR and V8_PERF_BASIC_PROF_DIR, and add --perf-basic-prof-path (I am not sure any of those are a thing, I just followed what I searched online and what GPT tells me) to see if this is permission problem with Termux to access /tmp folder, but no luck.

My device is running:

  • Termux 0.119.0-beta.3
  • Android 16
  • Node version on Termux is v22.20.0
  • NPM version is 10.9.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionIssues that look for answers.v8 engineIssues and PRs related to the V8 dependency.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions