This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 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: Grace (xmgrace) 5.1.12-1 graph program -- building under cygwin -- possibly LessTif bug from 0.93.91 ?


Sorry, I guess you missed the more detailed description, gdb backtraces,
etc? I shouldn't have change the subject to BACKTRACE: 



When certain dialog boxes are opened, including (but not only)
'Plot|Axis properties ...' the program crashes.
Opening some other boxes eg 'Plot|Plot appearance ... ' does not cause
the crash.
Double-clicking the axis causes the crash.

The console in which it was running reports that it got SIGSYS  and says
it may have something to do with the graphic (but I think that is
because the signal numbers are different? GDB says it gets SIGSEGV
segmentation fault)

The back trace with 5-1-12-1 rebuilt with debug (-g) is copied below.
But LessTif seems not to have been build with -g and I am having trouble
building this myself.

The same behaviour occurs with the new 5-1-14 package and the new
LessTif-0-93-91-6 , so my guess that it was the same bug in XGetCValues
that I encountered in November may be totally wrong. 

Which LessTif did you install and get it to work? Did you try opening
some dialog boxes or just start the test routine? The test routine works
because it never opens those dialog boxes. 


--Robert 


Program received signal SIGSEGV, Segmentation fault.
0x10032103 in cygX11-6!XGetGCValues () from /usr/X11R6/bin/cygX11-6.dll
(gdb) bt
#0  0x10032103 in cygX11-6!XGetGCValues () from
/usr/X11R6/bin/cygX11-6.dll 
#1  0x00773946 in cygXm-2!_XmArrowBG_TraitAddCallback ()
   from /usr/X11R6/bin/cygXm-2.dll
#2  0x009f5ecc in cygXt-6!XtSetSensitive () from
/usr/X11R6/bin/cygXt-6.dll 
#3  0x009f64cb in cygXt-6!XtSetValues () from /usr/X11R6/bin/cygXt-6.dll

#4  0x00a09fb8 in cygXt-6!XtVaSetValues () from
/usr/X11R6/bin/cygXt-6.dll 
#5  0x0047f6ab in _fu59___XmStrings () at motifutils.c:734 
#6  0x004aaeae in create_axes_dialog (axisno=-1) at tickwin.c:212 
#7  0x004aa6f2 in create_axes_dialog_cb (data=0x0) at tickwin.c:135 
#8  0x0047fddc in button_int_cb_proc (w=0x1013d098,
client_data=0x1013d500, 
    call_data=0x22f8c0) at motifutils.c:962
#9  0x009d26b3 in cygXt-6!XtCallCallbackList () from
/usr/X11R6/bin/cygXt-6.dll 
#10 0x007d0377 in cygXm-2!XmSetWMProtocolHooks () 
#11 0x00a06f41 in cygXt-6!_XtMatchAtom () from
/usr/X11R6/bin/cygXt-6.dll 
#12 0x00a073e9 in cygXt-6!_XtMatchAtom () from
/usr/X11R6/bin/cygXt-6.dll 
#13 0x00a0797b in cygXt-6!_XtTranslateEvent () from
/usr/X11R6/bin/cygXt-6.dll 
#14 0x009e0165 in cygXt-6!XtDispatchEventToWidget ()
   from /usr/X11R6/bin/cygXt-6.dll
#15 0x009e0c6f in cygXt-6!_XtOnGrabList () from
/usr/X11R6/bin/cygXt-6.dll
#16 0x009e0ebf in cygXt-6!XtDispatchEvent () from
/usr/X11R6/bin/cygXt-6.dll 
#17 0x009e13e4 in cygXt-6!XtAppMainLoop () from
/usr/X11R6/bin/cygXt-6.dll 
#18 0x004b7006 in _fu1053__XtShellStrings () at xmgrace.c:1187 #19
0x00403b5f in main (argc=1, argv=0x100f2538) at main.c:717
(gdb) Program received signal SIGSEGV, Segmentation fault.

-----Original Message-----
From: cygwin-xfree-owner@cygwin.com
[mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of Volker Quetschke
Sent: 16 January 2004 15:21
To: cygwin-xfree@cygwin.com
Subject: Re: Grace (xmgrace) 5.1.12-1 graph program -- building under
cygwin -- possibly LessTif bug from 0.93.91 ?


Hi!

> 0.93.91-6 - Nope. doesn't work. Since I had to go looking for a mirror

> with newer updates (mirror.ac.uk doesn't have the  new stuff yet) I 
> also found a newer build of Grace, 5.1.14-1 and the stock install 
> crashes (where the old one did not) The internal help shows it was 
> built with 0.93.91
Yes, I made the package yesterday, and I didn't write an announcement
yet. I could just recreate your "crash", it said "cygXm-2.dll" is
missing. After installing lesstif it works.

I'm sorry for that, I'll report to cygwin-apps now and add the
dependency to the setup.hint file. Besides this small problem xmgrace
seems to work. For me.

> Something I would really like to understand: why should the 5.1.12 
> build with the older LessTif NOT crash when running with the newer 
> LessTif libraries installed? If the bug is in the LessTif function and

> the (shared object? dll?) is the buggy one, shouldn't it crash?
Can you describe what "crash" you are seeing? It doesn't sound like an
alert box saying a dll is missing.

Volker

-- 
If you like my work consider:  http://www.scytek.de/donations.html
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D


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