[BRLTTY] brltty crashing shortly after starting
Dave Mielke
dave at mielke.cc
Tue Dec 1 11:46:15 EST 2015
[quoted lines by Mike Gorse on 2015/12/01 at 09:03 -0500]
>I am trying to test the development version of brltty. When I plug in
>my Brailliant 40, brltty starts up. I'm confused as to what is
>starting brltty, since nothing in /usr/lib/udev/rules.d references it
>(I don't have the udev rules file installed at the moment).
Can you check with ps to see if brltty is already running before you connect
your device?
>brltty starts but attempts to divide by 0 shortly afterwards.
>Backtrace attached
Excellent! Thanks.
Are you also able to capture a debug log? Doing this via the command line may
be difficult if you're not sure what's actually starting brltty/ Perhaps,
however, you could set log-level and log-file in brltty.conf:
log-file /path/to/logfile
log-level debug,brldrv
>(I also don't understand why some values are optimized out, since the build
>log indicates that I'm passing -O0).
How are you passing in -O0? The default build option is -O2.
>It looks as though placeBrailleWindowHorizontally is being called when
>textCount = 0.
Yes. That shouldn't happen, although I guess it is. That's why I'd like to see
if a debug log might offer any hints.
>If I start brltty manually, by typing "brltty" from a shell, then it
>works fine.
Could you also please send a copy of your preferences file?
>Starting brltty via systemctl is not working for me, but I'm unsure if this is
>related to the crash I just mentioned.
Maybe the systemd service unit for brltty hasn't been installed. Do you get any
error messages when you try systemctl start?
--
Dave Mielke | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario | http://Mielke.cc/bible/
EMail: Dave at Mielke.cc | Canada K2A 1H7 | http://FamilyRadio.org/
More information about the BRLTTY
mailing list