[Freeswitch-users] FreeSwitch - PcoketSphinx Prompt Playback & Recognition Issue...

Moiz Chinoy moizchinoy at gmail.com
Thu Feb 19 04:50:40 PST 2009


Can anyone please help me sort it out.
Below is the call stack when sphinxbase.dll crashes:

sphinxbase.dll!logmath_get_base(logmath_s * lmath=0x00000000)  Line
370 + 0x3 bytes	C
 	sphinxbase.dll!ngram_model_set_init(cmd_ln_s * config=0x01f01068,
ngram_model_s * * models=0x04a9e1dc, char * * names=0x047601ac, const
float * weights=0x00000000, int n_models=1)  Line 140 + 0x12 bytes	C
 	pocketsphinx.dll!ngram_search_init(cmd_ln_s * config=0x01f01068,
acmod_s * acmod=0x035add20, dict_s * dict=0x0373ed08)  Line 209 + 0x19
bytes	C
 	pocketsphinx.dll!ps_reinit(ps_decoder_s * ps=0x03587490, cmd_ln_s *
config=0x01f01068)  Line 179 + 0x17 bytes	C
 	mod_pocketsphinx.dll!pocketsphinx_asr_load_grammar(switch_asr_handle
* ah=0x0365a3a0, const char * grammar=0x036d1428, const char *
path=0x038622b0)  Line 168 + 0x15 bytes	C
 	FreeSwitch.dll!switch_core_asr_load_grammar(switch_asr_handle *
ah=0x0365a3a0, const char * grammar=0x036d1428, const char *
path=0x038622b0)  Line 94 + 0x18 bytes	C
 	FreeSwitch.dll!switch_ivr_detect_speech_load_grammar(switch_core_session
* session=0x0353a308, char * grammar=0x036d1428, char *
path=0x00000000)  Line 1973 + 0x14 bytes	C
 	mod_dptools.dll!detect_speech_function(switch_core_session *
session=0x0353a308, const char * data=0x036fa6b8)  Line 97 + 0x14
bytes	C
 	FreeSwitch.dll!switch_core_session_exec(switch_core_session *
session=0x0353a308, const switch_application_interface *
application_interface=0x01f0c6c8, const char * arg=0x036fa6b8)  Line
1342 + 0x12 bytes	C
 	mod_spidermonkey.dll!session_execute(JSContext * cx=0x035433b0,
JSObject * obj=0x035b0138, unsigned int argc=2, long *
argv=0x03627dd8, long * rval=0x04a9e610)  Line 2232 + 0x16 bytes	C
 	js32.dll!js_Invoke(JSContext * cx=0x035433b0, unsigned int argc=2,
unsigned int flags=0)  Line 1181 + 0x20 bytes	C
 	js32.dll!js_Interpret(JSContext * cx=0x035433b0, unsigned char *
pc=0x03630e56, long * result=0x04a9f014)  Line 3571 + 0xf bytes	C
 	js32.dll!js_Execute(JSContext * cx=0x035433b0, JSObject *
chain=0x035ae7c8, JSScript * script=0x03626fe8, JSStackFrame *
down=0x00000000, unsigned int flags=0, long * result=0x04a9f0e8)  Line
1427 + 0x13 bytes	C
 	js32.dll!JS_ExecuteScript(JSContext * cx=0x035433b0, JSObject *
obj=0x035ae7c8, JSScript * script=0x03626fe8, long * rval=0x04a9f0e8)
Line 4035 + 0x19 bytes	C
 	mod_spidermonkey.dll!eval_some_js(const char * code=0x035421d8,
JSContext * cx=0x035433b0, JSObject * obj=0x035ae7c8, long *
rval=0x04a9f0e8)  Line 103 + 0x15 bytes	C
 	mod_spidermonkey.dll!js_parse_and_execute(switch_core_session *
session=0x0353a308, const char * input_code=0x035421d8, request_obj *
ro=0x00000000)  Line 3582 + 0x1e bytes	C
 	mod_spidermonkey.dll!js_dp_function(switch_core_session *
session=0x0353a308, const char * data=0x035421d8)  Line 3591 + 0xf
bytes	C
 	FreeSwitch.dll!switch_core_session_exec(switch_core_session *
session=0x0353a308, const switch_application_interface *
application_interface=0x020713f0, const char * arg=0x035421d8)  Line
1342 + 0x12 bytes	C
 	FreeSwitch.dll!switch_core_session_execute_application(switch_core_session
* session=0x0353a308, const char * app=0x035421c8, const char *
arg=0x035421d8)  Line 1266	C
 	FreeSwitch.dll!switch_core_standard_on_execute(switch_core_session *
session=0x0353a308)  Line 157 + 0x16 bytes	C
 	FreeSwitch.dll!switch_core_session_run(switch_core_session *
session=0x0353a308)  Line 464 + 0x204 bytes	C
 	FreeSwitch.dll!switch_core_session_thread(apr_thread_t *
thread=0x020778d0, void * obj=0x0353a308)  Line 951	C
 	libapr.dll!dummy_worker(void * opaque=0x020778d0)  Line 80	C
 	msvcr90d.dll!1023dfd3() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for
msvcr90d.dll]
 	msvcr90d.dll!1023df69() 	
 	kernel32.dll!7c80b683() 	


Moiz Chinoy.

On Thu, Feb 19, 2009 at 1:29 PM, Moiz Chinoy <moizchinoy at gmail.com> wrote:
> Can anyone please explain the following fields from pocketsphinx.conf.xml:
>
>    <param name="threshold" value="400"/>
>    <param name="silence-hits" value="25"/>
>    <param name="listen-hits" value="1"/>
>    <param name="auto-reload" value="true"/>
>    <!--<param name="narrowband-model" value="communicator"/>-->
>    <!--<param name="wideband-model" value="wsj1"/>-->
>
> Moiz Chinoy.
>
> On Thu, Feb 19, 2009 at 11:43 AM, Brian West <brian at freeswitch.org> wrote:
>> No clue, I haven't ever seen that behavior on linux.  Maybe you can
>> try to narrow it down and report it on jira.. chances are its a bug in
>> the pocketsphinx libs.
>>
>> /b
>>
>> On Feb 19, 2009, at 1:29 AM, Moiz Chinoy wrote:
>>
>>>
>>> Often in the log I see cryptic characters in the XML part returned by
>>> ASR. Is it silence or nose??
>>> If yes is there any way we can control it?
>>
>>
>> _______________________________________________
>> Freeswitch-users mailing list
>> Freeswitch-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
> --
> Regards,
> Moiz Chinoy.
> Mobile: 055-8527492
>



-- 
Regards,
Moiz Chinoy.
Mobile: 055-8527492




More information about the FreeSWITCH-users mailing list