delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Mark Geisert <mark AT maxrnd DOT com> |
Subject: | Re: Strange crash for application linked to cygwin libraries. |
Date: | Wed, 15 Oct 2008 01:18:17 +0000 (UTC) |
Lines: | 26 |
Message-ID: | <loom.20081015T010321-540@post.gmane.org> |
References: | <d9da72020810141611k334a0b1ds50acbef8183e00dc AT mail DOT gmail DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Loom/3.14 (http://gmane.org/) |
X-IsSubscribed: | yes |
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 |
Peter Ross writes: > I've written an application which does some initialization and then > does a tcp accept. 5 minutes and 20 seconds give or take after doing > the tcp.accept the application aborts with exit code 0. If I > continually send tcp data to this application then the crash doesn't > occur, it is only after 5 minutes and 20 seconds of waiting for I/O. [...] > Here is the complete list of libraries that I use -lodbc32 -lole32 > -lraptor -lxslt -lcurl -lz -lxml2 -ldb -lssl -lcrypto -lexpat > -lwsock32 You haven't supplied the canonical problem report info as requested in... > Problem reports: <http://cygwin.com/problems.html> ...so only WAGs come to mind: Try it without using wsock32. Cygwin has its own implementation of the TCP/IP networking functions and there might be unpleasant mixing of semantics when wsock32 is explicitly linked in. Something else you could try is running the app under strace to see if anything obviously erroneous sticks out. Most helpful of all for debugging this would probably be a <http://cygwin.com/ acronyms/#STC>. ..mark -- 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 |