"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Crash on S3

Hi,

I am trying to load several videos in Samsung galaxy s3 but receive following crash:

02-11 14:47:57.680: A/OMXCodec(25332): frameworks/av/media/libstagefright/OMXCodec.cpp:2043 CHECK_EQ( err,(status_t)OK) failed: -110 vs. 002-11 14:47:57.680: A/libc(25332): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 26575 (TimedEventQueue)02-11 14:47:57.785: I/DEBUG(27503): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***02-11 14:47:57.785: I/DEBUG(27503): Build fingerprint: 'samsung/m0xx/m0:4.1.2/JZO54K/I9300XXELLB:user/release-keys'02-11 14:47:57.785: I/DEBUG(27503): pid: 25332, tid: 26575, name: TimedEventQueue  >>> /system/bin/mediaserver <<<02-11 14:47:57.785: I/DEBUG(27503): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad02-11 14:47:57.980: I/DEBUG(27503):     r0 00000027  r1 deadbaad  r2 00000ca9  r3 0000000002-11 14:47:57.980: I/DEBUG(27503):     r4 00000000  r5 73005954  r6 00000000  r7 0000000002-11 14:47:57.980: I/DEBUG(27503):     r8 40092950  r9 00000001  sl ffffffff  fp ffffffff02-11 14:47:57.980: I/DEBUG(27503):     ip fffd28ac  sp 73005950  lr 401a1c65  pc 4019e2fe  cpsr 6000003002-11 14:47:57.980: I/DEBUG(27503):     d0  3ff71547652b82fe  d1  7e37e43c8800759c02-11 14:47:57.980: I/DEBUG(27503):     d2  3fbdb4b5b8efa317  d3  3f1149942ce213d702-11 14:47:57.980: I/DEBUG(27503):     d4  bfab4e88d9de3e28  d5  3ff000000000000002-11 14:47:57.980: I/DEBUG(27503):     d6  4010000000000000  d7  3e3618870000000102-11 14:47:57.980: I/DEBUG(27503):     d8  00000002ffe2a38b  d9  7fffffffffffffff02-11 14:47:57.980: I/DEBUG(27503):     d10 0000000000000000  d11 000000000000000002-11 14:47:57.980: I/DEBUG(27503):     d12 0000000000000000  d13 000000000000000002-11 14:47:57.980: I/DEBUG(27503):     d14 0000000000000000  d15 000000000000000002-11 14:47:57.980: I/DEBUG(27503):     d16 0000000000000000  d17 000000000000000002-11 14:47:57.980: I/DEBUG(27503):     d18 4000000000000000  d19 bf66b15fc8687d9202-11 14:47:57.980: I/DEBUG(27503):     d20 3fc54acce2a1ec71  d21 3e66376972bea4d002-11 14:47:57.980: I/DEBUG(27503):     d22 3fc6c310da4e22ec  d23 3fd279de4b63ba2702-11 14:47:57.980: I/DEBUG(27503):     d24 3fe6c310da4e22ec  d25 000000000000000002-11 14:47:57.980: I/DEBUG(27503):     d26 0000000000000000  d27 000000000000000002-11 14:47:57.985: I/DEBUG(27503):     d28 0000000000000000  d29 000000000000000002-11 14:47:57.985: I/DEBUG(27503):     d30 0000000000000000  d31 000000000000000002-11 14:47:57.985: I/DEBUG(27503):     scr 2000001002-11 14:47:57.985: I/DEBUG(27503): backtrace:02-11 14:47:57.985: I/DEBUG(27503):     #00  pc 000182fe  /system/lib/libc.so02-11 14:47:57.985: I/DEBUG(27503):     #01  pc 0000dc04  /system/lib/libc.so (abort+4)02-11 14:47:57.985: I/DEBUG(27503):     #02  pc 00004109  /system/lib/libcutils.so (__android_log_assert+88)02-11 14:47:57.985: I/DEBUG(27503):     #03  pc 00088879  /system/lib/libstagefright.so (android::OMXCodec::init()+224)02-11 14:47:57.985: I/DEBUG(27503):     #04  pc 0008a047  /system/lib/libstagefright.so (android::OMXCodec::start(android::MetaData*)+186)02-11 14:47:57.985: I/DEBUG(27503):     #05  pc 00060bb1  /system/lib/libstagefright.so (android::AwesomePlayer::initVideoDecoder(unsigned int)+244)02-11 14:47:57.985: I/DEBUG(27503):     #06  pc 00066169  /system/lib/libstagefright.so (android::AwesomePlayer::onPrepareAsyncEvent()+392)02-11 14:47:57.985: I/DEBUG(27503):     #07  pc 0005c8bf  /system/lib/libstagefright.so02-11 14:47:57.985: I/DEBUG(27503):     #08  pc 0008fa03  /system/lib/libstagefright.so (android::TimedEventQueue::threadEntry()+354)02-11 14:47:57.985: I/DEBUG(27503):     #09  pc 0008fa49  /system/lib/libstagefright.so (android::TimedEventQueue::ThreadWrapper(void*)+16)02-11 14:47:57.985: I/DEBUG(27503):     #10  pc 00012e00  /system/lib/libc.so (__thread_entry+48)02-11 14:47:57.985: I/DEBUG(27503):     #11  pc 00012558  /system/lib/libc.so (pthread_create+172)02-11 14:47:57.985: I/DEBUG(27503): stack:02-11 14:47:57.985: I/DEBUG(27503):          73005910  41461ddf  /system/lib/libstagefright.so02-11 14:47:57.985: I/DEBUG(27503):          73005914  00000000  02-11 14:47:57.985: I/DEBUG(27503):          73005918  401ca6c4  /system/lib/libc.so02-11 14:47:57.985: I/DEBUG(27503):          7300591c  4280b008  02-11 14:47:57.985: I/DEBUG(27503):          73005920  401ca6c4  /system/lib/libc.so02-11 14:47:57.990: I/DEBUG(27503):          73005924  00000001  02-11 14:47:57.990: I/DEBUG(27503):          73005928  401ca7b8  /system/lib/libc.so02-11 14:47:57.990: I/DEBUG(27503):          7300592c  401ca718  /system/lib/libc.so02-11 14:47:57.990: I/DEBUG(27503):          73005930  00000000  02-11 14:47:57.990: I/DEBUG(27503):          73005934  401a1c65  /system/lib/libc.so (_fwalk+32)02-11 14:47:57.990: I/DEBUG(27503):          73005938  00000001  02-11 14:47:57.990: I/DEBUG(27503):          7300593c  73005954  02-11 14:47:57.990: I/DEBUG(27503):          73005940  00000000  02-11 14:47:57.990: I/DEBUG(27503):          73005944  00000000  02-11 14:47:57.990: I/DEBUG(27503):          73005948  df0027ad  02-11 14:47:57.990: I/DEBUG(27503):          7300594c  00000000  02-11 14:47:57.990: I/DEBUG(27503):     #00  73005950  6166206e  /dev/s3c-mfc02-11 14:47:57.990: I/DEBUG(27503):          73005954  fffffbdf  02-11 14:47:57.990: I/DEBUG(27503):          73005958  73005954  02-11 14:47:57.990: I/DEBUG(27503):          7300595c  00000001  02-11 14:47:57.990: I/DEBUG(27503):          73005960  4146302c  /system/lib/libstagefright.so02-11 14:47:57.990: I/DEBUG(27503):          73005964  00000009  02-11 14:47:57.990: I/DEBUG(27503):          73005968  73005984  02-11 14:47:57.990: I/DEBUG(27503):          7300596c  4146302c  /system/lib/libstagefright.so02-11 14:47:57.990: I/DEBUG(27503):          73005970  00000000  02-11 14:47:57.990: I/DEBUG(27503):          73005974  40193c08  /system/lib/libc.so (__pthread_clone)02-11 14:47:57.990: I/DEBUG(27503):     #01  73005978  4013cd45  /system/lib/libcutils.so02-11 14:47:57.990: I/DEBUG(27503):          7300597c  4013d10d  /system/lib/libcutils.so (__android_log_assert+92)02-11 14:47:57.990: I/DEBUG(27503):     #02  73005980  73005d94  02-11 14:47:57.990: I/DEBUG(27503):          73005984  6d617266  /dev/s3c-mfc02-11 14:47:57.990: I/DEBUG(27503):          73005988  726f7765  /dev/ashmem/OMXCodec (deleted)02-11 14:47:57.990: I/DEBUG(27503):          7300598c  612f736b  /dev/s3c-mfc02-11 14:47:57.990: I/DEBUG(27503):          73005990  656d2f76  /dev/s3c-mfc02-11 14:47:57.990: I/DEBUG(27503):          73005994  2f616964  02-11 14:47:57.990: I/DEBUG(27503):          73005998  7362696c  02-11 14:47:57.990: I/DEBUG(27503):          7300599c  65676174  /dev/s3c-mfc02-11 14:47:57.990: I/DEBUG(27503):          730059a0  67697266  /dev/s3c-mfc02-11 14:47:57.990: I/DEBUG(27503):          730059a4  4f2f7468  /dev/s3c-mfc02-11 14:47:57.990: I/DEBUG(27503):          730059a8  6f43584d  /dev/s3c-mfc02-11 14:47:57.990: I/DEBUG(27503):          730059ac  2e636564  02-11 14:47:57.990: I/DEBUG(27503):          730059b0  3a707063  02-11 14:47:57.990: I/DEBUG(27503):          730059b4  33343032  02-11 14:47:57.990: I/DEBUG(27503):          730059b8  45484320  /dev/video002-11 14:47:57.990: I/DEBUG(27503):          730059bc  455f4b43  /dev/video002-11 14:47:57.990: I/DEBUG(27503):          ........  ........02-11 14:47:57.990: I/DEBUG(27503): memory near r5:02-11 14:47:57.990: I/DEBUG(27503):     73005934 401a1c65 00000001 73005954 00000000  e..@....TY.s....02-11 14:47:57.990: I/DEBUG(27503):     73005944 00000000 df0027ad 00000000 6166206e  .....'......n fa02-11 14:47:57.990: I/DEBUG(27503):     73005954 fffffbdf 73005954 00000001 4146302c  ....TY.s....,0FA02-11 14:47:57.990: I/DEBUG(27503):     73005964 00000009 73005984 4146302c 00000000  .....Y.s,0FA....02-11 14:47:57.990: I/DEBUG(27503):     73005974 40193c08 4013cd45 4013d10d 73005d94  .<.@E..@...@.].s02-11 14:47:57.990: I/DEBUG(27503): memory near r8:02-11 14:47:57.990: I/DEBUG(27503):     40092930 00000010 0000001b 00000002 00000002  ................02-11 14:47:57.990: I/DEBUG(27503):     40092940 40092918 00000000 00000000 0000002b  .).@........+...02-11 14:47:57.990: I/DEBUG(27503):     40092950 41485618 41c57b58 414855a8 00000000  .VHAX{.A.UHA....02-11 14:47:57.995: I/DEBUG(27503):     40092960 00000000 00000000 00000010 6f006365  ............ec.o02-11 14:47:57.995: I/DEBUG(27503):     40092970 00000028 00000093 65646976 76612f6f  (.......video/av02-11 14:47:57.995: I/DEBUG(27503): memory near sp:02-11 14:47:57.995: I/DEBUG(27503):     73005930 00000000 401a1c65 00000001 73005954  ....e..@....TY.s02-11 14:47:57.995: I/DEBUG(27503):     73005940 00000000 00000000 df0027ad 00000000  .........'......02-11 14:47:57.995: I/DEBUG(27503):     73005950 6166206e fffffbdf 73005954 00000001  n fa....TY.s....02-11 14:47:57.995: I/DEBUG(27503):     73005960 4146302c 00000009 73005984 4146302c  ,0FA.....Y.s,0FA02-11 14:47:57.995: I/DEBUG(27503):     73005970 00000000 40193c08 4013cd45 4013d10d  .....<.@E..@...@02-11 14:47:57.995: I/DEBUG(27503): code around pc:02-11 14:47:57.995: I/DEBUG(27503):     4019e2dc e000b164 6823461c d1fb2b00 68e3e026  d....F#h.+..&..h02-11 14:47:57.995: I/DEBUG(27503):     4019e2ec 4a17b123 447a2401 47986014 20274911  #..J.$zD.`.G.I'02-11 14:47:57.995: I/DEBUG(27503):     4019e2fc 70082400 ebb2f7f4 f7f52106 a902ecf2  .$.p.....!......02-11 14:47:57.995: I/DEBUG(27503):     4019e30c f04f2006 460a5380 94029304 f7f59403  . O..S.F........02-11 14:47:57.995: I/DEBUG(27503):     4019e31c 4629e8d0 20024622 e8d8f7f5 eb9ef7f4  ..)F"F. ........02-11 14:47:57.995: I/DEBUG(27503): code around lr:02-11 14:47:57.995: I/DEBUG(27503):     401a1c44 41f0e92d 4c0b2600 447c4680 68a56824  -..A.&.L.F|D$h.h02-11 14:47:57.995: I/DEBUG(27503):     401a1c54 e0076867 300cf9b5 dd022b00 47c04628  gh.....0.+..(F.G02-11 14:47:57.995: I/DEBUG(27503):     401a1c64 35544306 d5f53f01 2c006824 4630d1ef  .CT5.?..$h.,..0F02-11 14:47:57.995: I/DEBUG(27503):     401a1c74 81f0e8bd 000288b2 43f0e92d fb01461f  ........-..C.F..02-11 14:47:57.995: I/DEBUG(27503):     401a1c84 f8dff602 b0878058 44f8460c 8000f8d8  ....X....F.D....02-11 14:47:57.995: I/DEBUG(27503): memory map around fault addr deadbaad:02-11 14:47:57.995: I/DEBUG(27503):     beb49000-beb6a000 [stack]02-11 14:47:57.995: I/DEBUG(27503):     (no map for address)02-11 14:47:57.995: I/DEBUG(27503):     ffff0000-ffff1000 [vectors]02-11 14:47:58.325: I/DEBUG(27503): !@dumpstate -k -t -z -d -o /data/log/dumpstate_app_native -m 2533202-11 14:47:58.325: I/BootReceiver(2266): Copying /data/tombstones/tombstone_00 to DropBox (SYSTEM_TOMBSTONE)02-11 14:47:58.335: I/dumpstate(26591): begin 

It appears on line

mMediaPlayer.setSurface(new Surface(mSurfaceTexture));

in VideoPlayerHelper's load method.

Camera doesnt start but other UI is perfectly working.

Other camera related crash log is

 

02-11 17:19:57.275: E/ISecCameraHardware(4706): Ignore cancelAutoFocus : current operation = 002-11 17:19:57.275: E/ISecCameraHardware(4706): android::status_t android::ISecCameraHardware::checkArea(ssize_t, ssize_t, ssize_t, ssize_t, ssize_t, int): All values are zero02-11 17:19:57.275: E/ISecCameraHardware(4706): FocusMode=auto, PrevFocusMode=auto02-11 17:19:57.275: D/ISecCameraHardware(4706): setParameters X: success02-11 17:20:17.845: W/Camera(19907): ICamera died02-11 17:20:17.850: E/Camera(19907): Error 10002-11 17:20:17.850: W/Camera(19907): Camera server died! 

AlessandroB

Mon, 02/11/2013 - 12:42

Hi, this may bu due to exceeding system resources (memory);

how many videos are you trying to load ?

is the official VideoPlayback sample working ?

Hi,

Thanks for the reply. It is only happening in Samsung Galaxy S3, on other devices videos are correctly loading. I am creating separate texture for each of the 18 videos. Should i create only 1 texture for all of the videos?

Thanks

hampKaushik

Sun, 05/05/2013 - 15:12

I'm getting a similar crash as below with the Unity3d VideoPlayback sample on an Android device (ICS). However when I only have one image target and one associated video, it works fine.