delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Mon, 22 Feb 2010 12:35:09 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: segmentation fault in /sbin/init from sysvinit package under 1.7.1 |
Message-ID: | <20100222113509.GS5683@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <7ziq9pzgf5 DOT fsf AT vzell-de DOT de DOT oracle DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <7ziq9pzgf5.fsf@vzell-de.de.oracle.com> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
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 Feb 22 11:57, Dr. Volker Zell wrote: > Hi > > When running the cygwin 1.5 version under 1.7.1 there is a segmentation > violation showing up > > INIT: version 2.86 booting > INIT: Entering runlevel: 3 > INIT: no more processes left in this runlevel > INIT: PANIC: segmentation violation! sleeping for 30 seconds. > INIT: PANIC: segmentation violation! sleeping for 30 seconds. > INIT: PANIC: segmentation violation! sleeping for 30 seconds. > ... > > and the rc.d scripts do not get executed also it seems init is still > running. Recompiling the sysvinit package under 1.7.1 doesn't help. > > I tried to debug the situation and the culprit seems to be line 2075 in > the function call check_init_fifo in init.c: > > main > init_main > check_init_fifo > > > /* Wait for data to appear, _if_ the pipe was opened. */ > if (pipe_fd >= 0) while(!quit) { > > /* Do select, return on EINTR. */ > FD_ZERO(&fds); > FD_SET(pipe_fd, &fds); > tv.tv_sec = 5; > tv.tv_usec = 0; > n = select(pipe_fd + 1, &fds, NULL, NULL, &tv); <----------- 2075 > if (n <= 0) { > if (n == 0 || errno == EINTR) return; > continue; > } > > I'm lost here and would need a little help. init.exe is just one source > code file. init runs fine under 1.5 Can you please try with the latest developer's snapshot? Chris has fixed a few issues with fifos since 1.7.1. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |