|Anonymous | Login | Signup for a new account||2020-10-30 09:32 UTC|
|Main | My View | View Issues | Roadmap | Repositories|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000722||EMStudio||FreeEMS Plugin||public||2012-09-28 04:08||2012-10-03 13:57|
|Target Version||0.0.1||Fixed in Version|
|Summary||0000722: EMStudio crashes on window close during ECU interrogation|
|Description||EMStudio (fa5aaf3-DEV) will segfault in Linux or crash in Windows if the "Form" window is closed during ECU interrogation. |
Of note: Clicking the Cancel button and then closing the window work as intended.
|Steps To Reproduce||Open EMStudio|
Close the window called "Form" using the closebox as it actively reports ECU sync
|Additional Information||GDB pastebin of Linux run: http://pastebin.com/0bZYMRnY [^]|
DeuceEFI was able to reproduce this.
|Tags||No tags attached.|
Fixed in 0a89be8a8042229fe4b7a3aabfb346993a3bd1b9
Problem still exists for me on 0a89be and newer in Ubuntu.
Pastebin: http://pastebin.com/PusAkbzq [^]
Tested as fixed with 0a89be in Windows.
I have tested commit 0a89be8 in Lubuntu 12.04 32bit and it no longer crashes EMStudio upon closing the "Form" window without clicking the "Cancel" button.
I have tested commit 0a89be8 in Windows 7 64bit and it no longer crashes EMStudio up closing the "Form" window without clicking the "Cancel" button...
HOWEVER; the interrogation of the ECU stops at "ECU Build Information" at 25%, the "Get Firmware Version" says OK, the "Get Interface Version" says OK, but the rest of the "Get" items in the lower portion of the "Form" window all say "In progress".
I uninstalled EMStudio and re-installed 3 times with commit 0a89be8 to make sure I wasn't having other issues, but then I installed commit 49de0a1 and it completed the "Form" ECU interrogation without any issue.
Here's the process I go through from fresh repo to segfault:
I'm issuing a reset against the hash (which is likely what's throwing -DEV into the title) usually due to a delay in testing on my part. Let me know if I should approach this differently.
Here's the bt:
kubble:/tmp/emstudio> git reset 0a89be8a8042229fe4b7a3aabfb346993a3bd1b9
Unstaged changes after reset:
Jeff, you need to 'git reset --hard <ref/hash>' or you're just on the same commit as before the reset, but with the hash and -DEV of the one you reset to.
In future, don't reset at all, just 'git checkout hash' and be on it. 'git status' to show that it's all clean, and 'git reset --hard HEAD' to remove changes if it's not, 'git clean -dfx' to remove all build files (and any other non git files, so be VERY careful with it).
Will do and thanks.
Tested as fixed in Ubuntu using hash 0a89be8.
|Copyright © 2000 - 2011 MantisBT Group|