delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/26/13:10:46

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Thu, 26 Feb 2009 19:10:26 +0100
Message-ID: <ee9cc730902261010q5bfe6e84sde4a6008c39640f3@mail.gmail.com>
Subject: Program hangs on startup
From: "jamesmikedupont AT googlemail DOT com" <jamesmikedupont AT googlemail DOT com>
To: cygwin AT cygwin DOT com
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

Hi there,

 I would like to first thank the entire cygwin team for providing such
a great tool that saved me countless times in corporate hell.

Now, I compiled large application that I am working on from another platform
with gcc on cygwin in vista, and I found that it does not even startup properly.

Before I got a smaller version to work, but after I added in more
modules the startup time became terrible.

The program has 500 mb memory footprint, when I looked at the debug it
stopped on the first instruction in main and was running some code.

I am not able to really see what is going on, process explorer says
cygwin1!aclcheck

Otherwise, I have seen it hang in some function that I cannot remember
exactly ascii convert or something and other vista kernel functions.

Basically, I would like to know is this :

1. how can I determine where the application is spending its time, It
is doing something, but it seems to be in a buch of kernel calls.
2. where is my systrace and oprofile for cygwin that will show me the
kernel calls?
3. is there a way to do a trace using gdb on cygwin? I would like to
basically to a "nexti" a million times to see what instructions are
being executed.

please help,

mike

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