|
From: Durk T. <d.t...@ch...> - 2001-06-14 20:15:47
|
"Curtis L. Olson" wrote: > > 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. > Erik, Martin, and Curt: Thanks for your replies and pointing out the problem? Was the problem I mentioned discussed before? If so, I must have missed it :-<. Regards, Durk |