Daemon News Ezine BSD News BSD Mall BSD Support Forum BSD Advocacy BSD Updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

shared memory, perl, FreebSD 6



Hello there,

I have problem using shared memory with perl. I tried p5-IPC-ShareLite:

$ cd /usr/ports/devel/p5-IPC-ShareLite
$ make
$ cd work/IPC-ShareLite-0.09
$ make test

output is:

PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.7 "-Iblib/lib" "-Iblib/arch" test.pl
1..8
ok 1
ok 2
ok 3
not ok 4
ok 5
ok 6
not ok 7
Bad realloc() ignored at blib/lib/IPC/ShareLite.pm line 106.
Bad realloc() ignored at blib/lib/IPC/ShareLite.pm line 106.
Segmentation fault (core dumped)
*** Error code 139

Stop in /usr/ports/devel/p5-IPC-ShareLite/work/IPC-ShareLite-0.09.

then I tried p5-IPC-Cache:

$ cd /usr/ports/devel/p5-IPC-Cache
$ make
$ cd work/IPC-Cache-0.02
$ make test

output is:

PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.7 "-Iblib/lib" "-Iblib/arch" test.pl
1..16
ok 1
Segmentation fault (core dumped)
*** Error code 139

Stop in /usr/ports/devel/p5-IPC-Cache/work/IPC-Cache-0.02.

"make test" for the port p5-IPC-Shareable reports no error. A C/C++ port 
(/usr/ports/devel/mm) "make test" is also ok.
The problem is that my small application is based on IPC-ShareLite, works for 
years in FreeBSD 4 ...

Best regards
  Heiko
-- 
Heiko Weber : heiko(at)wecos.de