• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Can one avaoid a crash on Android + NetStream.seek() (fatal signal 11)?

New Here ,
May 22, 2015 May 22, 2015

Copy link to clipboard

Copied

We are building an app for Android that regularly seeks through a .mp4 movie (H264 without sound) using NetStream.

The android system we are running on is Android 4.2.2 and Android 4.4.2.


The application will always crash after running for a while.

("Unfortunately, Application has stopped")

In debugger mode, no Error is thrown. Even using UncaughtErrorEvent will not reveal any clues.

We have looked into logcat, where we can see that the application will always exit after a Fatal signal 11:

F/libc    ( 2661): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 2702 (oVideoNetstream)

(for the full logcat error log, see bottom of post)

We have tried using StageVideo as well as the Video object. In both cases same result.

We have tried compressing with different ratio's, but still we will get the same crash.

We have created an application that only loads video and randomly seeks the video at regular intervals. Same crash!

We have tried using AIR 14, 15, 16 and 17. Same crash!

We have tried a different Android device. Same crash!

We have tried different video resolutions. Same crash!

Since we are running out of options, we are making a desperate attempt to post the issue here.

Our feeling is that we are running into a bug present in the air core libraries..?

Maybe a hint towards the solution:

The application is running on a tablet in portrait mode with native resolution 900x1600.

We have encoded all videos in 900x1600, but Android's debugger seems to believe it has different dimensions

After every NetStream.seek() operation, logcat reveals the following:

I/H264_DEBUG(  115): deinit DONE

I/H264_DEBUG(  115): init done status 0

I/H264_DEBUG(  115): Width 912 Height 1600

I/H264_DEBUG(  115): videoRange 0, matrixCoefficients 2

where one would expect width 900 height 1600.

Encoding in different resolutions still crashes the app.

Another hint could be the signal 11: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000

The fault addr is 00000000, which maybe points to a null pointer within the AIR core library?

Any help appreciated.

Full error from logcat:

I/DEBUG   (  110): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

I/DEBUG   (  110): Build fingerprint: 'rockchip/rk3188/rk3188:4.4.2/KOT49H/eng.root.20141202.142726:eng/test-keys'

I/DEBUG   (  110): Revision: '0'

I/DEBUG   (  110): pid: 2661, tid: 2702, name: oVideoNetstream  >>> air.SoloVideoNetstream <<<

I/DEBUG   (  110): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000

I/DEBUG   (  110):     r0 00000000  r1 6c6ffc61  r2 00000004  r3 00000000

I/DEBUG   (  110):     r4 6a4649b0  r5 6c6ffc60  r6 00000000  r7 00000004

I/DEBUG   (  110):     r8 00000000  r9 00000004  sl 00000000  fp 00000000

I/DEBUG   (  110):     ip 00000000  sp 6de2bad0  lr 6baa955d  pc 6bab5378  cpsr 200a0030

I/DEBUG   (  110):     d0  ffffffffffffffff  d1  ffffffffffffffff

I/DEBUG   (  110):     d2  ffffffffffffffff  d3  ffffffffffffffff

I/DEBUG   (  110):     d4  0100030000910200  d5  0040e03200030000

I/DEBUG   (  110):     d6  40cd4c0000000000  d7  3fcccb53635bfcee

I/DEBUG   (  110):     d8  0000000000000000  d9  0000000000000000

I/DEBUG   (  110):     d10 0000000000000000  d11 0000000000000000

I/DEBUG   (  110):     d12 0000000000000000  d13 0000000000000000

I/DEBUG   (  110):     d14 0000000000000000  d15 0000000000000000

I/DEBUG   (  110):     d16 403f000000000000  d17 404e000000000000

I/DEBUG   (  110):     d18 006f0043006e0049  d19 006e00690062006d

I/DEBUG   (  110):     d20 0000000000018000  d21 0000000000000000

I/DEBUG   (  110):     d22 0001800000000000  d23 000002fe00000000

I/DEBUG   (  110):     d24 0000000000000000  d25 9ec0278027802780

I/DEBUG   (  110):     d26 0707070703030303  d27 991f1f1f991f1f1f

I/DEBUG   (  110):     d28 991f1f1f991f1f1f  d29 99001f001f001f00

I/DEBUG   (  110):     d30 3ff0000000000000  d31 3f4de16b9c24a98f

I/DEBUG   (  110):     scr 80000013

I/DEBUG   (  110):

I/DEBUG   (  110): backtrace:

I/DEBUG   (  110):     #00  pc 001d6378  /data/app-lib/com.adobe.air-1/libCore.so

I/DEBUG   (  110):     #01  pc 001ca55b  /data/app-lib/com.adobe.air-1/libCore.so

I/DEBUG   (  110):     #02  pc 001d42a7  /data/app-lib/com.adobe.air-1/libCore.so

I/DEBUG   (  110):     #03  pc 001cbe09  /data/app-lib/com.adobe.air-1/libCore.so

I/DEBUG   (  110):

I/DEBUG   (  110): stack:

I/DEBUG   (  110):          6de2ba90  686ac954  /data/app-lib/com.adobe.air-1/libstlport_shared.so

I/DEBUG   (  110):          6de2ba94  686ac980  /data/app-lib/com.adobe.air-1/libstlport_shared.so

I/DEBUG   (  110):          6de2ba98  6a4649b0 

I/DEBUG   (  110):          6de2ba9c  00000000 

I/DEBUG   (  110):          6de2baa0  0000ad28 

I/DEBUG   (  110):          6de2baa4  6a4c5758 

I/DEBUG   (  110):          6de2baa8  000157c0 

I/DEBUG   (  110):          6de2baac  6a4649b0 

I/DEBUG   (  110):          6de2bab0  68984011 

I/DEBUG   (  110):          6de2bab4  00000001 

I/DEBUG   (  110):          6de2bab8  0000a636 

I/DEBUG   (  110):          6de2babc  00000000 

I/DEBUG   (  110):          6de2bac0  0000009e 

I/DEBUG   (  110):          6de2bac4  00000001 

I/DEBUG   (  110):          6de2bac8  00000000 

I/DEBUG   (  110):          6de2bacc  6bab53d7  /data/app-lib/com.adobe.air-1/libCore.so

I/DEBUG   (  110):     #00  6de2bad0  6a4b9dfb 

I/DEBUG   (  110):          6de2bad4  00000001 

I/DEBUG   (  110):          6de2bad8  6ca838c0  /data/app-lib/com.adobe.air-1/libCore.so

I/DEBUG   (  110):          6de2badc  00000000 

I/DEBUG   (  110):          6de2bae0  000157e8 

I/DEBUG   (  110):          6de2bae4  00000009 

I/DEBUG   (  110):          6de2bae8  6bab4b0d  /data/app-lib/com.adobe.air-1/libCore.so

I/DEBUG   (  110):          6de2baec  6bab34f9  /data/app-lib/com.adobe.air-1/libCore.so

I/DEBUG   (  110):          6de2baf0  0000d264 

I/DEBUG   (  110):          6de2baf4  00008d5c 

I/DEBUG   (  110):          6de2baf8  6ca838c0  /data/app-lib/com.adobe.air-1/libCore.so

I/DEBUG   (  110):          6de2bafc  6bab5281  /data/app-lib/com.adobe.air-1/libCore.so

I/DEBUG   (  110):          6de2bb00  6c6ffc60  /data/app-lib/com.adobe.air-1/libCore.so

I/DEBUG   (  110):          6de2bb04  00000004 

I/DEBUG   (  110):          6de2bb08  000157e8 

I/DEBUG   (  110):          6de2bb0c  00002d00 

I/DEBUG   (  110):          ........  ........

I/DEBUG   (  110):     #01  6de2bb20  00000009 

I/DEBUG   (  110):          6de2bb24  00000000 

I/DEBUG   (  110):          6de2bb28  6a4c5708 

I/DEBUG   (  110):          6de2bb2c  6baa94fd  /data/app-lib/com.adobe.air-1/libCore.so

I/DEBUG   (  110):          6de2bb30  00002d81 

I/DEBUG   (  110):          6de2bb34  6a4a6839 

I/DEBUG   (  110):          6de2bb38  00002d81 

I/DEBUG   (  110):          6de2bb3c  6bab32a9  /data/app-lib/com.adobe.air-1/libCore.so

I/DEBUG   (  110):     #02  6de2bb40  00000001 

I/DEBUG   (  110):          6de2bb44  00000001 

I/DEBUG   (  110):          6de2bb48  6baa956d  /data/app-lib/com.adobe.air-1/libCore.so

I/DEBUG   (  110):          6de2bb4c  6c6ffc60  /data/app-lib/com.adobe.air-1/libCore.so

I/DEBUG   (  110):          6de2bb50  00002d81 

I/DEBUG   (  110):          6de2bb54  6ca838c0  /data/app-lib/com.adobe.air-1/libCore.so

I/DEBUG   (  110):          6de2bb58  6a18bcf0 

I/DEBUG   (  110):          6de2bb5c  000157e8 

I/DEBUG   (  110):          6de2bb60  00000000 

I/DEBUG   (  110):          6de2bb64  00000001 

I/DEBUG   (  110):          6de2bb68  00000000 

I/DEBUG   (  110):          6de2bb6c  00000000 

I/DEBUG   (  110):          6de2bb70  6c6ffc60  /data/app-lib/com.adobe.air-1/libCore.so

I/DEBUG   (  110):          6de2bb74  00009ca0 

I/DEBUG   (  110):          6de2bb78  6ca838c0  /data/app-lib/com.adobe.air-1/libCore.so

I/DEBUG   (  110):          6de2bb7c  6ca838c0  /data/app-lib/com.adobe.air-1/libCore.so

I/DEBUG   (  110):          ........  ........

I/DEBUG   (  110):

I/DEBUG   (  110): memory near r1:

I/DEBUG   (  110):     6c6ffc40 614d2c34 6f436e69 7065636e 002c2c74 

I/DEBUG   (  110):     6c6ffc50 e0c08000 fefcf8f0 070301ff 7f3f1f0f 

I/DEBUG   (  110):     6c6ffc60 01000000 e0c08000 fefcf8f0 74666f53 

I/DEBUG   (  110):     6c6ffc70 65726177 726f532c 6f736e65 6f532c6e 

I/DEBUG   (  110):     6c6ffc80 736e6572 2c2c6e6f 00000000 74666f53 

I/DEBUG   (  110):     6c6ffc90 65726177 3650562c 326e4f2c 00002c2c 

I/DEBUG   (  110):     6c6ffca0 66696e75 206d726f 3474616d 635f7520 

I/DEBUG   (  110):     6c6ffcb0 726f6c6f 746c6946 614d7265 78697274 

I/DEBUG   (  110):     6c6ffcc0 6e750a3b 726f6669 6576206d 75203463 

I/DEBUG   (  110):     6c6ffcd0 6c6f635f 6946726f 7265746c 73616942 

I/DEBUG   (  110):     6c6ffce0 00000a3b 5f727563 6f6c6f63 67722e72 

I/DEBUG   (  110):     6c6ffcf0 3d2a2062 75632820 6f635f72 2e726f6c 

I/DEBUG   (  110):     6c6ffd00 3d3d2061 302e3020 203f2029 20302e30 

I/DEBUG   (  110):     6c6ffd10 3128203a 2f20302e 72756320 6c6f635f 

I/DEBUG   (  110):     6c6ffd20 612e726f 630a3b29 635f7275 726f6c6f 

I/DEBUG   (  110):     6c6ffd30 63203d20 635f7275 726f6c6f 635f752a 

I/DEBUG   (  110):

I/DEBUG   (  110): memory near r4:

I/DEBUG   (  110):     6a464990 2e646e76 2e326e6f 00387076 00000000 

I/DEBUG   (  110):     6a4649a0 6cc52000 00000000 00000028 0000002b 

I/DEBUG   (  110):     6a4649b0 6a4c1a8c 40000000 00000000 00000000 

I/DEBUG   (  110):     6a4649c0 00000000 01010200 000000a0 00000007 

I/DEBUG   (  110):     6a4649d0 00000028 0000002b 43564548 6f636544 

I/DEBUG   (  110):     6a4649e0 00726564 67050008 00000000 00000000 

I/DEBUG   (  110):     6a4649f0 0000000b 6cc41fc8 00000000 0000001b 

I/DEBUG   (  110):     6a464a00 66fafb48 00000000 00000000 00000007 

I/DEBUG   (  110):     6a464a10 00000008 000074a9 6a464a10 6a464a10 

I/DEBUG   (  110):     6a464a20 00000000 00000000 68883000 0000000d 

I/DEBUG   (  110):     6a464a30 d2339715 ffbf0209 2f9eb4f9 72990b97 

I/DEBUG   (  110):     6a464a40 8dcec111 f08aebfe e51d4af7 b8c64b2f 

I/DEBUG   (  110):     6a464a50 fd3511af 73f1e3a3 829c69e1 8388b097 

I/DEBUG   (  110):     6a464a60 307ee473 55858757 f7bf51c4 5c0a821f 

I/DEBUG   (  110):     6a464a70 0797975f cd176f7c 6257cd86 c1883d42 

I/DEBUG   (  110):     6a464a80 4ce38b3f c6f21ca7 f13b055b 5a62b61c 

I/DEBUG   (  110):

I/DEBUG   (  110): memory near r5:

I/DEBUG   (  110):     6c6ffc40 614d2c34 6f436e69 7065636e 002c2c74 

I/DEBUG   (  110):     6c6ffc50 e0c08000 fefcf8f0 070301ff 7f3f1f0f 

