SHARE
TWEET

Untitled

a guest Jan 24th, 2019 7 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [Jan 24 18:09:45.306] timer_cb             Tock uptime: 122.11, RAM: 51896, 36672 free                                            
  2. [Jan 24 18:09:46.305] timer_cb             Tick uptime: 123.11, RAM: 51896, 36672 free                                            
  3. [Jan 24 18:09:47.306] timer_cb             Tock uptime: 124.11, RAM: 51896, 36672 free                                
  4. [Jan 24 18:09:47.500] mg_rpc_handle_reques Shadow.Delta via WSS_out 35.205.44.181:443                                              
  5. [Jan 24 18:09:47.514] state_cb             Starting OTA with URL [https://s3-ap-southeast-1.amazonaws.com/sens-ota/co2-1/fw2.zip]  
  6. [Jan 24 18:09:47.523] mgos_ota_http_start_ Update URL: https://s3-ap-southeast-1.amazonaws.com/sens-ota/co2-1/fw2.zip              
  7. [Jan 24 18:09:47.842] heap integrity broken: free links don't match: 1665 -> 1665, but 1665 -> 0
  8. [Jan 24 18:09:47.848]                                            
  9. [Jan 24 18:09:47.848] abort() @ 0x4028f1fd
  10. [Jan 24 18:09:47.851]  A0: 0x4028f1fd  A1: 0x3ffffa40  A2: 0x00000020  A3: 0x00000000
  11. [Jan 24 18:09:47.856]  A4: 0x00000000  A5: 0x00000000  A6: 0x0000000a  A7: 0x00000000
  12. [Jan 24 18:09:47.862]  A8: 0x3ffe8364  A9: 0x00000190 A10: 0x00000000 A11: 0x0000000a
  13. [Jan 24 18:09:47.867] A12: 0x00000000 A13: 0x3ffffb6c A14: 0x4020dcac A15: 0x3fff1344
  14. [Jan 24 18:09:47.873]
  15. [Jan 24 18:09:47.873] (exc SP: 0x3ffffa10)
  16. [Jan 24 18:09:47.873]
  17. [Jan 24 18:09:47.876] --- BEGIN CORE DUMP ---
  18. [Jan 24 18:09:47.876] mos: catching core dump
  19. [Jan 24 18:09:50.718] ....
  20. [Jan 24 18:09:59.427] ---- END CORE DUMP ----
  21. [Jan 24 18:09:59.431] mos: wrote to /mnt/Cozy/iot/devices/demo-c/core-demo-c-esp8266-20190124-180959.943628328 (133110 bytes)
  22. [Jan 24 18:09:59.482] mos: analyzing core dump
  23. Core dump by demo-c/esp8266 1.0 20190124-104537
  24. Using ELF file at: /mnt/Cozy/iot/devices/demo-c/build/objs/fw.elf
  25. Using Docker image: docker.io/mgos/esp8266-build:2.2.1-1.5.0-r4
  26. Running docker run --rm -v /mnt/Cozy/iot/devices/demo-c/build/objs/fw.elf:/fw.elf -v /mnt/Cozy/iot/devices/demo-c/core-demo-c-esp8266-20190124-180959.943628328:/core -v /mnt/Cozy/iot/devices/demo-c:/mnt/Cozy/iot/devices/demo-c docker.io/mgos/esp8266-build:2.2.1-1
  27. .5.0-r4 bash -c /usr/local/bin/serve_core.py --rom=/opt/Espressif/rom/rom.bin --rom_addr=0x40000000 /fw.elf /core & $MGOS_TARGET_GDB /fw.elf -ex 'target remote 127.0.0.1:1234' -ex 'set confirm off' -ex bt -ex quit
  28. GNU gdb (crosstool-NG crosstool-ng-1.22.0-60-g37b07f6f) 7.10
  29. Copyright (C) 2015 Free Software Foundation, Inc.
  30. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  31. This is free software: you are free to change and redistribute it.
  32. There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
  33. and "show warranty" for details.
  34. This GDB was configured as "--host=x86_64-build_pc-linux-gnu --target=xtensa-lx106-elf".
  35. Type "show configuration" for configuration details.
  36. For bug reporting instructions, please see:
  37. <http://www.gnu.org/software/gdb/bugs/>.
  38. Find the GDB manual and other documentation resources online at:
  39. <http://www.gnu.org/software/gdb/documentation/>.
  40. For help, type "help".
  41. Type "apropos word" to search for commands related to "word"...
  42. Reading symbols from /fw.elf...done.
  43. Found core at 23 - 133137
  44. Mapping DRAM: 98304 @ 0x3ffe8000
  45. Mapping /opt/Espressif/rom/rom.bin at 0x40000000
  46. Mapping /fw.elf .data: 2456 @ 0x3ffe8000
  47. Mapping /fw.elf .rodata: 8 @ 0x3ffe8998
  48. Mapping /fw.elf .bss: 27560 @ 0x3ffe89a0
  49. Mapping /fw.elf .text: 29053 @ 0x40100000
  50. Mapping /fw.elf .irom0.text: 713227 @ 0x40200010
  51. Loaded core dump from last snippet in  /core
  52. 136     /mongoose-os/fw/platforms/esp8266/src/esp_exc.c: No such file or directory.
  53. Remote debugging using 127.0.0.1:1234
  54. 0x401064da in abort () at /mongoose-os/fw/platforms/esp8266/src/esp_exc.c:136
  55. #0  0x401064da in abort ()
  56.     at /mongoose-os/fw/platforms/esp8266/src/esp_exc.c:136
  57. #1  0x4028f1fd in integrity_check ()
  58.     at /mongoose-os/common/umm_malloc/umm_malloc.c:765
  59. #2  0x40294e87 in umm_realloc (ptr=0x0, size=size@entry=15)
  60.     at /mongoose-os/common/umm_malloc/umm_malloc.c:1754
  61. #3  0x40294738 in realloc (ptr=<optimized out>, size=size@entry=15)
  62.     at /mongoose-os/fw/platforms/esp8266/src/esp_libc.c:65
  63. #4  0x40280cd4 in mbuf_resize (a=a@entry=0x3ffffb6c,
  64.     new_size=new_size@entry=15) at common/mbuf.c:51
  65. #5  0x40280b54 in mbuf_init (mbuf=mbuf@entry=0x3ffffb6c,
  66.     initial_size=initial_size@entry=15) at common/mbuf.c:37
  67. #6  0x4029cdbe in mg_rpc_send_responsef (ri=ri@entry=0x3ffefadc,
  68.     result_json_fmt=0x4020dcac "st: %.*s\r\nContent-Length: %u\r\n%.*s%s\r\n%s", result_json_fmt@entry=0x4020dcd2 "%s")
  69.     at /fwbuild-volumes/2.10.2/apps/demo-c/esp8266/build_contexts/build_ctx_220038086/libs/rpc-common/src/mg_rpc.c:822
  70. #7  0x4029cd90 in mg_rpc_send_responsef (ri=ri@entry=0x3ffefadc,
  71.     result_json_fmt=result_json_fmt@entry=0x0)
  72.     at /fwbuild-volumes/2.10.2/apps/demo-c/esp8266/build_contexts/build_ctx_220038086/libs/rpc-common/src/mg_rpc.c:820
  73. #8  0x4028c6ac in shadow_delta_rpc_cb (ri=0x3ffefadc, cb_arg=<optimized out>,
  74.     fi=<optimized out>, args=...)
  75.     at /data/tmp/mos_prebuild/tmp/cesanta/mos-libs/dash/src/mgos_dash.c:106
  76. #9  0x4029c6fc in mg_rpc_handle_request (frame=0x3ffffd20, ci=0x3fff1714,
  77.     c=0x3fff1504)
  78.     at /fwbuild-volumes/2.10.2/apps/demo-c/esp8266/build_contexts/build_ctx_220038086/libs/rpc-common/src/mg_rpc.c:294
  79. #10 mg_rpc_handle_frame (c=c@entry=0x3fff1504, ci=ci@entry=0x3fff1714,
  80.     frame=frame@entry=0x3ffffd20)
  81.     at /fwbuild-volumes/2.10.2/apps/demo-c/esp8266/build_contexts/build_ctx_220038086/libs/rpc-common/src/mg_rpc.c:413
  82. #11 0x4029bf6d in mg_rpc_ev_handler (ch=0x3fff16a4, ev=<optimized out>,
  83.     ev_data=0x3ffffd90)
  84.     at /fwbuild-volumes/2.10.2/apps/demo-c/esp8266/build_contexts/build_ctx_220038086/libs/rpc-common/src/mg_rpc.c:484
  85. #12 0x4029d225 in mg_rpc_ws_handler (nc=nc@entry=0x3fff278c,
  86.     ev=<optimized out>, ev_data=ev_data@entry=0x3ffffe30,
  87.     user_data=user_data@entry=0x3fff16a4)
  88.     at /fwbuild-volumes/2.10.2/apps/demo-c/esp8266/build_contexts/build_ctx_220038086/libs/rpc-ws/src/mg_rpc_channel_ws.c:61
  89. #13 0x4029d377 in mg_rpc_ws_out_handler (nc=0x3fff278c, ev=<optimized out>,
  90.     ev_data=0x3ffffe30, user_data=0x3fff16a4)
  91.     at /fwbuild-volumes/2.10.2/apps/demo-c/esp8266/build_contexts/build_ctx_220038086/libs/rpc-ws/src/mg_rpc_channel_ws.c:217
  92. #14 0x40281392 in mg_call (nc=nc@entry=0x3fff278c,
  93.     ev_handler=0x4029d2cc <mg_rpc_ws_out_handler>, user_data=0x3fff16a4,
  94.     ev=ev@entry=113, ev_data=0x3ffffe30) at mongoose/src/mg_net.c:96
  95. #15 0x40282e3b in mg_handle_incoming_websocket_frame (nc=nc@entry=0x3fff278c,
  96.     wsm=wsm@entry=0x3ffffe30) at mongoose/src/mg_http_websocket.c:39
  97. #16 0x40289b31 in mg_deliver_websocket_data (nc=0x3fff278c)
  98.     at mongoose/src/mg_http_websocket.c:201
  99. #17 mg_ws_handler (nc=0x3fff278c, ev=<optimized out>,
  100.     ev_data=<optimized out>, user_data=<optimized out>)
  101.     at mongoose/src/mg_http_websocket.c:353
  102. #18 0x40281392 in mg_call (nc=nc@entry=0x3fff278c,
  103.     ev_handler=0x402897e4 <mg_ws_handler>, ev_handler@entry=0x0,
  104.     user_data=0x3fff16a4, ev=ev@entry=3, ev_data=ev_data@entry=0x3ffffec0)
  105.     at mongoose/src/mg_net.c:96
  106. #19 0x4028286d in mg_recv_tcp (len=1460,
  107.     buf=0x3fff300c "\201~\003\030{\"id\":1,\"method\":\"Shadow.Delta\",\"params\":{\"state\":{\"ota\":{\"commit_timeout\":600,\"url\":\"https://s3-ap-southeast-1.amazonaws.com/sens-ota/co2-1/fw2.zip\"},\"test\":6},\"metadata\":{\"desired\":{\"ota\":{\"comm"..., n
  108. c=0x3fff278c) at mongoose/src/mg_net.c:644
  109. #20 mg_do_recv (nc=nc@entry=0x3fff278c) at mongoose/src/mg_net.c:599
  110. #21 0x4028294f in mg_if_can_recv_cb (nc=0x3fff278c)
  111.     at mongoose/src/mg_net.c:606
  112. #22 mg_ev_mgr_lwip_process_signals (mgr=mgr@entry=0x3ffef428 <s_mgr>)
  113.     at common/platforms/lwip/mg_lwip_ev_mgr.c:76
  114. #23 0x40285391 in mg_lwip_if_poll (iface=<optimized out>,
  115.     timeout_ms=<optimized out>) at common/platforms/lwip/mg_lwip_ev_mgr.c:127
  116. #24 0x40285e9c in mg_mgr_poll (m=m@entry=0x3ffef428 <s_mgr>,
  117.     timeout_ms=timeout_ms@entry=0) at mongoose/src/mg_net.c:301
  118. #25 0x4028ba65 in mongoose_poll (ms=ms@entry=0)
  119.     at /data/tmp/mos_prebuild/tmp/cesanta/mos-libs/mongoose/src/mgos_mongoose.c:61
  120. #26 0x40106aac in mgos_mg_poll_cb (arg=<optimized out>)
  121.     at /mongoose-os/fw/platforms/esp8266/src/esp_main.c:96
  122. #27 0x40293027 in mgos_lwip_task (e=<optimized out>)
  123.     at /mongoose-os/fw/platforms/esp8266/src/esp_main.c:264
  124. #28 0x40000f49 in ?? ()
  125. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  126. Detaching from program: /fw.elf, Remote target
  127. Remote doesn't know how to detach
  128. GDB closed the connection
  129.  Jan 24 18:10:09.062] rebooting
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top