Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <42CF24D6.2020602@familiehaase.de> Date: Sat, 09 Jul 2005 03:13:58 +0200 From: "Gerrit P. Haase" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: perl testsuite errors / cygserver not working / apache2 problems References: <42CD8654 DOT 2060903 AT familiehaase DOT de> <42CD8745 DOT 9080205 AT familiehaase DOT de> <42CD90A0 DOT 7080708 AT familiehaase DOT de> <03cf01c58336$cb60ab70$6508a8c0 AT chimaera> <42CE3FD7 DOT 3050109 AT familiehaase DOT de> <1431 DOT 130 DOT 240 DOT 136 DOT 130 DOT 1120826827 DOT squirrel AT pinus DOT tt DOT luth DOT se> <42CE95EB DOT 9040803 AT familiehaase DOT de> <20050708234113 DOT GA3172 AT efn DOT org> In-Reply-To: <20050708234113.GA3172@efn.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Yitzchak Scott-Thoennes wrote: > On Fri, Jul 08, 2005 at 05:04:11PM +0200, Gerrit P. Haase wrote: > >>My WAG is a problem with cygserver. Since apache2 is using it and all >>the other software which works ok doesn't use cygserver. >> >>I also get errors when running the perl-5.8.7 testsuite for the SysV >>extension on this NT4 box: >> >>Failed Test Stat Wstat Total Fail Failed List of >>------------------------------------------------------------------- >>../ext/IPC/SysV/t/ipcsysv.t 1 256 16 32 200.00% 1-16 >>../ext/IPC/SysV/t/msg.t 0 12 ?? ?? % ?? >>../ext/IPC/SysV/t/sem.t 0 12 ?? ?? % ?? >>op/taint.t 0 12 238 178 74.79% 150-238 > > > Looks like a cygserver problem to me. Have you set CYGWIN=server? > Is cygserver actually running? Yes and yes. cygserver starting: $ /usr/sbin/cygserver -d 2>&1 | tee ../log.cygserver cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 677: Set kern.srv.cleanup_threads to 8 cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 677: Set kern.srv.request_threads to 32 cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 677: Set kern.ipc.msgmni to 64 cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 677: Set kern.ipc.semmni to 32 cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_mutex.cc, line 294: Try allocating msgmni (64) + semmni (32) msleep records cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 677: Set kern.ipc.msgseg to 8192 cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 677: Set kern.ipc.msgssz to 32 cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 677: Set kern.ipc.msgmnb to 8192 cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 677: Set kern.ipc.msgmni to 64 cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 677: Set kern.ipc.msgtql to 64 cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 677: Set kern.ipc.semmni to 32 cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 677: Set kern.ipc.semmns to 512 cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 677: Set kern.ipc.semmnu to 64 cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 677: Set kern.ipc.semmsl to 128 cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 677: Set kern.ipc.semopm to 128 cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 677: Set kern.ipc.semume to 32 cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 677: Set kern.ipc.shmmaxpgs to 16384 cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 677: Set kern.ipc.shmmni to 512 cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 677: Set kern.ipc.shmseg to 256 cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/threaded_queue.cc, line 112: starting all queue submission loops cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/threaded_queue.cc, line 112: starting all queue submission loops cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 301: waiting on 2 objects in total (0 processes) running the first failing test: $ ./perl ext/IPC/SysV/t/ipcsysv.t 1..16 ok 1 ok 2 not ok 3 not ok 4 ok 5 ok 6 ok 7 not ok 8 not ok 9 not ok 10 not ok 11 not ok 12 not ok 13 not ok 14 not ok 15 not ok 16 results in this output from cygserver: cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 62: got handle 0x58 for new cache process 551(303) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 78: initialized (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 287: Try hold(551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 287: holding (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/msg.cc, line 84: leaving (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 520: msgget(0x0, 00) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 525: Try locking mutex msq (303) (hold: 0) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 525: Locked mutex msq/1 (303) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 549: need to allocate the msqid_ds cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 568: msqid 0 is available cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 607: Unlocked mutex msq/1 (owner: 303) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 301: waiting on 3 objects in total (1 processes) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 287: Try hold(551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 287: holding (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/msg.cc, line 84: leaving (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 636: call to msgsnd(65536, 0x101C5098, 5, 2048) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 641: Try locking mutex msq (303) (hold: 0) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 641: Locked mutex msq/2 (303) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 670: msgsz=5, msgssz=32, segs_needed=1 cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 748: got all the resources that we need cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 799: allocating segment 0 to message cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 811: Unlocked mutex msq/2 (owner: 303) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 821: Try locking mutex msq (303) (hold: 0) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 821: Locked mutex msq/3 (303) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 852: Unlocked mutex msq/3 (owner: 303) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 863: Try locking mutex msq (303) (hold: 0) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 863: Locked mutex msq/4 (303) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 914: Unlocked mutex msq/4 (owner: 303) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 287: Try hold(551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 287: holding (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/msg.cc, line 84: leaving (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 946: call to msgrcv(65536, 0x101F1E08, 256, 0, 2048) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 960: Try locking mutex msq (303) (hold: 0) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 960: Locked mutex msq/5 (303) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 1123: found a message, msgsz=256, msg_ts=5 cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 1131: Unlocked mutex msq/5 (owner: 303) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 1134: Try locking mutex msq (303) (hold: 0) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 1134: Locked mutex msq/6 (303) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 1159: Unlocked mutex msq/6 (owner: 303) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 1162: Try locking mutex msq (303) (hold: 0) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 1162: Locked mutex msq/7 (303) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_msg.cc, line 1187: Unlocked mutex msq/7 (owner: 303) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 287: Try hold(551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 287: holding (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sem.cc, line 81: leaving (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_sem.cc, line 874: semget(0x0, 10, 01700) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_sem.cc, line 878: Try locking mutex Giant (303) (hold: 0) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_sem.cc, line 878: Locked mutex Giant/1 (303) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_sem.cc, line 905: need to allocate the semid_ds cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_sem.cc, line 929: semid 0 is available cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_sem.cc, line 954: sembase = 0x8C7208, next = 0x8C7280 cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 188: Try enter critical section(0x41C090) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 188: Entered critical section(0x41C090) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 194: Left critical section(0x41C090) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 222: Try enter critical section(0x41C090) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 222: Entered critical section(0x41C090) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 224: Left critical section(0x41C090) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_sem.cc, line 968: Unlocked mutex Giant/1 (owner: 303) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 287: Try hold(551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 287: holding (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sem.cc, line 81: leaving (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_sem.cc, line 579: call to semctl(65536, 0, 2, 0x22ED0C) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 287: Try hold(551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 287: holding (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sem.cc, line 81: leaving (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_sem.cc, line 579: call to semctl(65536, 0, 2, 0x22ED0C) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 287: Try hold(551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 287: holding (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sem.cc, line 81: leaving (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_sem.cc, line 579: call to semctl(65536, 0, 2, 0x22ED0C) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 287: Try hold(551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 287: holding (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sem.cc, line 81: leaving (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_sem.cc, line 579: call to semctl(65536, 0, 2, 0x22ED0C) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 287: Try hold(551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 287: holding (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sem.cc, line 81: leaving (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_sem.cc, line 579: call to semctl(65536, 0, 2, 0x22ED0C) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 287: Try hold(551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 287: holding (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sem.cc, line 81: leaving (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_sem.cc, line 579: call to semctl(65536, 0, 0, 0x22ED0C) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 399: process 551(303) has left the building ($? = 0) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 301: waiting on 2 objects in total (0 processes) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 171: Try hold(551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 171: holding (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 177: leaving (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/process.cc, line 83: deleting (551) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_sem.cc, line 1280: Try locking mutex sem (303) (hold: 0) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_sem.cc, line 1280: Locked mutex sem/1 (303) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/sysv_sem.cc, line 1294: Unlocked mutex sem/1 (owner: 303) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 137: Try locking mutex Giant (303) (hold: 0) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 137: Locked mutex Giant/2 (303) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 104: Try enter critical section(0x41C090) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 104: Entered critical section(0x41C090) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 113: Left critical section(0x41C090) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 140: Unlocked mutex Giant/2 (owner: 303) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 149: Try enter critical section(0x41C090) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 149: Entered critical section(0x41C090) cygserver: /netrel/src/cygwin-1.5.17-1/winsup/cygserver/bsd_helper.cc, line 159: Left critical section(0x41C090) Hitting ctrl-c now doesn't show any more output of cygserver. If cygserver doesn't run I get get this: $ ./perl ext/IPC/SysV/t/ipcsysv.t 1..16 SIGSYS caught. It may be that your kernel does not have SysV IPC configured. Similar with the other two tests. Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/