On 2017-12-02 14:59:19, DAM wrote:
Show quoted text> На 23 ноем. 2017, чт 21:15:33, SREZIC написа:
> > 1.26 does not build anymore on my FreeBSD smokers:
> >
> > ...
> > Output from '/usr/perl5.14.4p/bin/perl Makefile.PL':
> >
> > Configuring DBD::Firebird (on freebsd)
> > Use of uninitialized value in subroutine entry at
> > inc/FirebirdMaker.pm
> > line 165.
> > Use of uninitialized value $FB::INC in concatenation (.) or string at
> > inc/FirebirdMaker.pm line 165.
> > open(/ibase.h): No such file or directory at inc/FirebirdMaker.pm
> > line
> > 165.
> > ...
>
> This is fixed in 1.29, but now one of the tests fails.
>
> The stack trace shows firebird aborting with a bugcheck.
>
> This seems to be something with firebird 2.5.6 in FreeBSD
>
> Perhaps we should skip this test on FreeBSD. Too bad there's no
> firebird 3.0 on FreeBSD to try with.
Here's a truss log of 81-event-fork.t from my fbsd10 box. Not sure what's the real problem here --- maybe the failed semctl call?
...
14875: 4.220358174 0.000026819 flock(0x3,0x2) = 0 (0x0)
14875: 4.220391698 0.000012292 stat("/tmp/dbd-fb.N1f1VLfW/fb_lock_4f000000d2600100",{ mode=-rw-rw---- ,inode=90331,size=1048576,blksize=32768 }) = 0 (0x0)
14875: 4.220424384 0.000006705 flock(0x3,0x8) = 0 (0x0)
14875: 4.220457628 0.000006425 __semctl(0x2730000,0x0,0x8,0x7fffffffc298) ERR#22 'Invalid argument'
14875: 4.220517692 0.000013689 openat(AT_FDCWD,"/usr/local/share/firebird/firebird.msg",O_RDONLY,00) = 13 (0xd)
14875: 4.220554009 0.000008660 read(13,"\^A\^A\0\^D\M-0G\^B\0\M-Z/1\^A\^C\0\0\0",16) = 16 (0x10)
14875: 4.220602619 0.000006426 lseek(13,0x247b0,SEEK_SET) = 149424 (0x247b0)
14875: 4.220624968 0.000006984 read(13,"|\M^X\^B\0T\M-s\^A\0\M^?\M^?\M^?\M^?\bG\^B\0",1024) = 16 (0x10)
14875: 4.220664917 0.000005587 lseek(13,0x1f354,SEEK_SET) = 127828 (0x1f354)
14875: 4.220686428 0.000006705 read(13,"\^U\0\0\0\^P\0\0\0*\0\0\0\M-d\^C\0\0>\0\0\0\M-T\a\0\0[\0\0\0\240\v\0\0u\0\0\0\M^P\^O\0\0\M^O\0\0\0x\^S\0\0\M-"\0\0\0h\^W\0\0\M-5\0\0\0P\^[\0\0\M-K\0\0\0L\^_\0\0\M-\\0\0\0@#\0\0\M-m\0\0\0\^X'\0\0\^F\^A\0\0\M-h*\0\0\^Z\^A\0\0\M-@.\0\0000\^A\0\0\M^P2\0\0C\^A\0\0P6\0\0W\^A\0\0D:\0\0l\^A\0\0D>\0\0\M^B\^A\0\0004B\0\0\M^U\^A\0\0\0F\0\0\M-(\^A\0\0\M-`I\0\0\M-6\^A\0\0\M^HM\0\0\M-D\^A\0\0LQ\0\0\M-M\^A\0\0004U\0\0\M-[\^A\0\0004Y\0\0\M-l\^A\0\0\f]\0\0\M-z\^A\0\0\M-\`\0\0\v\^B\0\0\240d\0\0\^^\^B\0\0\M^Lh\0\0001\^B\0\0"...,1024) = 1024 (0x400)
14875: 4.226381845 0.003052623 lseek(13,0x7d4,SEEK_SET) = 2004 (0x7d4)
14875: 4.226415089 0.000008939 read(13,"+\0\0\0\^Z\0\0\0no transaction for requestr ,\0\0\0\^]\0\0\0request synchronization error\0\0\0-\0\0\0*\0\0\0request referenced an unavailable databasedu.\0\0\0+\0\0\0segment buffer length shorter than expectedn/\0\0\0/\0\0\0attempted retrieval of more segments than existe0\0\0\0%\0\0\0attempted invalid operation on a BLOB "@1\0\0\0"\0\0\0attempted read of a new, open BLOBer2\0\0\0,\0\0\0attempted action on BLOB outside transaction3\0\0\0!\0\0\0attempted write to read-only BLOBnde4\0\0\0003\0\0\0attempted r"...,1024) = 1024 (0x400)
14875: 4.227521096 0.000015645 stat("/usr/share/nls/de_DE.ISO8859-1/libc.cat",{ mode=-r--r--r-- ,inode=403568,size=4706,blksize=32768 }) = 0 (0x0)
14875: 4.227575851 0.000015644 open("/usr/share/nls/de_DE.ISO8859-1/libc.cat",O_CLOEXEC,01) = 14 (0xe)
14875: 4.227607978 0.000007263 fstat(14,{ mode=-r--r--r-- ,inode=403568,size=4706,blksize=32768 }) = 0 (0x0)
14875: 4.227653235 0.000010895 mmap(0x0,4706,PROT_READ,MAP_SHARED,14,0x0) = 34368008192 (0x8007e3000)
14875: 4.227678658 0.000009499 close(14) = 0 (0x0)
14875: 4.227717210 0.000015924 munmap(0x8007e3000,4706) = 0 (0x0)
14875: 4.227746264 0.000007263 gettimeofday({ 1512250583.187840 },0x0) = 0 (0x0)
14875: 4.227806607 0.000016203 open("/var/db/firebird/firebird.log",O_WRONLY|O_APPEND|O_CREAT,0666) ERR#13 'Permission denied'
14875: 4.227845718 0.000010616 stat("/usr/share/nls/de_DE.ISO8859-1/libc.cat",{ mode=-r--r--r-- ,inode=403568,size=4706,blksize=32768 }) = 0 (0x0)
14875: 4.227906620 0.000024584 open("/usr/share/nls/de_DE.ISO8859-1/libc.cat",O_CLOEXEC,01) = 14 (0xe)
14875: 4.227929528 0.000005867 fstat(14,{ mode=-r--r--r-- ,inode=403568,size=4706,blksize=32768 }) = 0 (0x0)
14875: 4.227979255 0.000008661 mmap(0x0,4706,PROT_READ,MAP_SHARED,14,0x0) = 34368008192 (0x8007e3000)
14875: 4.228003280 0.000008102 close(14) = 0 (0x0)
14875: 4.228038201 0.000013410 munmap(0x8007e3000,4706) = 0 (0x0)
14875: 4.228110277 0.000037714 open("/tmp/dbd-fb.N1f1VLfW/fb_lock_table.dump",O_WRONLY|O_CREAT|O_TRUNC,0666) = 14 (0xe)
14875: 4.228145756 0.000007263 close(14) = 0 (0x0)
14875: 4.228168385 0.000006984 gettimeofday({ 1512250583.188262 },0x0) = 0 (0x0)
14875: 4.228208893 0.000012013 open("/var/db/firebird/firebird.log",O_WRONLY|O_APPEND|O_CREAT,0666) ERR#13 'Permission denied'
14875: 4.228247445 0.000005867 clock_gettime(13,{ 1512250583.000000000 }) = 0 (0x0)
14875: 4.228324829 0.000009498 socket(PF_LOCAL,SOCK_DGRAM,0) = 14 (0xe)
14875: 4.228361985 0.000030730 fcntl(14,F_SETFD,FD_CLOEXEC) = 0 (0x0)
14875: 4.228411432 0.000013130 connect(14,{ AF_UNIX "/var/run/logpriv" },106) ERR#13 'Permission denied'
14875: 4.228448309 0.000010895 connect(14,{ AF_UNIX "/var/run/log" },106) = 0 (0x0)
14875: 4.228570671 0.000071518 sendto(14,"<27>Dec 2 22:36:23 perl5.18.4: Fatal lock manager error: mutex init failed, errno: 13\n--Zugriff verweigert",107,0x0,NULL,0x0) = 107 (0x6b)
14875: 4.228614810 0.000007263 ioctl(2,0x402c7413 { IOR 0x74('t'), 19, 44 },0xffffb610) = 0 (0x0)
14875: 4.228649731 0.000008102 ioctl(2,0x402c7413 { IOR 0x74('t'), 19, 44 },0xffffb610) = 0 (0x0)
14875: 4.228813718 0.000114819 write(2,"Fatal lock manager error: mutex init failed, errno: 13\n--Zugriff verweigert",75) = 75 (0x4b)
14875: 4.228938315 0.000090794 write(2,"\n",1) = 1 (0x1)
...