react-native-audio-waveform icon indicating copy to clipboard operation
react-native-audio-waveform copied to clipboard

Exception 'error 1885563711' was thrown while invoking extractWaveformData on target AudioWaveform with params

Open anatooly opened this issue 1 year ago • 0 comments
trafficstars

Exception 'error 1885563711' was thrown while invoking extractWaveformData on target AudioWaveform with params (
        {
        noOfSamples = 24;
        path = "/Users/anatooly/Library/Developer/CoreSimulator/Devices/34A5BD58-2E22-47D5-8CD8-16A95B7F7F1A/data/Containers/Data/Application/5D69B40A-CA5C-48DF-8859-A5D48189D519/tmp//307e6156d0c02dd36803866ba43f.m4a";
        playerKey = "PlayerFor/Users/anatooly/Library/Developer/CoreSimulator/Devices/34A5BD58-2E22-47D5-8CD8-16A95B7F7F1A/data/Containers/Data/Application/5D69B40A-CA5C-48DF-8859-A5D48189D519/tmp//307e6156d0c02dd36803866ba43f.m4a";
    },
    3706,
    3707
)
callstack: (
	0   CoreFoundation                      0x00007ff80048d28d __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x00007ff800057894 objc_exception_throw + 48
	2   CoreFoundation                      0x00007ff80048d097 +[NSException raise:format:] + 0
	3   AVFAudio                            0x00007ff8292d98a9 _Z19AVAE_RaiseExceptionP8NSStringz + 156
	4   AVFAudio                            0x00007ff82939f8f5 -[AVAudioFile framePosition] + 266
	5   APP                                 0x0000000101066d1b $s27react_native_audio_waveform17WaveformExtractorC07extractE015samplesPerPixel6offset6length9playerKeySaySaySfGGSgSiSg_ALSuSgSStF + 827
	6   APP                                 0x000000010105a3c1 $s27react_native_audio_waveform13AudioWaveformC23createOrUpdateExtractor9playerKey4path11noOfSamples7resolve8rejecterySS_SSSgSiSgyypSgcyAJ_AJs5Error_pSgtXEtF + 1697
	7   APP                                 0x0000000101059a3b $s27react_native_audio_waveform13AudioWaveformC07extractF4Data_8resolver8rejecterySo12NSDictionaryCSg_yypSgcySSSg_AKs5Error_pSgtXEtF + 2667
	8   APP                                 0x0000000101059cea $s27react_native_audio_waveform13AudioWaveformC07extractF4Data_8resolver8rejecterySo12NSDictionaryCSg_yypSgcySSSg_AKs5Error_pSgtXEtFTo + 154
	9   CoreFoundation                      0x00007ff800493ebc __invoking___ + 140
	10  CoreFoundation                      0x00007ff8004911df -[NSInvocation invoke] + 302
	11  CoreFoundation                      0x00007ff80049144f -[NSInvocation invokeWithTarget:] + 70
	12  APP                                 0x00000001008af50f -[RCTModuleMethod invokeWithBridge:module:arguments:] + 2495
	13  APP                                 0x00000001008b40b4 _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicEiN12_GLOBAL__N_117SchedulingContextE + 2036
	14  APP                                 0x00000001008b3705 _ZZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEiENK3$_0clEv + 133
	15  APP                                 0x00000001008b3679 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 25
	16  libdispatch.dylib                   0x00007ff80014aa90 _dispatch_call_block_and_release + 12
	17  libdispatch.dylib                   0x00007ff80014bd3a _dispatch_client_callout + 8
	18  libdispatch.dylib                   0x00007ff80015385c _dispatch_lane_serial_drain + 1236
	19  libdispatch.dylib                   0x00007ff8001543f7 _dispatch_lane_invoke + 406
	20  libdispatch.dylib                   0x00007ff80015ffac _dispatch_root_queue_drain_deferred_wlh + 276
	21  libdispatch.dylib                   0x00007ff80015f572 _dispatch_workloop_worker_thread + 552
	22  libsystem_pthread.dylib             0x0000000108359c47 _pthread_wqthread + 327
	23  libsystem_pthread.dylib             0x0000000108358b97 start_wqthread + 15
)

RCTFatal
facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext)
facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)::$_0::operator()() const
invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_lane_serial_drain
_dispatch_lane_invoke
_dispatch_root_queue_drain_deferred_wlh
_dispatch_workloop_worker_thread
_pthread_wqthread
start_wqthread

iOS problem on m4a format file, mp3 no this error. I think this bug is clone https://github.com/SimformSolutionsPvtLtd/react-native-audio-waveform/issues/57 when in FlatList so many audio components.

That error not catch prop onError <Waveform onError={onError} /> onError not called.

anatooly avatar Aug 07 '24 14:08 anatooly