fritzing / fritzing-app

Fritzing desktop application
http://fritzing.org
Other
3.98k stars 826 forks source link

Crash on Add to Bin #2371

Closed davidperrenoud closed 10 years ago

davidperrenoud commented 10 years ago

From egu...@gmail.com on January 11, 2013 08:17:52

What steps will reproduce the problem? 1. run Fritzing 0.7.11b (2013.01.02.pc)

  1. click Part -> Add to Bin (then either My part or temporary) Fritzing crashes to win7 prompt of program stopped working. What version of Fritzing are you using? On what operating system? Windows 7 64-bit, all updates and service packs installed. Please provide any additional information below. Problem detail popup: Problem signature: Problem Event Name: APPCRASH Application Name: Fritzing.exe Application Version: 0.7.10.0 Application Timestamp: 50e48f54 Fault Module Name: Fritzing.exe Fault Module Version: 0.7.10.0 Fault Module Timestamp: 50e48f54 Exception Code: c0000005 Exception Offset: 000f0880 OS Version: 6.1.7601.2.1.0.768.3 Locale ID: 1033 Additional Information 1: 0a9e Additional Information 2: 0a9e372d3b4ad19135b953a78882e789 Additional Information 3: 0a9e Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Original issue: http://code.google.com/p/fritzing/issues/detail?id=2372

davidperrenoud commented 10 years ago

From irasc...@gmail.com on January 11, 2013 12:59:47

Unable to reproduce the behavior so far. Are there any other details--for example, which part you were trying to add? If you were working with a particular sketch file, could you upload it to the bug report.

Thanks.

davidperrenoud commented 10 years ago

From egu...@gmail.com on January 11, 2013 13:06:01

Hmm, I certainly could be using the UI improperly but I'd assume this is an unhandled exception. Was just clicking through menu items originally looking for bugs.

Installed Fritzing by extracting to a directory, ran Fritzing.exe (MD5: 73FF3BFD6EC0245DED14FD0E4F049CB2) Without doing anything else, I just chose: Part -> Add to Bin -> My Part. And get 'Fritzing has stopped working' - close dialog.

So just did this: 1: run the program (untitled Sketch.fzz - breadboard view (did not click or navigate any other menu or dialog) 2: Click Part menu item then Add to Bin menu item then My Part.

davidperrenoud commented 10 years ago

From irasc...@gmail.com on January 11, 2013 13:22:25

Thanks for clarifying--got the bug now. Among other things, that menu item should be disabled at that point.

Status: Accepted
Owner: irasc...@gmail.com

davidperrenoud commented 10 years ago

From irasc...@gmail.com on January 11, 2013 13:52:23

r6795 . When this option was selected when Fritzing first starts up a certain variable was not yet initialized, leading to a null return which wasn't checked. The crash is now averted by both checking the state of the variable and adding some extra error checking.

Status: Fixed