Skip to content

Stack tracer is crashing during captureException #4967

@kode54

Description

@kode54

Platform

macOS

Environment

Production

Installed

Swift Package Manager

Version

8.46.0

Xcode Version

16.2

Did it work on previous versions?

No idea, this has happened a few times

Steps to Reproduce

  1. App throws NSException during a work queue for tag reading
  2. Exception is pushed to [SentrySDK captureException:]
  3. App crashes

Expected Result

Exception should be logged, not sure if it should be fatal.

Actual Result

App crashes on this thread dump:

Image
NSInvalidArgumentException: *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil

Are you willing to submit a PR?

I am willing to submit a PR, if I can figure out where it went wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Needs Investigation

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions