[BRLTTY] brlapi writeDots _ abort

tayky tayky33 at gmail.com
Tue Sep 11 20:00:25 EDT 2018


Hello everyone,
I'm having a little trouble with BRLAPI.
And especially with the writeDots () function.

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.
But from time to time I receive this error and brlapi abort my program.
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.

Do you have a idea ?


Thanks in advance

Tayky



More information about the BRLTTY mailing list