This is the mail archive of the cygwin-apps@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: [PACKAGE UPDATE]: grace-5.1.14-1 - WITHDRAWN


Volker,

Okay then, looks like you need to work with the lesstif-0.93.94-1 'test' package, but I warn you that it doesn't seem to work right and needs to be fixed by someone interested in lesstif before I will ever be able to make it a stable release. You can also test it with 'nedit', which currently crashes on startup. gdb should give you some info about why both of these are crashing, then you can look into fixing the problem in lesstif that is causing this... you might need to work with the lesstif project to do this.

I expect it will take about 20 hours. I'm not a user of lesstif, nor of grace, so I guess I am done here. Like I said, I will just be leaving the lesstif package at 0.93.91 until there happens to be another stable version of lesstif that works on Cygwin.

Harold

Volker Quetschke wrote:

Harold,

Okay, please try downgrading to lesstif-0.93.91-5. A recompile of grace should not be needed. Just try running it with the previous version of lesstif and let me know if this works.


Did that. Both grace 5.1.12 and 5.1.14 (new build versions) still crash.

gdb says:
Program received signal SIGSEGV, Segmentation fault.
0x10032103 in cygX11-6!XGetGCValues () from /usr/X11R6/bin/cygX11-6.dll

Backtrace looks like Roberts.

Volker


I wonder if grace overrides the Xt VendorShell and if that means it will need a fix like Xaw, Xaw3d, and LessTif... I don't even know if an app can override the VendorShell.


Harold

Volker Quetschke wrote:

Harold,

Okay, with this additional info, I suggest rebuilding your 5.1.12 version against the new LessTif libs and on an updated Cygwin installation and see if that build works.




I just did this, using shared libraries. It fails the same way the
5.1.14 version does. (lesstif 0.93.91-6)

Volker


Harold


Volker Quetschke wrote:

Hi Harold,

grace 5.1.14 crashes under certain circumstances. The 5.1.12 version
doesn't! (All libraries linked in static)





OK, this was very confusing, what I meant was that 5.1.12 was linked using static libraries. I'm even not sure if this was really the case, but the executable is 1 meg bigger than the 5.1.14 version and lesstif was not required for the this version to run. Unfortunately cygcheck doesn't give infos about libraries used for grace 5.1.12 at all, propably because it is an old cygwin 1.13.x program.

grace 5.1.14 is using the shared lesstif libraries, I forgot the
dependency to lesstif in the first place, so I know for sure ;-)

Hmm... that could be part of the problem. I do not know that the LessTif static libraries even work anymore after the changes we made to make Xt and LessTif as shared libraries. You should try linking against the shared libs and see if it works as expected.






That's the way it is done.

Volker







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