X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <BLU113-W2449DB0BF1E75F2E2CBB3FBEBC0@phx.gbl>
From: Mike Marchywka <marchywka@hotmail.com>
To: <cygwin@cygwin.com>
Subject: RE: MS or cygwin dll debug tools/ was  "sys/sockio.h" etc.
Date: Wed, 28 May 2008 17:00:14 -0400
In-Reply-To: <483DB6E0.53C6EED0@dessent.net>
References: <17275355.post@talk.nabble.com> <17290164.post@talk.nabble.com>      <4830F08D.6040505@cygwin.com> <17345729.post@talk.nabble.com>      <4833813A.7B6F7FAF@dessent.net> <17405074.post@talk.nabble.com>      <483583EE.8030605@cygwin.com>    <BLU113-W4491CD4A8C42B16C2A9FB9BEC60@phx.gbl>      <00e501c8bc1e$a44d0190$2708a8c0@CAM.ARTIMI.COM>      <BLU113-W102F782BB5AAB04B62F71BBEC60@phx.gbl>      <20080523000735.GA23793@ednor.casa.cgf.cx>     <BLU113-W20BC0AE5970EA19F944347BEC20@phx.gbl>    <483BBE3D.EDF663D3@dessent.net>   <BLU113-W146D9A038F045D262DEF5CBEBD0@phx.gbl>   <BLU113-W34F5DCFDEEB319379AAAD4BEBC0@phx.gbl>   <483D7849.5010505@sbcglobal.net> <483D7C01.EAE5ADA1@dessent.net>  <BLU113-W49565CFCD21C93AC4B35C5BEBC0@phx.gbl> <483DB6E0.53C6EED0@dessent.net>
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m4SL0p4b008588


> a native command prompt (not bash) you will see a dialog box explaining
> the fault since the "SetErrorMode (SEM_FAILCRITICALERRORS)" stuff won't
> be active.
>

I think I mentioned the windoze invokation before and got the definitive " The app failed to initialize ..."
meesage. I didn't know about strace, let me see if I can expand on this,

$ strace a.exe
--- Process 1380, exception C0000005 at 77F84E71
--- Process 1380, exception C0000005 at 77FAC57C




Mike Marchywka
586 Saint James Walk
Marietta GA 30067-7165
404-788-1216 (C)<- leave message
989-348-4796 (P)<- emergency only
marchywka@hotmail.com
Note: If I am asking for free stuff, I normally use for hobby/non-profit
information but may use in investment forums, public and private.
Please indicate any concerns if applicable.
Note: Hotmail is possibly blocking my mom's entire
ISP - try  me on marchywka@yahoo.com if no reply
here. Thanks.


> Date: Wed, 28 May 2008 12:47:44 -0700
> From: brian@dessent.net
> To: marchywka@hotmail.com
> CC: cygwin@cygwin.com
> Subject: Re: MS or cygwin dll debug tools/ was "sys/sockio.h" etc.
>
> Mike Marchywka wrote:
>
>> (gdb) b *0x0401000
>> Breakpoint 1 at 0x401000
>> (gdb) run
>> Starting program: /cygdrive/e/new/temp/nmap/src3/nmap-4.62/a.exe
>>
>> Program received signal SIGSEGV, Segmentation fault.
>>
>> Program received signal SIGSEGV, Segmentation fault.
>>
>> Program received signal SIGSEGV, Segmentation fault.
>>
>> Program exited with code 0200.
>> You can't do that without a process to debug.
>> (gdb)
>
> The fact that it never actually begins execution therefore implies that
> it encounters a fault by the OS loader during process initialization,
> such as the "const data in .rdata needing relocation due to
> auto-imports" situation. I bet that if you invoke it via strace or from
> a native command prompt (not bash) you will see a dialog box explaining
> the fault since the "SetErrorMode (SEM_FAILCRITICALERRORS)" stuff won't
> be active.
>
> Brian
>
> --
> 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/
>

_________________________________________________________________
Keep your kids safer online with Windows Live Family Safety.
http://www.windowslive.com/family_safety/overview.html?ocid=TXT_TAGLM_WL_Refresh_family_safety_052008

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


