XForms: Core dumps in Input objects (0.87.1)

Steve Lamont (spl@szechuan.ucsd.edu)
Wed, 6 Aug 97 09:57:18 PDT

To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

0.87.1 and 0.87 seem to have some sort of problem in the Input object.
Code that was working okay before is now core dumping on me with a
segmentation fault in the do_keyboard() internal routine:

proteus:spl> gdb xvoxtrace core
[...]
GDB 4.14 (mips-sgi-irix5.3), Copyright 1995 Free Software Foundation, Inc...
Core was generated by `xvoxtrace'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libGL.so...done.
Reading symbols from /usr/lib/libXext.so...done.
Reading symbols from /usr/lib/libX11.so.1...done.
Reading symbols from /usr/lib/libm.so...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libGLcore.so...done.
#0 0x455dc4 in do_keyboard () at forms.c:1430
forms.c:1430: No such file or directory.
(gdb) where
#0 0x455dc4 in do_keyboard () at forms.c:1430
#1 0x4567a0 in do_interaction_step () at forms.c:1710
#2 0x457110 in fl_treat_interaction_events () at forms.c:1950
#3 0x457220 in fl_do_forms () at forms.c:1981
#4 0x435cd4 in do_forms (context_ptr=0x1001ce40) at xvoxtrace.c:295
#5 0x434d28 in main (argc=1, argv=0x7fffaf24) at xvoxtrace.c:44
(gdb)

I've had this happen with forms containing Input objects and also when
I pop a file browser, but not every time. This is happening on a 5.3
SGI Onyx RE^2 linked with the static version of the library.

It is, of course, possible that I'm doing something evil but at this
point, I'm not sure what. The fact that it does not happen reliably
or predictably makes me think that there's some strangeness in event
handling.

spl

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/