[Desire HD Android Development] LuHe:
Fixed the previous error (project device/htc/msm7x30-common):

+++ b/media_profiles.xml
@@ -75,6 +75,7 @@
<!ATTLIST VideoEditorCap maxInputFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxOutputFrameWidth CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxOutputFrameHeight CDATA #REQUIRED>
+<!ATTLIST VideoEditorCap maxPrefetchYUVFrames CDATA #REQUIRED>
<!ELEMENT ExportVideoProfile EMPTY>
<!ATTLIST ExportVideoProfile name (h264|h263|m4v) #REQUIRED>
<!ATTLIST ExportVideoProfile profile CDATA #REQUIRED>
@@ -247,7 +248,7 @@
<AudioDecoderCap name="wma" enabled="false"/>
<VideoEditorCap maxInputFrameWidth="1280"
maxInputFrameHeight="720" maxOutputFrameWidth="1280"
- maxOutputFrameHeight="720"/>
+ maxOutputFrameHeight="720" maxPrefetchYUVFrames="6"/>
<!--
The VideoEditor Export codec profile and level values
correspond to the values in OMX_Video.h.

... got a new one:

D/SensorService( 1445): nuSensorService starting...
F/libc ( 1445): Fatal signal 11 (SIGSEGV) at 0x5129fc00 (code=2), thread 1445 (system_server)
I/DEBUG ( 1218): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 1218): Build fingerprint: 'htc_wwe/htc_ace/ace:2.3.3/GRI40/87995:user/release-keys'
I/DEBUG ( 1218): pid: 1445, tid: 1445, name: system_server >>> system_server <<<
I/DEBUG ( 1218): signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 5129fc00
I/DEBUG ( 1218): r0 00000000 r1 5129dc24 r2 01010101 r3 00000080
I/DEBUG ( 1218): r4 40019b50 r5 5129dc1c r6 51228b35 r7 5129fbe8
I/DEBUG ( 1218): r8 403cf860 r9 403d0e8c sl 403cf836 fp 0000016d
I/DEBUG ( 1218): ip 00000000 sp befdf4d8 lr 403cf763 pc 403cf778 cpsr 400f0030
I/DEBUG ( 1218): d0 2f6d657473797373 d1 7261747320656370
I/DEBUG ( 1218): d2 4bccfdd04ba6aa61 d3 4bccfe784bccfe64
I/DEBUG ( 1218): d4 4ba6a7884ba1f2b0 d5 4ba6a7f84ba6a7c0
I/DEBUG ( 1218): d6 4ba6a8a04ba6a830 d7 4ba6a9104ba6a8d8
I/DEBUG ( 1218): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 1218): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 1218): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 1218): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 1218): d16 3fe99999a0000000 d17 3fe999999999999a
I/DEBUG ( 1218): d18 0000000000000000 d19 0000000000000000
I/DEBUG ( 1218): d20 3fc554e7eb0eb47c d21 0000000000000000
I/DEBUG ( 1218): d22 0000000000000000 d23 3fb0f4a31edab38b
I/DEBUG ( 1218): d24 3fede16b9c24a98f d25 3fe55559ee5e69f9
I/DEBUG ( 1218): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 1218): d28 0000000000000005 d29 0000000000000000
I/DEBUG ( 1218): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 1218): scr 20000010
I/DEBUG ( 1218):
I/DEBUG ( 1218): backtrace:
I/DEBUG ( 1218): #00 pc 00000778 /system/lib/libhardware.so (hw_get_module_by_class+359)
I/DEBUG ( 1218): #01 pc 0000d6d7 /system/lib/libsensorservice.so (android::SensorDevice::SensorDevice()+102)
I/DEBUG ( 1218): #02 pc 0000d395 /system/lib/libsensorservice.so (android::Singleton<android::SensorDevice>::getInstance()+32)
I/DEBUG ( 1218): #03 pc 0000f741 /system/lib/libsensorservice.so (android::SensorService::onFirstRef()+32)
I/DEBUG ( 1218): #04 pc 0000edd5 /system/lib/libutils.so (android::RefBase::incStrong(void const*) const+38)
I/DEBUG ( 1218): #05 pc 000010d1 /system/lib/libsystem_server.so
I/DEBUG ( 1218): #06 pc 000011eb /system/lib/libsystem_server.so (system_init+242)
I/DEBUG ( 1218): #07 pc 0001dff0 /system/lib/libdvm.so (dvmPlatformInvoke+112)
I/DEBUG ( 1218): #08 pc 0004d017 /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+390)
I/DEBUG ( 1218): #09 pc 00027420 /system/lib/libdvm.so
I/DEBUG ( 1218): #10 pc 0002bcf8 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180)
I/DEBUG ( 1218): #11 pc 0005fa3f /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+374)
I/DEBUG ( 1218): #12 pc 00067031 /system/lib/libdvm.so
I/DEBUG ( 1218): #13 pc 00027420 /system/lib/libdvm.so
I/DEBUG ( 1218): #14 pc 0002bcf8 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180)
I/DEBUG ( 1218): #15 pc 0005f779 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+272)
I/DEBUG ( 1218): #16 pc 0004966f /system/lib/libdvm.so
I/DEBUG ( 1218): #17 pc 0004698d /system/lib/libandroid_runtime.so
I/DEBUG ( 1218): #18 pc 0004746f /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+390)
I/DEBUG ( 1218): #19 pc 00000dcf /system/bin/app_process
I/DEBUG ( 1218):
I/DEBUG ( 1218): stack:
I/DEBUG ( 1218): befdf498 40019b50
I/DEBUG ( 1218): befdf49c 0000005c
I/DEBUG ( 1218): befdf4a0 40019b52
I/DEBUG ( 1218): befdf4a4 40019b50
I/DEBUG ( 1218): befdf4a8 403cf743 /system/lib/libhardware.so (hw_get_module_by_class+306)
I/DEBUG ( 1218): befdf4ac 00000000
I/DEBUG ( 1218): befdf4b0 5129fbe8 /system/lib/hw/sensors.spade.so
I/DEBUG ( 1218): befdf4b4 403cf743 /system/lib/libhardware.so (hw_get_module_by_class+306)
I/DEBUG ( 1218): befdf4b8 403cf888 /system/lib/libhardware.so
I/DEBUG ( 1218): befdf4bc 40005b1b /system/bin/linker
I/DEBUG ( 1218): befdf4c0 40019b50
I/DEBUG ( 1218): befdf4c4 40019b50
I/DEBUG ( 1218): befdf4c8 40019b50
I/DEBUG ( 1218): befdf4cc 403cf888 /system/lib/libhardware.so
I/DEBUG ( 1218): befdf4d0 df0027ad
I/DEBUG ( 1218): befdf4d4 00000000
I/DEBUG ( 1218): #00 befdf4d8 befe14f4 [stack]
I/DEBUG ( 1218): befdf4dc befdf4f4 [stack]
I/DEBUG ( 1218): befdf4e0 00000000
I/DEBUG ( 1218): befdf4e4 2a1053f4 [heap]
I/DEBUG ( 1218): befdf4e8 40076a4c
I/DEBUG ( 1218): befdf4ec 0000019e
I/DEBUG ( 1218): befdf4f0 00000000
I/DEBUG ( 1218): befdf4f4 64617073
I/DEBUG ( 1218): befdf4f8 00000065
I/DEBUG ( 1218): befdf4fc 00000000
I/DEBUG ( 1218): befdf500 00000000
I/DEBUG ( 1218): befdf504 00000000
I/DEBUG ( 1218): befdf508 00000000
I/DEBUG ( 1218): befdf50c 00000000
I/DEBUG ( 1218): befdf510 00000000
I/DEBUG ( 1218): befdf514 00000000
I/DEBUG ( 1218): ........ ........
I/DEBUG ( 1218): #01 befe2520 4079e95b /system/lib/libdvm.so
I/DEBUG ( 1218): befe2524 4079e987 /system/lib/libdvm.so
I/DEBUG ( 1218): befe2528 4bccfdbc /dev/ashmem/dalvik-LinearAlloc (deleted)
I/DEBUG ( 1218): befe252c 4bccfda8 /dev/ashmem/dalvik-LinearAlloc (deleted)
I/DEBUG ( 1218): befe2530 400c86f8 /system/lib/libutils.so
I/DEBUG ( 1218): befe2534 00000000
I/DEBUG ( 1218): befe2538 00000000
I/DEBUG ( 1218): befe253c 00000007
I/DEBUG ( 1218): befe2540 00000010
I/DEBUG ( 1218): befe2544 412443b0 /dev/ashmem/dalvik-heap (deleted)
I/DEBUG ( 1218): befe2548 00000000
I/DEBUG ( 1218): befe254c 00000000
I/DEBUG ( 1218): befe2550 00000000
I/DEBUG ( 1218): befe2554 412443b0 /dev/ashmem/dalvik-heap (deleted)
I/DEBUG ( 1218): befe2558 c0000000
I/DEBUG ( 1218): befe255c 00000048
I/DEBUG ( 1218): ........ ........
I/DEBUG ( 1218): #02 befe25b8 2a0e9060 [heap]
I/DEBUG ( 1218): befe25bc 40076a4c
I/DEBUG ( 1218): befe25c0 2a0e2c70 [heap]
I/DEBUG ( 1218): befe25c4 51227745 /system/lib/libsensorservice.so (android::SensorService::onFirstRef()+36)
I/DEBUG ( 1218):
I/DEBUG ( 1218): memory near r1:
I/DEBUG ( 1218): 5129dc04 746e6576 79742820 253d6570 63202c64 vent (type=%d, c
I/DEBUG ( 1218): 5129dc14 3d65646f 00296425 736e6573 0073726f ode=%d).sensors.
I/DEBUG ( 1218): 5129dc24 39384b41 20413537 53492026 3039324c AK8975A & ISL290
I/DEBUG ( 1218): 5129dc34 53203832 6f736e65 4d207372 6c75646f 28 Sensors Modul
I/DEBUG ( 1218): 5129dc44 68540065 6e412065 696f7264 704f2064 e.The Android Op
I/DEBUG ( 1218):
I/DEBUG ( 1218): memory near r2:
I/DEBUG ( 1218): 010100e0 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 1218): 010100f0 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 1218): 01010100 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 1218): 01010110 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 1218): 01010120 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 1218):
I/DEBUG ( 1218): memory near r4:
I/DEBUG ( 1218): 40019b30 51297000 40019a2c 51299ea4 4001957c .p)Q,..@..)Q|..@
I/DEBUG ( 1218): 40019b40 400196a0 00000001 51299e90 00000170 ...@......)Qp...
I/DEBUG ( 1218): 40019b50 736e6573 2e73726f 64617073 6f732e65 sensors.spade.so
I/DEBUG ( 1218): 40019b60 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 1218): 40019b70 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 1218):
I/DEBUG ( 1218): memory near r5:
I/DEBUG ( 1218): 5129dbfc 6f6e6b6e 65206e77 746e6576 79742820 nknown event (ty
I/DEBUG ( 1218): 5129dc0c 253d6570 63202c64 3d65646f 00296425 pe=%d, code=%d).
I/DEBUG ( 1218): 5129dc1c 736e6573 0073726f 39384b41 20413537 sensors.AK8975A
I/DEBUG ( 1218): 5129dc2c 53492026 3039324c 53203832 6f736e65 & ISL29028 Senso
I/DEBUG ( 1218): 5129dc3c 4d207372 6c75646f 68540065 6e412065 rs Module.The An
I/DEBUG ( 1218):
I/DEBUG ( 1218): memory near r6:
I/DEBUG ( 1218): 51228b14 64282073 67756265 6f520029 69746174 s (debug).Rotati
I/DEBUG ( 1218): 51228b24 56206e6f 6f746365 65532072 726f736e on Vector Sensor
I/DEBUG ( 1218): 51228b34 6e657300 73726f73 756f6300 276e646c .sensors.couldn'
I/DEBUG ( 1218): 51228b44 6f6c2074 25206461 6f6d2073 656c7564 t load %s module
I/DEBUG ( 1218): 51228b54 73252820 6f700029 63006c6c 646c756f (%s).poll.could
I/DEBUG ( 1218):
I/DEBUG ( 1218): memory near r7:
I/DEBUG ( 1218): 5129fbc8 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 1218): 5129fbd8 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 1218): 5129fbe8 48574d54 00000001 5129dc1c 5129dc24 TMWH......)Q$.)Q
I/DEBUG ( 1218): 5129fbf8 5129dc46 512a0000 00000000 00000000 F.)Q..*Q........
I/DEBUG ( 1218): 5129fc08 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 1218):
I/DEBUG ( 1218): memory near r8:
I/DEBUG ( 1218): 403cf840 762f006f 6f646e65 696c2f72 77682f62 o./vendor/lib/hw
I/DEBUG ( 1218): 403cf850 79732f00 6d657473 62696c2f 0077682f ./system/lib/hw.
I/DEBUG ( 1218): 403cf860 252f7325 65642e73 6c756166 6f732e74 %s/%s.default.so
I/DEBUG ( 1218): 403cf870 4c414800 616f6c00 6d203a64 6c75646f .HAL.load: modul
I/DEBUG ( 1218): 403cf880 73253d65 0073250a 00494d48 64616f6c e=%s.%s.HMI.load
I/DEBUG ( 1218):
I/DEBUG ( 1218): memory near r9:
I/DEBUG ( 1218): 403d0e6c 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 1218): 403d0e7c 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 1218): 403d0e8c 403cf8c4 403cf8d0 403cf8e1 403cf8f3 ..<@..<@..<@..<@
I/DEBUG ( 1218): 403d0e9c ffffffff 00000000 ffffffff 403cf7f4 ..............<@
I/DEBUG ( 1218): 403d0eac 00000000 00000003 00001fc4 00000002 ................
I/DEBUG ( 1218):
I/DEBUG ( 1218): memory near sl:
I/DEBUG ( 1218): 403cf814 7ffffff0 7fffffd4 80b0b0b0 7fffffe4 ................
I/DEBUG ( 1218): 403cf824 00000001 6e6b6e75 006e776f 252e7325 ....unknown.%s.%
I/DEBUG ( 1218): 403cf834 73250073 2e73252f 732e7325 762f006f s.%s/%s.%s.so./v
I/DEBUG ( 1218): 403cf844 6f646e65 696c2f72 77682f62 79732f00 endor/lib/hw./sy
I/DEBUG ( 1218): 403cf854 6d657473 62696c2f 0077682f 252f7325 stem/lib/hw.%s/%
I/DEBUG ( 1218):
I/DEBUG ( 1218): memory near sp:
I/DEBUG ( 1218): befdf4b8 403cf888 40005b1b 40019b50 40019b50 ..<@.[.@P..@P..@
I/DEBUG ( 1218): befdf4c8 40019b50 403cf888 df0027ad 00000000 P..@..<@.'......
I/DEBUG ( 1218): befdf4d8 befe14f4 befdf4f4 00000000 2a1053f4 .............S.*
I/DEBUG ( 1218): befdf4e8 40076a4c 0000019e 00000000 64617073 Lj.@........spad
I/DEBUG ( 1218): befdf4f8 00000065 00000000 00000000 00000000 e...............
I/DEBUG ( 1218):
I/DEBUG ( 1218): code around pc:
I/DEBUG ( 1218): 403cf758 46306885 f7ff4629 b148ef40 2006491f .h0F)F..@.H..I.
I/DEBUG ( 1218): 403cf768 46334a1f 95004479 f7ff447a e00bef2a .J3FyD..zD..*...
I/DEBUG ( 1218): 403cf778 9b0361bc f50d601f 9b045240 6812321c .a...`..@R...2.h
I/DEBUG ( 1218): 403cf788 428a6819 e006d009 f7ff4620 f06fef2c .h.B.... F..,.o.
I/DEBUG ( 1218): 403cf798 27000015 f7ffe7ed b009ef2c 5d40f50d ...'....,.....@]
I/DEBUG ( 1218):
I/DEBUG ( 1218): code around lr:
I/DEBUG ( 1218): 403cf740 4607ef4a 4925b940 4a252006 4479462b J..F@.%I. %J+FyD
I/DEBUG ( 1218): 403cf750 f7ff447a e01bef3a 46306885 f7ff4629 zD..:....h0F)F..
I/DEBUG ( 1218): 403cf760 b148ef40 2006491f 46334a1f 95004479 @.H..I. .J3FyD..
I/DEBUG ( 1218): 403cf770 f7ff447a e00bef2a 9b0361bc f50d601f zD..*....a...`..
I/DEBUG ( 1218): 403cf780 9b045240 6812321c 428a6819 e006d009 @R...2.h.h.B....
I/DEBUG ( 1218):
I/DEBUG ( 1218): memory map around fault addr 5129fc00:
I/DEBUG ( 1218): 5129e000-5129f000
I/DEBUG ( 1218): 5129f000-512a0000 /system/lib/hw/sensors.spade.so
I/DEBUG ( 1218): 512a0000-512a1000 /system/lib/hw/sensors.spade.so
W/AudioSystem( 1223): AudioFlinger not published, waiting...
D/Zygote ( 1221): Process 1445 terminated by signal (11)
I/Zygote ( 1221): Exit zygote because system server (1445) has terminated
I/Netd ( 1459): Netd 1.0 starting