Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUI appear very briefly then shutdown after ( possibly ) changing the baud rate in the GUI #12

Closed
serpico opened this issue Dec 2, 2021 · 1 comment

Comments

@serpico
Copy link

serpico commented Dec 2, 2021

I might have change the baudrate on the GUI at one point and now when I launch by typing

scantool

I get

Tue Nov 30 04:51:13 2021
Version: 2.1 for POSIX

Initializing All Modules...
---------------------------
Initializing Allegro... OK

Installing Timers... OK
Installing Keyboard... OK
Installing Mouse... OK
Loading Preferences... OK
Trying Windowed Graphics Mode... OK
Loading Data File... OK
Initializing Serial Module... OK
Opening COM4... OK

Displaying Main Menu...
-----------------------
write tty: Erreur d'entrée/sortie
*** buffer overflow detected ***: terminated
Shutting down Allegro due to signal #6
Abandon (core dumped)
arno@arno-ThinkPad-X220:~$ 

I can see the GUI window appear for an instant then disappear, so I can't reverse the setting.

I tried to look for a config file were the values for baud rate and COM port would be written/stored, to no avail

I'd appreciate if you could point towards something.

Xubuntu 21.04
scantool installed from distro repo

@kees
Copy link
Owner

kees commented Dec 2, 2021

The options are stored in $HOME/.scantoolrc. Maybe removing that file will clear the crash?

I suspect this is the same problem is fixed here:
#8

I've applied this patch now and hopefully the distro can update the package soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants