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

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Thu, 2 Aug 2012 07:22:35 -0500

Hi Bert,

If you mean the crashing problem in OpenOffice, it's resolved. It was a 
problem on their end. I can't reproduce the bug sith pass1onln in 
lou_debug, butg I suspect there may be a problem with that tool.

John

On Thu, Aug 02, 2012 at 11:19:00AM +0200, Bert Frees wrote:
> Hi Jamie,
> 
> This is probably my fault. I think you're onto the bug that was causing 
> problems for the ViewPlus people. John asked me to look at it but I 
> couldn't spot the bug.
> 
> Bert
> 
> 
> On 08/01/2012 07:52 PM, John J. Boyer wrote:
> >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
> 
> 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: