[Ktechlab-devel] Some work on ktechlab

Julian Bäume julian at svg4all.de
Thu Feb 21 23:19:30 UTC 2008


Hey there,
since my lectures are finished now, I decided to take some time and do some 
work on ktechlab. It's been quite a long time without any activity on the 
list.
Since the last stuff I worked on, what the autotools system, I decided to have 
a closer look and do a step forward to get closer to the "Ported to 
KDE4"-Task. I removed everything from the source tree that was needed by the 
autotools and added cmake support. I'm not finished with that yet, because I 
encountered some (I hope minor) problems. I haven't done the gpsim stuff very 
carefully till now. It works for my, but I expect problems for other setups 
than mine.. ;) Anyway, my largest problem is, that I get a reproducable crash 
now when creating a new Circuit or FlowCode. Here is the trace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5c456d0 (LWP 30535)]
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0xb7ceaa27 in QCanvas::qt_invoke () from /usr/qt/3/lib/libqt-mt.so.3
#2  0x081f1079 in Canvas::qt_invoke (this=0x8622ef0, _id=3, _o=0xbfad065c) 
at /home/jb/code/cpp/ktechlab/branches/ktechlab-0.3.6cmake/build/src/itemdocument.moc:278
#3  0xb789ffa0 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#4  0xb78a0d83 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#5  0xb7ca784c in QTimer::timeout () from /usr/qt/3/lib/libqt-mt.so.3
#6  0xb78ce4e4 in QTimer::event () from /usr/qt/3/lib/libqt-mt.so.3
#7  0xb78280bb in QApplication::internalNotify () 
from /usr/qt/3/lib/libqt-mt.so.3
#8  0xb782a03e in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#9  0xb7395222 in KApplication::notify () 
from /usr/kde/3.5/lib/libkdecore.so.4
#10 0x081f0957 in QApplication::sendEvent (receiver=0x8627aa8, 
event=0xbfad0988) at /usr/qt/3/include/qapplication.h:496
#11 0xb7819356 in QEventLoop::activateTimers () 
from /usr/qt/3/lib/libqt-mt.so.3
#12 0xb77c6a54 in QEventLoop::processEvents () 
from /usr/qt/3/lib/libqt-mt.so.3
#13 0xb7846d94 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#14 0xb7846a92 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3
#15 0xb7829d91 in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3
#16 0x08251895 in main (argc=138070384, argv=0xb66253a2) 
at /home/jb/code/cpp/ktechlab/branches/ktechlab-0.3.6cmake/src/core/main.cpp:56

As you can see this doesn't say much.. I just recompiled Qt with debug symbols 
and I am waiting for kdelibs to finish compiling ATM. I hope I'll get a 
better trace then. I'm not very advanced in debugging cpp software, so I 
guess my work gets on too slow.. ;)

Anyway, I will check, if I get it running tomorrow and will upload my work 
(after some cleanup) into a new branch for testing. Since this is still clean 
KDE3 software, I suggest to merge it into the trunk after some testing.

==== now for something completely different ====

My next step is to play around a bit with the new QGraphics* magic and KDE4's 
plasma engine. I imagine to implement a "circuit debugging/exploring area" 
with the oszi view classes, analog/digital V- and A-meter displays,... I also 
want to get rid of the Canvas class, that should be replaced by a 
QGraphicsView. With QSVG this one is much more flexible than the canvas was 
and it should be even faster.

well that should be enough for now, I'll post again tomorrow evening how I'm 
getting along with the build system.

bye then
julian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 481 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/ktechlab-devel/attachments/20080222/32ef328f/attachment.sig>


More information about the Ktechlab-devel mailing list