| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4721DFCC.8070100@cygwin.com> |
| Date: | Fri, 26 Oct 2007 08:38:36 -0400 |
| From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
| Reply-To: | cygwin AT cygwin DOT com |
| User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070505 Remi/2.0.0.0-3.fc4.remi Thunderbird/2.0.0.0 Mnenhy/0.7.5.0 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: cygwin stable and cvs snapshot - fork() bug |
| References: | <C0ED6A2866953E4487135B5DFCFF89A501C04512 AT hmsx21 DOT pnet DOT ch> |
| In-Reply-To: | <C0ED6A2866953E4487135B5DFCFF89A501C04512@hmsx21.pnet.ch> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.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 |
michael DOT vogt AT post DOT ch wrote:
> I tried to compile mpd for Windows using Cygwin. After adding some
> workarounds (add fake_getaddrinfo.h, check
> http://musicpd.org/mantis/view.php?id=1566) I was able to compile mpd.
> But when I tried to start it, mpd failed:
>
>
> $ ./mpd.exe --stdout --verbose
> binding to any address
> flushing warning messages
> done flushing warning messages
> current locale is "C"
> setting filesystem charset to ISO-8859-1
> setFsCharset: fs charset is: ISO-8859-1
> reading DB
> opening pid file
> 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!
>
> cygserver is running and i did a "$ export CYGWIN=server "
>
> I traced down the error in the file player.c, source:
>
> static int playerInit(void)
> {
> ...
> LOG(" debug playerInit: 10\n");
> pid = player_pid;
> if (pid > 0) {
> kill(pid, SIGCONT);
> pc->wait = 0;
> return 0;
> }
>
> LOG(" debug playerInit: 20\n");
> player_pid = fork(); <<<<<<<<<<< CRASH
> LOG(" debug playerInit: 30 (pid: %i/%i)\n", pid, player_pid);
> blockSignals();
> LOG(" debug playerInit: 31 \n");
> if (player_pid==0)
>
>
> any hints?
Have you eliminated the <http://cygwin.com/acronyms/#BLODA> factor?
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |