#41 10.3.1 does not work on Solaris

closed-fixed
nobody
None
5
2003-03-04
2003-03-04
No

bogofilter 0.10.3.1, Solaris 7/SPARC, BerkeleyDB 3.3.11.
bogofilter hangs/loops infinitely. truss excerpt below.

open("/usr/share/lib/zoneinfo/Eire", O_RDONLY) = 3
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0".., 8192) = 1267
close(3) = 0
open("/usr/local/etc/bogofilter.cf", O_RDONLY) Err#2
ENOENT
getuid() = 640 [640]
open64("/etc/.name_service_door", O_RDONLY) = 3
fcntl(3, F_SETFD, 0x00000001) = 0
door_info(3, 0xFF23C668) = 0
door_call(3, 0xFFBEF040) = 0
open("/user/lhecking/.bogofilter.cf", O_RDONLY) Err#2
ENOENT
stat("/user/lhecking/.bogofilter", 0xFFBEF270) = 0
brk(0x0006C330) = 0
brk(0x0006E330) = 0
getpid() = 2743
[2742]
open64("/user/lhecking/.bogofilter/goodlist.db",
O_RDONLY) = 4
fcntl(4, F_SETFD, 0x00000001) = 0
fstat64(4, 0xFFBEF258) = 0
llseek(4, 0, SEEK_SET) = 0
read(4, "\0\0\0\0\0\0\001\0\0\0\0".., 256) = 256
close(4) = 0
stat64("/var/tmp", 0xFFBEE918) = 0
brk(0x0006E330) = 0
brk(0x00070330) = 0
brk(0x00070330) = 0
brk(0x000B2330) = 0
open64("/user/lhecking/.bogofilter/goodlist.db",
O_RDONLY) = 4
fcntl(4, F_SETFD, 0x00000001) = 0
fstat64(4, 0xFFBEF2B0) = 0
mmap64(0x00000000, 7520256, PROT_READ, MAP_PRIVATE, 4,
0) = 0xFE800000
fcntl(4, F_SETLK, 0xFFBEF6AC) Err#11
EAGAIN
munmap(0xFE800000, 7520256) = 0
close(4) = 0
poll(0xFFBEF698, 0, 1833) (sleeping...)
poll(0xFFBEF698, 0, 1833) = 0
getpid() = 2743
[2742]
open64("/user/lhecking/.bogofilter/spamlist.db",
O_RDONLY) = 4
fcntl(4, F_SETFD, 0x00000001) = 0
fstat64(4, 0xFFBEF258) = 0
llseek(4, 0, SEEK_SET) = 0
read(4, "\0\0\0\0\0\0\001\0\0\0\0".., 256) = 256
close(4) = 0
stat64("/var/tmp", 0xFFBEE918) = 0
open64("/user/lhecking/.bogofilter/spamlist.db",
O_RDONLY) = 4
fcntl(4, F_SETFD, 0x00000001) = 0
fstat64(4, 0xFFBEF2B0) = 0
mmap64(0x00000000, 5357568, PROT_READ, MAP_PRIVATE, 4,
0) = 0xFEC00000
fcntl(4, F_SETLK, 0xFFBEF6AC) Err#11
EAGAIN
munmap(0xFEC00000, 5357568) = 0
close(4) = 0
poll(0xFFBEF698, 0, 791) = 0
getpid() = 2743
[2742]
open64("/user/lhecking/.bogofilter/goodlist.db",
O_RDONLY) = 4
fcntl(4, F_SETFD, 0x00000001) = 0
fstat64(4, 0xFFBEF258) = 0
llseek(4, 0, SEEK_SET) = 0
read(4, "\0\0\0\0\0\0\001\0\0\0\0".., 256) = 256
close(4) = 0
stat64("/var/tmp", 0xFFBEE918) = 0

Discussion

  • Matthias Andree

    Matthias Andree - 2003-03-04
    • status: open --> closed-fixed
     
  • Matthias Andree

    Matthias Andree - 2003-03-04

    Logged In: YES
    user_id=2788

    mmap and fcntl-locking don't mix on Solaris before Release 8.
    The current CVS version will automatically retry without
    mmap in this case, so consider this fixed in the upcoming
    bogofilter 0.11 version.

     

Log in to post a comment.