Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Nov 2005 00:55:20 +0100
From:      Heiko Weber <heiko@wecos.de>
To:        freebsd-perl@freebsd.org
Subject:   shared memory, perl, FreebSD 6
Message-ID:  <200511130055.20371.heiko@wecos.de>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511130055.20371.heiko>