AIR 25 - crash at async texture upload from BitmapData
Hello,
There's a problem with new feature of asynchronous texture upload from BitmapData. After disposing any texture uploaded asynchronously, next upload crashes.
Crash log from device (Android):
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 30439 (syncUploadCrash)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/gts210wifixx/gts210wifi:6.0.1/MMB29K/T810XXU2CPK1:user/release-keys'
Revision: '6'
ABI: 'arm'
pid: 30439, tid: 30439, name: syncUploadCrash >>> air.AsyncUploadCrash <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
r0 9d8bf980 r1 00000000 r2 9fc9a8e8 r3 9fc9a8f8
r4 9d8bf980 r5 ae76bc38 r6 00000002 r7 00000000
r8 9fcced9c r9 bedcd964 sl 12c9c300 fp 707fea58
ip 00004001 sp bedcd960 lr 9eaafb39 pc 00000000 cpsr 80030010
backtrace:
#00 pc 00000000 <unknown>
#01 pc 0031cb37 /data/app/air.AsyncUploadCrash-1/lib/arm/libCore.so
#02 pc 0031cb95 /data/app/air.AsyncUploadCrash-1/lib/arm/libCore.so
#03 pc 003cd179 /data/app/air.AsyncUploadCrash-1/lib/arm/libCore.so
#04 pc 003ce7eb /data/app/air.AsyncUploadCrash-1/lib/arm/libCore.so
#05 pc 0012e1eb /data/app/air.AsyncUploadCrash-1/lib/arm/libCore.so
#06 pc 0013011f /data/app/air.AsyncUploadCrash-1/lib/arm/libCore.so
#07 pc 00133fa5 /data/app/air.AsyncUploadCrash-1/lib/arm/libCore.so
#08 pc 00120c23 /data/app/air.AsyncUploadCrash-1/lib/arm/libCore.so (Java_com_adobe_air_customHandler_callTimeoutFunction+10)
#09 pc 000bb82f /data/app/air.AsyncUploadCrash-1/oat/arm/base.odex (offset 0x9b000)
Sample project:
Every tap above textfield uploads new texture, and tap below textfield disposes a texture.
https://www.dropbox.com/s/evgu79xvajtu4gw/AsyncCrash.zip?dl=0
EDIT:
I forgot to add that the crash happens on both Android and iOS, but at different time. On Android crash happens at next upload after any dispose and on iOS crash happens at dispose.
