rnd-ash / OpenVehicleDiag

A rust based cross-platform ECU diagnostics and car hacking application, utilizing the passthru protocol
GNU General Public License v3.0
784 stars 92 forks source link

[BUG] Application crashes while Scanning for ISO-TP ECUs (Stage 1/2) #25

Open chipsoft opened 3 years ago

chipsoft commented 3 years ago

I try to use "Diagnostic Scanner" mode for VW Tiguan MG1 ECU, but application crashes while Scanning for ISO-TP ECUs (Stage 1/2). I used three J2534 devices: CHIPSOFT J2534 Pro, Openport2, SM2. Application crashes at the same location for all specified adapters. mg1.zip

I attach j2534 log for all of this adapters.

rnd-ash commented 3 years ago

Hmm. I can't see anything in your logs that might be causing an issue. Could you open OVD executable from a CMD / Powershell window, and copy the log text from the command window when OVD crashes?

rnd-ash commented 3 years ago

Hmm. I can't see anything in your logs that might be causing an issue. Could you open OVD executable from a CMD / Powershell window, and copy the log text from the command window when OVD crashes?

chipsoft commented 3 years ago

Here is log:

E:\Users\Dell\Downloads>openvehiclediag_windows.exe thread 'main' panicked at 'assertion failed: (left == right) left: 0, right: -2005270523', C:\Users\Ashcon.cargo\registry\src\github.com-1ecc6299db9ec823\gfx-backend-dx12-0.7.0\src\device.rs:1032:9 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

rnd-ash commented 3 years ago

Interesting. This has nothing to do with OVD, rather the graphics library that drives it.

rnd-ash commented 3 years ago

Can you provide me detailed specifications about your system?

Also, can you run it with RUST_BACKTRACE=1 to get a full stack trace of the crash?

chipsoft commented 3 years ago

E:\Users\Dell\Downloads>openvehiclediag_windows.exe thread 'main' panicked at 'assertion failed: (left == right) left: 0, right: -2005270523', C:\Users\Ashcon.cargo\registry\src\github.com-1ecc6299db9ec823\gfx-backend-dx12-0.7.0\src\device.rs:1032:9 stack backtrace: note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

E:\Users\Dell\Downloads>set RUST_BACKTRACE=full

E:\Users\Dell\Downloads>openvehiclediag_windows.exe thread 'main' panicked at 'assertion failed: (left == right) left: 0, right: -2005270523', C:\Users\Ashcon.cargo\registry\src\github.com-1ecc6299db9ec823\gfx-backend-dx12-0.7.0\src\device.rs:1032:9 stack backtrace: 0: 0xc986c8 -

chipsoft commented 3 years ago

Here is sysinfo info

rnd-ash commented 3 years ago

0: 0xc986c8 -

It appears you cut off part of the backtrace...

chipsoft commented 3 years ago

It appears you cut off part of the backtrace...

No, it's all output, nothing else.