INN 2.4.0 dumps core on Solaris 9

Forrest J. Cavalier III mibsoft at epix.net
Wed Oct 22 15:42:35 UTC 2003


> 
> Hm.  It looks like your overview is seriously toast.  Is there any way
> that I could get a copy of your group.index file so that I can try to make
> tdx-util more robust in the future?  (The mailing list doesn't allow
> attachments, but you could mail it to me directly.)

Recent tradindexed problems I've had to work around, which may be
related:

   ARTNUM must be uint32_t, because sizeof(long) is not always 32.

   sizeof(ino_t) is not the same everywhere.  FreeBSD thinks it is 32,
   but Linux 64.

If group.index was written by a different build of INN, where sizeof(ARTNUM)
changed, I would expect to see exactly those tdx-util problems that Nathan
Coraor reported with tdx-util.

Russ, it may be worth considering adding a "size" member to the group.index
header, for sanity checking on startup.

We don't want to bloat all the entries, but if you added some "dummy" ARTNUM
entries into the group header, you could use the size member to check
compatibility of size and endian-ness of everything.

INN w



More information about the inn-workers mailing list