Skip to content

Crash when using nodeProfilingIntegration() integration #13577

@rehatkathuria

Description

@rehatkathuria

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/browser

SDK Version

"@sentry/node": "^8.27.0", "@sentry/profiling-node": "^8.28.0", "@sentry/types": "^8.28.0",

Framework Version

No response

Link to Sentry event

No response

Reproduction Example/SDK Setup

import * as Sentry from "@sentry/node";
import { nodeProfilingIntegration } from "@sentry/profiling-node";

Sentry.init({
  dsn: process.env.SENTRY_DSN,
  environment: process.env.NODE_ENV,
  integrations: [nodeProfilingIntegration()], /// This line causes a crash on runtime. Removing it makes the runtime crash go away.
  profilesSampleRate: 1.0,
});

export default Sentry;

Steps to Reproduce

rehat@Mac -> bun start                               hock-server -> main ! |• $
$ bun run index.ts
dyld[99949]: missing symbol called
error: script "start" was terminated by signal SIGABRT (Abort)
[1]    99948 abort      bun start
rehat@Mac 134 ->                                     hock-server -> main ! |• $

Expected Result

rehat@Mac -> bun start                               hock-server -> main ! |• $
$ bun run index.ts
Listening on ...

Actual Result

Runtime crash

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions