G
Concerning the first coredump (Assuming you are running the 1.20.2.r1 Wipy firmware):
_DoubleExceptionVector
/Users/ehlers/pycom/pycom-esp-idf/components/freertos/xtensa_vectors.S:543
??
??:0
m_malloc_maybe
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/malloc.c:100
mp_obj_exception_add_traceback
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/objexcept.c:503
mp_execute_bytecode
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/vm.c:1409
fun_bc_call
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/objfun.c:287
mp_call_function_n_kw
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/runtime.c:624
mp_call_method_n_kw
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/runtime.c:640
mp_execute_bytecode
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/vm.c:1002
fun_bc_call
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/objfun.c:287
mp_call_function_n_kw
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/runtime.c:624
mp_call_method_self_n_kw
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/objboundmeth.c:70
bound_meth_call
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/objboundmeth.c:83
mp_call_function_n_kw
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/runtime.c:624
thread_entry
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/modthread.c:187
freertos_entry
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/mpthreadport.c:140
This seems to be related to some sort of memory issue (perhaps udp has a memory leak..), can you use the following to check the memory available?
import gc
import micropython
import pycom
def memory():
machine.info()
print("GC free=", gc.mem_free(), "alloc=", gc.mem_alloc(), "total=", gc.mem_alloc() + gc.mem_free())
# micropython.mem_info()
print("mp stack", micropython.stack_use())
print("heap internal", pycom.get_free_heap()[0])
print("heap external", pycom.get_free_heap()[1])
Next, the second coredump, I cannot really make sense of the cause here.. Could be memory related, could be power related..
mp_execute_bytecode
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/vm.c:1338
mp_hal_delay_ms
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/hal/esp32_mphal.c:218
select_select
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../extmod/moduselect.c:176
fun_builtin_var_call
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/objfun.c:127
mp_call_function_n_kw
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/runtime.c:624
mp_execute_bytecode
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/vm.c:919
fun_bc_call
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/objfun.c:287
mp_call_function_n_kw
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/runtime.c:624
mp_call_method_self_n_kw
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/objboundmeth.c:70
bound_meth_call
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/objboundmeth.c:83
mp_call_function_n_kw
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/runtime.c:624
thread_entry
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/modthread.c:187
freertos_entry
/var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/mpthreadport.c:140