[BRLTTY] brlapi writeDots _ abort

Samuel Thibault samuel.thibault at ens-lyon.org
Tue Sep 11 20:07:59 EDT 2018


Hello,

tayky, le mer. 12 sept. 2018 02:00:25 +0200, a ecrit:
> BrlAPI exception: Unknown instruction on Unknown request of size 40 (20 20
> 20 20 20 20 20 20 20 20 20 20 20 20 20 20)
> You may wish to add the -ldebug option to the brltty command line in order
> to get additional information in the system log
> 
> In case of error the behavior of this function should return a negative
> value and not abort.

The problem is that what is happening here is so bad that it doesn't
even know how to report an error.

> I define an array of characters like this:
> unsigned char dots[x * y]; // x : number of cells and y: nb of line.
> for(size_t i = 0; i < (x * y); ++i)
>     dots[i] = 0x3f; // for print 6 dots.
> 
> And after brlapi_writeDots take my array.

That should just work.  The problem is thus probably not here, but in
(or triggered by) the rest of the program, which you shouldn't have
hidden from our reading ;)

Samuel


More information about the BRLTTY mailing list