Debian: Rekall crashes upon adding new link

K G <[email protected]> Sat, 25 Jun 2005 14:15:37 +0200
Newsgroups gmane.comp.db.rekall.devel
Message-ID <[email protected]>
Hi all

Rekall crashes always on my debian installations upon adding a new link.
This happens on a i386, as well as an amd64 installation, with the
debian "testing" distribution. I have tried the debian package, the
debian source package, the tgz from rekallrevealed.org, and the cvs -
all the same behavior. I guess this would mean it is another library...
but which one?

Might this be the same as in the discussion from february? Was there a
solution there?

http://www.totalrekall.co.uk/pipermail/rekall_totalrekall.co.uk/2005-February/000088.html

For your reference, here is the debian bug:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=315598

The debug logs below are from the cvs version (updated today).

Error:

---------------------------

Breakpoint 1, KBFramer::qt_invoke (this=0x967c70, _id=28,
_o=0x7fffffe071c0) at kb_framer.moc:115
(gdb) next
KBObject::newCtrlRect: (632,94,1,1) valid=1
KBNavigator::newNode: (10,10,100,20)

Program received signal SIGSEGV, Segmentation fault.
0x00002aaaab108256 in makeCtrlFromWizard (parent=0x967c70,
query=0x966970, nodeSpec=0xffffffffffffff99, aDict=@0x7fffffe07030,
cancel=@0x7fffffe0701f) at libs/kbase/kb_ctrlwizard.cpp:251
/home/oberon/rekall/rekall-2.3.4/libs/kbase/kb_ctrlwizard.cpp:251:6248:beg:0x2aaaab108256
(gdb) next
0x00002aaaac8ccf30 in KCrash::defaultCrashHandler ()
from /usr/lib/libkdecore.so.4

-------------------------------

I have tried to analyze the problem, and found that

In the file kb_framer.moc
In the function bool KBFramer::qt_invoke( int _id, QUObject* _o )
In line 115

case 5: static_QUType_ptr.set(_o,newNode((int)static_QUType_int.get\
(_o+1))); break;

the id passed to static_QUType_ptr.set is 0xffffff99, which I guess is
false. This will lead to the segfault.

I hope this analysis helps...

Best regards, 

Kurt Gysin