Re: [Flightgear-devel] segfault on mini-panels

2002-03-21 Thread David Megginson

Jim Wilson writes:

  Here's a backtrace on this.

I've just checked in some minor fixes to props.cxx in SimGear, and
swapping panels (with 's') in FlightGear is working again.  Thanks.

By the way, we need to get rid of the panel_2 property; instead, we
should have panel[0], panel[1], panel[2], etc. and allow 's' to cycle
through the whole list.


All the best,


David

-- 
David Megginson
[EMAIL PROTECTED]


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



Re: [Flightgear-devel] segfault on mini-panels

2002-03-21 Thread Jim Wilson

David Megginson [EMAIL PROTECTED] said:

 Jim Wilson writes:
 
   Here's a backtrace on this.
 
 I've just checked in some minor fixes to props.cxx in SimGear, and
 swapping panels (with 's') in FlightGear is working again.  Thanks.
 
 By the way, we need to get rid of the panel_2 property; instead, we
 should have panel[0], panel[1], panel[2], etc. and allow 's' to cycle
 through the whole list.
 
Is there a method for rotating through a list in the xml?  When I first set 
that up there wasn't any...so it just does a swap from panel2/path to the  
panel/path.  Panel[2] might not be correct.  Perhaps we should have a panel-
current-idx property that defines which branch is active.  This might be a 
useful thing to do with views as well.

Best,

Jim

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



Re: [Flightgear-devel] segfault on mini-panels

2002-03-20 Thread Alex Perry

 When I try to switch to a mini-panel, I always get a segfault (I've
 tested in c172 and c310).  Is anyone else seeing this?  I'm using a
 clean CVS build from yesterday (ie. prior to David's property code
 changes) with no command-line options.  Thanks

It was working for me a couple of days ago; but the viewport window was the
wrong size so that shrinking the panel didn't make much extra scenery visible.

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



Re: [Flightgear-devel] segfault on mini-panels

2002-03-20 Thread Jim Wilson

Here's a backtrace on this.

Best,

Jim

#0  0x82ddfba in SGPropertyNode::clear_value (this=0x9747f90) at props.cxx:464
464 delete _value.string_val;
#1  0x82de8e0 in SGPropertyNode::~SGPropertyNode (this=0x9747f90, __in_chrg=3)
at props.cxx:672
#2  0x806c0e0 in FGComparisonCondition::~FGComparisonCondition (
this=0x95e9850, __in_chrg=3) at fg_props.cxx:1007
#3  0x806b39d in FGAndCondition::~FGAndCondition (this=0x97156c0, __in_chrg=3)
at fg_props.cxx:859
#4  0x806d128 in FGConditional::~FGConditional (this=0x9747f50, __in_chrg=3)
at fg_props.cxx:1163
#5  0x80b4f18 in FGInstrumentLayer::~FGInstrumentLayer (this=0x9747f50,
__in_chrg=3) at panel.cxx:848
#6  0x80b52e1 in FGTexturedLayer::~FGTexturedLayer (this=0x9747f50,
__in_chrg=3) at panel.cxx:939
#7  0x80b4b64 in FGLayeredInstrument::~FGLayeredInstrument (this=0x9747f18,
__in_chrg=3) at panel.cxx:781
#8  0x80b2ac4 in FGPanel::~FGPanel (this=0x8f86838, __in_chrg=3)
at panel.cxx:199
#9  0x80581fc in do_panel_load (arg=0x922c2d0, state=0x922c2c8)
at fg_commands.cxx:209
#10 0x82b5105 in FGBinding::fire (this=0x922c2b0) at input.cxx:138
#11 0x82b551f in FGInput::doKey (this=0x8566300, k=115, modifiers=0, x=301,
y=-10) at input.cxx:246
#12 0x82b7961 in GLUTkey (k=115, x=301, y=-10) at input.cxx:724
#13 0x400822aa in processEventsAndTimeouts () from /usr/X11R6/lib/libglut.so.3


Alex Perry [EMAIL PROTECTED] said:

  When I try to switch to a mini-panel, I always get a segfault (I've
  tested in c172 and c310).  Is anyone else seeing this?  I'm using a
  clean CVS build from yesterday (ie. prior to David's property code
  changes) with no command-line options.  Thanks
 
 It was working for me a couple of days ago; but the viewport window was the
 wrong size so that shrinking the panel didn't make much extra scenery visible.
 
 ___
 Flightgear-devel mailing list
 [EMAIL PROTECTED]
 http://mail.flightgear.org/mailman/listinfo/flightgear-devel
 


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



[Flightgear-devel] segfault on mini-panels

2002-03-19 Thread Cameron Moore

When I try to switch to a mini-panel, I always get a segfault (I've
tested in c172 and c310).  Is anyone else seeing this?  I'm using a
clean CVS build from yesterday (ie. prior to David's property code
changes) with no command-line options.  Thanks
-- 
Cameron Moore
[ Why doesn't glue stick to the inside of the bottle? ]

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



RE: [Flightgear-devel] segfault on mini-panels

2002-03-19 Thread Norman Vine

Cameron Moore writes:

When I try to switch to a mini-panel, I always get a segfault (I've
tested in c172 and c310).  Is anyone else seeing this?  I'm using a
clean CVS build from yesterday (ie. prior to David's property code
changes) with no command-line options.  

Yep :-(

I started getting them after the prop's changed
but I hadn't updated for a day or two

Norman

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel