Hi Team,
We just upgraded our MC40's to KK beta BSP 061615 and now their Avery-Dennison's Pathfinders mobile printer app is crashing. It worked fine both on JB and prior versions of KK beta.
Their java library requires that the customer include a native library (libcompanion.so) to interface with the device. For some reason, it looks like this library is not playing well with the newest revision of the Android OS.
Any idea why this would take place?
I am asking they down rev to
The crash dump is as follows ...
07-06 13:44:12.481
8088-8088/com.anfcorp.stores.mobile.printing A/libc﹕ invalid address or address of corrupt block 0x543bb000 passed to dlfree
07-06 13:44:12.481
8088-8088/com.anfcorp.stores.mobile.printing A/libc﹕ Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 8088 (mobile.printing)
07-06 16:54:36.157
118-118/? I/DEBUG﹕ *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-06 16:54:36.157
118-118/? I/DEBUG﹕ Build fingerprint: 'Android/MC40/MC40:4.4.4/90-11-03-4AJ22-K-V0-M1-061615/:user/release-keys'
07-06 16:54:36.157
118-118/? I/DEBUG﹕ Revision: '16'
07-06 16:54:36.157
118-118/? I/DEBUG﹕ pid: 31575, tid: 31575, name: mobile.printing >>> com.anfcorp.stores.mobile.printing
2 Replies
Any help on the above?
Some additional notes from the customer are ...
Thety can load font resources fine, but it looks like there is a problem whenever they try to load an LNT. Here is a snippet of their java. If they comment out anything using ResourceMediaType.Lnt, the application starts up fine. ResourceManager.initializeResourcePath("/sdcard/anf/printing/"); ResourceManager.registerResource(ResourceMediaType.Font, "TradeGothic-BoldCondTwenty", "/sdcard/anf/printing/TradeGothic-BoldCondTwenty.otf"); ResourceManager.registerResource(ResourceMediaType.Font, "Arial-Unicode", "/sdcard/anf/printing/Arial-Unicode.ttf"); ResourceManager.registerResource(ResourceMediaType.Lnt, "sticker_clearance", "/sdcard/anf/printing/StickerType_CL.LNT"); ResourceManager.registerResource(ResourceMediaType.Lnt, "sticker_fullprice", "/sdcard/anf/printing/StickerType_FP.LNT"); ResourceManager.registerResource(ResourceMediaType.Lnt, "hanging_clearance", "/sdcard/anf/printing/HangType_CL.LNT"); ResourceManager.registerResource(ResourceMediaType.Lnt, "hanging_fullprice", "/sdcard/anf/printing/HangType_FP.LNT");
Thanks for any help.
Paul
Hi Paul,
Dev team has the following questions:
Was the mobile printer apk working on a prev BSP or Android version?, which one ?
There is a new build (070315) could you try with this one?
Could you provide full logs - see if you have Mlog manager app on the device to collect them.
Thanks,
ana