-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
RCTFont SIGABRT crash #13588
Comments
oh! I have the same problem! help~ |
Whether we can return directly to a fixed font without NSCache? |
Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally! If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:
If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution. |
It is a known problem. 😢 (t16801791) |
So is this problem solved? |
@nmhuang Not yet. 😢 |
similar issue here...
|
Possibly related crash in:
React Native version: 0.50.3 It happens not very often but consistently a few times per week to different users. I haven't been able to reproduce it myself.
|
Facing crashes with similar reports -
|
@shergin do you need more logs/examples of this? I'm seeing this and Crashlytics is reporting 100% of the time it happens the app is in the background. Seeing the same exception occur but getting it in two different lines of RCTFont.mm. If you need more examples/crash logs please let me know and I'll post some. *Edit - also we are on React Native 0.51.0 when seeing this. |
It occurs when user forces quit the app while the executor still executing. To get rid of this you can invalidate the bridge manually in
We are using RCTBatchedBridge and the lines above solved this problem. Maybe it also works with CxxBridge. |
Hello @yeatse! I have a question, can u help me please... with code below |
@BorisMisnik If you create your app with command |
I don't know if this is related or not, but: I just found out some of our users had names like For me, the solution was to remove the
|
Has there been a solution to this? I'm still on react-native |
+1 |
Opened a PR for this issue. |
|
Summary: Try to solve #13588 ref: facebook/componentkit#906 Pull Request resolved: #22607 Differential Revision: D14084056 Pulled By: shergin fbshipit-source-id: 585aef758e1a215e825ae12914c5011d790a69b0
Summary: Try to solve facebook#13588 ref: facebook/componentkit#906 Pull Request resolved: facebook#22607 Differential Revision: D14084056 Pulled By: shergin fbshipit-source-id: 585aef758e1a215e825ae12914c5011d790a69b0
Summary: Try to solve facebook#13588 ref: facebook/componentkit#906 Pull Request resolved: facebook#22607 Differential Revision: D14084056 Pulled By: shergin fbshipit-source-id: 585aef758e1a215e825ae12914c5011d790a69b0
Summary: Try to solve facebook#13588 ref: facebook/componentkit#906 Pull Request resolved: facebook#22607 Differential Revision: D14084056 Pulled By: shergin fbshipit-source-id: 585aef758e1a215e825ae12914c5011d790a69b0
Summary: Try to solve facebook#13588 ref: facebook/componentkit#906 Pull Request resolved: facebook#22607 Differential Revision: D14084056 Pulled By: shergin fbshipit-source-id: 585aef758e1a215e825ae12914c5011d790a69b0
This commit implements the following PR as a patch to RCTFont.mm. facebook/react-native#22607 This is an attempt at fixing a high count Bugsnag reported crash which has a profile similar to facebook/react-native#13588
This commit implements the following PR as a patch to RCTFont.mm. facebook/react-native#22607 This is an attempt at fixing a high count Bugsnag reported crash which has a profile similar to facebook/react-native#13588
This issue has been fixed in the PR, but the PR didn't have "fixes XYZ". |
Description
Experiencing following crash:
Crash log snippet
Exception Type: SIGABRT
Exception Codes: #0 at 0x186ac7014
Crashed Thread: 4
Thread 4 Crashed:
0 libsystem_kernel.dylib 0x0000000186ac7014 __pthread_kill + 8
1 libsystem_c.dylib 0x0000000186a3b400 abort + 140
2 libc++abi.dylib 0x00000001865052d4 __cxa_bad_cast + 0
3 libc++abi.dylib 0x0000000186522ca8 default_terminate_handler() + 280
4 libobjc.A.dylib 0x0000000186530860 _objc_terminate() + 152
5 libc++abi.dylib 0x000000018651f66c std::__terminate(void ()) + 16
6 libc++abi.dylib 0x000000018651ef84 __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception*) + 0
7 libc++.1.dylib 0x00000001864f578c std::_1::_throw_system_error(int, char const*) + 88
8 MyApp 0x00000001001adb24 +[RCTFont updateFont:withFamily:size:weight:style:variant:scaleMultiplier:] (RCTFont.mm:92)
9 MyApp 0x0000000100223d94 -[RCTShadowText _attributedStringWithFontFamily:fontSize:fontWeight:fontStyle:letterSpacing:useBackgroundColor:foregroundColor:backgroundColor:opacity:] (RCTShadowText.m:278)
10 MyApp 0x0000000100223b08 -[RCTShadowText attributedString] (RCTShadowText.m:235)
11 MyApp 0x0000000100223a14 -[RCTShadowText recomputeText] (RCTShadowText.m:228)
12 MyApp 0x000000010021a670 -[RCTTextManager uiBlockToAmendWithShadowViewRegistry:] (RCTTextManager.m:109)
13 MyApp 0x00000001001f9c9c -[RCTComponentData uiBlockToAmendWithShadowViewRegistry:] (RCTComponentData.m:459)
14 MyApp 0x00000001001f1c18 -[RCTUIManager _layoutAndMount] (RCTUIManager.m:1120)
15 MyApp 0x00000001001c511c __36-[RCTBatchedBridge batchDidComplete]_block_invoke (RCTBatchedBridge.m:1008)
16 libdispatch.dylib 0x00000001869821fc _dispatch_call_block_and_release + 24
17 libdispatch.dylib 0x00000001869821bc _dispatch_client_callout + 16
18 libdispatch.dylib 0x00000001869903dc _dispatch_queue_serial_drain + 928
19 libdispatch.dylib 0x00000001869859a4 _dispatch_queue_invoke + 652
20 libdispatch.dylib 0x000000018699234c _dispatch_root_queue_drain + 572
21 libdispatch.dylib 0x00000001869920ac _dispatch_worker_thread3 + 124
22 libsystem_pthread.dylib 0x0000000186b8b2a0 _pthread_wqthread + 1288
23 libsystem_pthread.dylib 0x0000000186b8ad8c start_wqthread + 4
Reproduction Steps
Cannot reproduce.
The text was updated successfully, but these errors were encountered: