Skip to content

Error Maximum call stack size exceeded #17592

@AmirL

Description

@AmirL

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/nextjs

SDK Version

10.10.0

Framework Version

NextJs 13.5.8

Link to Sentry event

https://assisted.sentry.io/issues/6866842066

Reproduction Example/SDK Setup

After upgrading Sentry from version 7.77 to 10.10, I'm encountering a sporadic error. It doesn't appear immediately, but it consumes all the CPU resources after 10-15 hours of usage.

RangeError: Maximum call stack size exceeded
    at SyncPromise._executeHandlers (/app/node_modules/@sentry/core/build/cjs/utils/syncpromise.js:126:20)
    at setResult (/app/node_modules/@sentry/core/build/cjs/utils/syncpromise.js:166:12)
    at reject (/app/node_modules/@sentry/core/build/cjs/utils/syncpromise.js:174:7)
    at SyncPromise._runExecutor (/app/node_modules/@sentry/core/build/cjs/utils/syncpromise.js:180:7)
    at new SyncPromise (/app/node_modules/@sentry/core/build/cjs/utils/syncpromise.js:46:10)
    at notifyEventProcessors (/app/node_modules/@sentry/core/build/cjs/eventProcessors.js:17:10)
    at ? (/app/node_modules/@sentry/core/build/cjs/eventProcessors.js:31:14)
    at SyncPromise._runExecutor (/app/node_modules/@sentry/core/build/cjs/utils/syncpromise.js:178:7)
    at new SyncPromise (/app/node_modules/@sentry/core/build/cjs/utils/syncpromise.js:46:10)
    at notifyEventProcessors (/app/node_modules/@sentry/core/build/cjs/eventProcessors.js:17:10)

Everything happens inside the Sentry SDK source code.

Steps to Reproduce

It's challenging to reproduce because it only occurs on the production server and takes time to appear.

Expected Result

Normal behaviour

Actual Result

Metadata

Metadata

Assignees

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions