E609: Cscope error: cscope: invlib.c:566: invopen: Assertion `invcntl-aram.sizeblk == sizeof(t_logicalblk)' failed.
Long story short: don't try to use cscope files on a 32 bit machine if they were generated on a 64 bit machine.
E609: Cscope error: cscope: invlib.c:566: invopen: Assertion `invcntl-aram.sizeblk == sizeof(t_logicalblk)' failed.
Long story short: don't try to use cscope files on a 32 bit machine if they were generated on a 64 bit machine.
This is very inconvenient as I have my source on a 64-bit build server and I want to generate a cscope db there, then browse it locally by mapping the filesystem. Do you know any way round this??
15 March 2012 @ 12:31 am
Hi Mike - yes, that's the exact situation I found myself in too. The workaround, for me, was to get a 32-bit version of cscope running on the 64-bit box. Then the file that it generates is the same format on both.
The way I did this on Ubuntu: grab the deb package of the same version of cscope for i386 from, for example, http://packages.ubuntu.com/lucid/cscope, unpack it with "dpkg -x cscope-unpacked" then copy cscope-unpacked/usr/bin/cscope to your ~/bin/cscope.
In theory I guess this is something that could be fixed in cscope source so that the on-disk format is always the same, but I haven't looked further down that avenue.
15 March 2012 @ 8:05 am