Search Issue Tracker

Fixed in 5.5.0

Votes

0

Found in

5.4.0f3

Issue ID

830172

Regression

Yes

[iOS] Crash in dynamic_bitset::reset_(size_type b) when stripping is turned on

iOS

-

To Reproduce:

1. Create an empty project and make sure stripping is turned off.
2. Build to iOS, observe that the app crashes in "dynamic_bitset::reset_(size_type b)".

Not reproducible when stripping is turned on, not Reproducible in 5.5.0b1 and before.

This is not reproducible with some project such as GFX tests, integrations tests & etc.. But is always reproducible with empty or almost empty projects.

Stacktrace:

ProductName was compiled with optimization - stepping may behave oddly; variables may not be available.
(lldb) bt
* thread #1: tid = 0x7dc1, 0x00000001008ed768 ProductName`::Update() [inlined] reset_ + 4 at dynamic_bitset.h:886, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x112f4b7f4)
* frame #0: 0x00000001008ed768 ProductName`::Update() [inlined] reset_ + 4 at dynamic_bitset.h:886 [opt]
frame #1: 0x00000001008ed764 ProductName`::Update() [inlined] reset at dynamic_bitset.h:630 [opt]
frame #2: 0x00000001008ed764 ProductName`::Update() [inlined] operator= + 16 at dynamic_bitset.h:163 [opt]
frame #3: 0x00000001008ed754 ProductName`::Update() [inlined] SetMessageEnabled + 12 at MessageHandler.h:133 [opt]
frame #4: 0x00000001008ed748 ProductName`::Update() [inlined] SetMessageEnabled + 12 at MessageHandler.h:126 [opt]
frame #5: 0x00000001008ed73c ProductName`::Update() + 124 at PhysicsManager.cpp:1010 [opt]
frame #6: 0x0000000100a61268 ProductName`::PlayerLoop() + 668 at PlayerLoop.cpp:166 [opt]
frame #7: 0x0000000100cce700 ProductName`::UnityPlayerLoopImpl() + 36 at LibEntryPoint.mm:195 [opt]
frame #8: 0x00000001000b3354 ProductName`::UnityRepaint() + 64 at UnityAppController+Rendering.mm:238
frame #9: 0x00000001000cfd94 ProductName`::-[UnityAppController(self=0x000000017011e720, _cmd="showGameUI") showGameUI]() + 332 at UnityAppController+ViewHandling.mm:207
frame #10: 0x00000001000ca404 ProductName`::-[UnityAppController startUnity:](self=0x000000017011e720, _cmd="startUnity:", application=0x0000000102f05440) + 504 at UnityAppController.mm:128
frame #11: 0x00000001893ceca0 Foundation`__NSFireDelayedPerform + 428
frame #12: 0x00000001888ae8f4 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
frame #13: 0x00000001888ae608 CoreFoundation`__CFRunLoopDoTimer + 872
frame #14: 0x00000001888adec4 CoreFoundation`__CFRunLoopDoTimers + 244
frame #15: 0x00000001888abac0 CoreFoundation`__CFRunLoopRun + 1572
frame #16: 0x00000001887da048 CoreFoundation`CFRunLoopRunSpecific + 444
frame #17: 0x000000018a25b198 GraphicsServices`GSEventRunModal + 180
frame #18: 0x000000018e73dbd0 UIKit`-[UIApplication _run] + 684
frame #19: 0x000000018e738908 UIKit`UIApplicationMain + 208
frame #20: 0x00000001000a75e0 ProductName`main(argc=1, argv=0x000000016fd5fac8) + 208 at main.mm:32
frame #21: 0x00000001877bc5b8 libdyld.dylib`start + 4

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.