inn-2.4: makehistory -O -x -F SIGSEGV (Segmentation fault)

Miquel van Smoorenburg list-inn-workers at news.cistron.nl
Fri Apr 6 14:20:34 UTC 2001


If 'usemmap' is 'false' in inn.conf, makehistory -O -x -F crashes
with SEGV. Looks a lot like the problem I reported earlier this
week and that Katshuhiro fixed promptly.

An strace shows that it first opens all my CNFS buffers, and then
after the first pread() it crashes:

$ strace makehistory -O -x -F
[....]
open("/news/disk8/5", O_RDWR)           = 34
fcntl(34, F_GETFD)                      = 0
fcntl(34, F_SETFD, FD_CLOEXEC)          = 0
mmap(NULL, 491520, PROT_READ|PROT_WRITE, MAP_SHARED, 34, 0) = 0x40f5a000
open("/news/disk8/6", O_RDWR)           = 35
fcntl(35, F_GETFD)                      = 0
fcntl(35, F_SETFD, FD_CLOEXEC)          = 0
mmap(NULL, 491520, PROT_READ|PROT_WRITE, MAP_SHARED, 35, 0) = 0x40fd2000
gettimeofday({986566986, 760413}, NULL) = 0
pread(4, "X)2]LO_66QO4", 12, 392221184) = 12
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

Setting 'usemmap' to true seems to fix the problem..

Mike.

-- 
The From: and Reply-To: addresses are internal news2mail gateway addresses.
Reply to the list or to miquels at cistron-office.nl (Miquel van Smoorenburg)


More information about the inn-workers mailing list