[liblouis-liblouisxml] Re: lou_translate causes access violation with pass1Only mode

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 1 Aug 2012 12:52:23 -0500

I'm looking at this bug. However, you may not need pass1only now, since 
the problem with inaccurate outPos has been fixed by the people in 
Switzerland.

John

On Wed, Aug 01, 2012 at 06:51:30PM +1000, James Teh wrote:
> Hi all,
> 
> With liblouis trunk, calling lou_translate with the pass1Only mode 
> causes an access violation. This works fine in liblouis 2.4.1. In Python 
> syntax:
> louis.translate(["louis/tables/en-us-comp8.ctb"], u"a", 
> mode=louis.pass1Only)
> It is failing in at line 356 of lou_translateString.c in 
> for_updatePositions:
> >                outputPositions[srcMapping[src + k]] = dest;
> 
> I haven't been able to figure out how to use windbg properly to 
> interrogate the various global variables. I suspect this is something to 
> do with srcMapping, as that code has been changed somewhat since 2.4.1.
> 
> Any ideas?
> 
> Jamie
> 
> -- 
> James Teh
> Director, NV Access Limited
> Email: jamie@xxxxxxxxxxxx
> Web site: http://www.nvaccess.org/
> Phone: +61 7 5667 8372
> For a description of the software, to download it and links to
> project pages go to http://www.abilitiessoft.com

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities

For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: