sha@csl.ncsu.edu (Sasan Ardalan) (12/27/89)
I am experiencing trouble with a program called xdisplay that is used to display images. The program was written in C and uses X11 r3 with the HP widget set. The program was developed, compiled, and successfully run on a microVax but crashes on our DECstation 2100. After using the MIPS debugger, I have found the program to crash within the Create.c file during a call to XtCreateManagedWidget(). This occurs during the creation of a static raster widget. This is frustrating since the crash occurs in an Xt Intrinsics file. I assume the problem is due to an architectural difference in the DECstation. Specifically, the crash occurs at line 463 of Create.c. This is an if statement where members of 2 widget structs are compared. One of them is somehow set erroneously to nil. The problem may be caused/compounded by the fact that these 2 pointers to widgets are *cast* to be pointers to XwStatic- Raster widgets. Sorry I can't be more specific but I don't have the code in front of me. Any help or comments will be appreciated. ------------------------------------------------------------ | Ted Hudacko | | Center for Communication and Signal Processing | | NCSU Department of Electrical and Computer Engineering |