I'm using ILA with Pocketsphinx in Java and everything is working fine in Windows, but under Linux I can't get the Keyphrase spotting to work :-( Recognition with pre-recorded files is working without problem, grammar/no-grammar works fine but when I switch to keyphrase it crashes giving me this error:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x8aad5820, pid=3039, tid=2325343088
#
# JRE version: Java(TM) SE Runtime Environment (8.0_40-b25) (build 1.8.0_40-b25)
# Java VM: Java HotSpot(TM) Client VM (25.40-b25 mixed mode linux-x86 )
# Problematic frame:
# C [libpocketsphinx.so.3+0x36820] ps_set_search+0x50
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
.
I tried it with three different Linux versions, Ubuntu 14.04 64bit, Debian 32bit (Intel) and Debian for Odroid (ARM 32bit) all giving the same error.
I know it's a bit tricky to find the problem because everything is wrapped in Java but I hope you can help me or you have an idea what might be the problem.
It seems to start with the set_search method for kws. Again in windows everything is fine.
cu,
Florian
Last edit: Florian 2015-04-25
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The version must be around 1-1.5 month old.
Are you using the android version on your desktop java??
I'm using the default version with swig: https://github.com/cmusphinx/pocketsphinx
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm using ILA with Pocketsphinx in Java and everything is working fine in Windows, but under Linux I can't get the Keyphrase spotting to work :-( Recognition with pre-recorded files is working without problem, grammar/no-grammar works fine but when I switch to keyphrase it crashes giving me this error:
.
I tried it with three different Linux versions, Ubuntu 14.04 64bit, Debian 32bit (Intel) and Debian for Odroid (ARM 32bit) all giving the same error.
I know it's a bit tricky to find the problem because everything is wrapped in Java but I hope you can help me or you have an idea what might be the problem.
It seems to start with the set_search method for kws. Again in windows everything is fine.
cu,
Florian
Last edit: Florian 2015-04-25
Here is the complete crashlog
What version of Pocketsphinx are you using? I saw similar errors until I synced to the latest version here: https://github.com/cmusphinx/pocketsphinx-android
The version must be around 1-1.5 month old.
Are you using the android version on your desktop java??
I'm using the default version with swig:
https://github.com/cmusphinx/pocketsphinx