Closed vickyleu closed 2 weeks ago
@MatkovIvan
I have resolved the crash issue by renaming the third-party compiled Skia library and modifying the rpath. I also updated the rpath of the associated frameworks. Currently, there are no crashes, but the screen is blank. Upon checking the logs, I found that everything else is executing normally, except there is no display.
Very strange issue, when I remove the Tencent Meeting SDK, Compose works perfectly. When I add the SDK, the screen goes white.
No error logs are shown.
objc[1213]: Class HangupConfig is implemented in both /private/var/containers/Bundle/Application/71FF97DA-D5D7-42CF-B131-E4CA2A85D85D/KMMCompose.app/Frameworks/wemeet_platform.framework/wemeet_platform (0x11773c5d0) and /private/var/containers/Bundle/Application/71FF97DA-D5D7-42CF-B131-E4CA2A85D85D/KMMCompose.app/Frameworks/WeMeet.framework/WeMeet (0x10c94dbd8). One of the two will be used. Which one is undefined.
objc[1213]: Class TimeStatistics is implemented in both /private/var/containers/Bundle/Application/71FF97DA-D5D7-42CF-B131-E4CA2A85D85D/KMMCompose.app/Frameworks/wemeet_platform.framework/wemeet_platform (0x11773c620) and /private/var/containers/Bundle/Application/71FF97DA-D5D7-42CF-B131-E4CA2A85D85D/KMMCompose.app/Frameworks/WeMeet.framework/WeMeet (0x10c94dc28). One of the two will be used. Which one is undefined.
objc[1213]: Class RunLoopObserverCtx is implemented in both /private/var/containers/Bundle/Application/71FF97DA-D5D7-42CF-B131-E4CA2A85D85D/KMMCompose.app/Frameworks/wemeet_platform.framework/wemeet_platform (0x11773c698) and /private/var/containers/Bundle/Application/71FF97DA-D5D7-42CF-B131-E4CA2A85D85D/KMMCompose.app/Frameworks/WeMeet.framework/WeMeet (0x10c94dca0). One of the two will be used. Which one is undefined.
objc[1213]: Class HangupMonitor is implemented in both /private/var/containers/Bundle/Application/71FF97DA-D5D7-42CF-B131-E4CA2A85D85D/KMMCompose.app/Frameworks/wemeet_platform.framework/wemeet_platform (0x11773c6c0) and /private/var/containers/Bundle/Application/71FF97DA-D5D7-42CF-B131-E4CA2A85D85D/KMMCompose.app/Frameworks/WeMeet.framework/WeMeet (0x10c94dcc8). One of the two will be used. Which one is undefined.
objc[1213]: Class PerfParam is implemented in both /private/var/containers/Bundle/Application/71FF97DA-D5D7-42CF-B131-E4CA2A85D85D/KMMCompose.app/Frameworks/wemeet_platform.framework/wemeet_platform (0x11773c710) and /private/var/containers/Bundle/Application/71FF97DA-D5D7-42CF-B131-E4CA2A85D85D/KMMCompose.app/Frameworks/WeMeet.framework/WeMeet (0x10c94dd18). One of the two will be used. Which one is undefined.
objc[1213]: Class PerfManager is implemented in both /private/var/containers/Bundle/Application/71FF97DA-D5D7-42CF-B131-E4CA2A85D85D/KMMCompose.app/Frameworks/wemeet_platform.framework/wemeet_platform (0x11773c760) and /private/var/containers/Bundle/Application/71FF97DA-D5D7-42CF-B131-E4CA2A85D85D/KMMCompose.app/Frameworks/WeMeet.framework/WeMeet (0x10c94dd68). One of the two will be used. Which one is undefined.
objc[1213]: Class FrenquencyConfig is implemented in both /private/var/containers/Bundle/Application/71FF97DA-D5D7-42CF-B131-E4CA2A85D85D/KMMCompose.app/Frameworks/wemeet_platform.framework/wemeet_platform (0x11773c7b0) and /private/var/containers/Bundle/Application/71FF97DA-D5D7-42CF-B131-E4CA2A85D85D/KMMCompose.app/Frameworks/WeMeet.framework/WeMeet (0x10c94ddb8). One of the two will be used. Which one is undefined.
objc[1213]: Class SampleConfig is implemented in both /private/var/containers/Bundle/Application/71FF97DA-D5D7-42CF-B131-E4CA2A85D85D/KMMCompose.app/Frameworks/wemeet_platform.framework/wemeet_platform (0x11773c828) and /private/var/containers/Bundle/Application/71FF97DA-D5D7-42CF-B131-E4CA2A85D85D/KMMCompose.app/Frameworks/WeMeet.framework/WeMeet (0x10c94de30). One of the two will be used. Which one is undefined.
objc[1213]: Class SampleManager is implemented in both /private/var/containers/Bundle/Application/71FF97DA-D5D7-42CF-B131-E4CA2A85D85D/KMMCompose.app/Frameworks/wemeet_platform.framework/wemeet_platform (0x11773c850) and /private/var/containers/Bundle/Application/71FF97DA-D5D7-42CF-B131-E4CA2A85D85D/KMMCompose.app/Frameworks/WeMeet.framework/WeMeet (0x10c94de58). One of the two will be used. Which one is undefined.
objc[1213]: Class WMAppLifecycleInfoManager is implemented in both /private/var/containers/Bundle/Application/71FF97DA-D5D7-42CF-B131-E4CA2A85D85D/KMMCompose.app/Frameworks/wemeet_base.framework/wemeet_base (0x11055d450) and /private/var/containers/Bundle/Application/71FF97DA-D5D7-42CF-B131-E4CA2A85D85D/KMMCompose.app/Frameworks/WMWhiteboardSDK.framework/WMWhiteboardSDK (0x10c34a098). One of the two will be used. Which one is undefined.
objc[1213]: Class WMAfterMeetingFeedbackView is implemented in both /private/var/containers/Bundle/Application/71FF97DA-D5D7-42CF-B131-E4CA2A85D85D/KMMCompose.app/Frameworks/WeMeet.framework/WeMeet (0x10c94c8a8) and /private/var/containers/Bundle/Application/71FF97DA-D5D7-42CF-B131-E4CA2A85D85D/KMMCompose.app/Frameworks/TencentMeetingSDK.framework/TencentMeetingSDK (0x10ffb9238). One of the two will be used. Which one is undefined.
2024-07-08 12:36:18.879591+0800 KMMCompose[1213:360057] Metal GPU Frame Capture Enabled
2024-07-08 12:36:18.879850+0800 KMMCompose[1213:360057] Metal API Validation Enabled
2024-07-08 12:36:20.296584+0800 KMMCompose[1213:360411] HttpLogger org.uooc.compose.network.NetworkEnvironmental.Beta@c177ef8 message:REQUEST:
Skia uses m116-47d3027-1 to compile the shared library, renames it to TencentSkia, and re-signs it. If m121 is used, SKCanvas::save will report an error regardless of whether the rpath and name are modified.
@igordmn Can anyone take a look at this issue?
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
Describe the bug I am currently using a third-party library from Tencent, which includes a Skia.framework. When I import this Skia into my Compose app through CocoaPods, running the iOS app results in an error. Removing this Skia makes everything return to normal. There are no issues on the Android platform; the problem only occurs on iOS. This has greatly affected my current work progress, and I have been searching for the cause for a long time.
Affected platforms
Versions
To Reproduce Steps to reproduce the behavior:
and error seem like random,sometime is org_jetbrains_skia_paragraph sometime is SKCanvas::save
Expected behavior not crash anymore.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context
Skia.framework
Attempting above has no effect.