Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!saimiri.primate.wisc.edu!news.doit.wisc.edu!psl.wisc.edu!128.104.200.15!ram From: ram@xor.epi.wisc.edu (Ram Bhamidipaty) Subject: floating exception on netbsd 0.9 using cpicker Message-ID: <RAM.93Sep18194359@xor.epi.wisc.edu> Lines: 45 Sender: news@pslu1.psl.wisc.edu (USENET News System) Organization: Physical Sciences Lab, UW-Madison Date: 19 Sep 1993 00:43:58 GMT I grabbed cpicker from the net and compiled it cleanly, but when I run it I get the following error (it happens after clicking on a window and selecting a color). Has anyone else had this problem or managed to get the program to work? I used gdb to located the exception and it seems to be in a call to one of the X libraries, is there a chance that this could be related to the change in db formats? janis:ram {3} ./cpicker Click on a window to edit its colormap. Floating exception (core dumped) janis:ram {4} The error seems to be here: (gdb) run Starting program: /tools/cpicker/cpicker Click on a window to edit its colormap. Program received signal 8, Floating point exception Reading in symbols for cpicker.c...done. 0x23b7 in doChange (cmd=(Widget) 0xd2000, cdata=(char *) 0x0, position=8.65263e-40) (cpicker.c line 448) The line in question is this: 444 doChange(cmd, cdata, position) 445 Widget cmd; 446 caddr_t cdata; 447 float position; 448 { 449 saveCurrent(); 450 } 389 saveCurrent() 390 { 391 current.red = allocated.red; 392 current.green = allocated.green; 393 current.blue = allocated.blue; 394 XStoreColor(XtDisplay(toplevel), cmap, ¤t); 395 } -- -------------- Ram Bhamidipaty use this ->ram@epidat.epi.wisc.edu Department of Preventive Medicine or this->ram%epidat.decnet@macc.wisc.edu University of Wisconsin, Madison Ignore the header. It might be wrong.