Skip to content

Crash in setOffset #76

@jmkiley

Description

@jmkiley

SDK version: 1.8.2-build.4

We see a crash when the camera preview for a camera is loaded. It seems to primarily happen with the Insta360 X4.

Crashed: com.realtimeStabilizer.loadDataQueue
0  INSCoreMedia                   0x2a33344 ins::CameraPoseDetector::setOffset(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) + 76
1  INSCoreMedia                   0x11ab630 arvrender::PrecomputeStabilization::Calculate() + 5144
2  INSCoreMedia                   0x11f5c1c arvrender::SequenceStabilizer::LoadRealTimeData() + 36
3  INSCoreMedia                   0x10de78 __52-[INSRealtimeStabilizer(Configuration) loadGyroData]_block_invoke + 56
4  libdispatch.dylib              0x1adc _dispatch_call_block_and_release + 32
5  libdispatch.dylib              0x1b7fc _dispatch_client_callout + 16
6  libdispatch.dylib              0xa468 _dispatch_lane_serial_drain + 740
7  libdispatch.dylib              0xaf44 _dispatch_lane_invoke + 388
8  libdispatch.dylib              0x153ec _dispatch_root_queue_drain_deferred_wlh + 292
9  libdispatch.dylib              0x14ce4 _dispatch_workloop_worker_thread + 692
10 libsystem_pthread.dylib        0x13b8 _pthread_wqthread + 292
11 libsystem_pthread.dylib        0x8c0 start_wqthread + 8

I haven't been able to reliably reproduce it locally, but it seems to be related to an invalid offset being returned from the updateOffset() delegate method.

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