Mailer-Project Community

Support&Community Forum

pastebins for fgfs GIT

Locked

Page: 1

Author Post
Project Founder
Registered: Sep 2005
Posts: 1395
Location: Krefeld
I post some pastebins for FGFS (FlightGear Flight Simulator) as long as pastebin.org is down.

Here is first one:
Program received signal SIGFPE, Arithmetic exception.
0x0000000000a1cb8e in FGAIShip::ProcessFlightPlan (this=0x11736b30, dt=0) at AIShip.cxx:649
649 _range_rate = (_wp_range - _old_range) / _dt_count;
(gdb) bt
#0 0x0000000000a1cb8e in FGAIShip::ProcessFlightPlan (this=0x11736b30, dt=0) at AIShip.cxx:649
#1 0x0000000000a1b41c in FGAIShip::Run (this=0x11736b30, dt=0) at AIShip.cxx:294
#2 0x0000000000a1b291 in FGAIShip::update (this=0x11736b30, dt=0) at AIShip.cxx:268
#3 0x0000000000a03ada in FGAIManager::update (this=0xe381b60, dt=0) at AIManager.cxx:173
#4 0x0000000000c66b3f in SGSubsystemGroup::Member::update (this=0xe26d1a0, delta_time_sec=0) at subsystem_mgr.cxx:339
#5 0x0000000000c65e80 in SGSubsystemGroup::update (this=0x1213538, delta_time_sec=0) at subsystem_mgr.cxx:177
#6 0x0000000000c6769e in SGSubsystemMgr::update (this=0x1213420, delta_time_sec=0) at subsystem_mgr.cxx:432
#7 0x00000000004792bb in fgMainLoop () at main.cxx:164
#8 0x00000000004e6317 in fgOSMainLoop () at fg_os_osgviewer.cxx:200
#9 0x000000000047b9c2 in fgMainInit (argc=31, argv=0x7fffffffd128) at main.cxx:664
#10 0x0000000000478516 in main (argc=31, argv=0x7fffffffd128) at bootstrap.cxx:243
_______________
News-Flash: - Bitte den Bug-Tracker mehr nutzen! - Wiki verfuegbar - Bitte die neuste GIT-Revision von dieser Anleitung - Topic 180 herunterladen - Bug-Rallye gestartet! - Historisches Archiv angelegt - SVN-Howto - Commit-Statistik Feb 2008 - dato
Project Founder
Registered: Sep 2005
Posts: 1395
Location: Krefeld
And the full backtrace:
#0 0x0000000000a1cb8e in FGAIShip::ProcessFlightPlan (this=0x11736b30, dt=0) at AIShip.cxx:649
time_sec = 3514
until_time_sec = 0
sp_turn_radius_nm = 3.3951932658408751e-313
#1 0x0000000000a1b41c in FGAIShip::Run (this=0x11736b30, dt=0) at AIShip.cxx:294
type = {static npos = 18446744073709551615,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0xc0272666630b6813 <Address 0xc0272666630b6813 out of bounds>}}
rudder_limit = 5.7615588806188426e-317
raw_roll = -0
alpha = 6.953355807158332e-310
speed_diff = 0
rudder_diff = 6.9533558071725611e-310
#2 0x0000000000a1b291 in FGAIShip::update (this=0x11736b30, dt=0) at AIShip.cxx:268
ec2hl = {_data = {-0.79131518125714129, -0.42393622825851079, -0.38834651168793588, 0.20805130410967643}}
hl2body = {_data = {-0, 0, 0.7067669281500879, -0.70744647095966806}}
ec2body = {_data = {0.26018902661937249, 0.85918758844907561, 0.42177815030634347, 0.12728531025253739}}
cartPos = {_data = {-2798459.012010044, -4205509.0287854467, 3880907.882374858}}
#3 0x0000000000a03ada in FGAIManager::update (this=0xe381b60, dt=0) at AIManager.cxx:173
tmgr = 0xd8e33d0
ai_list_itr = {_M_node = 0x1173ad90}
#4 0x0000000000c66b3f in SGSubsystemGroup::Member::update (this=0xe26d1a0, delta_time_sec=0) at subsystem_mgr.cxx:339
No locals.
#5 0x0000000000c65e80 in SGSubsystemGroup::update (this=0x1213538, delta_time_sec=0) at subsystem_mgr.cxx:177
timeStamp = {_nsec = 598750134, _sec = 153521}
b = -2.1099999999860302
threshold = 0
i = 0
loopCount = 0
#6 0x0000000000c6769e in SGSubsystemMgr::update (this=0x1213420, delta_time_sec=0) at subsystem_mgr.cxx:432
i = 3
#7 0x00000000004792bb in fgMainLoop () at main.cxx:164
latitude = {_ptr = 0x121b840}
vd_fps = {_ptr = 0x121c9a0}
sim_dt = 0
real_dt = 0
sound_working = 0x0
ve_fps = {_ptr = 0x121c800}
smgr_init = true
scenery_loaded = false
longitude = {_ptr = 0x121af90}
altitude = {_ptr = 0x121b9a0}
vn_fps = {_ptr = 0x121c6a0}
frame_signal = {_ptr = 0xccd3920}
timeMgr = 0xcc9ae70
visibility_meters = 14.227643535447706
viewPos = {_data = {1.0758705915658634e-315, 7.5843515421700777e-313, 6.9533558072033908e-310}}
geodViewPos = {_lon = 1611742.1482639958, _lat = 1611739.6620291169, _elevation = 1.0758705520406117e-315}
#8 0x00000000004e6317 in fgOSMainLoop () at fg_os_osgviewer.cxx:200
idleFunc = 0x478b34 <fgMainLoop>
drawFunc = 0x47cd21 <FGRenderer::update()>
manipulator = {_ptr = 0x12125f0}
#9 0x000000000047b9c2 in fgMainInit (argc=31, argv=0x7fffffffd128) at main.cxx:664
controls = 0x1218fc0
required_version = "2.0.0"
base_version = {static npos = 18446744073709551615,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0x121b108 "2.0.0"}}
version = {static npos = 18446744073709551615,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0x12123b8 "unknown version"}}
col = 0x1213e60
#10 0x0000000000478516 in main (argc=31, argv=0x7fffffffd128) at bootstrap.cxx:243
fgviewer = false
_______________
News-Flash: - Bitte den Bug-Tracker mehr nutzen! - Wiki verfuegbar - Bitte die neuste GIT-Revision von dieser Anleitung - Topic 180 herunterladen - Bug-Rallye gestartet! - Historisches Archiv angelegt - SVN-Howto - Commit-Statistik Feb 2008 - dato
Project Founder
Registered: Sep 2005
Posts: 1395
Location: Krefeld
#if ENABLE_ATCDCL
// Run ATC subsystem
if (fgGetBool("/sim/atc/enabled"))
globals->get_ATC_mgr()->update(sim_dt);
#endif

