On 06/07/09 21:42, P Zoltan wrote: > On Sun, 05 Jul 2009 22:51:01 +0200, Link<l...@penguindevelopment.org> > wrote: > >> On 05/07/09 17:04, P Zoltan wrote: >>> Does this still happen, in rev. 412 ? >>> >>> Tried to reproduce this problem, but after placing practically all >>> components on the circuit, only got a crash due failed assertion, in >>> ElementSet.cpp, line 117. >>> > >> It still happens in rev 415, and I've managed to find the problem: I had >> my logic symbols set to rectangular. When that happens, the method >> MultiInputGate::updateSymbolText() >> (electronics/components/multiinputgate.cpp, line 88) calls the method >> m_bInvertedOutput(), which doesn't appear to be defined. >> >> Using distinctive shapes for logic symbols works. :) >> > > Should be fixed in rev.418. > > The problem was that a virtual function has been called from inside of > the constructor. This way probably the virtual function table has not been > populated yet, so the result was a call to a pure virtual function. > > Please test it. > > Zoltan > > > ------------------------------------------------------------------------------ > _______________________________________________ > Ktechlab-devel mailing list > Ktechlab-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ktechlab-devel
OK, the rectangular logic shapes work. KTL now crashes because of a segfault in math/matrix.h (line 80) though. This happens when adding a fixed voltage source. ------------------------------------------------------------------------------ _______________________________________________ Ktechlab-devel mailing list Ktechlab-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ktechlab-devel