delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/11/01/04:59:03

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 1 Nov 2007 10:58:35 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin stable and cvs snapshot - fork() bug
Message-ID: <20071101095835.GG31224@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <C0ED6A2866953E4487135B5DFCFF89A501C04512 AT hmsx21 DOT pnet DOT ch> <4721DFCC DOT 8070100 AT cygwin DOT com> <C0ED6A2866953E4487135B5DFCFF89A501C048D6 AT hmsx21 DOT pnet DOT ch> <20071029083512 DOT GA4224 AT calimero DOT vinschen DOT de> <C0ED6A2866953E4487135B5DFCFF89A501C04A65 AT hmsx21 DOT pnet DOT ch> <4725D656 DOT 5090303 AT cygwin DOT com> <C0ED6A2866953E4487135B5DFCFF89A501C375CD AT hmsx21 DOT pnet DOT ch> <ba40711f0710311126m6ae84f5ci4e7e481869ed63a7 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <ba40711f0710311126m6ae84f5ci4e7e481869ed63a7@mail.gmail.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Oct 31 14:26, Lev Bishop wrote:
> On 10/31/07, michael.vogt wrote:
> >
> >  >>>>   1 [main] mpd 1736 C:\cygwin\home\mpx\mpd-test\mpd.exe:
> > >>>>     *** fatal error - MapViewOfFileEx (0x19030000),
> > >>>>     Win3 2 error 6.  Terminating.
> > >>>>   68 [main] mpd 676 fork: child 1736 - died
> > >>>>     waiting for dll loading, errno 11 problems fork'ing for
> > > daemon!
> > >>>> [...]
> > any news regarding this issue?
> 
> If you want anything like this to be looked at faster, the best thing
> you can do is http://www.cygwin.com/acronyms/#PPAST. Apparently the
> cygwin developers have not so far been interested to download mpd,
> make unspecified changes to the mpd sources to get them to compile
> (the changes you listed on the bug report were not sufficient), and
> then setup the configuration files for mpd, figure out what mpd is
> supposed to do, and THEN debug the problem.
> 
> Here is the STC you neglected to supply:
> 
> $ cat lev.c && gcc -o lev lev.c -Wall -Wextra && CYGWIN=server ./lev
> #include <stdio.h>
> #include <unistd.h>
> #include <sys/shm.h>
> 
> int main(void)
> {
>         int shmid;
>         if ((shmid = shmget(IPC_PRIVATE, 100,IPC_CREAT | 0600 )) < 0 ||
>                 !shmat(shmid, NULL, 0) ||
>                 shmctl(shmid, IPC_RMID, NULL) < 0)
>                 puts("problems with shm!");
>         fork();
> }
> lev.c: In function `main':
> lev.c:13: warning: control reaches end of non-void function
>       3 [main] lev 1924 c:\Documents and
> Settings\Lev\Desktop\mpd-0.13.0\lev.exe: *** fatal error -
> MapViewOfFileEx (0x3E0000), Win32 error 6.  Terminating.
>     124 [main] lev 5076 fork: child 1924 - died waiting for dll
> loading, errno 11

Thanks for the testcase.  I'm surprised that nobody experienced this
problem before.  Sorta holiday here, so I'll look into it next week.


Thanks again,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019