This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: setup hangs during postinstall


On Wed, 8 Oct 2003, Hannu E K Nevalainen wrote:

> > From: Christopher Faylor
>
> > On Wed, Oct 08, 2003 at 12:27:22PM -0500, Brian Ford wrote:
> > >Christopher Faylor wrote:
> > >>On Wed, Oct 08, 2003 at 12:49:44PM -0400, Igor Pechtchanski wrote:
> > >>>This is a known bug (as a search of the recent archives would have
> > >>>shown).  People are investigating.  As a short term workaround, you can
> > >>>"mv /etc/postinstal/XFree86-bin-icons.sh{,.done}" and rerun setup.
> > >>
> > >>I sure wish I could duplicate this bug...
> > >>
> > >Well, I can.
> > >
> > >I've got an XP box running a current CVS compiled cygwin DLL,
> > >a current CVS compiled cygpath, and a just downloaded setup stuck
> > >reinstalling XFree86-bin-icons.  I attached gdb to cygpath and got the
> > >following.
> > >
> > >It looks to me like the stack is corrupted, but I'm probably just being
> > >naive.
> >
> > This is unfortunately a standard stack for a frame-pointerless function
> > (probably *WaitForMultipleWindowsEx).  The laborious way to find the
> > caller is to do something like a:
> >
> > x/200x $esp
> >
> > and then look for 0x6100xxxx addresses in the output, decoding them with
> > something like:
> >
> > l *0x61041234
> >
> > There will be some garbage on the stack so some 0x6100xxxx addresses will
> > not be useful.
> >
> > That's the only way I know of to deal with this.  If gcc produced dwarf2
> > output, we could use the CFI to get more accurate information about the
> > stack frame but that's not going to happen anytime soon.
>
>  This is how it looks for me, when I try to follow the description above...
> HTH (not really expecting it to) :-I
>
> This is W2K adv server, SP4+ as I've told before... last and latest of all
> cygwin packages - and setup2.416-1  (updated this evening from rcn.net)

Hannu,

Can you attach to a hanging cygpath process with strace and post the
output?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]