[android-developers] Re: Dalvik SegFaults while using CMU Sphinx4

2012-01-30 Thread Matthew Adams
Have you been successful getting Sphinx 4 to run on Android yet?  I just 
saw this thread for the first time  need local (Internet connectionless) 
speech recognition.

-matthew

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Dalvik SegFaults while using CMU Sphinx4

2010-08-24 Thread Gervais
Maybe set up a git repo somewhere you fork off your private tree and
keep a community tree etc etc. but yeah you're a hero if you document
this.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Dalvik SegFaults while using CMU Sphinx4

2010-08-03 Thread gcstang
Would love to see the document on how you got it to work.

On Aug 2, 2:46 pm, Luis D. Pedrosa luis.david.pedr...@gmail.com
wrote:
 I would be more than happy to document the process, although, at some
 point, I will most likely have to make changes to Sphinx that are
 specific to our project and not useful outside of it.

 Thanks for the encouragement!

 -- Luis D. Pedrosa

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Dalvik SegFaults while using CMU Sphinx4

2010-08-02 Thread Luis D. Pedrosa
Thanks for the help!

You are absolutely right, the error I'm getting on Froyo is a
different one and is basically related to Sphinx's dependency on the
javax.sound.sampled library. The behavior is still a bit awkward, but
Dalvik does not crash, and this error I can debug and fix (or try).

Regards,

Luis D. Pedrosa

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Dalvik SegFaults while using CMU Sphinx4

2010-08-02 Thread Luis D. Pedrosa
I would be more than happy to document the process, although, at some
point, I will most likely have to make changes to Sphinx that are
specific to our project and not useful outside of it.

Thanks for the encouragement!

-- Luis D. Pedrosa

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Dalvik SegFaults while using CMU Sphinx4

2010-07-27 Thread fadden
On Jul 26, 5:50 pm, Luis David Pedrosa luis.david.pedr...@gmail.com
wrote:
 When I try to debug the issue by stepping through the code line by line, I
 can never pin point an exact place that consistently causes the crash, but
 it does crash every time. I have tried this out on Android 1.6 with an HTC
 Dream Phone, Android 2.1-update1 with a Motorola Droid, and Android 2.2 in
 the emulator and it happens on all of them.

Looks like you've hit a bug in Dalvik's annotation processing code.  I
suspect it's the same as http://b.android.com/5964, which found that
annotations with arrays of primitives were not handled correctly.
However, that should be fixed in 2.2 (Froyo), so it's strange that you
would be seeing it there as well.

Here's the converted stack trace:

Stack Trace:
  RELADDR   FUNCTION
FILE:LINE
  0005c2c8  convertReturnType
dalvik/vm/reflect/Annotation.c:653
  0005d63e  dvmGetAnnotationDefaultValue
dalvik/vm/reflect/Annotation.c:1804
  00056ce0  Dalvik_java_lang_reflect_Method_getDefaultValue
dalvik/vm/native/java_lang_reflect_Method.c:179
  000139b8  dalvik_mterp
dalvik/vm/mterp/out/InterpAsm-armv7-a.S:9381
  00019338  dvmMterpStd
dalvik/vm/mterp/Mterp.c:107
  00018804  dvmInterpret
dalvik/vm/interp/Interp.c:987
  0004eed0  dvmCallMethodV
dalvik/vm/interp/Stack.c:534
  0004eef8  dvmCallMethod
dalvik/vm/interp/Stack.c:435
  0005c478  processEncodedAnnotation
dalvik/vm/reflect/Annotation.c:856
  v--  processAnnotationSet
dalvik/vm/reflect/Annotation.c:922
  0005d116  processAnnotationSet.clone.1
dalvik/vm/reflect/Annotation.c:922
  0005d198  dvmGetFieldAnnotations
dalvik/vm/reflect/Annotation.c:1941
  000568da  Dalvik_java_lang_reflect_Field_getDeclaredAnnotations
dalvik/vm/native/java_lang_reflect_Field.c:377
  000139b8  dalvik_mterp
dalvik/vm/mterp/out/InterpAsm-armv7-a.S:9381
  00019338  dvmMterpStd
dalvik/vm/mterp/Mterp.c:107
  00018804  dvmInterpret
dalvik/vm/interp/Interp.c:987
  0004eba6  dvmInvokeMethod
dalvik/vm/interp/Stack.c:750
  00056dc4  Dalvik_java_lang_reflect_Method_invokeNative
dalvik/vm/native/java_lang_reflect_Method.c:101
  000139b8  dalvik_mterp
dalvik/vm/mterp/out/InterpAsm-armv7-a.S:9381
  00019338  dvmMterpStd
dalvik/vm/mterp/Mterp.c:107
  00018804  dvmInterpret
dalvik/vm/interp/Interp.c:987
  0004eed0  dvmCallMethodV
dalvik/vm/interp/Stack.c:534
  0003afbe  CallStaticVoidMethodV
dalvik/vm/Jni.c:2681
  00027f58  _JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)
dalvik/libnativehelper/include/nativehelper/jni.h:778
  00028cc4  android::AndroidRuntime::start(char const*, bool)
frameworks/base/core/jni/AndroidRuntime.cpp:948
  8cd8  main
frameworks/base/cmds/app_process/app_main.cpp:159
  c228  __libc_init
bionic/libc/bionic/libc_init_dynamic.c:105

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en