This forum is archived, go to the new forum!

This is the old fritzing discussion forum. Search it for valuable information from 2009 to 2015.

Crash in Part Creator

chorca 6 years, 3 months ago

Using the latest SVN compiled with Qt 4.8.4 on Ubuntu 12.12

A reliable crash dealing with pin counts and lists of pins under the "Connectors" heading

Steps to reproduce:

  1. Edit a part (easy to recreate with a simple 8-pin DIP)
  2. Click on "Connectors" tab
  3. Change number of connectors to "1", press tab key
  4. Click on the 'x' to delete the 1 pin from the list.
  5. Change number of connectors to any number other than 0
  6. Segfault

This also happens to be where a second bug exists, though it is more an annoyance than something as bad as a segfault.

  1. Set a part's number of pins to 1
  2. Change the number of pins to 3
  3. Observe the "name" and "description" fields for the new pin 2 read "pin 1"
This also causes issues when fritzing attempts to automatically assign connectors to pins on the image file that is imported. It usually will skip one of the pins (the one misnamed, or out of order).

Jonathan Cohen 6 years, 3 months ago

Hi Chorca,

Thanks for the very clear bug report. I think both bugs are now fixed with the latest SVN check-in.


- j