globals->get_subsystem_mgr()->update(sim_dt);
globals->get_aircraft_model()->update(sim_dt);
_______________
News-Flash: - Bitte den Bug-Tracker mehr nutzen! - Wiki verfuegbar - Bitte die neuste GIT-Revision von dieser Anleitung - Topic 180 herunterladen - Bug-Rallye gestartet! - Historisches Archiv angelegt - SVN-Howto - Commit-Statistik Feb 2008 - dato
Project Founder
Registered: Sep 2005
Posts: 1395
Location: Krefeld
void FGAIShip::ProcessFlightPlan(double dt) {

// Avoids a FPE
if (dt == 0) return;
_______________
News-Flash: - Bitte den Bug-Tracker mehr nutzen! - Wiki verfuegbar - Bitte die neuste GIT-Revision von dieser Anleitung - Topic 180 herunterladen - Bug-Rallye gestartet! - Historisches Archiv angelegt - SVN-Howto - Commit-Statistik Feb 2008 - dato
Project Founder
Registered: Sep 2005
Posts: 1395
Location: Krefeld
diff --git a/src/AIModel/AIShip.cxx b/src/AIModel/AIShip.cxx
index 41f0955..20a2da4 100644
--- a/src/AIModel/AIShip.cxx
+++ b/src/AIModel/AIShip.cxx
@@ -623,6 +623,9 @@ double FGAIShip::getCourse(double lat, double lon, double lat2, double lon2) con

void FGAIShip::ProcessFlightPlan(double dt) {

+ // Avoids a FPE
+ if (dt == 0) return;
+
double time_sec = getDaySeconds();

_dt_count += dt;
diff --git a/src/Main/main.cxx b/src/Main/main.cxx
index 7fbc9d7..9fedb32 100644
--- a/src/Main/main.cxx
+++ b/src/Main/main.cxx
@@ -155,15 +155,15 @@ static void fgMainLoop( void ) {
// implementation is an AI model and depends on that
globals->get_multiplayer_mgr()->Update();

-#if ENABLE_ATCDCL
+#if ENABLE_ATCDCL
// Run ATC subsystem
if (fgGetBool("/sim/atc/enabled"))
globals->get_ATC_mgr()->update(sim_dt);
-#endif
-
+#endif
+
globals->get_subsystem_mgr()->update(sim_dt);
globals->get_aircraft_model()->update(sim_dt);
-
+
//
// Tile Manager updates - see if we need to load any new scenery tiles.
// this code ties together the fdm, viewer and scenery classes...
_______________
News-Flash: - Bitte den Bug-Tracker mehr nutzen! - Wiki verfuegbar - Bitte die neuste GIT-Revision von dieser Anleitung - Topic 180 herunterladen - Bug-Rallye gestartet! - Historisches Archiv angelegt - SVN-Howto - Commit-Statistik Feb 2008 - dato

Locked

Page: 1

Parse time: 0.2402 s · Memory usage: 0.58 MB · Server load: 1.34 · Template sections: 2 · SQL queries: 8

Mailer-Project Community is powered by UseBB 1 Forum Software