Hi, it’s not the same error aparently but I’m not able to understand the reason of the problem, here is the output that I obtain:
Setting SIM_SPEEDUP=1.000000
Starting SITL Airsim type 1
Bind SITL sensor input at 127.0.0.1:9003
AirSim control interface set to 127.0.0.1:9002
Starting sketch ‘ArduCopter’
Starting SITL input
Using Irlock at port : 9005
bind port 5760 for SERIAL0
SERIAL0 on TCP port 5760
Waiting for connection …
Connection on serial port 5760
Loaded defaults from Tools/autotest/default_params/copter.parm,Tools/autotest/default_params/airsim-quadX.parm
bind port 5762 for SERIAL1
SERIAL1 on TCP port 5762
bind port 5763 for SERIAL2
SERIAL2 on TCP port 5763
Home: -35.363262 149.165237 alt=584.000000m hdg=353.000000
Loaded defaults from Tools/autotest/default_params/copter.parm,Tools/autotest/default_params/airsim-quadX.parm
validate_structures:513: Validating structures
Loaded defaults from Tools/autotest/default_params/copter.parm,Tools/autotest/default_params/airsim-quadX.parm
Loaded defaults from Tools/autotest/default_params/copter.parm,Tools/autotest/default_params/airsim-quadX.parm
Loaded defaults from Tools/autotest/default_params/copter.parm,Tools/autotest/default_params/airsim-quadX.parm
Loaded defaults from Tools/autotest/default_params/copter.parm,Tools/autotest/default_params/airsim-quadX.parm
Loaded defaults from Tools/autotest/default_params/copter.parm,Tools/autotest/default_params/airsim-quadX.parm
Loaded defaults from Tools/autotest/default_params/copter.parm,Tools/autotest/default_params/airsim-quadX.parm
Loaded defaults from Tools/autotest/default_params/copter.parm,Tools/autotest/default_params/airsim-quadX.parm
Loaded defaults from Tools/autotest/default_params/copter.parm,Tools/autotest/default_params/airsim-quadX.parm
Loaded defaults from Tools/autotest/default_params/copter.parm,Tools/autotest/default_params/airsim-quadX.parm
Loaded defaults from Tools/autotest/default_params/copter.parm,Tools/autotest/default_params/airsim-quadX.parm
Loaded defaults from Tools/autotest/default_params/copter.parm,Tools/autotest/default_params/airsim-quadX.parm
Loaded defaults from Tools/autotest/default_params/copter.parm,Tools/autotest/default_params/airsim-quadX.parm
Loaded defaults from Tools/autotest/default_params/copter.parm,Tools/autotest/default_params/airsim-quadX.parm
Loaded defaults from Tools/autotest/default_params/copter.parm,Tools/autotest/default_params/airsim-quadX.parm
Loaded defaults from Tools/autotest/default_params/copter.parm,Tools/autotest/default_params/airsim-quadX.parm
ERROR: Floating point exception - aborting
Running: sh Tools/scripts/dumpstack.sh 9296 >dumpstack.sh_arducopter.9296.out 2>&1
dumpstack.sh has been run. Output was:
-------------- begin dumpstack.sh output ----------------
[New LWP 9313]
[New LWP 9353]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007ac3b9cea42f in __GI___wait4 (pid=9363, stat_loc=stat_loc@entry=0x7ffd7d2ab588, options=options@entry=0, usage=usage@entry=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
30 ../sysdeps/unix/sysv/linux/wait4.c: No such file or directory.
#0 0x00007ac3b9cea42f in __GI___wait4 (pid=9363, stat_loc=stat_loc@entry=0x7ffd7d2ab588, options=options@entry=0, usage=usage@entry=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
sc_ret = -512
sc_cancel_oldtype = 0
sc_ret = <optimized out>
#1 0x00007ac3b9cea3ab in __GI___waitpid (pid=<optimized out>, stat_loc=stat_loc@entry=0x7ffd7d2ab588, options=options@entry=0) at ./posix/waitpid.c:38
No locals.
#2 0x00007ac3b9c50bdb in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:171
__result = <optimized out>
_cleanup_start_doit = true
_buffer = {__routine = 0x7ac3b9c50c60 <cancel_handler>, __arg = 0x7ffd7d2ab590, __canceltype = 0, __prev = 0x0}
_cleanup_routine = 0x7ac3b9c50c60 <cancel_handler>
cancel_args = {quit = 0x7ac3b9e1c7a0 <quit>, intr = 0x7ac3b9e1c840 <intr>, pid = 9363}
status = -1
ret = 0
pid = 9363
sa = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {65536, 0, 0, 0, 0, 549755813888, 0, 549755813888, 0, 551897006080, 0, 18446744073709551615, 0, 18446744073709551615, 0, 18446744073709551615}}, sa_flags = 0, sa_restorer = 0x7fa00000ffffffff}
omask = {__val = {128, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 140726703405792, 3907209374215093159, 12928979727844091904, 140726703405792, 2}}
reset = {__val = {6, 199, 140726703404720, 96650121917033, 140726703405104, 134981054137498, 140726703405120, 140726703404960, 140728825905153, 140726703405792, 140726703405792, 140726703405792, 140726703405792, 140726703405865, 140726703405991, 140726703405792}}
spawn_attr = {__flags = 12, __pgrp = 0, __sd = {__val = {6, 199, 140726703404720, 96650121917033, 140726703405104, 134981054137498, 140726703405120, 140726703404960, 140728825905153, 140726703405792, 140726703405792, 140726703405792, 140726703405792, 140726703405865, 140726703405991, 140726703405792}}, __ss = {
__val = {128, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 140726703405792, 3907209374215093159, 12928979727844091904, 140726703405792, 2}}, __sp = {sched_priority = 0}, __policy = 0, __pad = {0 <repeats 16 times>}}
#3 0x000057e71c1c226d in AP_HAL::run_command_on_ownpid(char const*) ()
No symbol table info available.
#4 0x000057e71c1c2aec in _sig_fpe(int) ()
No symbol table info available.
#5 <signal handler called>
No locals.
#6 0x000057e71c1bde57 in HALSITL::SITL_State::_fdm_input_local() [clone .part.0] ()
No symbol table info available.
#7 0x000057e71c1be107 in HALSITL::SITL_State::_fdm_input_step() ()
No symbol table info available.
#8 0x000057e71c1be277 in HALSITL::SITL_State::wait_clock(unsigned long) ()
No symbol table info available.
#9 0x000057e71c1c0715 in HALSITL::Scheduler::delay_microseconds(unsigned short) ()
No symbol table info available.
#10 0x000057e71c0dd81b in AP_Scheduler::loop() ()
No symbol table info available.
#11 0x000057e71c0e19eb in AP_Vehicle::loop() ()
No symbol table info available.
#12 0x000057e71c1bb8fc in HAL_SITL::run(int, char* const*, AP_HAL::HAL::Callbacks*) const ()
No symbol table info available.
#13 0x000057e71c009cc4 in main ()
No symbol table info available.
Thread 3 (Thread 0x7ac3b93fe640 (LWP 9353) "FTP"):
#0 0x00007ac3b9ce57f8 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=req@entry=0x7ac3b93fda30, rem=rem@entry=0x0) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78
sc_cancel_oldtype = 0
sc_ret = <optimized out>
r = <optimized out>
#1 0x00007ac3b9cea677 in __GI___nanosleep (req=req@entry=0x7ac3b93fda30, rem=rem@entry=0x0) at ../sysdeps/unix/sysv/linux/nanosleep.c:25
ret = <optimized out>
#2 0x00007ac3b9d1bfaf in usleep (useconds=<optimized out>) at ../sysdeps/posix/usleep.c:31
ts = {tv_sec = 0, tv_nsec = 1000000}
#3 0x000057e71c1be2ea in HALSITL::SITL_State::wait_clock(unsigned long) ()
No symbol table info available.
#4 0x000057e71c1c0dcc in HALSITL::Scheduler::delay(unsigned short) ()
No symbol table info available.
#5 0x000057e71c290466 in GCS_MAVLINK::ftp_worker() ()
No symbol table info available.
#8 0x00007ac3b9c94ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
ret = <optimized out>
pd = <optimized out>
out = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140726703407232, -6150205668983214335, 134981045184064, 11, 134981054187472, 140726703407584, 6854873326400663297, 6854873451705626369}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#9 0x00007ac3b9d268d0 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
No locals.
Thread 2 (Thread 0x7ac3b9bff640 (LWP 9313) "log_io"):
#0 0x00007ac3b9ce57f8 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=req@entry=0x7ac3b9bfec80, rem=rem@entry=0x0) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78
sc_cancel_oldtype = 0
sc_ret = <optimized out>
r = <optimized out>
#1 0x00007ac3b9cea677 in __GI___nanosleep (req=req@entry=0x7ac3b9bfec80, rem=rem@entry=0x0) at ../sysdeps/unix/sysv/linux/nanosleep.c:25
ret = <optimized out>
#2 0x00007ac3b9d1bfaf in usleep (useconds=<optimized out>) at ../sysdeps/posix/usleep.c:31
ts = {tv_sec = 0, tv_nsec = 1000000}
#3 0x000057e71c1be2ea in HALSITL::SITL_State::wait_clock(unsigned long) ()
No symbol table info available.
#4 0x000057e71c1c0715 in HALSITL::Scheduler::delay_microseconds(unsigned short) ()
No symbol table info available.
#5 0x000057e71c0e75d4 in AP_Logger::io_thread() ()
No symbol table info available.
#6 0x000057e71c0e787f in void Functor<void>::method_wrapper<AP_Logger, &AP_Logger::io_thread>(void*) ()
No symbol table info available.
#7 0x000057e71c1c07e4 in HALSITL::Scheduler::thread_create_trampoline(void*) ()
No symbol table info available.
#8 0x00007ac3b9c94ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
ret = <optimized out>
pd = <optimized out>
out = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140726703408448, -6150205668983214335, 134981053576768, 9, 134981054187472, 140726703408800, 6854874425375420161, 6854873451705626369}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#9 0x00007ac3b9d268d0 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.
S:81
No locals.
Thread 1 (Thread 0x7ac3ba246740 (LWP 9296) "arducopter"):
#0 0x00007ac3b9cea42f in __GI___wait4 (pid=9363, stat_loc=stat_loc@entry=0x7ffd7d2ab588, options=options@entry=0, usage=usage@entry=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
sc_ret = -512
sc_cancel_oldtype = 0
sc_ret = <optimized out>
#1 0x00007ac3b9cea3ab in __GI___waitpid (pid=<optimized out>, stat_loc=stat_loc@entry=0x7ffd7d2ab588, options=options@entry=0) at ./posix/waitpid.c:38
No locals.
#2 0x00007ac3b9c50bdb in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:171
__result = <optimized out>
_cleanup_start_doit = true
_buffer = {__routine = 0x7ac3b9c50c60 <cancel_handler>, __arg = 0x7ffd7d2ab590, __canceltype = 0, __prev = 0x0}
_cleanup_routine = 0x7ac3b9c50c60 <cancel_handler>
cancel_args = {quit = 0x7ac3b9e1c7a0 <quit>, intr = 0x7ac3b9e1c840 <intr>, pid = 9363}
status = -1
ret = 0
pid = 9363
sa = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {65536, 0, 0, 0, 0, 549755813888, 0, 549755813888, 0, 551897006080, 0, 18446744073709551615, 0, 18446744073709551615, 0, 18446744073709551615}}, sa_flags = 0, sa_restorer = 0x7fa00000ffffffff}
omask = {__val = {128, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 140726703405792, 3907209374215093159, 12928979727844091904, 140726703405792, 2}}
reset = {__val = {6, 199, 140726703404720, 96650121917033, 140726703405104, 134981054137498, 140726703405120, 140726703404960, 140728825905153, 140726703405792, 140726703405792, 140726703405792, 140726703405792, 140726703405865, 140726703405991, 140726703405792}}
spawn_attr = {__flags = 12, __pgrp = 0, __sd = {__val = {6, 199, 140726703404720, 96650121917033, 140726703405104, 134981054137498, 140726703405120, 140726703404960, 140728825905153, 140726703405792, 140726703405792, 140726703405792, 140726703405792, 140726703405865, 140726703405991, 140726703405792}}, __ss = {__val = {128, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 9196350441231745024, 140726703405792, 3907209374215093159, 12928979727844091904, 140726703405792, 2}}, __sp = {sched_priority = 0}, __policy = 0, __pad = {0 <repeats 16 times>}}
#3 0x000057e71c1c226d in AP_HAL::run_command_on_ownpid(char const*) ()
No symbol table info available.
#4 0x000057e71c1c2aec in _sig_fpe(int) ()
No symbol table info available.
#5 <signal handler called>
No locals.
#6 0x000057e71c1bde57 in HALSITL::SITL_State::_fdm_input_local() [clone .part.0] ()
No symbol table info available.
#7 0x000057e71c1be107 in HALSITL::SITL_State::_fdm_input_step() ()
No symbol table info available.
#8 0x000057e71c1be277 in HALSITL::SITL_State::wait_clock(unsigned long) ()
No symbol table info available.
#9 0x000057e71c1c0715 in HALSITL::Scheduler::delay_microseconds(unsigned short) ()
No symbol table info available.
#10 0x000057e71c0dd81b in AP_Scheduler::loop() ()
No symbol table info available.
#11 0x000057e71c0e19eb in AP_Vehicle::loop() ()
No symbol table info available.
#12 0x000057e71c1bb8fc in HAL_SITL::run(int, char* const*, AP_HAL::HAL::Callbacks*) const ()
No symbol table info available.
#13 0x000057e71c009cc4 in main ()
No symbol table info available.
A debugging session is active.
Inferior 1 [process 9296] will be detached.
Quit anyway? (y or n) [answered Y; input not from terminal]
[Inferior 1 (process 9296) detached]
-------------- end dumpstack.sh output ----------------
Running: sh Tools/scripts/dumpcore.sh 9296 >dumpcore.sh_arducopter.9296.out 2>&1
dumpcore.sh has been run. Output was:
-------------- begin dumpcore.sh output ----------------
[New LWP 9313]
[New LWP 9353]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007ac3b9cea42f in __GI___wait4 (pid=9387, stat_loc=stat_loc@entry=0x7ffd7d2ab588, options=options@entry=0, usage=usage@entry=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
30 ../sysdeps/unix/sysv/linux/wait4.c: No such file or directory.
warning: target file /proc/9296/cmdline contained unexpected null characters
warning: Memory read failed for corefile section, 4096 bytes at 0xffffffffff600000.
Saved corefile ap-9388.core
A debugging session is active.
Inferior 1 [process 9296] will be detached.
Quit anyway? (y or n) [answered Y; input not from terminal]
[Inferior 1 (process 9296) detached]
-------------- end dumpcore.sh output ----------------
I have tried also to read this output on my own but I’m still not able to understand the error.
Thanks!