I/DEBUG   (  110):     6c6ffc60 01000000 e0c08000 fefcf8f0 74666f53 

I/DEBUG   (  110):     6c6ffc70 65726177 726f532c 6f736e65 6f532c6e 

I/DEBUG   (  110):     6c6ffc80 736e6572 2c2c6e6f 00000000 74666f53 

I/DEBUG   (  110):     6c6ffc90 65726177 3650562c 326e4f2c 00002c2c 

I/DEBUG   (  110):     6c6ffca0 66696e75 206d726f 3474616d 635f7520 

I/DEBUG   (  110):     6c6ffcb0 726f6c6f 746c6946 614d7265 78697274 

I/DEBUG   (  110):     6c6ffcc0 6e750a3b 726f6669 6576206d 75203463 

I/DEBUG   (  110):     6c6ffcd0 6c6f635f 6946726f 7265746c 73616942 

I/DEBUG   (  110):     6c6ffce0 00000a3b 5f727563 6f6c6f63 67722e72 

I/DEBUG   (  110):     6c6ffcf0 3d2a2062 75632820 6f635f72 2e726f6c 

I/DEBUG   (  110):     6c6ffd00 3d3d2061 302e3020 203f2029 20302e30 

I/DEBUG   (  110):     6c6ffd10 3128203a 2f20302e 72756320 6c6f635f 

I/DEBUG   (  110):     6c6ffd20 612e726f 630a3b29 635f7275 726f6c6f 

I/DEBUG   (  110):     6c6ffd30 63203d20 635f7275 726f6c6f 635f752a 

I/DEBUG   (  110):

I/DEBUG   (  110): memory near sp:

I/DEBUG   (  110):     6de2bab0 68984011 00000001 0000a636 00000000 

I/DEBUG   (  110):     6de2bac0 0000009e 00000001 00000000 6bab53d7 

I/DEBUG   (  110):     6de2bad0 6a4b9dfb 00000001 6ca838c0 00000000 

I/DEBUG   (  110):     6de2bae0 000157e8 00000009 6bab4b0d 6bab34f9 

I/DEBUG   (  110):     6de2baf0 0000d264 00008d5c 6ca838c0 6bab5281 

I/DEBUG   (  110):     6de2bb00 6c6ffc60 00000004 000157e8 00002d00 

I/DEBUG   (  110):     6de2bb10 00000000 6a4c5778 00002d81 6baa955d 

I/DEBUG   (  110):     6de2bb20 00000009 00000000 6a4c5708 6baa94fd 

I/DEBUG   (  110):     6de2bb30 00002d81 6a4a6839 00002d81 6bab32a9 

I/DEBUG   (  110):     6de2bb40 00000001 00000001 6baa956d 6c6ffc60 

I/DEBUG   (  110):     6de2bb50 00002d81 6ca838c0 6a18bcf0 000157e8 

I/DEBUG   (  110):     6de2bb60 00000000 00000001 00000000 00000000 

I/DEBUG   (  110):     6de2bb70 6c6ffc60 00009ca0 6ca838c0 6ca838c0 

I/DEBUG   (  110):     6de2bb80 6a18bcf0 6a4c1a88 00008944 6a4c5708 

I/DEBUG   (  110):     6de2bb90 6a4c5c60 00001d68 6a4c5c98 6baaae0b 

I/DEBUG   (  110):     6de2bba0 6a4c5d14 6a4c5d00 00007fc8 6a4c5c88 

I/DEBUG   (  110):

I/DEBUG   (  110): code around pc:

I/DEBUG   (  110):     6bab5358 68e38087 09bcf1c3 bfb8454f f1b946b9 

I/DEBUG   (  110):     6bab5368 d00d0f00 464a4629 f811465e 68a0bb01 

I/DEBUG   (  110):     6bab5378 b003f800 f1123301 60e332ff 46b3d1f5 

I/DEBUG   (  110):     6bab5388 0707ebc9 0c07ebc9 0f00f1bc f1badd34 

I/DEBUG   (  110):     6bab5398 d0080f00 68a168e6 19f33e0a 0603ebcb 

I/DEBUG   (  110):     6bab53a8 1232724e 68e2720a 0cbcf1d2 6820d12a 

I/DEBUG   (  110):     6bab53b8 d08a2800 68a16806 47986933 800cf8c4 

I/DEBUG   (  110):     6bab53c8 8010f8c4 68204606 698a6801 60a04790 

I/DEBUG   (  110):     6bab53d8 f43f2800 2e00af7a af77f43f 200146c2 

I/DEBUG   (  110):     6bab53e8 463b71a0 2b00444d 9a03d192 d0502a00 

