public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: cygwin@cygwin.com
Subject: Re: Preremove/postinstall scripts fail with snapshot installed
Date: Sat, 12 Feb 2011 14:58:00 -0000	[thread overview]
Message-ID: <4D56A002.2090707@cornell.edu> (raw)
In-Reply-To: <20110212142555.GB5682@calimero.vinschen.de>

On 2/12/2011 9:25 AM, Corinna Vinschen wrote:
> On Feb 11 16:22, Ken Brown wrote:
>> If I run setup.exe with a cygwin snapshot installed, bash crashes
>> while running all preremove and postinstall scripts.  Here's a
>> typical error message in /var/log/setup.log.full:
>>
>> 2011/02/11 15:56:55 running: C:\cygwin\bin\bash.exe --norc
>> --noprofile /etc/preremove/emacs-X11.sh
>>        0 [main] bash 2760 exception::handle: Exception:
>> STATUS_ACCESS_VIOLATION
>>     1739 [main] bash 2760 open_stackdumpfile: Dumping stack trace to
>> bash.exe.stackdump
>
> I'm sorry, but YA "works fine for me", on Windows 7 64 bit.
>
>> Exception: STATUS_ACCESS_VIOLATION at eip=772DA671
>> eax=000000F8 ebx=0089F4C0 ecx=0008EC50 edx=0028B974 esi=000000F8 edi=00000003
>> ebp=0028B97C esp=0028B97C program=C:\cygwin\bin\bash.exe, pid 2712, thread main
>> cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
>> Stack trace:
>> Frame     Function  Args
>> 0028B97C  772DA671  (000000F8, 0089D3A0, 00000000, 0028BA34)
>> 0028B990  772E640D  (0089D3A0, 776E5386, 0028BAFC, 0028BA98)
>> 0028BA34  7731E1DD  (0028BA60, 00000208, 0028BAFC, 00000000)
>> 0028BA68  772DAD80  (0089F4C0, 00000208, 0028BAFC, 00000000)
>> 0028BA84  772FC943  (0089F4C0, 00000208, 0028BAFC, 00000000)
>> 0028BADC  7516C498  (00000001, 00000104, 0028BAFC, 0028BD44)
>> 0028BD08  75170C30  (0028BD3C, 0028BDC8, 00000001, 0028C24C)
>> 0028BD48  751709CB  (0089F298, 00000198, 00000000, 00000001)
>> 0028BD6C  75170964  (0089F298, 00000198, 00000000, 00000080)
>> 0028BFA0  75175C49  (0000019C, 00000198, 0089F298, 00000000)
>> 0028BFF0  75175AFA  (0000019C, 0028C114, 00000000, 0000000A)
>> 0028C680  75171ADC  (00000000, 60FE0018, 60FE0018, 6117974C)
>> 0028C6B8  75161059  (60FE0018, 60FE0018, 6117974C, 6117974C)
>> 0028C788  61066A75  (0028C7B4, 0028C790, 00DC5048, 610722B6)
>> 0028C908  61067368  (000000FF, 0028C938, 0028C934, 004451D9)
>> 0028C948  610C1185  (00DC50F8, 00000000, 00DC3BE0, 000000A0)
>> End of stack trace (more stack frames may be present)
>
> The last Cygwin address in this call stack (61066A75) is an entirely
> harmless line in an entirely harmless function in a piece of code taken
> from FreeBSD.  From there it goes downhill through at least two Windows
> DLLs (all address starting with 7).  The joke is that this last Cygwin
> address in the call stack is practically unable to generate an access
> violation *and* it does not call any Windows function.  I habe no idea
> why that happens, but it tastes a lot like a BLODA problem.

Did you test it with the latest Windows updates installed?  The only 
thing I can think of that changed on the two computers where I have this 
issue is that there was a Windows update the night before the problem 
started.  I might try rolling back the update before I start searching 
for BLODA.

Ken


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

  reply	other threads:[~2011-02-12 14:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-11 21:22 Ken Brown
2011-02-12  0:26 ` Ken Brown
2011-02-12 12:09 ` Achim Gratz
2011-02-12 14:26 ` Corinna Vinschen
2011-02-12 14:58   ` Ken Brown [this message]
2011-02-12 15:31     ` Ken Brown
2011-02-12 16:44       ` Corinna Vinschen
2011-02-12 18:12         ` Corinna Vinschen
2011-02-12 22:05           ` Christopher Faylor
2011-02-13 16:25           ` Corinna Vinschen
2011-02-13 17:20             ` Ken Brown
2011-02-13 23:07               ` Ken Brown
2011-02-14  9:21                 ` Corinna Vinschen
2011-02-14 16:41                   ` Corinna Vinschen
2011-02-15 17:09                     ` Corinna Vinschen
2011-02-15 17:29                       ` Ken Brown
2011-02-13 17:43             ` Andy Koppe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D56A002.2090707@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).