s1s0 / toped

Cross platform, open source IC layout editor
http://www.toped.org.uk/
GNU General Public License v2.0
15 stars 8 forks source link

hidelayer function crashes when selected polygons belong to not active layer #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If there are selected polygons not in active layer, hidelayer function leads to 
crash of toped.

Original issue reported on code.google.com by gaitukevich.s@gmail.com on 21 Jun 2010 at 2:52

Attachments:

GoogleCodeExporter commented 9 years ago
I can't see it crashing on Linux. The example works even without leakages.

Original comment by krustev....@gmail.com on 28 Jun 2010 at 9:14

GoogleCodeExporter commented 9 years ago
Fixed in r1568. It is rather patched - see the comment in tpdf_props.cpp.
Another interesting point is that once again GCC (or Linux or both) is much 
more tolerant to such kind of bugs - i.e. using the object after it is deleted.
You shall better debug them on Windows.

Original comment by krustev....@gmail.com on 4 Jul 2010 at 12:48

GoogleCodeExporter commented 9 years ago
The previous fix was canceled. It appears to be the same as Issue 49 and a 
proper (hopefully this time) fix was applied to both. See r1569 r1570 r1571.
Also tested on Windows.

Original comment by krustev....@gmail.com on 4 Jul 2010 at 3:58

GoogleCodeExporter commented 9 years ago

Original comment by krustev....@gmail.com on 4 Jul 2010 at 10:40