I/DEBUG   (  110):     6bab53f8 71602001 e76971a0 2e009e03 e7c6d0f1 

I/DEBUG   (  110):     6bab5408 e7932300 1f1068a1 790b9e08 c000f8cd 

I/DEBUG   (  110):     6bab5418 0a01f103 0b05f103 ebca9b02 f1c20200 

I/DEBUG   (  110):     6bab5428 448b0ebc 000eeb01 599b4659 68a34798 

I/DEBUG   (  110):     6bab5438 f04278da 70d90130 c000f8dd f10c68a0 

I/DEBUG   (  110):     6bab5448 449232ff a004f880 9e02b132 9b094658 

I/DEBUG   (  110):

I/DEBUG   (  110): code around lr:

I/DEBUG   (  110):     6baa953c 447c71e7 f8dc6824 1b2a00c0 2201bf18 

I/DEBUG   (  110):     6baa954c 93004c06 92014633 6824447c 47a0462a 

I/DEBUG   (  110):     6baa955c bf00e7de 00fdc0fc 00fe7b32 00fe7ed8 

I/DEBUG   (  110):     6baa956c 0004f1a0 b800f000 41f0e92d 5772f500 

I/DEBUG   (  110):     6baa957c 4604b082 303cf897 4615460e 8024f89d 

I/DEBUG   (  110):     6baa958c 2000b11b e8bdb002 490c81f0 4084f500 

I/DEBUG   (  110):     6baa959c 44793010 47886809 d1f22800 4482f504 

I/DEBUG   (  110):     6baa95ac 22096c79 f8d4462b 4c0500c0 46329200 

I/DEBUG   (  110):     6baa95bc 8004f8cd 6824447c e7e347a0 00fdc086 

I/DEBUG   (  110):     6baa95cc 00fe7e6c 47f0e92d f8904c7f b0823049 

I/DEBUG   (  110):     6baa95dc 4605447c 2b00460e f890d172 b1200048 

I/DEBUG   (  110):     6baa95ec 46382700 e8bdb002 f89587f0 2b003050 

I/DEBUG   (  110):     6baa95fc f8d1d1f6 f1a88004 2901010b 8095f240 

I/DEBUG   (  110):     6baa960c 0f09f1b8 f505d064 f8d74784 290010cc 

I/DEBUG   (  110):     6baa961c f505d1e6 f8995972 2800003c f8dfd1e0 

I/DEBUG   (  110):     6baa962c f107c1ac 92010010 300cf854 9a014798

TOPICS
Development

Views

1.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 22, 2015 May 22, 2015

Copy link to clipboard

Copied

How large are these videos in file size, how often is a seek() being performed (X minutes, seconds, etc), and how much RAM do the testing devices have?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 26, 2015 May 26, 2015

Copy link to clipboard

Copied

We have tried several video compression methods. The video's are between 15 and 50 mb in filesize.

Under normal circumstances (museum audience), seek is performed probably every 5 seconds or so.

In our faster crashing test case, seek is performed every 2 seconds. (this test case runs flawlessly for several days on the android simulator on a PC)

Memory of the tablets is 1024MB ram.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 26, 2015 May 26, 2015

Copy link to clipboard

Copied

Hi,

We would surely like to help you. Can you please share your sample project so that we can debug the issue in better way?

Regards

Adobe AIR Team

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 26, 2015 May 26, 2015

Copy link to clipboard

Copied

The testvideo and test class can be found here:

www.studiolouter.nl/idkit/SoloVideoNetstreamPublic.zip

Thanks.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 26, 2015 May 26, 2015

Copy link to clipboard

Copied

Hi,

I am not able to extract this project. Could you please check once and share this project on DropBox?

Regards

Adobe AIR Team

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 26, 2015 May 26, 2015

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 26, 2015 May 26, 2015

Copy link to clipboard

Copied

Ran a quick test in the Flash emulator and after about 60 seconds, it got an error from trying to call the onPlayStatus() method that is not present in your example. Is that missing from your main project or just from your testing example? Im taking a guess that what you are trying to accomplish is having a scrubbable video to give the look of a rotatable figure. Have you tried a PNG or JPG image sequence and put those on a MovieClip timeline?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 27, 2015 May 27, 2015

Copy link to clipboard

Copied

LATEST

wadedwalker‌, indeed the onPlayStatus() was not present. Adding it seemed to hugely improve our test case. We still have a crashing app, BUT no more signal 11 and our test case seems to run quite a bit longer than the original app. I believe we might be on the right track.

Thanks a lot!!

A PNG/jpg sequence is not an option due to the low performance on our clients (chinese) tablets.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines