hxcpp icon indicating copy to clipboard operation
hxcpp copied to clipboard

EXC_BAD_ACCESS Unclosed string > KERN_INVALID_ADDRESS at 0x627.

Open barisyild opened this issue 1 year ago • 1 comments

Usually this crash happens in the first 10 seconds of booting the app.

Defines:

<define name="HXCPP_CPP11"/>

hxcpp 4.3.2

OS Version: iOS 18.2.1 (22C161)
Report Version: 104

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: SEGV_NOOP at 0x0000000000000627
Crashed Thread: 25

Application Specific Information:
Unclosed string >
KERN_INVALID_ADDRESS at 0x627.

Thread 25 Crashed:
0   Application                        0x201e0b5d4         GlobalAllocator::GetNextFree
1   Application                        0x201e0b238         GlobalAllocator::GetFreeBlock
2   Application                        0x201e0b000         LocalAllocator::CallAlloc
3   Application                        0x201df2c9c         hx::Hash<T>::allocElement
4   Application                        0x201df30d4         hx::Hash<T>::TSet<T>
5   Application                        0x201df1cd4         hx::Hash<T>::set
6   Application                        0x201dea44c         __string_hash_set
7   Application                        0x201de08dc         hx::Anon_obj::__SetField
8   Application                        0x201056dc0         Reflect_obj::setField
9   Application                        0x2010d08d8         haxe::format::JsonParser_obj::parseRec
10  Application                        0x2010d08c8         haxe::format::JsonParser_obj::parseRec
11  Application                        0x2010d0704         haxe::format::JsonParser_obj::parseRec
12  Application                        0x2010d08c8         haxe::format::JsonParser_obj::parseRec
13  Application                        0x2010d0190         haxe::format::JsonParser_obj::doParse
14  Application                        0x201374e08         com::example::utils::AsyncJsonUtils_obj::parseAsync::_hx_Closure_0::_hx_run
15  Application                        0x201571484         lime::app::FutureWork_obj::threadPool_doWork
16  Application                        0x20157155c         lime::app::__FutureWork_objthreadPool_doWork
17  Application                        0x20149d460         lime::_hx_system::ThreadPool_obj::_hx___executeThread
18  Application                        0x20149d6e4         lime::_hx_system::__ThreadPool_obj_hx___executeThread
19  Application                        0x201aa7738         sys::thread::_Thread::HaxeThread_obj::create::_hx_Closure_0::_hx_run
20  Application                        0x201aa7528         sys::thread::_Thread::HaxeThread_obj::create::_hx_Closure_0::__run
21  Application                        0x201e03180         hxThreadFunc
22  libsystem_pthread.dylib         0x4332b17d0         _pthread_start

barisyild avatar Jan 21 '25 10:01 barisyild

OS Version: iOS 18.1.1 (22B91)
Report Version: 104

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: SEGV_NOOP at 0x0000000000000627
Crashed Thread: 22

Application Specific Information:
Exception 1, Code 1, Subcode 1575 >
KERN_INVALID_ADDRESS at 0x627.

Thread 22 Crashed:
0   Application                        0x2057694d4         GlobalAllocator::GetNextFree
1   Application                        0x205769194         GlobalAllocator::GetFreeBlock
2   Application                        0x205768f44         LocalAllocator::CallAlloc
3   Application                        0x205750b54         hx::Hash<T>::allocElement
4   Application                        0x205750f8c         hx::Hash<T>::TSet<T>
5   Application                        0x20574fb8c         hx::Hash<T>::set
6   Application                        0x205748304         __string_hash_set
7   Application                        0x20573e954         hx::Anon_obj::__SetField
8   Application                        0x2049b6fc4         Reflect_obj::setField
9   Application                        0x204a3094c         haxe::format::JsonParser_obj::parseRec
10  Application                        0x204a30778         haxe::format::JsonParser_obj::parseRec
11  Application                        0x204a3093c         haxe::format::JsonParser_obj::parseRec
12  Application                        0x204a30204         haxe::format::JsonParser_obj::doParse
13  Application                        0x204cd49f4         com::example::utils::AsyncJsonUtils_obj::parseAsync::_hx_Closure_0::_hx_run
14  Application                        0x204ed0f68         lime::app::FutureWork_obj::threadPool_doWork
15  Application                        0x204ed1040         lime::app::__FutureWork_objthreadPool_doWork
16  Application                        0x204dfd0ac         lime::_hx_system::ThreadPool_obj::_hx___executeThread
17  Application                        0x204dfd330         lime::_hx_system::__ThreadPool_obj_hx___executeThread
18  Application                        0x205405df0         sys::thread::_Thread::HaxeThread_obj::create::_hx_Closure_0::_hx_run
19  Application                        0x205405be0         sys::thread::_Thread::HaxeThread_obj::create::_hx_Closure_0::__run
20  Application                        0x205761030         hxThreadFunc
21  libsystem_pthread.dylib         0x42156c37c         _pthread_start

*Different build

barisyild avatar Jan 25 '25 17:01 barisyild