scantool icon indicating copy to clipboard operation
scantool copied to clipboard

Crashes on launch in terminal

Open CaptainMorgan12 opened this issue 3 years ago • 0 comments

Environment: deb arm64 mobile, phosh 0.17.0-1pureos1, scantool 2.1.

Terminal Output: `Downloads$ scantool Wed Apr 20 11:39:44 2022 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 XIO: fatal IO error 0 (Success) on X server ":0" after 77 requests (77 known processed) with 0 events remaining. `
(gdb) run Starting program: /usr/bin/scantool --debug [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1". Wed Apr 20 12:01:43 2022 Version: 2.1 for POSIX

Initializing All Modules...

Initializing Allegro... [New Thread 0xfffff78431e0 (LWP 39498)] OK Installing Timers... [New Thread 0xfffff70421e0 (LWP 39501)] OK Installing Keyboard... OK Installing Mouse... OK Loading Preferences... OK Trying Windowed Graphics Mode... OK Loading Data File... OK XIO: fatal IO error 0 (Success) on X server ":0" after 79 requests (79 known processed) with 0 events remaining. [Thread 0xfffff70421e0 (LWP 39501) exited] [Thread 0xfffff78431e0 (LWP 39498) exited] [Inferior 1 (process 39494) exited with code 01] (gdb)

workaround delete scantool configuration file.

#12 helped and file removal launched UI, but crashed during UI navigation with:

~/Downloads$ scantoolWed Apr 20 12:08:05 2022 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 COM0... Error!

Displaying Main Menu...

XIO: fatal IO error 0 (Success) on X server ":0"
after 10213 requests (10213 known processed) with 0 events remaining.


Steps to repeat

  1. launch scantool
  2. select ignore for port selection
  3. select test button
  4. select other menue buttons keep selecting ignore on port selection popup

CaptainMorgan12 avatar Apr 20 '22 18:04 CaptainMorgan12