AaronZhangL / unimrcp

Automatically exported from code.google.com/p/unimrcp
Apache License 2.0
0 stars 0 forks source link

After "Cannot Find Profile by Agent <new>" log, the unimrcpserver crash #74

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. r1544 on Windows
2. unimrcpserver
   => "Failed to Register Profile [uni1]: missing media engine"
   (I don't know why !!!!)
3. unimrpcclient
3.1 run recog uni1
   => "Cannot Find Profile by Agent <new>"
   => Crash in dummy_worker function

Anthony

Original issue reported on code.google.com by amasse.a...@gmail.com on 4 Mar 2010 at 2:42

GoogleCodeExporter commented 9 years ago
Thanks for the catch, Anthony.

I've just fixed it in r1561. The issue was there for ages. BTW, there is 
something
wrong in your configuration, though.

Original comment by achalo...@gmail.com on 4 Mar 2010 at 8:13

GoogleCodeExporter commented 9 years ago
Hi Arsen,

the issue is corrected but I always have my xml parsing issue (default 
unimrcpserver.xml file).

the xml parsing returns "Med" (instead of "Media-Engine-1") for the 
<media-engine> in 
the <mrcpv1-profile> section. If I move the <mrcpv1-profile> section before the 
<mrcpv2-profile> section, the parsing is right !!!!

Regards
Anthony

Original comment by amasse.a...@gmail.com on 5 Mar 2010 at 10:36

GoogleCodeExporter commented 9 years ago
Hi Anthony,

The only thing I suspect now is there can be a hidden symbol inside the text 
which
causes parser to fail. If you upload non-working unimrcpserver.xml, I'll review 
it on
my end.

Regards,
Arsen

Original comment by achalo...@gmail.com on 5 Mar 2010 at 11:31

GoogleCodeExporter commented 9 years ago
I use the unimrcpserver.xml file from svn (I attached it). 

Original comment by amasse.a...@gmail.com on 5 Mar 2010 at 12:52

Attachments:

GoogleCodeExporter commented 9 years ago
I've got just the same since I replaced my local copy with the version you 
uploaded.
The same thing with the svn version.

XML parser is doing really strange things. It splits "Media-Engine-1" string 
into two
parts "Med" and "ia-Engine-1", not sure why? The same is still working on 
Linux...
I should have a few hours off or I might be going crazy now :)

Original comment by achalo...@gmail.com on 5 Mar 2010 at 2:27

GoogleCodeExporter commented 9 years ago
Fixed in r1563.

This was a result of XML file segmentation. I simply increased buffer size for 
now,
but more cleaner solution should be provided later.

Original comment by achalo...@gmail.com on 5 Mar 2010 at 5:27