| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4BCBAFF0.9080701@gmail.com> |
| Date: | Mon, 19 Apr 2010 02:20:48 +0100 |
| From: | Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com> |
| User-Agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: 1.7.5: cygwin programs throw STATUS_ACCESS_VIOLATION exceptions |
| References: | <m2r9d1cfe481004181509tb0853403qf8129030c0059f00 AT mail DOT gmail DOT com> |
| In-Reply-To: | <m2r9d1cfe481004181509tb0853403qf8129030c0059f00@mail.gmail.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 |
On 18/04/2010 23:09, Yuval Emek wrote:
> The context of the file xterm.exe.stackdump is:
> Exception: STATUS_ACCESS_VIOLATION at eip=610202F7
> eax=00CE00F8 ebx=61229E44 ecx=7530783F edx=002D20F0 esi=00000000 edi=0022FA14
> ebp=61020A10 esp=0022C7E4 program=C:\cygwin\bin\xterm.exe, pid 4640, thread main
> cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
> Stack trace:
> Frame Function Args
> End of stack trace
$ addr2line --exe cygwin-1.7.5-1/winsup/cygwin/cygwin1.dbg
610202F7
/ext/build/netrel/src/cygwin-1.7.5-1/winsup/cygwin/dll_init.cc:78
71 /* Initialize an individual DLL */
72 int
73 dll::init ()
74 {
75 int ret = 1;
76
77 /* Why didn't we just import this variable? */
78 *(p.envptr) = __cygwin_environ;
79
Ah. Hmm. That certainly does look like it's nothing to do with the DEP or
anything else; either we're missing a null pointer check here, or there's some
reason why that pointer's never supposed to be null at this point in the code
but somehow it is.
cheers,
DaveK
--
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 |