Speech Recorder crashes on Jelly Bean after clicking Record button.

Bug #1032719 reported by Botao on 2012-08-03
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
Won't Fix
Undecided
Unassigned

Bug Description

On Samsung Origen board with Linaro Jelly Bean build:

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/#build=5

Launch Speech Recorder app, click Record button, then the pop window shows:

Unfortunately, Speech Recorder has stopped.

Below is serial console logout:

E/AndroidRuntime( 3138): FATAL EXCEPTION: main
E/AndroidRuntime( 3138): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 3138): at com.android.speechrecorder.SpeechRecorderActivity.setupRecording(SpeechRecorderActivity.java:158)
E/AndroidRuntime( 3138): at com.android.speechrecorder.SpeechRecorderActivity.access$000(SpeechRecorderActivity.java:41)
E/AndroidRuntime( 3138): at com.android.speechrecorder.SpeechRecorderActivity$1.onClick(SpeechRecorderActivity.java:90)
E/AndroidRuntime( 3138): at android.view.View.performClick(View.java:4084)
E/AndroidRuntime( 3138): at android.view.View$PerformClick.run(View.java:16966)
E/AndroidRuntime( 3138): at android.os.Handler.handleCallback(Handler.java:615)
E/AndroidRuntime( 3138): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 3138): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3138): at android.app.ActivityThread.main(ActivityThread.java:4745)
E/AndroidRuntime( 3138): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3138): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 3138): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
E/AndroidRuntime( 3138): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/AndroidRuntime( 3138): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3138): Caused by: java.lang.UnsatisfiedLinkError: Library srec_jni not found; tried [/vendor/lib/libsrec_jni.so, /system/lib/libsrec_jni.so]
E/AndroidRuntime( 3138): at java.lang.Runtime.loadLibrary(Runtime.java:393)
E/AndroidRuntime( 3138): at java.lang.System.loadLibrary(System.java:535)
E/AndroidRuntime( 3138): at android.speech.srec.MicrophoneInputStream.<clinit>(MicrophoneInputStream.java:33)
E/AndroidRuntime( 3138): ... 14 more
W/ActivityManager( 2532): Force finishing activity com.android.speechrecorder/.SpeechRecorderActivity

###########################################
This issue is observed on following images:
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/#build=5
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/#build=18
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/#build=25
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/#build=33
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob-12.08-release/#build=1
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/#build=47
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=7
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=12
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob-12.09-release/#build=3
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=26
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=31
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=37
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob-12.10-release/#build=1
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=57
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=67
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=71
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=75
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=89
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=98
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=126
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=132
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=141
https://android-build.linaro.org/builds/~linaro-android/origen-linaro-13.01-release/#build=2

Botao (botao-sun) wrote :
Botao (botao-sun) wrote :
Botao (botao-sun) wrote :
Botao (botao-sun) wrote :

Same behaviour observed as initial bug description on Samsung Origen board with Linaro Jelly Bean image:

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/#build=47

Botao (botao-sun) wrote :

Also observed on Linaro Jelly Bean tracking build for Samsung Origen board:

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=7

Launch Speech Recorder app, click Record button, then the pop window shows:

Unfortunately, Speech Recorder has stopped.

Botao (botao-sun) on 2012-09-18
description: updated
Botao (botao-sun) on 2012-09-25
description: updated
Botao (botao-sun) on 2012-10-01
description: updated
Botao (botao-sun) on 2012-10-08
description: updated
Botao (botao-sun) on 2012-10-16
description: updated
Botao (botao-sun) on 2012-10-23
description: updated
description: updated
description: updated
description: updated
description: updated
Botao (botao-sun) on 2012-12-04
description: updated
description: updated
Tixy (Jon Medhurst) (tixy) wrote :

Same bug oocurs on vexpress. Observed on a TC2 board wirh the 12.12 release candidate: https://android-build.linaro.org/builds/~linaro-android/vexpress-jb-gcc47-armlt-tracking-open-12.12-release/#build=2

description: updated
description: updated
description: updated
description: updated
Soumya Basak (soumya-basak) wrote :
summary: - Speech Recorder crashed on Origen Jelly Bean after clicking Record
- button.
+ Speech Recorder crashes on Jelly Bean after clicking Record button.
Botao (botao-sun) on 2013-06-12
description: updated
Botao (botao-sun) wrote :

Old Samsung Origen board had been removed from Linaro support scope, then the status of this bug should be changed to "Won't Fix" on Linaro Android project. For the similar issue on the other boards, here is the list:

TI Panda: https://bugs.launchpad.net/linaro-android/+bug/1092245
ARM Versatile Express A9: https://bugs.launchpad.net/linaro-android/+bug/1047298
STE Snowball: https://bugs.launchpad.net/linaro-android/+bug/1097136

For ARM Versatile Express TC2, please use Bug 1047298 or report a new one if necessary.

Changed in linaro-android:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers