crash when dragging component to design sheet

Help
2008-09-29
2013-04-24
  • wernher korff
    wernher korff
    2008-09-29

    Hi there,

    I'm having some problems on a opensuse 11.0 64 bit operating system with the ktechlab RPM supplied by the opensuse repositories. Whenever i drag a component to the circuit design sheet ktechlab crashes. The only component that i have been able to place on the sheet is a PIC, the rest, as far as i have tried, all crash the program. The error message i get is :
    <code>
    [?1034h[Thread debugging using libthread_db enabled]
    [New Thread 0x7f7831b76700 (LWP 21760)]
    [KCrash handler]
    #5  0x00000000005f5504 in Map::reset ()
    #6  0x00000000005f6463 in Matrix::Matrix ()
    #7  0x00000000005f239f in ElementSet::ElementSet ()
    #8  0x00000000005efc43 in Circuit::init ()
    #9  0x00000000004ec77c in CircuitDocument::assignCircuits ()
    #10 0x00000000004ecf98 in CircuitDocument::qt_invoke ()
    #11 0x00007f782ef00f5f in QObject::activate_signal ()
       from /usr/lib/qt3/lib64/libqt-mt.so.3
    #12 0x00007f782ef032d2 in QObject::activate_signal ()
       from /usr/lib/qt3/lib64/libqt-mt.so.3
    #13 0x00007f782ef21745 in QTimer::event ()
       from /usr/lib/qt3/lib64/libqt-mt.so.3
    #14 0x00007f782eea25d5 in QApplication::internalNotify ()
       from /usr/lib/qt3/lib64/libqt-mt.so.3
    #15 0x00007f782eea33ba in QApplication::notify ()
       from /usr/lib/qt3/lib64/libqt-mt.so.3
    #16 0x00007f782fa3b952 in KApplication::notify ()
       from /opt/kde3/lib64/libkdecore.so.4
    #17 0x00007f782ee98e2e in QEventLoop::activateTimers ()
       from /usr/lib/qt3/lib64/libqt-mt.so.3
    #18 0x00007f782ee52f76 in QEventLoop::processEvents ()
       from /usr/lib/qt3/lib64/libqt-mt.so.3
    #19 0x00007f782eeb9096 in QEventLoop::processEvents ()
       from /usr/lib/qt3/lib64/libqt-mt.so.3
    #20 0x00000000004f7da6 in ICNDocument::rerouteInvalidatedConnectors ()
    #21 0x00000000004d88c8 in ItemDocument::qt_invoke ()
    #22 0x00007f782ef00f5f in QObject::activate_signal ()
       from /usr/lib/qt3/lib64/libqt-mt.so.3
    #23 0x00007f782ef032d2 in QObject::activate_signal ()
       from /usr/lib/qt3/lib64/libqt-mt.so.3
    #24 0x00007f782ef21745 in QTimer::event ()
       from /usr/lib/qt3/lib64/libqt-mt.so.3
    #25 0x00007f782eea25d5 in QApplication::internalNotify ()
       from /usr/lib/qt3/lib64/libqt-mt.so.3
    #26 0x00007f782eea33ba in QApplication::notify ()
       from /usr/lib/qt3/lib64/libqt-mt.so.3
    #27 0x00007f782fa3b952 in KApplication::notify ()
       from /opt/kde3/lib64/libkdecore.so.4
    #28 0x00007f782ee98e2e in QEventLoop::activateTimers ()
       from /usr/lib/qt3/lib64/libqt-mt.so.3
    #29 0x00007f782ee52f76 in QEventLoop::processEvents ()
       from /usr/lib/qt3/lib64/libqt-mt.so.3
    #30 0x00007f782eeb9109 in QEventLoop::enterLoop ()
       from /usr/lib/qt3/lib64/libqt-mt.so.3
    #31 0x00007f782eeb8f92 in QEventLoop::exec ()
       from /usr/lib/qt3/lib64/libqt-mt.so.3
    #32 0x000000000069ddbc in main ()
    </code>

    i've tried compiling ktechlab from sources, but here too i get an error:
    <code>
    In file included from btreebase.cpp:24:
    pic14.h: At global scope:
    pic14.h:99: error: extra qualification ‘PIC14::’ on member ‘PIC14’
    make[2]: *** [btreebase.o] Error 1
    make[2]: Leaving directory `/on_ice/programs/linux/sources/EDA/ktechlab-0.3/microbe'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/on_ice/programs/linux/sources/EDA/ktechlab-0.3'
    make: *** [all] Error 2
    </code>

    can someone help me to get ktechlab working

    thanks, kind regards
    wernher

     
    • JasonP
      JasonP
      2008-12-22

      I have ktechlab working in Ubuntu right now, but perhaps i can help. When reading some online posts about KTL, i heard from others that there are a lot of dependency's to satisfy in order to get it up and running in opensuse.

      Regarding compiling, did you get that error upon compilation, or running the program?

      Also, it seems that the majority of your errors in your repository version involve library's from qt. I would try to look at what version of qt you have installed and see if there are other versions such as a developer version that might help with library's.

      Another thing that might help debug, is start ketchlab from a command line and see if any debug messages come up when it crashes. Posting that output might help in figuring out where the problem is.

      Hope this helps, I am sure more qualified programmers could point you to a solution more quickly by looking at those errors, but I'm not seeing much activity in your post. So i figured i would do what i can.

      Good luck,
      Jason