-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Crash] App Crashes When Playing Lottie Animation #49
Comments
Any updates on this? |
@pamit-singh hello, does this 100% reproducible? May i ask the size(width x height) you set for displaying the animation? |
Hey @hermet, Width: 375px |
@hermet Are there any updates on this? |
@pamit-singh sorry for late but we are on it. Guess soon we can fix it. thorvg/thorvg#3113 |
@theashraf hello, the fix will be in thorvg v0.15.9 & v1.0pre-11 |
@pamit-singh Can you try the latest dotlottie-ios release ? |
We are encountering a crash while playing a Lottie animation on the latest version (v0.7.3).
Steps to Reproduce:
Please review the issue and provide any potential workarounds or fixes.
Details:
Lottie File URL: Lottie Animation
Crash Logs:
`
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x000000016a7ff2d0
Exception Codes: 0x0000000000000001, 0x000000016a7ff2d0
VM Region Info: 0x16a7ff2d0 is not in any region. Bytes after previous region: 160465 Bytes before following region: 3376
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
VM_ALLOCATE 16a798000-16a7d8000 [ 256K] rw-/rwx SM=PRV
---> GAP OF 0x28000 BYTES
MALLOC_LARGE 16a800000-16aabc000 [ 2800K] rw-/rwx SM=PRV
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [18372]
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 DotLottiePlayer 0x107fa22c8 _rasterPolygonImageSegment(SwSurface*, SwImage const*, SwBBox const*, int, int, AASpans*, unsigned char, bool) + 1128
1 DotLottiePlayer 0x107fa22b0 _rasterPolygonImageSegment(SwSurface*, SwImage const*, SwBBox const*, int, int, AASpans*, unsigned char, bool) + 1104
2 DotLottiePlayer 0x107fa1cb4 _rasterPolygonImage(SwSurface*, SwImage const*, SwBBox const*, Polygon&, AASpans*, unsigned char) + 1232
3 DotLottiePlayer 0x107fa129c rasterTexmapPolygon(SwSurface*, SwImage const*, tvg::Matrix const&, SwBBox const*, unsigned char) + 608
4 DotLottiePlayer 0x107f8f9c4 tvg::Paint::Impl::render(tvg::RenderMethod*) + 340
5 DotLottiePlayer 0x107f8fe08 tvg::Scene::Impl::render(tvg::RenderMethod*) + 216
6 DotLottiePlayer 0x107f8f9a8 tvg::Paint::Impl::render(tvg::RenderMethod*) + 312
7 DotLottiePlayer 0x107f8fe08 tvg::Scene::Impl::render(tvg::RenderMethod*) + 216
8 DotLottiePlayer 0x107f8f9a8 tvg::Paint::Impl::render(tvg::RenderMethod*) + 312
9 DotLottiePlayer 0x107f8f9c4 tvg::Paint::Impl::render(tvg::RenderMethod*) + 340
10 DotLottiePlayer 0x107f8d16c tvg::Canvas::Impl::draw() + 260
11 DotLottiePlayer 0x107f746cc $LT$dotlottie_rs..lottie_renderer..LottieRendererImpl$LT$R$GT$$u20$as$u20$dotlottie_rs..lottie_renderer..LottieRenderer$GT$::render::h6e17f770bbe83613 + 264
12 DotLottiePlayer 0x107f48f14 dotlottie_rs::dotlottie_player::DotLottiePlayerContainer::render::hc7f29011fcbdd0f9 + 120
13 DotLottiePlayer 0x107f5015c dotlottie_rs::dotlottie_player::DotLottiePlayer::render::he7cedb66c24dc930 + 160
14 DotLottiePlayer 0x107efbb74 uniffi_core::ffi::rustcalls::rust_call::h49ac860b0c7f4e6b + 48
15 DotLottiePlayer 0x107f0e88c uniffi_dotlottie_player_fn_method_dotlottieplayer_render + 144
16 Rapido Staging.debug.dylib 0x10bed1fc8 specialized makeRustCall<A, B>(:errorHandler:) + 288
17 Rapido Staging.debug.dylib 0x10bec6664 DotLottiePlayer.render() + 96
18 Rapido Staging.debug.dylib 0x10bebd7b4 Player.render() + 112
19 Rapido Staging.debug.dylib 0x10beb0848 DotLottieAnimation.tick() + 628
20 Rapido Staging.debug.dylib 0x10beaf35c Coordinator.draw(in:) + 312
21 Rapido Staging.debug.dylib 0x10beaf704 @objc Coordinator.draw(in:) + 52
22 MetalKit 0x218923570 -[MTKView draw] + 159
23 MetalKit 0x2189234b0 -[MTKViewDisplayLinkTarget draw] + 31
24 QuartzCore 0x18b228078 CA::Display::DisplayLinkItem::dispatch(CA::SignPost::Interval<(CA::SignPost::CAEventCode)835322056>&) + 47
25 QuartzCore 0x18b2262b4 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 883
26 QuartzCore 0x18b225e4c CA::Display::DisplayLink::dispatch_deferred_display_links(unsigned int) + 351
27 UIKitCore 0x18bf2ffe8 _UIUpdateSequenceRun + 83
28 UIKitCore 0x18bf2fc38 schedulerStepScheduledMainSection + 171
29 UIKitCore 0x18bf30bac runloopSourceCallback + 91
30 CoreFoundation 0x189710088 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 27
31 CoreFoundation 0x18971001c __CFRunLoopDoSource0 + 175
32 CoreFoundation 0x18970db08 __CFRunLoopDoSources0 + 243
33 CoreFoundation 0x18970cd04 __CFRunLoopRun + 839
34 CoreFoundation 0x18970c5b8 CFRunLoopRunSpecific + 571
35 GraphicsServices 0x1d51a21c4 GSEventRunModal + 163
36 UIKitCore 0x18c2625f0 -[UIApplication _run] + 815
37 UIKitCore 0x18c31110c UIApplicationMain + 339
38 Rapido Staging.debug.dylib 0x10be28af8 __debug_main_executable_dylib_entry_point + 64
39 dyld 0x1aeedfd34 start + 2723`
The text was updated successfully, but these errors were encountered: