bug-oleo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Oleo minor fix and bug report


From: Lorenz Minder
Subject: Oleo minor fix and bug report
Date: Thu, 19 Apr 2001 11:44:43 +0200
User-agent: Mutt/1.2.5i

Hello,

I recently downloaded Oleo (1.99.16) and got it to work after a minor
modification: My libplot doesn't seem to define PL_LIBPLOT_VER_STRING.
Therefore the following change was necessary:

--- src/io-motif.c.orig Tue Apr 10 01:35:42 2001
+++ src/io-motif.c      Thu Apr 19 11:29:33 2001
@@ -6058,7 +6058,15 @@
 #endif
 
 #ifdef HAVE_LIBPLOT
-       sprintf(xbae, "\n  GNU PlotUtils (libplot version %s)", 
""PL_LIBPLOT_VER_STRING);
+#ifdef PL_LIBPLOT_VER_STRING
+       sprintf(xbae, "\n  GNU PlotUtils (libplot version %s)", 
PL_LIBPLOT_VER_STRING);
+#else
+#ifdef LIBPLOT_VERSION
+       sprintf(xbae, "\n  GNU PlotUtils (libplot version %s)", 
LIBPLOT_VERSION);
+#else
+       sprintf(xbae, "\n  GNU PlotUtils");
+#endif
+#endif
        xms1 = xms;
        xms2 = XmStringCreateLtoR(xbae, XmFONTLIST_DEFAULT_TAG);
        xms = XmStringConcat(xms1, xms2);


Another problem which I haven't tracked down: It crashes (in my experience
unconditionally) when selecting `Graph => Define Graph'. Here is a
gdb-transcript:

src$ gdb ./oleo
GNU gdb 19990928
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) run
Starting program: /usr/src/usr-local-src/oleo-1.99.16/src/./oleo 

Program received signal SIGSEGV, Segmentation fault.
0x401b47fa in XtWidgetToApplicationContext () from /usr/X11R6/lib/libXt.so.6
(gdb) where
#0  0x401b47fa in XtWidgetToApplicationContext ()
   from /usr/X11R6/lib/libXt.so.6
#1  0x401baae9 in XtGetValues () from /usr/X11R6/lib/libXt.so.6
#2  0x401dbb8f in XtVaGetValues () from /usr/X11R6/lib/libXt.so.6
#3  0x807e221 in ConfigureGraphReset (f=0x0) at io-motif.c:1108
#4  0x807e59a in ConfigureGraph (w=0x8156968, client=0x0, call=0xbffff820)
    at io-motif.c:1242
#5  0x401ac27d in XtCallCallbackList () from /usr/X11R6/lib/libXt.so.6
#6  0x400c09e2 in _XmPushBCacheCompare () from /usr/X11R6/lib/libXm.so.1
#7  0x400c0e69 in _XmPushBCacheCompare () from /usr/X11R6/lib/libXm.so.1
#8  0x4008b142 in _XmDispatchGadgetInput () from /usr/X11R6/lib/libXm.so.1
#9  0x400d03c1 in _XmMenuBtnUp () from /usr/X11R6/lib/libXm.so.1
#10 0x401d8683 in _XtMatchAtom () from /usr/X11R6/lib/libXt.so.6
#11 0x401d8aeb in _XtMatchAtom () from /usr/X11R6/lib/libXt.so.6
#12 0x401d9004 in _XtTranslateEvent () from /usr/X11R6/lib/libXt.so.6
#13 0x401b6bd5 in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
#14 0x401b74ee in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6
#15 0x401b7738 in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#16 0x401b7b49 in XtAppMainLoop () from /usr/X11R6/lib/libXt.so.6
#17 0x8087b93 in motif_main_loop () at io-motif.c:6116
#18 0x805f2ff in main (argc=1, argv=0xbffffc84) at io-term.c:1254
(gdb) 

Let me know if I can provide more useful information.

Regards,
--Lorenz



reply via email to

[Prev in Thread] Current Thread [Next in Thread]