This is the mail archive of the cygwin-apps 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: lesstif


On Fri, 16 Sep 2005, Dave Korn wrote:

> ----Original Message----
> >From: Brian Ford
> >Sent: 15 September 2005 23:20
>
> > I am confused, though.  The crash you presented to me was one of not being
> > able to start nedit at all:
> >
> > Date: Fri, 01 Jul 2005 17:09:32 -0700
> > From: Harold L Hunt
> > To: Brian.Ford
> > Subject: Re: lesstif update request
> >
> > Nope, 0.94.4 doesn't work with nedit:
> >
> > ---------------------------
> > nedit.exe - Application Error
> > ---------------------------
> > The application failed to initialize properly (0xc0000005). Click on OK
> > to terminate the application.
>
>   That was the binutils relocs-in-non-writable-.rodata sections problem,
> wasn't it?

Exactly, and I explained that to Harold in this not-yet-quoted private
message from the thread in July (heavily snipped to be concise):

Date: Tue, 05 Jul 2005 13:11:30 -0700
From: Harold L Hunt
To: Brian Ford
Subject: Re: lesstif update request

> On Fri, 1 Jul 2005, Harold L Hunt wrote:
>
>>The application failed to initialize properly (0xc0000005). Click on OK
>>to terminate the application.
>
> Looks like this could be caused by gcc >= 3.3.3 putting const variables
> containing addresses of imported DLL symbols into .rdata (which then can't
> be magically relocated at run time since they end up in a read only
> section) as discussed here:
>
> http://sources.redhat.com/ml/cygwin/2004-09/msg01101.html
>
> That was a libtool specific example, but I believe the problem is a
> general one.

Yup, that sounds like it describes the problem... and I remember reading
that thread a while back, but I guess I didn't catch the connection.

[end quoted message]

This is exactly why I suspected it was a problem with his binutils or gcc
packages being out-of-date.  It is also why I am so confused about him
saying I need to play around with nedit to make it crash?

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...


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