pascal@portia.Stanford.EDU (Freeman Pascal) (05/24/91)
I have attempted to compile and use xloadimage (v3.01 and the previous version from export.lcs.mit.edu) only to have it core dump (segmentation error) every time. Everything compiles with only minor warnings but everytime I try to run it it pukes and dies. When I bring it up under gdb and run it, I find the segmentation fault occures just after the declaration for main(). The same error occures weither I use gcc (1.39) or the native C compiler. I'm running on an Integrated Solutions 68K20, using 4.3 BSD (4.0d). The server is my own port of the MIT server (with all 18 patches applied). I'm thinking there something prior to main(), either in the startup code or declarations, that is causing this problem. Although I'm not sure how to verify this. If anyone else has experienced ths problem and/or has a fix for it, please send it to me. I would also be happy to hear any hints or ideas I can try to track down this problem. I'm tired of beating on this one client trying to get it to work. -Freeman -- Freeman P. Pascal IV John 3:16 - For the Lord so loved the world that pascal@gnu.ai.mit.edu He sent his only begotten Son, that pascal@leland.stanford.edu whoever believes in Him should not Jesus is LORD of all. perish but have everlasting life.
mattf@cac.washington.edu (Matthew Freedman) (06/05/91)
In article <1991May24.094545.15152@leland.Stanford.EDU> pascal@portia.Stanford.EDU (Freeman Pascal) writes: > >I have attempted to compile and use xloadimage (v3.01 and the previous version >from export.lcs.mit.edu) only to have it core dump (segmentation error) every >time. Everything compiles with only minor warnings but everytime I try to run >it it pukes and dies. I have been able to use previous versions of xloadimage just fine, but with the new 3.01 version, when I try to run the -onroot option I get.. xloadimage: X Error: BadWindow (invalid Window parameter) on 0x0 XGetWindowAttributes on root failed. I am running on a DecStation 5000/PX, with the R3 server, but I built xloadimage with R4 libraries. Any ideas? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- = Matthew M. Freedman = = U. of Washington Information Systems mattf@cac.washington.edu = = 4545 15th Ave. NE; 4th Floor (206) 543-5593 = = Seattle, WA 98105 = -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
terry@spcvxb.spc.edu (Terry Kennedy, Operations Mgr.) (06/05/91)
In article <1991Jun4.185354.10801@milton.u.washington.edu>, mattf@cac.washington.edu (Matthew Freedman) writes: > I have been able to use previous versions of xloadimage just fine, but > with the new 3.01 version, when I try to run the -onroot option I get.. > > xloadimage: X Error: BadWindow (invalid Window parameter) on 0x0 > XGetWindowAttributes on root failed. It's a typo in the source. The line: getDECRootWindow(disp, scrn); should be getDECRootWindow(disp, root); This is supposedly fixed in the forthcoming 3.02. Terry Kennedy Operations Manager, Academic Computing terry@spcvxa.bitnet St. Peter's College, US terry@spcvxa.spc.edu (201) 915-9381