[Flightgear-devel] Re: Intermittent crash on startup w/ plib error message.

2006-03-17 Thread Melchior FRANZ
* Chris Metzler -- Friday 17 March 2006 08:17:
 Melchior FRANZ wrote:
  * Chris Metzler -- Sunday 26 February 2006 06:20:
   } FATAL: PUI: No Live Interface! Forgot to call puInit ?
  
  (free)glut or SDL?
 
 glut.

You are really using unfree-glut on Debian?  :-}
I just asked because plib does different things for glut  sdl in puInit().


 
  Can you post a backtrace?
 
 Apparently not!  (see below)

You can add a simple  *(char *)0 = 0; right before that pui fatal error,
then you should get a bt in any case. (Not necessarily a useful one.)



 (no debugging symbols found)

Not compiled/linked with -g? I'd say that's a prerequisite for debugging.



 FATAL: PUI: No Live Interface! Forgot to call puInit ?

Is this with an antiquated plib? Does it abort before the puInit() call
or after that? (Yes, we are of course calling it -- should be early
enough in the boot process: GUI/gui.cxx:69. Add this line after that

  cerr  \033[31;1mpuInit() called\033[m  endl;

and recompile. When I did this and ran fgfs with --log-level=info, then
I got this:

  Finished command line arguments
  Initializing splash screen
  GeForce FX 5500/AGP/SSE2
  Max texture size = 4096
  Depth buffer bits = 24
  puInit() called---
  Loading Airport Database ...
  Data file version = 810

Can you check that? Ideally also use gdb to step through the init
process and see where it stumbles. (There are front ends that make
this quite comfortable, such as ddd.)

m.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Re: Intermittent crash on startup w/ plib error message.

2006-03-16 Thread Chris Metzler


Sorry for the slow response, I just noticed this.  Bcc'ing you to make
sure you see it as well.


On Mon, 13 Mar 2006 14:58:25 +0100
Melchior FRANZ wrote:

 * Chris Metzler -- Sunday 26 February 2006 06:20:
  One out of three times I start FlightGear, it immediately crashes back
  out to the shell prompt with:
  
  } FATAL: PUI: No Live Interface! Forgot to call puInit ?
 
 (free)glut or SDL?

glut.  I know the conventional wisdom is SDL = better; but I couldn't get
the CVS build to go well with Debian's SDL packages, while I had no problem
at all (and haven't since) with glut.


 Can you post a backtrace?

Apparently not!  (see below)


(gdb) run

Starting program: /home/cmetzler/Projects/FlightGear-0.9/source/src/Main/fgfs 
--fg-root=/home/cmetzler/Projects/FlightGear-0.9/data/ 
--fg-scenery=/home/cmetzler/Projects/FlightGear-0.9/data/Scenery/:/home/cmetzler/Projects/FGScenery/Scenery-0.9.10
 --airport=KADW --aircraft=Bravo --timeofday=noon
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 46912539295008 (LWP 31790)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
FATAL: PUI: No Live Interface! Forgot to call puInit ?


Program exited with code 01.
(gdb) bt
No stack.


-c


-- 
Chris Metzler   [EMAIL PROTECTED]
(remove snip-me. to email)

As a child I understood how to give; I have forgotten this grace since I
have become civilized. - Chief Luther Standing Bear


signature.asc
Description: PGP signature


[Flightgear-devel] Re: Intermittent crash on startup w/ plib error message.

2006-03-13 Thread Melchior FRANZ
* Chris Metzler -- Sunday 26 February 2006 06:20:
 One out of three times I start FlightGear, it immediately crashes back
 out to the shell prompt with:
 
 } FATAL: PUI: No Live Interface! Forgot to call puInit ?

(free)glut or SDL? Can you post a backtrace?

m.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel