From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7299 invoked by alias); 4 Aug 2005 16:17:51 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 5917 invoked by uid 22791); 4 Aug 2005 16:16:29 -0000 Received: from lincl67.zevra.com (HELO admin.antartia.net) (194.88.15.41) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 04 Aug 2005 16:16:29 +0000 Received: (qmail 21815 invoked from network); 4 Aug 2005 16:16:25 -0000 Received: from 116.red-217-127-22.pooles.rima-tde.net (HELO novaelecserver) (217.127.22.116) by lincl67.zevra.com with SMTP; 4 Aug 2005 16:16:25 -0000 From: "Novaelec" To: Subject: RE: Postmaster core dumps Date: Thu, 04 Aug 2005 16:17:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: <20050804131030.GR14783@calimero.vinschen.de> X-SW-Source: 2005-08/txt/msg00141.txt.bz2 Message-ID: <20050804161700.aqnMulabyTKTEBRiDkHuQRy8a90GO5KseoDDUKa58TQ@z> Hi! Well, I'm a newbie in many senses and I can't help you to solve the problem arrived at this point :'( Who made the last version of "cygwin"? Bye! On Aug 3 17:39, Corinna Vinschen wrote: >On Aug 3 17:39, Corinna Vinschen wrote: >> On Aug 3 17:17, Novaelec wrote: >> > Hello Corinna, >> > >> > I think the problem is in cygserver because the bug is related to >semaphores >> > when I use gdb. [...] >> >> Sorry to say that, but to me it looks like a bug in postmaster. Looking >> into the stacktrace printed when the SEGV occurs, I'm getting this: >> >> $ addr2line -e /bin/cygwin1.dll 610D6127 610028FE 610173A9 61017A6E >61017D1F 6109E76C 610942FF >> /home/corinna/src/cygwin/vanilla/newlib/libc/machine/i386/memset.S:45 >> /home/corinna/src/cygwin/vanilla/winsup/cygwin/cygheap.cc:331 >> /home/corinna/src/cygwin/vanilla/winsup/cygwin/dtable.cc:375 >> /home/corinna/src/cygwin/vanilla/winsup/cygwin/dtable.cc:486 >> /home/corinna/src/cygwin/vanilla/winsup/cygwin/dtable.cc:532 >> /home/corinna/src/cygwin/vanilla/winsup/cygwin/syscalls.cc:127 >> >> This is the stacktrace of a dup() call on the tty slave descriptor. It >> looks like a heap corruption to me. It has certainly nothing to do with >> semaphores. > >FYI, I tracked the problem down to a point that I can savely say, >it's neither a bug in postgresql, nor in cygserver. It has nothing >to do with semaphores. As noted above, it's a heap problem, but >it's entirely inside Cygwin. Unfortunately I have no fix so far. >For the curious, it's reproducible with > > int fd; > for (;;) > fd = dup (0); > > >Corinna -- 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/