I just thinking, can be problem that we are using C++11? I'm using static STL, but what about libc.so?
This my crash log on 4.0.3 emulator:
F/libc ( 935): @@@ ABORTING: INVALID HEAP ADDRESS IN dlfree
F/libc ( 935): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)
W/NetworkManagementSocketTagger( 79): setKernelCountSet(10013, 0) failed with errno -2
I/DEBUG ( 34): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 34): Build fingerprint: 'generic/sdk/generic:4.0.4/MR1/302030:eng/test-keys'
I/DEBUG ( 34): pid: 935, tid: 956 >>> com.familyxoft.croger_debug <<<
I/DEBUG ( 34): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG ( 34): r0 deadbaad r1 001966f0 r2 80000000 r3 00000000
I/DEBUG ( 34): r4 00000000 r5 00000027 r6 4003df28 r7 4004c474
I/DEBUG ( 34): r8 505e1144 r9 001d8408 10 00000030 fp 51daf85c
I/DEBUG ( 34): ip ffffffff sp 51daf6e0 lr 4001f161 pc 4001b8c0 cpsr 60000030
I/DEBUG ( 34): d0 4010000000000000 d1 3ff0000043a04000
I/DEBUG ( 34): d2 000000003f000000 d3 000000003f000000
I/DEBUG ( 34): d4 0000000000000000 d5 4026000000000000
I/DEBUG ( 34): d6 447a000000000000 d7 41a0000041200000
I/DEBUG ( 34): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 34): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 34): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 34): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 34): scr 80000012
I/DEBUG ( 34):
I/DEBUG ( 34): #00 pc 000178c0 /system/lib/libc.so
I/DEBUG ( 34): #01 pc 00013746 /system/lib/libc.so
I/DEBUG ( 34): #02 pc 00015a84 /system/lib/libc.so (dlfree)
I/DEBUG ( 34): #03 pc 000160fc /system/lib/libc.so (free)
I/DEBUG ( 34): #04 pc 002bbdd0 /mnt/asec/com.familyxoft.croger_debug-1/lib/libcroger_d.so (_ZN9__gnu_cxx13new_allocatorIcE10deallocateEPcj)
I/DEBUG ( 34): #05 pc 002bb704 /mnt/asec/com.familyxoft.croger_debug-1/lib/libcroger_d.so (_ZNSbIjSt11char_traitsIjESaIjEE4_Rep10_M_destroyERKS1_)
I/DEBUG ( 34): #06 pc 002bae14 /mnt/asec/com.familyxoft.croger_debug-1/lib/libcroger_d.so (_ZNSbIjSt11char_traitsIjESaIjEE4_Rep10_M_disposeERKS1_)
I/DEBUG ( 34): #07 pc 002ba288 /mnt/asec/com.familyxoft.croger_debug-1/lib/libcroger_d.so (_ZNSbIjSt11char_traitsIjESaIjEED1Ev)
I/DEBUG ( 34): #08 pc 002b620c /mnt/asec/com.familyxoft.croger_debug-1/lib/libcroger_d.so (_ZN2sf6StringD1Ev)
I/DEBUG ( 34): #09 pc 003b8eec /mnt/asec/com.familyxoft.croger_debug-1/lib/libcroger_d.so (_ZN3Gui7Labeled8SetLabelERKSs)
I/DEBUG ( 34): #10 pc 00486974 /mnt/asec/com.familyxoft.croger_debug-1/lib/libcroger_d.so (_ZN3Gui5LabelC2ERKSs)
I/DEBUG ( 34): #11 pc 003f1554 /mnt/asec/com.familyxoft.croger_debug-1/lib/libcroger_d.so (_ZN9__gnu_cxx13new_allocatorIN3Gui5LabelEE9constructIS2_IRSsEEEvPT_DpOT0_)
I/DEBUG ( 34): #12 pc 003f1468 /mnt/asec/com.familyxoft.croger_debug-1/lib/libcroger_d.so (_ZNSt16allocator_traitsISaIN3Gui5LabelEEE12_S_constructIS1_IRSsEEENSt9enable_ifIXsrNS3_18__construct_helperIT_IDpT0_EEE5valueEvE4typeERS2_PS8_DpOS9_)
I/DEBUG ( 34): #13 pc 003f1354 /mnt/asec/com.familyxoft.croger_debug-1/lib/libcroger_d.so (_ZNSt16allocator_traitsISaIN3Gui5LabelEEE9constructIS1_JRSsEEEDTcl12_S_constructfp_fp0_spcl7forwardIT0_Efp1_EEERS2_PT_DpOS6_)
I/DEBUG ( 34): #14 pc 003f10f0 /mnt/asec/com.familyxoft.croger_debug-1/lib/libcroger_d.so (_ZNSt23_Sp_counted_ptr_inplaceIN3Gui5LabelESaIS1_ELN9__gnu_cxx12_Lock_policyE2EEC1IIRSsEEES2_DpOT_)
I/DEBUG ( 34): #15 pc 003f0e18 /mnt/asec/com.familyxoft.croger_debug-1/lib/libcroger_d.so (_ZN9__gnu_cxx13new_allocatorISt23_Sp_counted_ptr_inplaceIN3Gui5LabelESaIS3_ELNS_12_Lock_policyE2EEE9constructIS6_IKS4_RSsEEEvPT_DpOT0_)
I/DEBUG ( 34): #16 pc 003f0b78 /mnt/asec/com.familyxoft.croger_debug-1/lib/libcroger_d.so (_ZNSt16allocator_traitsISaISt23_Sp_counted_ptr_inplaceIN3Gui5LabelESaIS2_ELN9__gnu_cxx12_Lock_policyE2EEEE12_S_constructIS6_IKS3_RSsEEENSt9enable_ifIXsrNS8_18__construct_helperIT_IDpT0_EEE5valueEvE4typeERS7_PSE_DpOSF_)
I/DEBUG ( 34): #17 pc 003f0624 /mnt/asec/com.familyxoft.croger_debug-1/lib/libcroger_d.so (_ZNSt16allocator_traitsISaISt23_Sp_counted_ptr_inplaceIN3Gui5LabelESaIS2_ELN9__gnu_cxx12_Lock_policyE2EEEE9constructIS6_JKS3_RSsEEEDTcl12_S_constructfp_fp0_spcl7forwardIT0_Efp1_EEERS7_PT_DpOSC_)
I/DEBUG ( 34): #18 pc 003f0044 /mnt/asec/com.familyxoft.croger_debug-1/lib/libcroger_d.so (_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC1IN3Gui5LabelESaIS5_EJRSsEEESt19_Sp_make_shared_tagPT_RKT0_DpOT1_)
I/DEBUG ( 34): #19 pc 003ef678 /mnt/asec/com.familyxoft.croger_debug-1/lib/libcroger_d.so (_ZNSt12__shared_ptrIN3Gui5LabelELN9__gnu_cxx12_Lock_policyE2EEC1ISaIS1_EJRSsEEESt19_Sp_make_shared_tagRKT_DpOT0_)
I/DEBUG ( 34): #20 pc 003eeb80 /mnt/asec/com.familyxoft.croger_debug-1/lib/libcroger_d.so (_ZNSt10shared_ptrIN3Gui5LabelEEC1ISaIS1_EJRSsEEESt19_Sp_make_shared_tagRKT_DpOT0_)
I/DEBUG ( 34): #21 pc 003ede24 /mnt/asec/com.familyxoft.croger_debug-1/lib/libcroger_d.so (_ZSt15allocate_sharedIN3Gui5LabelESaIS1_EIRSsEESt10shared_ptrIT_ERKT0_DpOT1_)
I/DEBUG ( 34): #22 pc 003ed5d8 /mnt/asec/com.familyxoft.croger_debug-1/lib/libcroger_d.so (_ZSt11make_sharedIN3Gui5LabelEJRSsEESt10shared_ptrIT_EDpOT0_)
I/DEBUG ( 34): #23 pc 003ecd64 /mnt/asec/com.familyxoft.croger_debug-1/lib/libcroger_d.so (_ZN13SceneProgress7InitGuiEv)
I/DEBUG ( 34): #24 pc 003ec8e4 /mnt/asec/com.familyxoft.croger_debug-1/lib/libcroger_d.so (_ZN13SceneProgressC2Ev)
I/DEBUG ( 34): #25 pc 00496bcc /mnt/asec/com.familyxoft.croger_debug-1/lib/libcroger_d.so (_ZN12LoadingSceneC2Ej)