Hi there,
I got a problem on pilot list, which crashes fgfs several seconds after the
dialog shows up.
The crash dump and some info on gdb below shows Null pointer assignment
(iter->second = NULL).
This problem happens with fgfs as of June 13th, but doesn't happen with one as
of May 19th,
so some changes between these two dates have something to do with this problem.
I've started investigating on this but not yet reached the real cause.
Does anyone knows anything on this?
FYI, I attached the excerpt cvs logs of FG and SG at the bottom (from May 19th
to June 13th)
----------------------
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x0033bf53 in NewGUI::update (this=0x2493f840,
delta_time_sec=0.10000000000000001) at new_gui.cxx:124
124 iter->second->update();
(gdb) info stack
#0 0x0033bf53 in NewGUI::update (this=0x2493f840,
delta_time_sec=0.10000000000000001) at new_gui.cxx:124
#1 0x006c7a1f in SGSubsystemGroup::Member::update (this=0x2493f8f0,
delta_time_sec=0.10000000000000001) at subsystem_mgr.cxx:306
#2 0x006c92c5 in SGSubsystemGroup::update (this=0x202da50,
delta_time_sec=0.10000000000000001) at subsystem_mgr.cxx:159
#3 0x006c7c9e in SGSubsystemMgr::update (this=0x202da30,
delta_time_sec=0.10000000000000001) at subsystem_mgr.cxx:390
#4 0x00006f13 in fgMainLoop () at main.cxx:460
#5 0x0005f5c1 in fgOSMainLoop () at fg_os_osgviewer.cxx:179
#6 0x0000372c in fgMainInit (argc=6, argv=0xbffff724) at main.cxx:1004
#7 0x0000283b in main (argc=6, argv=0xbffff724) at bootstrap.cxx:216
(gdb) p *iter
$13 = (class std::pair<const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >,FGDialog*> &) @0x4a2389c0: {
first = {
static npos = 4294967295,
_M_dataplus = {
<std::allocator<char>> = {
<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data
fields>},
members of
std::basic_string<char,std::char_traits<char>,std::allocator<char>
>::_Alloc_hider:
_M_p = 0x4a4953cc "who-is-online"
}
},
second = 0x0
}
--------------------------------
Log:
Dave LUFF: Fix buffer overrun with longer runways
Modified files:
Instrumentation/dclgps.cxx on date: 2009/06/01 10:32:44 author: mfranz as
revision 1.17
------------------------------------
Log:
Also take the current BVH nodes transform into account.
Modified files:
FDM/groundcache.cxx on date: 2009/06/07 11:24:42 author: frohlich as
revision 1.44
------------------------------------
Log:
Remove unused header.
Modified files:
Scenery/scenery.cxx on date: 2009/06/06 07:46:08 author: frohlich as
revision 1.29
------------------------------------
Log:
new command line option --metar="some metar"
new handling of real-weather-fetch
major code cleanup
Modified files:
Environment/environment_mgr.hxx on date: 2009/05/29 10:26:35 author: torsten
as revision 1.9
Environment/fgclouds.cxx on date: 2009/05/29 10:26:35 author: torsten as
revision 1.29
Environment/fgclouds.hxx on date: 2009/05/29 10:26:35 author: torsten as
revision 1.16
Environment/fgmetar.hxx on date: 2009/05/29 10:26:35 author: torsten as
revision 1.4
Main/options.cxx on date: 2009/05/29 10:26:36 author: torsten as revision
1.121
------------------------------------
Log:
immediately fetch a metar if real-weather-fetch is re-enabled at runtime
Modified files:
Environment/environment_ctrl.cxx on date: 2009/06/08 19:39:37 author:
torsten as revision 1.74
Environment/environment_ctrl.hxx on date: 2009/06/08 19:39:37 author:
torsten as revision 1.38
------------------------------------
Log:
No need to zero the _props variable.
This reference is released by the SGSharedPtr destructor anyway.
Modified files:
Scripting/NasalSys.cxx on date: 2009/06/07 11:23:54 author: frohlich as
revision 1.125
------------------------------------
Log:
Remove dead variables.
Modified files:
Model/acmodel.cxx on date: 2009/06/11 09:19:32 author: frohlich as revision
1.24
Model/acmodel.hxx on date: 2009/06/11 09:19:32 author: frohlich as revision
1.13
------------------------------------
Log:
Replace plain doubles with SGGeod in FGViewer for position and target pos.
Modified files:
Main/viewer.cxx on date: 2009/06/09 12:15:48 author: jmt as revision 1.36
------------------------------------
Log:
Upgrade to JSBSim 1.0-prerelease
Modified files:
FDM/JSBSim/FGFDMExec.cpp on date: 2009/06/01 08:52:34 author: ehofman as
revision 1.31
FDM/JSBSim/FGFDMExec.h on date: 2009/06/01 08:52:35 author: ehofman as
revision 1.17
FDM/JSBSim/FGJSBBase.h on date: 2009/06/01 08:52:35 author: ehofman as
revision 1.27
FDM/JSBSim/JSBSim.cxx on date: 2009/06/01 08:52:35 author: ehofman as
revision 1.57
FDM/JSBSim/initialization/FGInitialCondition.cpp on date: 2009/06/01 08:52:37
author: ehofman as revision 1.11
FDM/JSBSim/initialization/FGInitialCondition.h on date: 2009/06/01 08:52:37
author: ehofman as revision 1.7
FDM/JSBSim/input_output/FGScript.cpp on date: 2009/06/01 08:52:37 author:
ehofman as revision 1.7
FDM/JSBSim/models/FGAerodynamics.cpp on date: 2009/06/01 08:52:37 author:
ehofman as revision 1.8
FDM/JSBSim/models/FGAtmosphere.cpp on date: 2009/06/01 08:52:37 author:
ehofman as revision 1.11
FDM/JSBSim/models/FGAuxiliary.h on date: 2009/06/01 08:52:37 author: ehofman
as revision 1.5
FDM/JSBSim/models/FGInertial.cpp on date: 2009/06/01 08:52:37 author:
ehofman as revision 1.5
FDM/JSBSim/models/FGLGear.cpp on date: 2009/06/01 08:52:37 author: ehofman
as revision 1.17
FDM/JSBSim/models/FGMassBalance.cpp on date: 2009/06/01 08:52:38 author:
ehofman as revision 1.7
FDM/JSBSim/models/FGOutput.cpp on date: 2009/06/01 08:52:38 author: ehofman
as revision 1.14
FDM/JSBSim/models/FGPropagate.cpp on date: 2009/06/01 08:52:38 author:
ehofman as revision 1.9
FDM/JSBSim/models/FGPropagate.h on date: 2009/06/01 08:52:38 author: ehofman
as revision 1.5
FDM/JSBSim/models/atmosphere/FGMSIS.cpp on date: 2009/06/01 08:52:38 author:
ehofman as revision 1.8
FDM/JSBSim/models/flight_control/FGActuator.cpp on date: 2009/06/01 08:52:38
author: ehofman as revision 1.7
FDM/JSBSim/models/flight_control/FGSensor.cpp on date: 2009/06/01 08:52:38
author: ehofman as revision 1.7
FDM/JSBSim/models/flight_control/FGSensor.h on date: 2009/06/01 08:52:39
author: ehofman as revision 1.7
FDM/JSBSim/models/propulsion/FGPiston.cpp on date: 2009/06/01 08:52:39
author: ehofman as revision 1.18
FDM/JSBSim/models/propulsion/FGTurbine.cpp on date: 2009/06/01 08:52:39
author: ehofman as revision 1.9
FDM/JSBSim/models/propulsion/FGTurbine.h on date: 2009/06/01 08:52:39
author: ehofman as revision 1.8
------------------------------------
Log:
Directly associate runways objects with their ILS navrecord (if one exists)
Modified files:
Airports/runways.cxx on date: 2009/06/11 21:53:30 author: jmt as revision
1.39
Airports/runways.hxx on date: 2009/06/11 21:54:00 author: jmt as revision
1.19
Navaids/navrecord.cxx on date: 2009/06/11 21:55:00 author: jmt as revision
1.7
Navaids/navrecord.hxx on date: 2009/06/11 21:55:08 author: jmt as revision
1.22
------------------------------------
Log:
Fix a bad copy-and-paste bug in namedFindClosest, which broke things in the
multiple-matches case.
Modified files:
Navaids/positioned.cxx on date: 2009/06/11 09:47:26 author: jmt as revision
1.15
------------------------------------
Log:
Whoops, type codes for localizers and ILSs were swapped in the nav.dat reader
Modified files:
Navaids/navdb.cxx on date: 2009/06/11 22:54:51 author: jmt as revision 1.34
------------------------------------
Log:
- use SGGeodesy
- fade out strong lift when disabled
- some tiny optimizations
Modified files:
Environment/ridge_lift.hxx on date: 2009/06/10 19:52:39 author: torsten as
revision 1.5
------------------------------------
Log:
disambiguate pow usage
Modified files:
Environment/environment.cxx on date: 2009/06/06 16:11:57 author: fredb as
revision 1.27
------------------------------------
Log:
Update FGViewer position clients to work with SGGeod directly
Modified files:
ATCDCL/AILocalTraffic.cxx on date: 2009/06/09 12:16:23 author: jmt as
revision 1.10
Main/main.cxx on date: 2009/06/09 12:16:24 author: jmt as revision 1.287
Main/viewer.hxx on date: 2009/06/09 12:16:24 author: jmt as revision 1.23
Sound/fg_fx.cxx on date: 2009/06/09 12:16:25 author: jmt as revision 1.34
------------------------------------
Log:
Dave LUFF: bugfixes; leave dlg with crsr button; heading info; cleanup
"General cleanup: Fix several potential segfaults, ensure delete
approach dialog can be exited with the crsr button, implement heading
information in DTO mode, make the comments more useful, and remove old
debugging comments."
Modified files:
Instrumentation/KLN89/kln89_page_fpl.cxx on date: 2009/06/02 14:59:38
author: mfranz as revision 1.6
------------------------------------
Log:
Add variable winds (direction and gusts) for the boundary layer if defined in
METAR.
Modified files:
Environment/Makefile.am on date: 2009/06/03 16:30:00 author: torsten as
revision 1.10
Environment/environment_mgr.cxx on date: 2009/06/03 16:29:59 author: torsten
as revision 1.38
Environment/fgwind.cxx on date: 2009/06/03 16:29:59 author: torsten as
revision 1.1
Environment/fgwind.hxx on date: 2009/06/03 16:29:59 author: torsten as
revision 1.1
------------------------------------
Log:
Remove some remaining non-route-related uses of SGWayPoint.
Modified files:
Airports/groundnetwork.hxx on date: 2009/06/09 20:16:32 author: jmt as
revision 1.20
Navaids/awynet.cxx on date: 2009/06/09 20:16:33 author: jmt as revision 1.9
------------------------------------
Log:
Remove old osg 2.2 code.
Modified files:
Main/renderer.cxx on date: 2009/06/11 09:26:45 author: frohlich as revision
1.122
------------------------------------
Log:
- fill in probe[0] before using
- add a note about the mixing of SGGeoc and SGGeod
Modified files:
Environment/ridge_lift.cxx on date: 2009/06/11 08:52:34 author: torsten as
revision 1.11
------------------------------------
Log:
Convert waypoint::CourseAndDistance users to use SGGeodesy helper functions.
Modified files:
AIModel/AIAircraft.cxx on date: 2009/06/09 19:39:18 author: jmt as revision
1.85
AIModel/AIFlightPlanCreate.cxx on date: 2009/06/09 19:41:33 author: jmt as
revision 1.32
AIModel/AIFlightPlanCreateCruise.cxx on date: 2009/06/09 19:41:58 author:
jmt as revision 1.16
Airports/gnnode.cxx on date: 2009/06/09 19:42:21 author: jmt as revision 1.4
Airports/gnnode.hxx on date: 2009/06/09 19:42:32 author: jmt as revision 1.6
Airports/groundnetwork.cxx on date: 2009/06/09 19:42:57 author: jmt as
revision 1.27
Navaids/awynet.hxx on date: 2009/06/09 19:43:16 author: jmt as revision 1.5
------------------------------------
Log:
Replace CourseAndDistance uses in traffic code with SGGeodesy calls.
Modified files:
Traffic/Schedule.cxx on date: 2009/06/09 20:16:08 author: jmt as revision
1.38
------------------------------------
Log:
Save more than 20 percent execution time by avoiding multiple calculation of
properties.
Modified files:
Environment/environment.hxx on date: 2009/05/31 10:18:45 author: torsten as
revision 1.11
------------------------------------
Log:
Remove unused header.
Modified files:
simgear/scene/tgdb/TileEntry.cxx on date: 2009/06/06 09:17:37 author:
frohlich as revision 1.13
------------------------------------
Log:
Update route/waypoint tests for revised API
Modified files:
simgear/route/routetest.cxx on date: 2009/06/08 23:30:54 author: jmt as
revision 1.6
simgear/route/waytest.cxx on date: 2009/06/08 23:30:54 author: jmt as
revision 1.5
------------------------------------
Log:
Also handle PagedLOD nodes frame count in the update visitor.
Modified files:
simgear/scene/util/SGUpdateVisitor.hxx on date: 2009/06/11 08:42:44 author:
frohlich as revision 1.8
------------------------------------
Log:
Fix waypoint test, thanks Martin.
Modified files:
simgear/route/waytest.cxx on date: 2009/06/10 22:46:15 author: jmt as
revision 1.6
------------------------------------
Log:
Extend SGWaypoint with track and speed data, and compute tracks with the
distance in SGRoute.
Modified files:
simgear/route/route.cxx on date: 2009/06/10 12:42:44 author: jmt as revision
1.6
simgear/route/route.hxx on date: 2009/06/10 12:42:44 author: jmt as revision
1.10
simgear/route/waypoint.cxx on date: 2009/06/10 12:42:44 author: jmt as
revision 1.9
simgear/route/waypoint.hxx on date: 2009/06/10 12:42:44 author: jmt as
revision 1.12
------------------------------------
Log:
Remove unused variable
Modified files:
simgear/scene/tgdb/GroundLightManager.cxx on date: 2009/06/14 10:53:09
author: fredb as revision 1.3
------------------------------------
Log:
Slight cleanup.
Remive last reference to plibs file utility library.
Modified files:
simgear/scene/model/SGReaderWriterXML.cxx on date: 2009/06/06 10:38:53
author: frohlich as revision 1.15
------------------------------------
Log:
More cleanup.
Modified files:
simgear/scene/model/SGReaderWriterXML.cxx on date: 2009/06/07 11:58:11
author: frohlich as revision 1.18
------------------------------------
Log:
Provide something more sensible for the properties root
for the modelLoaded call. MAy be this needs to be revisited, but in any
case better than constant zero.
Modified files:
simgear/scene/model/SGPagedLOD.cxx on date: 2009/06/07 11:30:12 author:
frohlich as revision 1.8
simgear/scene/model/modellib.cxx on date: 2009/06/07 11:30:12 author:
frohlich as revision 1.15
------------------------------------
Log:
Win32 fix
Modified files:
simgear/route/route.cxx on date: 2009/06/09 20:51:24 author: fredb as
revision 1.5
------------------------------------
Log:
Avoid empty search path extensions for the case that only the bucket index
number is given.
Modified files:
simgear/scene/tgdb/TileEntry.cxx on date: 2009/05/25 04:59:51 author:
frohlich as revision 1.10
------------------------------------
Log:
Change SGWaypoint to use SGGeod internally. Remove some unused code, to
support cartesian waypoints and compute distance off a cartesian route.
Add a helper to access the total route distance.
Should not cause any visible functionality change.
Modified files:
simgear/route/route.cxx on date: 2009/06/08 23:18:39 author: jmt as revision
1.4
simgear/route/route.hxx on date: 2009/06/08 23:18:39 author: jmt as revision
1.9
simgear/route/waypoint.cxx on date: 2009/06/08 23:18:39 author: jmt as
revision 1.7
simgear/route/waypoint.hxx on date: 2009/06/08 23:18:40 author: jmt as
revision 1.10
------------------------------------
Log:
Add a simple class to subdivide Bezier curves
Modified files:
projects/VC7.1/SimGear.vcproj on date: 2009/06/14 10:56:28 author: fredb as
revision 1.34
simgear/math/Makefile.am on date: 2009/06/14 10:56:28 author: fredb as
revision 1.13
simgear/math/beziercurve.hxx on date: 2009/06/14 10:56:28 author: fredb as
revision 1.1
------------------------------------
Log:
Mark static transforms as static.
Modified files:
simgear/scene/tgdb/TileEntry.cxx on date: 2009/06/11 18:32:46 author:
frohlich as revision 1.14
------------------------------------
Log:
Do not modify danymically generated textures.
Modified files:
simgear/scene/model/ModelRegistry.cxx on date: 2009/06/07 11:50:01 author:
frohlich as revision 1.23
------------------------------------
Log:
Use osgDB::FileUtils instead of plib file utils.
Modified files:
simgear/scene/material/mat.cxx on date: 2009/06/06 09:16:04 author: frohlich
as revision 1.50
------------------------------------
Log:
change MAX_PATH to max_path to avoid Windows compilation problems
Modified files:
simgear/structure/exception.cxx on date: 2009/06/17 09:38:19 author: timoore
as revision 1.5
simgear/structure/exception.hxx on date: 2009/06/17 09:38:19 author: timoore
as revision 1.5
------------------------------------
Log:
Doing the compilers job: constant propagation.
This variable is nowhere set except to zero.
Modified files:
simgear/scene/model/SGPagedLOD.cxx on date: 2009/06/07 11:26:48 author:
frohlich as revision 1.7
simgear/scene/model/SGReaderWriterXML.cxx on date: 2009/06/07 11:26:48
author: frohlich as revision 1.16
simgear/scene/model/modellib.cxx on date: 2009/06/07 11:26:48 author:
frohlich as revision 1.14
simgear/scene/model/modellib.hxx on date: 2009/06/07 11:26:49 author:
frohlich as revision 1.9
------------------------------------
Log:
Replace SGPlacementTrans usage with osg::PositionAttitueTransform.
Remove SGPlacementTrans.
Update build system.
Modified files:
SimGear.dsp on date: 2009/06/06 08:07:20 author: frohlich as revision 1.17
projects/VC7.1/SimGear.vcproj on date: 2009/06/06 08:07:23 author: frohlich
as revision 1.33
projects/VC8/SimGear.vcproj on date: 2009/06/06 08:07:23 author: frohlich as
revision 1.16
simgear/scene/model/Makefile.am on date: 2009/06/06 08:07:24 author:
frohlich as revision 1.23
simgear/scene/model/placement.cxx on date: 2009/06/06 08:07:24 author:
frohlich as revision 1.16
simgear/scene/model/placement.hxx on date: 2009/06/06 08:07:24 author:
frohlich as revision 1.14
simgear/scene/model/placementtrans.cxx on date: 2009/06/06 08:07:24 author:
frohlich as revision 1.11
simgear/scene/model/placementtrans.hxx on date: 2009/06/06 08:07:25 author:
frohlich as revision 1.8
simgear/scene/tgdb/TileEntry.cxx on date: 2009/06/06 08:07:25 author:
frohlich as revision 1.12
simgear/scene/tgdb/TileEntry.hxx on date: 2009/06/06 08:07:25 author:
frohlich as revision 1.7
------------------------------------
Log:
When loading stg files honour the original path if given.
Modified files:
simgear/scene/tgdb/ReaderWriterSTG.cxx on date: 2009/05/24 06:38:58 author:
frohlich as revision 1.6
simgear/scene/tgdb/TileEntry.cxx on date: 2009/05/24 06:38:58 author:
frohlich as revision 1.9
simgear/scene/tgdb/TileEntry.hxx on date: 2009/05/24 06:38:58 author:
frohlich as revision 1.6
------------------------------------
Log:
Use osg's builtin mechanisms to traverse only in range nodes with the
update visitor.
Modified files:
simgear/scene/model/placementtrans.cxx on date: 2009/06/06 07:25:21 author:
frohlich as revision 1.10
simgear/scene/tgdb/TileEntry.cxx on date: 2009/06/06 07:25:18 author:
frohlich as revision 1.11
simgear/scene/util/SGUpdateVisitor.hxx on date: 2009/06/06 07:24:26 author:
frohlich as revision 1.6
------------------------------------
Log:
Fix bad interaction between CourseAndDistance overloads and use of implicit
SGWaypoint construction from SGGeod.
Modified files:
simgear/route/waypoint.cxx on date: 2009/06/09 00:01:14 author: jmt as
revision 1.8
simgear/route/waypoint.hxx on date: 2009/06/09 00:01:14 author: jmt as
revision 1.11
------------------------------------
Log:
overhaul sg_throwable to behave like a proper exception
Make sg_throwable inherit from std::exception.
change exception objects to contain C strings: exception objects should not
include objects, like std::string, whose copy constructor could throw.
Modified files:
simgear/structure/exception.cxx on date: 2009/06/16 11:02:06 author: timoore
as revision 1.4
simgear/structure/exception.hxx on date: 2009/06/16 11:02:07 author: timoore
as revision 1.4
------------------------------------
Log:
Also test against bounds when updating the scene.
Modified files:
simgear/scene/util/SGUpdateVisitor.hxx on date: 2009/06/11 07:15:07 author:
frohlich as revision 1.7
------------------------------------
Log:
Invent a property root if not given in the options struct.
Modified files:
simgear/scene/model/SGReaderWriterXML.cxx on date: 2009/06/03 19:30:35
author: frohlich as revision 1.14
------------------------------------
Log:
Cleanup.
Modified files:
simgear/scene/model/SGReaderWriterXML.cxx on date: 2009/06/07 11:27:53
author: frohlich as revision 1.17
------------------------------------
Log:
Revert a change from 2009/06/07.
Should make the Nasal code for some xml models work again.
Modified files:
simgear/scene/model/SGPagedLOD.cxx on date: 2009/06/11 13:39:52 author:
frohlich as revision 1.9
simgear/scene/model/SGReaderWriterXML.cxx on date: 2009/06/11 13:41:37
author: frohlich as revision 1.19
simgear/scene/model/modellib.cxx on date: 2009/06/11 13:42:00 author:
frohlich as revision 1.16
simgear/scene/model/modellib.hxx on date: 2009/06/11 13:42:31 author:
frohlich as revision 1.10
------------------------------------
Log:
Finally get rid of that member in the SGModelData callback.
Move call of SGModelData::modelLoaded directly into the xml reader.
Modified files:
simgear/scene/model/SGPagedLOD.cxx on date: 2009/06/11 18:53:19 author:
frohlich as revision 1.10
simgear/scene/model/SGReaderWriterXML.cxx on date: 2009/06/11 18:53:23
author: frohlich as revision 1.20
simgear/scene/model/modellib.cxx on date: 2009/06/11 18:53:22 author:
frohlich as revision 1.17
simgear/scene/model/modellib.hxx on date: 2009/06/11 18:53:21 author:
frohlich as revision 1.11
------------------------------------
Log:
test for addChild also
Modified files:
simgear/props/props_test.cxx on date: 2009/05/25 11:12:59 author: ehofman as
revision 1.5
------------------------------------
Log:
find the last index instead of the last pos for addChild
Modified files:
simgear/props/props.cxx on date: 2009/05/25 11:12:24 author: ehofman as
revision 1.39
------------------------------------
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel