Large files support on FreeBSD

Julien ÉLIE julien at trigofacile.com
Sun Mar 22 11:56:42 UTC 2009


Hi Russ,

> I have a hard time seeing how a segfault on that particular line could be
> INN's fault, but I suppose I must be missing something.

It case it could be of help, the following tests fail *without* large files
support:

overview/api............MISSED 49-75 (killed by signal 10, core dumped)
overview/buffindexed....MISSED 1-21 (exit status 1)
util/inndf..............MISSED 5-6 (exit status 1)

All of them because of an error similar to this one:

    cant create shared memory segment: Function not implemented
    buffindexed: ovinitdisks: cant create shmem for ov-tmp/buffer len 16384: Function not implemented
    Opening the overview database failed, cannot continue
    Bus error: 10 (core dumped)

inndf calls makehistory which fails similarly.


I also see that:

lib/strerror............FAILED 2

-bash-2.05b$ ./strerror.t
5
ok 1
not ok 2
  wanted: Unknown error: 0
    seen: Undefined error: 0
ok 3
ok 4
ok 5

I do not know whether it is important to fix.  (And how?)


All these tests are done on FreeBSD 6.3-STABLE (thanks to Kai Gallasch).




Now, if I enable large files support, the same tests fail.  But also
artparse and makehistory.  They do not even begin:

-bash-2.05b$ ./artparse.t
360
Segmentation fault: 11 (core dumped)


-- 
Julien ÉLIE

« -- J'ai horreur de tirer des chefs sans provisions !
  -- Et moi, je ne peux pas encaisser les chefs aux porteurs. » (Astérix) 




More information about the inn-workers mailing list