Hey Folks,
I've got a bug with a new release on the mac that causes the mmio to segfault.
I can work around it by turning off mmio, but I would like to get it working.
The bug is in "mmio_file_t * mmio_file_read(const char *filename)". the fstat
call does not populate buf.st_size correctly, and has an outrageously large
value. then the mmap call blows up. Any thought's on what that could be? the
open and fstat calls return 0, but it doesn't appear to be working correctly.
I'll snoop around more, but thought I'd see if anyone had any feedback.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey Folks,
I've got a bug with a new release on the mac that causes the mmio to segfault.
I can work around it by turning off mmio, but I would like to get it working.
The bug is in "mmio_file_t * mmio_file_read(const char *filename)". the fstat
call does not populate buf.st_size correctly, and has an outrageously large
value. then the mmap call blows up. Any thought's on what that could be? the
open and fstat calls return 0, but it doesn't appear to be working correctly.
I'll snoop around more, but thought I'd see if anyone had any feedback.
This is the following issue
http://bugs.python.org/issue4681
everything is related to off_t in buf vs size_t in mmap. Not sure how to fix
it properly yet though
K, I've just committed the fix for error reporting
http://cmusphinx.svn.sourceforge.net/cmusphinx/?rev=10153&view=rev
Now the issue is what errno value is
Ah, great, thanks for the investigative work. I don't have time at the moment
to grok the issue, but I'll investigate soon!
Brian
Hi Brian, I think I have encountered this problem in my simulator Iphone OS4.
Should i just download the new static libraries to fix this problem?
I'm not sure when a fix will be out, but to work around it add the following
to your config file:
-mmap no