Qucs / qucs

Qucs Project official mirror
http://qucs.sourceforge.net/
GNU General Public License v2.0
1.15k stars 213 forks source link

qucs crashed when drag DC simulation into schematic #50

Closed yodalee closed 10 years ago

yodalee commented 10 years ago

This error happen when drag component DC simulation into schematic. qucs will crash immediately. Other component like resistor has no such problem. The seg fault is happen in Qt3List.

guitorri commented 10 years ago

Ouch, my bad. I is probably related with the Qt3 to Qt4 commits I did recently. I am looking into it. So far the traceback looks like:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   org.qucs                        0x0000000100a2c6ae Schematic::insertComponentNodes(Component*, bool) + 558 (schematic_element.cpp:2402)
1   org.qucs                        0x0000000100a2d2e2 Schematic::insertComponent(Component*) + 34 (schematic_element.cpp:2508)
2   org.qucs                        0x0000000100a396b9 MouseActions::MPressElement(Schematic*, QMouseEvent*, float, float) + 281 (mouseactions.cpp:1203)
3   org.qucs                        0x00000001009e4dd4 Schematic::contentsMousePressEvent(QMouseEvent*) + 772 (schematic.cpp:573)
4   Qt3Support                      0x000000010121d03b Q3ScrollView::viewportMousePressEvent(QMouseEvent*) + 107
5   Qt3Support                      0x000000010121e6d6 Q3ScrollView::eventFilter(QObject*, QEvent*) + 678
guitorri commented 10 years ago

Should be fixed now...