Re: XForms: Nasty pointer bug.

Christopher Sean Hilton (chris@vindaloo.com)
Fri, 29 May 1998 12:38:42 -0400 (EDT)

# To subscribers of the xforms list from Christopher Sean Hilton <chris@vindaloo.com> :

On Fri, 29 May 1998, Steve Lamont wrote:

: # To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :
:
: How it looks to me is that your program (or the library, I suppose)
: has managed to walk on something. I just did a little test program
: which does nothing but load and display a 512x512 Xpm Pixmap and it
: works as expected (SunOS and IRIX).

My program does that exactly. But 15 minutes later when you click to raise
a different form in the same application. Rather than raising the form,
the program dumps core. Gdb and a backtrace reveals that the program was
somewere in the forms library when it happened. I don't think that this
necessarily means that the forms library is at fault. If the debugger did
the right thing I would at least be able to disassemble the code that
caused the core dump. This would allow me to see what value the caused the
violation.

: I think you need to look elsewhere.

That's what I'm trying to do. It's difficult with no tools.

Chris

--
      __o          "All I was trying to do was get home from work."
    _`\<,_           -Rosa Parks
___(*)/_(*)____.___o____..___..o...________ooO..._____________________
Christopher Sean Hilton                    [chris/at/vindaloo/dot/com]

_________________________________________________ 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/