payload: {"action":"created","issue":{"url":"https://api.github.com/repos/philbowles/esparto/issues/22","repository_url":"https://api.github.com/repos/philbowles/esparto","labels_url":"https://api.github.com/repos/philbowles/esparto/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/philbowles/esparto/issues/22/comments","events_url":"https://api.github.com/repos/philbowles/esparto/issues/22/events","html_url":"https://github.com/philbowles/esparto/issues/22","id":472584873,"node_id":"MDU6SXNzdWU0NzI1ODQ4NzM=","number":22,"title":"Fatal Exception with A_HelloWorld","user":{"login":"RudyFiero","id":10385754,"node_id":"MDQ6VXNlcjEwMzg1NzU0","avatar_url":"https://avatars1.githubusercontent.com/u/10385754?v=4","gravatar_id":"","url":"https://api.github.com/users/RudyFiero","html_url":"https://github.com/RudyFiero","followers_url":"https://api.github.com/users/RudyFiero/followers","following_url":"https://api.github.com/users/RudyFiero/following{/other_user}","gists_url":"https://api.github.com/users/RudyFiero/gists{/gist_id}","starred_url":"https://api.github.com/users/RudyFiero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RudyFiero/subscriptions","organizations_url":"https://api.github.com/users/RudyFiero/orgs","repos_url":"https://api.github.com/users/RudyFiero/repos","events_url":"https://api.github.com/users/RudyFiero/events{/privacy}","received_events_url":"https://api.github.com/users/RudyFiero/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-07-24T22:48:08Z","updated_at":"2019-07-25T08:43:01Z","closed_at":null,"author_association":"NONE","body":"As a recap, I couldn't get any of the examples to compile. I was using a git version of ESP8266/Arduino. I didn't want to change that version back to 2.5.2 so I went to my ESP32 machine, installed ESP8266/Arduino 2.5.2 release code. That solved the compile issue I raised so I closed it. \r\n\r\nWhile I had compiled it I didn't have an ESP8266 board to try. I didn't want to mix ESP32 Arduino stuff with ESP8266 Arduino stuff. That was the reason I got the second computer. I still didn't want to change my git version on my ESP8266 machine. \r\n\r\nI have wanted to try the current Esparto and today I decided to proceed on my ESP32 machine. All seemed good until I loaded the flash with A_HelloWorld. I also loaded the Data directory into SPIFFS. I then did a reset. And I kept getting immediate fatal exceptions.\r\n\r\nets Jan  8 2013,rst cause:1, boot mode:(3,6)\r\n\r\n```\r\nload 0x4010f000, len 1384, room 16 \r\ntail 8\r\nchksum 0x2d\r\ncsum 0x2d\r\nv8b899c12\r\n~ld\r\n\r\nSDK:2.2.1(cfd48f3)/Core:2.5.2=20502000/lwIP:STABLE-2_1_2_RELEASE/glue:1.1-7-g82abda3/BearSSL:a143020\r\nSPIFFSImpl: allocating 512+240+1400=2152 bytes\r\nSPIFFSImpl: mounting fs @300000, size=fb000, block=2000, page=100\r\nSPIFFSImpl: mount rc=0\r\nFatal exception 28(LoadProhibitedCause):\r\nepc1=0x40234ed0, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000\r\n\r\nException (28):\r\nepc1=0x40234ed0 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000\r\n\r\n```\r\nI tried a bunch of things and got nowhere.  In the end I took an SSD drive and installed Arduino 1.8.9 on it. (a portable - self contained copy). I installed the 2.5.2 release code of the ESP8266/Arduino framework. I installed the current SPIFFS upload tool and the exception decoder. I installed the Esparto and listed required libraries. \r\n\r\nI am using a 4MB ESP-12E module with the following settings. \r\n\r\n![settings](https://user-images.githubusercontent.com/10385754/61833611-783b5000-ae3a-11e9-962e-3893bc486d65.png)\r\n\r\n\r\n```\r\n\r\nDecoding stack results\r\n0x4020277c: std::operator   , std::allocator  >(std::basic_string  , std::allocator  > const&, std::basic_string  , std::allocator  > const&) at e:\\arduino-1.8.9-windows\\arduino-1.8.9\\portable\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-3-20ed2b9\\xtensa-lx106-elf\\include\\c++\\4.8.2\\bits/basic_string.h line 2573\r\n0x40203250: std::map  , std::allocator   > >::operator[](std::string const&) at e:\\arduino-1.8.9-windows\\arduino-1.8.9\\portable\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-3-20ed2b9\\xtensa-lx106-elf\\include\\c++\\4.8.2\\bits/stl_tree.h line 1141\r\n0x40226600: malloc(size_t) at E:\\arduino-1.8.9-windows\\arduino-1.8.9\\portable\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\cores\\esp8266\\umm_malloc\\umm_malloc.cpp line 1685\r\n0x402036d9: ESPArto::ESPArto(std::map  , std::allocator   > >) at E:\\sketchbook\\libraries\\esparto-master\\src\\ESPArto.cpp line 464\r\n0x402069bc: ESPArto::_mqTat(std::vector   >) at E:\\sketchbook\\libraries\\esparto-master\\src\\mqtt.cpp line 230\r\n0x4022b6b4: std::_Function_base::_Base_manager    >)>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) at e:\\arduino-1.8.9-windows\\arduino-1.8.9\\portable\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-3-20ed2b9\\xtensa-lx106-elf\\include\\c++\\4.8.2/functional line 1934\r\n0x40202534: std::_Function_handler    >), void (*)(std::vector   >)>::_M_invoke(std::_Any_data const&, std::vector   >) at e:\\arduino-1.8.9-windows\\arduino-1.8.9\\portable\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-3-20ed2b9\\xtensa-lx106-elf\\include\\c++\\4.8.2/functional line 2069\r\n0x402069e0: ESPArto::_mqTdaily(std::vector   >) at E:\\sketchbook\\libraries\\esparto-master\\src\\mqtt.cpp line 232\r\n0x4022b6b4: std::_Function_base::_Base_manager    >)>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) at e:\\arduino-1.8.9-windows\\arduino-1.8.9\\portable\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-3-20ed2b9\\xtensa-lx106-elf\\include\\c++\\4.8.2/functional line 1934\r\n0x40202534: std::_Function_handler    >), void (*)(std::vector   >)>::_M_invoke(std::_Any_data const&, std::vector   >) at e:\\arduino-1.8.9-windows\\arduino-1.8.9\\portable\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-3-20ed2b9\\xtensa-lx106-elf\\include\\c++\\4.8.2/functional line 2069\r\n0x40100504: millis() at E:\\arduino-1.8.9-windows\\arduino-1.8.9\\portable\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\cores\\esp8266\\core_esp8266_wiring.cpp line 186\r\n0x4022b6b4: std::_Function_base::_Base_manager    >)>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) at e:\\arduino-1.8.9-windows\\arduino-1.8.9\\portable\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-3-20ed2b9\\xtensa-lx106-elf\\include\\c++\\4.8.2/functional line 1934\r\n0x40202534: std::_Function_handler    >), void (*)(std::vector   >)>::_M_invoke(std::_Any_data const&, std::vector   >) at e:\\arduino-1.8.9-windows\\arduino-1.8.9\\portable\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-3-20ed2b9\\xtensa-lx106-elf\\include\\c++\\4.8.2/functional line 2069\r\n0x4020115f: _GLOBAL__sub_I_Esparto() at e:\\arduino-1.8.9-windows\\arduino-1.8.9\\portable\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-3-20ed2b9\\xtensa-lx106-elf\\include\\c++\\4.8.2\\bits/stl_tree.h line 671\r\n0x40222260: String::String(char const*) at E:\\arduino-1.8.9-windows\\arduino-1.8.9\\portable\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\cores\\esp8266\\WString.cpp line 36\r\n0x402054ac: _GLOBAL__sub_I__ZN7ESPArto4_udpE() at E:\\sketchbook\\libraries\\esparto-master\\src\\ESPArto.cpp line 497\r\n0x40223435: init_done() at E:\\arduino-1.8.9-windows\\arduino-1.8.9\\portable\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\cores\\esp8266\\core_esp8266_main.cpp line 149\r\n0x4023975a: tcp_input at core/tcp_in.c line 321\r\n0x4023ad00: udp_sendto_if_src at core/udp.c line 855\r\n0x4022e952: _printf_float at /home/earle/src/esp-quick-toolchain/repo/newlib/newlib/libc/stdio/nano-vfprintf_float.c line 241\r\n0x402018fb: std::__introsort_loop__gnu_cxx::__normal_iterator   >, int, ESPArto::_matchTasks(std::function , std::function )::__lambda22>(__gnu_cxx::__normal_iterator    > >, __gnu_cxx::__normal_iterator    > >, int) at e:\\arduino-1.8.9-windows\\arduino-1.8.9\\portable\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-3-20ed2b9\\xtensa-lx106-elf\\include\\c++\\4.8.2\\bits/stl_algo.h line 2328\r\n0x40203412: std::map  , std::allocator   > >::operator[](std::string&&) at e:\\arduino-1.8.9-windows\\arduino-1.8.9\\portable\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-3-20ed2b9\\xtensa-lx106-elf\\include\\c++\\4.8.2\\bits/stl_tree.h line 140\r\n0x40238642: tcp_parseopt at core/tcp_in.c line 1946\r\n0x4023811f: dns_gethostbyname_addrtype at core/dns.c line 1566\r\n0x4010044c: __wrap_spi_flash_read(uint32_t, uint32_t*, size_t) at E:\\arduino-1.8.9-windows\\arduino-1.8.9\\portable\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\cores\\esp8266\\core_esp8266_phy.cpp line 308\r\n0x4023813a: dns_gethostbyname_addrtype at core/dns.c line 1580\r\n0x40238642: tcp_parseopt at core/tcp_in.c line 1946\r\n0x40100854: uart_isr(void*) at E:\\arduino-1.8.9-windows\\arduino-1.8.9\\portable\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\cores\\esp8266\\uart.cpp line 364\r\n0x4023811f: dns_gethostbyname_addrtype at core/dns.c line 1566\r\n0x4010044c: __wrap_spi_flash_read(uint32_t, uint32_t*, size_t) at E:\\arduino-1.8.9-windows\\arduino-1.8.9\\portable\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\cores\\esp8266\\core_esp8266_phy.cpp line 308\r\n0x4023813a: dns_gethostbyname_addrtype at core/dns.c line 1580\r\n0x401004e4: millis() at E:\\arduino-1.8.9-windows\\arduino-1.8.9\\portable\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\cores\\esp8266\\core_esp8266_wiring.cpp line 183\r\n0x401004e4: millis() at E:\\arduino-1.8.9-windows\\arduino-1.8.9\\portable\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\cores\\esp8266\\core_esp8266_wiring.cpp line 183\r\n0x402394c6: tcp_input at core/tcp_in.c line 189\r\n0x4023975a: tcp_input at core/tcp_in.c line 321\r\n0x401008c8: uart_isr(void*) at E:\\arduino-1.8.9-windows\\arduino-1.8.9\\portable\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\cores\\esp8266\\uart.cpp line 388\r\n0x4023923f: tcp_receive at core/tcp_in.c line 1814\r\n0x401004c0: millis() at E:\\arduino-1.8.9-windows\\arduino-1.8.9\\portable\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\cores\\esp8266\\core_esp8266_wiring.cpp line 180\r\n0x4023925a: tcp_receive at core/tcp_in.c line 1814\r\n```\r\nI used two different ESP-12 module boards that I have been using for a couple of years. I have never had any issues with them. \r\n\r\nCan you think of what the issue might be? \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/philbowles/esparto/issues/comments/514955086","html_url":"https://github.com/philbowles/esparto/issues/22#issuecomment-514955086","issue_url":"https://api.github.com/repos/philbowles/esparto/issues/22","id":514955086,"node_id":"MDEyOklzc3VlQ29tbWVudDUxNDk1NTA4Ng==","user":{"login":"philbowles","id":27769598,"node_id":"MDQ6VXNlcjI3NzY5NTk4","avatar_url":"https://avatars2.githubusercontent.com/u/27769598?v=4","gravatar_id":"","url":"https://api.github.com/users/philbowles","html_url":"https://github.com/philbowles","followers_url":"https://api.github.com/users/philbowles/followers","following_url":"https://api.github.com/users/philbowles/following{/other_user}","gists_url":"https://api.github.com/users/philbowles/gists{/gist_id}","starred_url":"https://api.github.com/users/philbowles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philbowles/subscriptions","organizations_url":"https://api.github.com/users/philbowles/orgs","repos_url":"https://api.github.com/users/philbowles/repos","events_url":"https://api.github.com/users/philbowles/events{/privacy}","received_events_url":"https://api.github.com/users/philbowles/received_events","type":"User","site_admin":false},"created_at":"2019-07-25T08:43:01Z","updated_at":"2019-07-25T08:43:01Z","author_association":"OWNER","body":"Just pushed a quick bugfix (3.3.2) to solve a problem some folk were having\nwith the early examples e.g. \"Hello World\" If that's you, update your copy\nand try again - many apologies of course\n\nOn Thu, Jul 25, 2019 at 1:08 AM Rudy <notifications@github.com> wrote:\n\n> One other note. I did a complete flash contents write to remove any\n> previous information before I programmed the code and SPIFFS.\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/philbowles/esparto/issues/22?email_source=notifications&email_token=AGT3V7S7ENCRRL7N776DIPDQBDOHHA5CNFSM4IGVL7SKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2X3LVI#issuecomment-514831829>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AGT3V7UYGPAB5BPJRSMCFRLQBDOHHANCNFSM4IGVL7SA>\n> .\n>\n"}}
other: {"actor":{"display_login":"philbowles"}}