|
From: Curtis L. O. <cu...@fl...> - 2001-06-14 12:53:32
|
Durk Talsma writes: > There is one additional problem, related to a misconfigured panel, which > I observed yesterday. That is that I got a segmentation fault as soon as > I wanted to switch input focus to the main flightgear window. This > happened to me yesterday and the problem was gone as soon as I updated > my cvs base this morning. I tried to find out where the error happened, > but fgfs didn't generate a core file on this particular occasion. Yes, GUI/mouse.cxx would hand off mouse events to a panel method. But if the panel initially failed to load and the panel pointer was null, then we ended up callin the method with "this = NULL" and thus the crash. I just added a little "if != NULL" check. Curt. -- Curtis Olson Human Factors Research Lab FlightGear Project Twin Cities cu...@hf... cu...@fl... Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org |