[ANN] cygipc-1.07 at CygUtils
Charles Wilson
cwilson@ece.gatech.edu
Sun Sep 17 19:07:00 GMT 2000
"Dr. Volker Zell" wrote:
>
> Hi Charles
>
> ipctest with your new version works well but see below:
>
> >>>>> "Charles" == Charles Wilson <cwilson@ece.gatech.edu> writes:
>
> Charles> You can download source or precompiled packages from:
> Charles> http://cygutils.netpedia.net/V1.1/
>
> Charles> Contrary to my recent habit, this library is static only -- no dll. As
> Charles> always, bug reports and patches welcome.
>
> With the new version I still get
>
> op/taint............. 0 [main] perl 14920 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
> 8544 [main] perl 14920 stackdump: Dumping stack trace to perl.exe.stackdump
> FAILED at test 150
>
> lib/ipc_sysv......... 0 [main] perl 15703 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
> 667 [main] perl 15703 stackdump: Dumping stack trace to perl.exe.stackdump
> FAILED at test 1
>
> when running the perl5.6.0 testsuite.
Works fine here. However, since perl5.6.0 came out before cygwin-1.1.4,
there are a few changes to perl that are necessary before you get a
clean build on newer cygwin kernels. These patches are from Eric Fifer,
and are attached below. My results (note: the #shmget failed & etc in
op/taint are not ipc failures, but taint errors...)
op/taint............# shmget failed:
# shmwrite failed: Identifier removed
# shmctl failed: Identifier removed
FAILED tests 1, 3, 31
Failed 3/151 tests, 98.01% okay (-11 skipped tests: 137 okay, 90.73%)
lib/ipc_sysv........ok, 10/16 skipped: no semctl possible
Failed Test Status Wstat Total Fail Failed List of failed
-------------------------------------------------------------------------------
op/grent.t 1 1 100.00% 1
op/taint.t 151 3 1.99% 1, 3, 31
7 tests and 94 subtests skipped.
Failed 2/236 test scripts, 99.15% okay. 4/11543 subtests failed, 99.97%
okay.
A word of warning: in cygipc, the "IPC_STAT" command is not implemented
for semaphores (probably explains the 10 skipped ipc_sysv tests). If
you call semctl() with cmd argument = IPC_STAT, it returns error ENOSYS.
Perhaps this has bearing on the postgres failures as well?
***************************************
After copying cygwin1.dll into <perl-src>/t/ and re-running perl harness
taint.t I got the following on stdout:
op/taint............ok, 11/151 skipped: various reasons
All tests successful, 11 subtests skipped.
Files=1, Tests=151, 3 wallclock secs ( 0.22 cusr + 0.12 csys = 0.34
CPU)
and this on stderr:
#shmwrite failed: Invalid argument
***************************************
>
> Also postmaster from postgresql-7.0.2 still gives the same errors:
>
> vzell:/gnu/src/perl-5.6.0> postmaster -i
> Creation de Semaphore "Sem" impossible
> IpcSemaphoreCreate: semget failed (Not enough memory) key=5432014, num=16, permission=600
> This type of error is usually caused by an improper
> shared memory or System V IPC semaphore configuration.
> For more information, see the FAQ and platform-specific
> FAQ's in the source directory pgsql/doc or on our
> web site at http://www.postgresql.org .
> FATAL 1: InitProcGlobal: IpcSemaphoreCreate failed
> NOTICE: IpcMemoryDetach: shmdt(0x0x144c0000): Invalid argument
> NOTICE: IpcMemoryDetach: shmdt(0x0x144b0000): Invalid argument
I know nothing about postgresql; can't help you there. Try building
cygipc with -DTRACE defined in the Makefile, and then rebuilding
postgresql with *that* library. Perhaps that will help you track this
down.
--Chuck
perl-patches.tar.gz
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: perl-patches.tar.gz
Type: application/x-gzip
Size: 10863 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20000917/16deaaf4/attachment.bin>
More information about the Cygwin
mailing list