Skip to content

bug: native seg fault (crash log attached) #146

Open
@scp

Description

@scp

Version

6.4.23

Platform(s)

  • Android
  • iOS
  • Web

Current behavior

Image

Crash feedback from TestFlight.

Date/Time: 2025-02-08 10:12:20.5930 -0800
Launch Time: 2025-02-08 02:26:45.5599 -0800
OS Version: iPhone OS 18.1.1 (22B91)
Release Type: User
Baseband Version: 5.10.01
Report Version: 104

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x8000000000000008 -> 0x0000000000000008 (possible pointer authentication failure)
Exception Codes: 0x0000000000000001, 0x8000000000000008
VM Region Info: 0x8 is not in any region. Bytes before following region: 4331356152
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 1022b4000-1022b8000 [ 16K] r-x/r-x SM=COW /var/containers/Bundle/Application/39C3897D-BF1B-4027-A1B7-A98D7CB4C8E3/App.app/App
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [80889]

Triggered by Thread: 4

Thread 4 name:
Thread 4 Crashed:
0 libswiftCore.dylib 0x000000019404c8e4 swift_isUniquelyReferenced_nonNull_native + 0 (SwiftObject.mm:1466)
1 CapgoNativeAudio 0x0000000102bf263c specialized Dictionary.Variant.isUniquelyReferenced() + 8 (/:0)
2 CapgoNativeAudio 0x0000000102bf263c specialized Dictionary.Variant.setValue(:forKey:) + 48
3 CapgoNativeAudio 0x0000000102bf1740 specialized Dictionary.subscript.setter + 20 (AudioAsset.swift:0)
4 CapgoNativeAudio 0x0000000102bf1740 closure #1 in NativeAudio.preloadAsset(
:isComplex:) + 1656 (Plugin.swift:369)
5 CapgoNativeAudio 0x0000000102bf306c partial apply for closure #1 in NativeAudio.preloadAsset(_:isComplex:) + 88 (/:0)
6 CapgoNativeAudio 0x0000000102bef504 thunk for @escaping @callee_guaranteed @sendable () -> () + 28 (/:0)
7 libdispatch.dylib 0x000000019d33c370 _dispatch_call_block_and_release + 32 (init.c:1549)
8 libdispatch.dylib 0x000000019d33e0d0 _dispatch_client_callout + 20 (object.m:576)
9 libdispatch.dylib 0x000000019d3456d8 _dispatch_lane_serial_drain + 744 (queue.c:3934)
10 libdispatch.dylib 0x000000019d3461e0 _dispatch_lane_invoke + 380 (queue.c:4025)
11 libdispatch.dylib 0x000000019d351258 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:7193)
12 libdispatch.dylib 0x000000019d350aa4 _dispatch_workloop_worker_thread + 540 (queue.c:6787)
13 libsystem_pthread.dylib 0x000000021db47c7c _pthread_wqthread + 288 (pthread.c:2696)
14 libsystem_pthread.dylib 0x000000021db44488 start_wqthread + 8 (:-1)

Expected behavior

(No crash)

Reproduction

No response

Steps to reproduce

Seen in TestFlight - a few times in the last few weeks. Not sure how to reproduce.

Other information

No response

Capacitor doctor

native issue with Capgo plugin

Before submitting

  • I have read and followed the bug report guidelines.
  • I have attached links to possibly related issues and discussions.
  • I understand that incomplete issues (e.g. without reproduction) are closed.

Fastest way to fix this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions