[BRLTTY] BRLTTY crashes in X
Sebastian Humenda
shumenda at gmx.de
Wed Oct 2 13:13:49 UTC 2024
Hi
when using latest master from today, I get a crash while using Orca in X. The
crash happens sporadic while using Orca with BRLTTY, though I cannot say for
sure whether there is a specific trigger.
I've attached the backtrace. I unfortunately hadn't built with -g, but maybe
the bt is helpful nevertheless. I've rebuild with -g -O2 and will send a full
backtrace once I can trigger the crash again.
If there's anything else I could provide, please let me know.
Unrelated, I ran configure with `CFLAGS=-DDEBUG` and it failed. Maybe this is
irrelevant, but below is the build output for completeness:
Thanks
Sebastian
===
./configure --prefix=/opt/brltty CFLAGS="-DDEBUG -g -O2"
gcc -I. -I. -I./../../../Programs -I../../../Programs -I../../../Headers -I./../../.. -I../../.. -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DHAVE_CONFIG_H -DDEBUG -g -O2 -std=gnu99 -Wall -Werror=format-security -Wno-address-of-packed-member -Wno-stringop-truncation -fPIC '-DDRIVER_NAME=EcoBraille' '-DDRIVER_CODE=ec' '-DDRIVER_COMMENT=""' '-DDRIVER_VERSION="1.00"' '-DDRIVER_DEVELOPERS="Oscar Fernandez <ofa at once.es>"' -c ./braille.c
./braille.c: In function 'brl_construct':
./braille.c:165:3: warning: implicit declaration of function 'lockUmask' [-Wimplicit-function-declaration]
165 | lockUmask();
| ^~~~~~~~~
./braille.c:166:13: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration]
166 | brl_log = open("/tmp/brllog", O_CREAT | O_WRONLY);
| ^~~~
| popen
./braille.c:166:33: error: 'O_CREAT' undeclared (first use in this function)
166 | brl_log = open("/tmp/brllog", O_CREAT | O_WRONLY);
| ^~~~~~~
./braille.c:166:33: note: each undeclared identifier is reported only once for each function it appears in
./braille.c:166:43: error: 'O_WRONLY' undeclared (first use in this function)
166 | brl_log = open("/tmp/brllog", O_CREAT | O_WRONLY);
| ^~~~~~~~
./braille.c:167:3: warning: implicit declaration of function 'unlockUmask' [-Wimplicit-function-declaration]
167 | unlockUmask();
| ^~~~~~~~~~~
./braille.c: In function 'brl_readCommand':
./braille.c:301:9: error: 'type' undeclared (first use in this function)
301 | type, buff[0], buff[1], buff[2], buff[3], buff[4], buff[5], buff[6], buff[7], buff[8], buff[9]);
| ^~~~
make[2]: *** [Makefile:56: braille.o] Error 1
make[2]: Leave directory „/home/humenda/sources/foreign/brltty/Drivers/Braille/EcoBraille“
make[1]: *** [Makefile:1078: braille-drivers] Error 1
make[1]: Leave directory „/home/humenda/sources/foreign/brltty/Programs“
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb.log.xz
Type: application/x-xz
Size: 1304 bytes
Desc: not available
URL: <http://brltty.app/pipermail/brltty/attachments/20241002/64f33da6/attachment.xz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://brltty.app/pipermail/brltty/attachments/20241002/64f33da6/attachment.sig>
More information about the BRLTTY
mailing list