Media Flinger Crash on Camera picture taken (picture sound) on Nexus One

by cpick » Sat, 16 Jan 2010 09:11:10 GMT


Sponsored Links
 t appears that taking a picture crashes the camera & media flinger b/
c of trying to play the picture sound on the nexus one. Any ideas?

01-15 19:06:10.511: INFO/NotificationService(74): enqueueToast
pkg=com.froogloid.android.gspot
callback=android.app.itransientnotification$stub$pr...@44aa8468
duration=0
01-15 19:06:10.542: ERROR/mm-camera(4753): liboemcamera:
config_proc_ctrl_command: SEVERE ERROR: attempt to override pending
command 13 with 40
01-15 19:06:10.551: INFO/DEBUG(4752): *** *** *** *** *** *** *** ***
*** *** *** *** *** *** *** ***
01-15 19:06:10.551: INFO/DEBUG(4752): Build fingerprint: 'google/
passion/passion/mahimahi:2.1/ERD79/22607:user/release-keys'
01-15 19:06:10.551: INFO/DEBUG(4752): pid: 4753, tid: 4914 >>> /
system/bin/mediaserver <<<
01-15 19:06:10.551: INFO/DEBUG(4752): signal 11 (SIGSEGV), fault addr
c0debadd
01-15 19:06:10.551: INFO/DEBUG(4752): r0 c0debadd r1 deadbeef r2
0c00a6d8 r3 0c00a6d8
01-15 19:06:10.551: INFO/DEBUG(4752): r4 40506ab4 r5 a94dec68 r6
00000001 r7 a94c8120
01-15 19:06:10.551: INFO/DEBUG(4752): r8 00100000 r9 a940ab2d 10
40407000 fp 00000000
01-15 19:06:10.551: INFO/DEBUG(4752): ip afbc30c8 sp 40506a80 lr
a940b089 pc a940b08c cpsr 60000030
01-15 19:06:10.601: INFO/DEBUG(4752): #00 pc 0000b08c /
system/lib/liboemcamera.so
01-15 19:06:10.601: INFO/DEBUG(4752): #01 pc 0000abce /
system/lib/liboemcamera.so
01-15 19:06:10.601: INFO/DEBUG(4752): #02 pc 0000fd74 /
system/lib/libc.so
01-15 19:06:10.601: INFO/DEBUG(4752): #03 pc 0000f840 /
system/lib/libc.so
01-15 19:06:10.601: INFO/DEBUG(4752): code around pc:
01-15 19:06:10.601: INFO/DEBUG(4752): a940b07c 18fb4b14 e004f8cd
ed22f7fe 48134912
01-15 19:06:10.601: INFO/DEBUG(4752): a940b08c 69206001 49124622
ecccf7fe da102800
01-15 19:06:10.601: INFO/DEBUG(4752): a940b09c f7fe8824 6800ecec
ecdcf7fe 4a0d4907
01-15 19:06:10.601: INFO/DEBUG(4752): code around lr:
01-15 19:06:10.601: INFO/DEBUG(4752): a940b078 18bae000 18fb4b14
e004f8cd ed22f7fe
01-15 19:06:10.601: INFO/DEBUG(4752): a940b088 48134912 69206001
49124622 ecccf7fe
01-15 19:06:10.601: INFO/DEBUG(4752): a940b098 da102800 f7fe8824
6800ecec ecdcf7fe
01-15 19:06:10.601: INFO/DEBUG(4752): stack:
01-15 19:06:10.601: INFO/DEBUG(4752): 40506a40 0010000c
01-15 19:06:10.601: INFO/DEBUG(4752): 40506a44 40506a30
01-15 19:06:10.601: INFO/DEBUG(4752): 40506a48 40407000
01-15 19:06:10.601: INFO/DEBUG(4752): 40506a4c a94e1038
01-15 19:06:10.601: INFO/DEBUG(4752): 40506a50 a94dec6c
01-15 19:06:10.601: INFO/DEBUG(4752): 40506a54 40506ab4
01-15 19:06:10.601: INFO/DEBUG(4752): 40506a58 a94c8120 /system/
lib/liboemcamera.so
01-15 19:06:10.601: INFO/DEBUG(4752): 40506a5c 0c00a6d8
01-15 19:06:10.601: INFO/DEBUG(4752): 40506a60 a94dec68
01-15 19:06:10.601: INFO/DEBUG(4752): 40506a64 40506ab4
01-15 19:06:10.601: INFO/DEBUG(4752): 40506a68 a94dec68
01-15 19:06:10.601: INFO/DEBUG(4752): 40506a6c 00000001
01-15 19:06:10.601: INFO/DEBUG(4752): 40506a70 a94c8120 /system/
lib/liboemcamera.so
01-15 19:06:10.601: INFO/DEBUG(4752): 40506a74 a940b089 /system/
lib/liboemcamera.so
01-15 19:06:10.601: INFO/DEBUG(4752): 40506a78 df002777
01-15 19:06:10.601: INFO/DEBUG(4752): 40506a7c e3a070ad
01-15 19:06:10.601: INFO/DEBUG(4752): #00 40506a80 0000000d
01-15 19:06:10.601: INFO/DEBUG(4752): 40



Other Threads

1. download and parse large zipped XML - too slow!

HI all, I've written an app that does on-the-fly download, unzip and
parsing of a big KML geographic datafile. The datafile is refreshed on
a server every hour so Ideally I'd like to refresh every now and then.

I'm running the parse in a separate thread (with very infrequent
blocks/locks) using a tiny hand-built flat-file parser (it uses
intrinsic types to remove GC stalls).

The zipped KML is about 400KB, unzipped it is 4.5MB.
Unzip buffer is 10KB.
My emulator's /proc/cpuinfo says 250 bogomips.
My code parses the zipped KML in just over 8 minutes.

I've not yet thrown parsed output into any kind of database yet - for
development I just store new classes in an ArrayList when I see KML
elements I need.

Any random thoughts or suggestions that might make refresh a bit
faster? How fast is real hardware?

--~--~---------~--~----~------------~-------~--~----~

2. About getting audio streams to A2DP headphone and Headphone

Dear All,


There is a function setRouting to set the audio for a specified mode.
                   public void setRouting (int mode, int routes, int
mask)

The parameters for the routes are:
      int ROUTE_BLUETOOTH This constant is deprecated. use
ROUTE_BLUETOOTH_SCO
      int ROUTE_BLUETOOTH_A2DP Routing audio output to bluetooth
A2DP
      int ROUTE_BLUETOOTH_SCO Routing audio output to bluetooth SCO
      int ROUTE_EARPIECE Routing audio output to earpiece
      int ROUTE_HEADSET Routing audio output to headset
      int ROUTE_SPEAKER Routing audio output to speaker
Using the OR of these parameters, theoritically we should be able to
get the routing to 2 routes. For eg. if we need blue tooth A2DP
headphone and Speaker, we should be able to achieve it using
( ROUTE_BLUETOOTH_A2DP | ROUTE_SPEAKER).

Bu it does not work as expected on say HTC phones. It will just stay
with A2DP headphone which means, it is most likely a MIPS issue as
well and the Android system default is built this way. Am I right?

Any idea on what other ways we can achieve streaming to A2DP headphone
and also to have the same stream or different stream locally played
back on speakers.



Regards
Rangan.
--~--~---------~--~----~------------~-------~--~----~

3. Accelerometer on different devices

4. MediaPlayer pause and seek

5. Request helping for writting HTTP Request in Android

6. How to disable sms notification?

7. RTC_WAKEUP