Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7506] Android: Media - Playing a sound multiple times generates errors

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Do
Resolution Date2020-01-09T19:43:29.000+0000
Affected Version/sRelease 2.0.0, Release 1.8.1, Release 3.1.0, Release 3.2.1
Fix Version/sn/a
ComponentsAndroid
Labelsqe-3.2.1
ReporterWilson Luu
AssigneeIngo Muschenetz
Created2012-02-01T14:12:45.000+0000
Updated2020-01-09T19:43:29.000+0000

Description

Steps to reproduce: 1. Install and launch attachment to Android device/emulator 2. Press *play sound* rapidly Actual: On device, the following error messages appear in the logcat:
E/AudioTrack(   76): AudioFlinger could not create track, status: -12
E/AudioSink(   76): Unable to create audio track
E/MediaPlayer( 5687): error (-19, 0)
E/MediaPlayer( 5687): Error (-19,0)
On emulator, the following error messages appear in the logcat:
E/AudioFlinger(   34): no more track names available
E/AudioTrack(   34): AudioFlinger could not create track, status: -12
E/AudioSink(   34): Unable to create audio track
E/MediaPlayer(  325): error (-19, 0)
E/MediaPlayer(  325): Error (-19,0)
F/        (   34): frameworks/base/media/libstagefright/codecs/mp3dec/MP3Decoder.cpp:72 mStarted
I/DEBUG   (   31): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (   31): Build fingerprint: 'generic/google_sdk/generic/:2.2/FRF91/43546:eng/test-keys'
I/DEBUG   (   31): pid: 34, tid: 34  >>> /system/bin/mediaserver <<<
I/DEBUG   (   31): signal 11 (SIGSEGV), fault addr deadbaad
I/DEBUG   (   31):  r0 00000000  r1 0000000c  r2 00000027  r3 00000000
I/DEBUG   (   31):  r4 00000000  r5 deadbaad  r6 00001728  r7 00272408
I/DEBUG   (   31):  r8 00000000  r9 00000000  10 00000000  fp 00000000
I/DEBUG   (   31):  ip ffffffff  sp bebcc708  lr afd154c5  pc afd11dc4  cpsr 40000030
I/DEBUG   (   31):          #00  pc 00011dc4  /system/lib/libc.so
I/DEBUG   (   31):          #01  pc 0000135c  /system/lib/liblog.so
I/DEBUG   (   31): 
I/DEBUG   (   31): code around pc:
I/DEBUG   (   31): afd11da4 1c2bd00b 2d00682d e026d1fb 2b0068db 
I/DEBUG   (   31): afd11db4 4e17d003 51a02001 4d164798 24002227 
I/DEBUG   (   31): afd11dc4 f7fb702a 2106ee14 ef10f7fc 05592380 
I/DEBUG   (   31): afd11dd4 6091aa01 1c116054 94012006 eab6f7fc 
I/DEBUG   (   31): afd11de4 2200a905 f7fc2002 f7fbeac2 2106ee00 
I/DEBUG   (   31): 
I/DEBUG   (   31): code around lr:
I/DEBUG   (   31): afd154a4 b0834a0d 589c447b 26009001 686768a5 
I/DEBUG   (   31): afd154b4 220ce008 2b005eab 1c28d003 47889901 
I/DEBUG   (   31): afd154c4 35544306 d5f43f01 2c006824 b003d1ee 
I/DEBUG   (   31): afd154d4 bdf01c30 0002ae7c 000000d4 1c0fb5f0 
I/DEBUG   (   31): afd154e4 43551c3d a904b087 1c16ac01 604d9004 
I/DEBUG   (   31): 
I/DEBUG   (   31): stack:
I/DEBUG   (   31):     bebcc6c8  bebcc6ec  [stack]
I/DEBUG   (   31):     bebcc6cc  000003b2  
I/DEBUG   (   31):     bebcc6d0  00213d18  [heap]
I/DEBUG   (   31):     bebcc6d4  00213ec8  [heap]
I/DEBUG   (   31):     bebcc6d8  00000000  
I/DEBUG   (   31):     bebcc6dc  afd154c5  /system/lib/libc.so
I/DEBUG   (   31):     bebcc6e0  00000009  
I/DEBUG   (   31):     bebcc6e4  afd1450d  /system/lib/libc.so
I/DEBUG   (   31):     bebcc6e8  0000004d  
I/DEBUG   (   31):     bebcc6ec  afd40328  /system/lib/libc.so
I/DEBUG   (   31):     bebcc6f0  00000000  
I/DEBUG   (   31):     bebcc6f4  00001728  
I/DEBUG   (   31):     bebcc6f8  00272408  [heap]
I/DEBUG   (   31):     bebcc6fc  afd147ab  /system/lib/libc.so
I/DEBUG   (   31):     bebcc700  df002777  
I/DEBUG   (   31):     bebcc704  e3a070ad  
I/DEBUG   (   31): #00 bebcc708  bebcc704  [stack]
I/DEBUG   (   31):     bebcc70c  00000001  
I/DEBUG   (   31):     bebcc710  afa02464  /system/lib/liblog.so
I/DEBUG   (   31):     bebcc714  00000001  
I/DEBUG   (   31):     bebcc718  bebcc73c  [stack]
I/DEBUG   (   31):     bebcc71c  fffffbdf  
I/DEBUG   (   31):     bebcc720  bebcc73c  [stack]
I/DEBUG   (   31):     bebcc724  00000000  
I/DEBUG   (   31):     bebcc728  a2fab110  /system/lib/libstagefright.so
I/DEBUG   (   31):     bebcc72c  afa0135f  /system/lib/liblog.so
I/DEBUG   (   31): #01 bebcc730  bebcc73c  [stack]
I/DEBUG   (   31):     bebcc734  afa0135f  /system/lib/liblog.so
I/DEBUG   (   31):     bebcc738  bebccb54  [stack]
I/DEBUG   (   31):     bebcc73c  6d617266  
I/DEBUG   (   31):     bebcc740  726f7765  
I/DEBUG   (   31):     bebcc744  622f736b  
I/DEBUG   (   31):     bebcc748  2f657361  
I/DEBUG   (   31):     bebcc74c  6964656d  
I/DEBUG   (   31):     bebcc750  696c2f61  
I/DEBUG   (   31):     bebcc754  61747362  
I/DEBUG   (   31):     bebcc758  72666567  
I/DEBUG   (   31):     bebcc75c  74686769  
I/DEBUG   (   31):     bebcc760  646f632f  
I/DEBUG   (   31):     bebcc764  2f736365  
I/DEBUG   (   31):     bebcc768  6433706d  
I/DEBUG   (   31):     bebcc76c  4d2f6365  
I/DEBUG   (   31):     bebcc770  65443350  
I/DEBUG   (   31):     bebcc774  65646f63  
W/MediaMetadataRetriever(  222): MediaMetadataRetriever server died!
I/ServiceManager(   28): service 'media.audio_flinger' died
I/ServiceManager(   28): service 'media.player' died
I/ServiceManager(   28): service 'media.camera' died
I/ServiceManager(   28): service 'media.audio_policy' died
Expected: No error messages should appear. Note: Pressing *play sound* rapidly on iOS does not produce error message.

Attachments

FileDateSize
soundBug.zip2012-02-01T14:12:45.000+00002329801

Comments

  1. Shameer Jan 2013-03-20

    When playing the sound multiple times, it stop working and generate errors. tested on Titanium Studio, build: 3.0.2.201302191606 Titanium SDK version: 3.1.0 Titanium SDK version: 3.0.2 Device: Samsung galaxy s duos Android version: 4.0.4 Android Emulator: Android SDK version: 2.2
  2. Alan Hutton 2020-01-09

    It has been decided that this issue should be closed as “Won’t do.” This issue is out of date with our current supported SDK release (7.5.2.GA as of the date of closure), and out of date with mobile OS versions. If community members feel that the issue is still valid, please create a new ticket. Please reference this closed ticket number, include SDK used, comments, and code that demonstrates/reproduces the issue.

JSON Source