Skip to content

Instantly share code, notes, and snippets.

@bgamari
Last active December 11, 2015 01:49
Show Gist options
  • Save bgamari/4526460 to your computer and use it in GitHub Desktop.
Save bgamari/4526460 to your computer and use it in GitHub Desktop.
Continuing.
Breakpoint 1, 0x0002b694 in malloc ()
#0 0x0002b694 in malloc ()
#1 0x00028948 in operator new(unsigned int) ()
#2 0x00028168 in std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) ()
#3 0x00028376 in std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned int) ()
#4 0x00028416 in std::string::reserve(unsigned int) ()
#5 0x0000d9b2 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:53
#6 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#7 0x000049a2 in main () at src/main.cpp:153
Breakpoint 1, 0x0002b694 in malloc ()
#0 0x0002b694 in malloc ()
#1 0x00028948 in operator new(unsigned int) ()
#2 0x00028168 in std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) ()
#3 0x000281e0 in std::string::_M_mutate(unsigned int, unsigned int, unsigned int) ()
#4 0x0002831e in std::string::_M_leak_hard() ()
#5 0x0002834a in std::string::operator[](unsigned int) ()
#6 0x0000d1a4 in GcodeDispatch::on_console_line_received (this=0x100021e8, line=0x10007f50) at src/modules/communication/GcodeDispatch.cpp:32
#7 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_CONSOLE_LINE_RECEIVED, argument=0x10007f50) at src/libs/Kernel.cpp:142
#8 0x0000da04 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:61
#9 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#10 0x000049a2 in main () at src/main.cpp:153
Breakpoint 1, 0x0002b694 in malloc ()
#0 0x0002b694 in malloc ()
#1 0x00028948 in operator new(unsigned int) ()
#2 0x00028168 in std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) ()
#3 0x0002857c in char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag) ()
#4 0x000285d0 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned int, unsigned int)
()
#5 0x000285f6 in std::string::substr(unsigned int, unsigned int) const ()
#6 0x0000d500 in GcodeDispatch::on_console_line_received (this=0x100021e8, line=0x10007f50) at src/modules/communication/GcodeDispatch.cpp:91
#7 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_CONSOLE_LINE_RECEIVED, argument=0x10007f50) at src/libs/Kernel.cpp:142
#8 0x0000da04 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:61
#9 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#10 0x000049a2 in main () at src/main.cpp:153
Breakpoint 1, 0x0002b694 in malloc ()
#0 0x0002b694 in malloc ()
#1 0x00028948 in operator new(unsigned int) ()
#2 0x00028168 in std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) ()
#3 0x0002857c in char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag) ()
#4 0x000285d0 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned int, unsigned int)
()
#5 0x000285f6 in std::string::substr(unsigned int, unsigned int) const ()
#6 0x0000d530 in GcodeDispatch::on_console_line_received (this=0x100021e8, line=0x10007f50) at src/modules/communication/GcodeDispatch.cpp:92
#7 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_CONSOLE_LINE_RECEIVED, argument=0x10007f50) at src/libs/Kernel.cpp:142
#8 0x0000da04 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:61
#9 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#10 0x000049a2 in main () at src/main.cpp:153
Breakpoint 2, 0x0002b6a4 in free ()
#0 0x0002b6a4 in free ()
#1 0x000281a6 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() ()
#2 0x0000d54a in GcodeDispatch::on_console_line_received (this=0x100021e8, line=0x10007f50) at src/modules/communication/GcodeDispatch.cpp:92
#3 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_CONSOLE_LINE_RECEIVED, argument=0x10007f50) at src/libs/Kernel.cpp:142
#4 0x0000da04 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:61
#5 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#6 0x000049a2 in main () at src/main.cpp:153
Breakpoint 2, 0x0002b6a4 in free ()
#0 0x0002b6a4 in free ()
#1 0x000281a6 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() ()
#2 0x0000d5ea in GcodeDispatch::on_console_line_received (this=0x100021e8, line=0x10007f50) at src/modules/communication/GcodeDispatch.cpp:104
#3 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_CONSOLE_LINE_RECEIVED, argument=0x10007f50) at src/libs/Kernel.cpp:142
#4 0x0000da04 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:61
#5 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#6 0x000049a2 in main () at src/main.cpp:153
Breakpoint 1, 0x0002b694 in malloc ()
#0 0x0002b694 in malloc ()
#1 0x00028948 in operator new(unsigned int) ()
#2 0x00028168 in std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) ()
#3 0x000281e0 in std::string::_M_mutate(unsigned int, unsigned int, unsigned int) ()
#4 0x00028250 in std::string::_M_replace_safe(unsigned int, unsigned int, char const*, unsigned int) ()
#5 0x0002829c in std::string::assign(char const*, unsigned int) ()
#6 0x0000d4e8 in GcodeDispatch::on_console_line_received (this=0x100021e8, line=0x10007f50) at src/modules/communication/GcodeDispatch.cpp:88
#7 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_CONSOLE_LINE_RECEIVED, argument=0x10007f50) at src/libs/Kernel.cpp:142
#8 0x0000da04 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:61
#9 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#10 0x000049a2 in main () at src/main.cpp:153
Breakpoint 2, 0x0002b6a4 in free ()
#0 0x0002b6a4 in free ()
#1 0x000281a6 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() ()
#2 0x0000d5ea in GcodeDispatch::on_console_line_received (this=0x100021e8, line=0x10007f50) at src/modules/communication/GcodeDispatch.cpp:104
#3 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_CONSOLE_LINE_RECEIVED, argument=0x10007f50) at src/libs/Kernel.cpp:142
#4 0x0000da04 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:61
#5 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#6 0x000049a2 in main () at src/main.cpp:153
Breakpoint 2, 0x0002b6a4 in free ()
#0 0x0002b6a4 in free ()
#1 0x000281a6 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() ()
#2 0x0000d678 in GcodeDispatch::on_console_line_received (this=0x100021e8, line=0x10007f50) at src/modules/communication/GcodeDispatch.cpp:113
#3 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_CONSOLE_LINE_RECEIVED, argument=0x10007f50) at src/libs/Kernel.cpp:142
#4 0x0000da04 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:61
#5 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#6 0x000049a2 in main () at src/main.cpp:153
Breakpoint 1, 0x0002b694 in malloc ()
#0 0x0002b694 in malloc ()
#1 0x00028948 in operator new(unsigned int) ()
#2 0x00028168 in std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) ()
#3 0x0002857c in char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag) ()
#4 0x000285d0 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned int, unsigned int)
()
#5 0x000285f6 in std::string::substr(unsigned int, unsigned int) const ()
#6 0x00023396 in SimpleShell::on_console_line_received (this=0x10005768, argument=0x10007f50) at src/modules/utils/simpleshell/SimpleShell.cpp:33
#7 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_CONSOLE_LINE_RECEIVED, argument=0x10007f50) at src/libs/Kernel.cpp:142
#8 0x0000da04 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:61
#9 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#10 0x000049a2 in main () at src/main.cpp:153
Breakpoint 2, 0x0002b6a4 in free ()
#0 0x0002b6a4 in free ()
#1 0x000281a6 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() ()
#2 0x000233b0 in SimpleShell::on_console_line_received (this=0x10005768, argument=0x10007f50) at src/modules/utils/simpleshell/SimpleShell.cpp:33
#3 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_CONSOLE_LINE_RECEIVED, argument=0x10007f50) at src/libs/Kernel.cpp:142
#4 0x0000da04 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:61
#5 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#6 0x000049a2 in main () at src/main.cpp:153
Breakpoint 1, 0x0002b694 in malloc ()
#0 0x0002b694 in malloc ()
#1 0x00028948 in operator new(unsigned int) ()
#2 0x00028168 in std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) ()
#3 0x0002857c in char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag) ()
#4 0x000285d0 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned int, unsigned int)
()
#5 0x000285f6 in std::string::substr(unsigned int, unsigned int) const ()
#6 0x0002224a in Configurator::on_console_line_received (this=0x10004290, argument=0x10007f50) at src/modules/utils/configurator/Configurator.cpp:29
#7 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_CONSOLE_LINE_RECEIVED, argument=0x10007f50) at src/libs/Kernel.cpp:142
#8 0x0000da04 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:61
#9 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#10 0x000049a2 in main () at src/main.cpp:153
Breakpoint 2, 0x0002b6a4 in free ()
#0 0x0002b6a4 in free ()
#1 0x000281a6 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() ()
#2 0x00022262 in Configurator::on_console_line_received (this=0x10004290, argument=0x10007f50) at src/modules/utils/configurator/Configurator.cpp:29
#3 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_CONSOLE_LINE_RECEIVED, argument=0x10007f50) at src/libs/Kernel.cpp:142
#4 0x0000da04 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:61
#5 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#6 0x000049a2 in main () at src/main.cpp:153
Breakpoint 2, 0x0002b6a4 in free ()
#0 0x0002b6a4 in free ()
#1 0x000281a6 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() ()
#2 0x0000da18 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:66
#3 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#4 0x000049a2 in main () at src/main.cpp:153
Breakpoint 1, 0x0002b694 in malloc ()
#0 0x0002b694 in malloc ()
#1 0x00028948 in operator new(unsigned int) ()
#2 0x00028168 in std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) ()
#3 0x00028376 in std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned int) ()
#4 0x00028416 in std::string::reserve(unsigned int) ()
#5 0x0000d9b2 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:53
#6 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#7 0x000049a2 in main () at src/main.cpp:153
Breakpoint 1, 0x0002b694 in malloc ()
#0 0x0002b694 in malloc ()
#1 0x00028948 in operator new(unsigned int) ()
#2 0x00028168 in std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) ()
#3 0x000281e0 in std::string::_M_mutate(unsigned int, unsigned int, unsigned int) ()
#4 0x0002831e in std::string::_M_leak_hard() ()
#5 0x0002834a in std::string::operator[](unsigned int) ()
#6 0x0000d1a4 in GcodeDispatch::on_console_line_received (this=0x100021e8, line=0x10007f50) at src/modules/communication/GcodeDispatch.cpp:32
#7 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_CONSOLE_LINE_RECEIVED, argument=0x10007f50) at src/libs/Kernel.cpp:142
#8 0x0000da04 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:61
#9 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#10 0x000049a2 in main () at src/main.cpp:153
Breakpoint 1, 0x0002b694 in malloc ()
#0 0x0002b694 in malloc ()
#1 0x00028948 in operator new(unsigned int) ()
#2 0x00028168 in std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) ()
#3 0x00028376 in std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned int) ()
#4 0x000283be in std::string::assign(std::string const&) ()
#5 0x0000d4d6 in GcodeDispatch::on_console_line_received (this=0x100021e8, line=0x10007f50) at src/modules/communication/GcodeDispatch.cpp:87
#6 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_CONSOLE_LINE_RECEIVED, argument=0x10007f50) at src/libs/Kernel.cpp:142
#7 0x0000da04 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:61
#8 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#9 0x000049a2 in main () at src/main.cpp:153
Breakpoint 2, 0x0002b6a4 in free ()
#0 0x0002b6a4 in free ()
#1 0x000281a6 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() ()
#2 0x0000d5ea in GcodeDispatch::on_console_line_received (this=0x100021e8, line=0x10007f50) at src/modules/communication/GcodeDispatch.cpp:104
#3 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_CONSOLE_LINE_RECEIVED, argument=0x10007f50) at src/libs/Kernel.cpp:142
#4 0x0000da04 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:61
#5 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#6 0x000049a2 in main () at src/main.cpp:153
Breakpoint 2, 0x0002b6a4 in free ()
#0 0x0002b6a4 in free ()
#1 0x000281a6 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() ()
#2 0x0000d678 in GcodeDispatch::on_console_line_received (this=0x100021e8, line=0x10007f50) at src/modules/communication/GcodeDispatch.cpp:113
#3 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_CONSOLE_LINE_RECEIVED, argument=0x10007f50) at src/libs/Kernel.cpp:142
#4 0x0000da04 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:61
#5 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#6 0x000049a2 in main () at src/main.cpp:153
Breakpoint 1, 0x0002b694 in malloc ()
#0 0x0002b694 in malloc ()
#1 0x00028948 in operator new(unsigned int) ()
#2 0x00028168 in std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) ()
#3 0x0002857c in char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag) ()
#4 0x000285d0 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned int, unsigned int)
()
#5 0x000285f6 in std::string::substr(unsigned int, unsigned int) const ()
#6 0x00023396 in SimpleShell::on_console_line_received (this=0x10005768, argument=0x10007f50) at src/modules/utils/simpleshell/SimpleShell.cpp:33
#7 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_CONSOLE_LINE_RECEIVED, argument=0x10007f50) at src/libs/Kernel.cpp:142
#8 0x0000da04 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:61
#9 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#10 0x000049a2 in main () at src/main.cpp:153
Breakpoint 2, 0x0002b6a4 in free ()
#0 0x0002b6a4 in free ()
#1 0x000281a6 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() ()
#2 0x000233b0 in SimpleShell::on_console_line_received (this=0x10005768, argument=0x10007f50) at src/modules/utils/simpleshell/SimpleShell.cpp:33
#3 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_CONSOLE_LINE_RECEIVED, argument=0x10007f50) at src/libs/Kernel.cpp:142
#4 0x0000da04 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:61
#5 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#6 0x000049a2 in main () at src/main.cpp:153
Breakpoint 1, 0x0002b694 in malloc ()
#0 0x0002b694 in malloc ()
#1 0x00028948 in operator new(unsigned int) ()
#2 0x00028168 in std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) ()
#3 0x0002857c in char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag) ()
#4 0x000285d0 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned int, unsigned int)
()
#5 0x000285f6 in std::string::substr(unsigned int, unsigned int) const ()
#6 0x0002224a in Configurator::on_console_line_received (this=0x10004290, argument=0x10007f50) at src/modules/utils/configurator/Configurator.cpp:29
#7 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_CONSOLE_LINE_RECEIVED, argument=0x10007f50) at src/libs/Kernel.cpp:142
#8 0x0000da04 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:61
#9 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#10 0x000049a2 in main () at src/main.cpp:153
Breakpoint 2, 0x0002b6a4 in free ()
#0 0x0002b6a4 in free ()
#1 0x000281a6 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() ()
#2 0x00022262 in Configurator::on_console_line_received (this=0x10004290, argument=0x10007f50) at src/modules/utils/configurator/Configurator.cpp:29
#3 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_CONSOLE_LINE_RECEIVED, argument=0x10007f50) at src/libs/Kernel.cpp:142
#4 0x0000da04 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:61
#5 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#6 0x000049a2 in main () at src/main.cpp:153
Breakpoint 2, 0x0002b6a4 in free ()
#0 0x0002b6a4 in free ()
#1 0x000281a6 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() ()
#2 0x0000da18 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:66
#3 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#4 0x000049a2 in main () at src/main.cpp:153
Program received signal SIGINT, Interrupt.
0x00007cd0 in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
13321 (current->*kernel_callback_functions[id_event])(this);
#0 0x0002acdc in _free_r ()
#1 0x0000f726 in __gnu_cxx::new_allocator<Gcode>::deallocate (this=0x100045d8, __p=0x100079d0)
at /home/ben/reprap/repos/Smoothie/gcc4mbed/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include/c++/4.6.2/ext/new_allocator.h:98
#2 0x0000f3ca in std::_Vector_base<Gcode, std::allocator<Gcode> >::_M_deallocate (this=0x100045d8, __p=0x100079d0, __n=2)
at /home/ben/reprap/repos/Smoothie/gcc4mbed/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include/c++/4.6.2/bits/stl_vector.h:156
#3 0x0000f276 in std::vector<Gcode, std::allocator<Gcode> >::_M_insert_aux<Gcode const&>(__gnu_cxx::__normal_iterator<Gcode*, std::vector<Gcode, std::allocator<Gcode> > >, Gcode const&&&) (this=0x100045d8, __position=...)
at /home/ben/reprap/repos/Smoothie/gcc4mbed/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include/c++/4.6.2/bits/vector.tcc:363
#4 0x0000edde in std::vector<Gcode, std::allocator<Gcode> >::push_back (this=0x100045d8, __x=...)
at /home/ben/reprap/repos/Smoothie/gcc4mbed/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include/c++/4.6.2/bits/stl_vector.h:834
#5 0x0000eac4 in Block::append_gcode (this=0x100045c0, gcode=0x10007e90) at src/modules/robot/Block.cpp:176
#6 0x0001346e in Robot::on_gcode_received (this=0x100020d0, argument=0x10007e90) at src/modules/robot/Robot.cpp:87
#7 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_GCODE_RECEIVED, argument=0x10007e90) at src/libs/Kernel.cpp:142
#8 0x0000d59e in GcodeDispatch::on_console_line_received (this=0x100021e8, line=0x10007f50) at src/modules/communication/GcodeDispatch.cpp:100
#9 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_CONSOLE_LINE_RECEIVED, argument=0x10007f50) at src/libs/Kernel.cpp:142
#10 0x0000da04 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:61
#11 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#12 0x000049a2 in main () at src/main.cpp:153
#0 abort () at gcc4mbed/src/gcc4mbed.c:87
#1 0x00028954 in operator new(unsigned int) ()
#2 0x0000f83c in __gnu_cxx::new_allocator<Gcode>::allocate (this=0x10004758, __n=4)
at /home/ben/reprap/repos/Smoothie/gcc4mbed/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include/c++/4.6.2/ext/new_allocator.h:92
#3 0x0000f66e in std::_Vector_base<Gcode, std::allocator<Gcode> >::_M_allocate (this=0x10004758, __n=4)
at /home/ben/reprap/repos/Smoothie/gcc4mbed/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include/c++/4.6.2/bits/stl_vector.h:150
#4 0x0000f18e in std::vector<Gcode, std::allocator<Gcode> >::_M_insert_aux<Gcode const&>(__gnu_cxx::__normal_iterator<Gcode*, std::vector<Gcode, std::allocator<Gcode> > >, Gcode const&&&) (this=0x10004758, __position=...)
at /home/ben/reprap/repos/Smoothie/gcc4mbed/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include/c++/4.6.2/bits/vector.tcc:324
#5 0x0000edde in std::vector<Gcode, std::allocator<Gcode> >::push_back (this=0x10004758, __x=...)
at /home/ben/reprap/repos/Smoothie/gcc4mbed/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include/c++/4.6.2/bits/stl_vector.h:834
#6 0x0000eac4 in Block::append_gcode (this=0x10004740, gcode=0x10007e90) at src/modules/robot/Block.cpp:176
#7 0x0001346e in Robot::on_gcode_received (this=0x100020d0, argument=0x10007e90) at src/modules/robot/Robot.cpp:87
#8 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_GCODE_RECEIVED, argument=0x10007e90) at src/libs/Kernel.cpp:142
#9 0x0000d59e in GcodeDispatch::on_console_line_received (this=0x100021e8, line=0x10007f50) at src/modules/communication/GcodeDispatch.cpp:100
#10 0x00007dc8 in Kernel::call_event (this=0x10001600, id_event=ON_CONSOLE_LINE_RECEIVED, argument=0x10007f50) at src/libs/Kernel.cpp:142
#11 0x0000da04 in SerialConsole::on_main_loop (this=0x10001ef0, argument=0x10001600) at src/modules/communication/SerialConsole.cpp:61
#12 0x00007cee in Kernel::call_event (this=0x10001600, id_event=ON_MAIN_LOOP) at src/libs/Kernel.cpp:133
#13 0x000049a2 in main () at src/main.cpp:153
Program received signal SIGSEGV, Segmentation fault.
abort () at gcc4mbed/src/gcc4mbed.c:87
8721 __debugbreak();
(gdb) bt
#0 abort () at gcc4mbed/src/gcc4mbed.c:87
#1 0x0002e1c8 in operator new(unsigned int) ()
#2 0x00010bd4 in __gnu_cxx::new_allocator<Gcode>::allocate (
this=0x10005b00, __n=8)
at /home/ben/reprap/repos/Smoothie/gcc4mbed/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include/c++/4.6.2/ext/new_allocator.h:92
#3 0x00010a2e in std::_Vector_base<Gcode, std::allocator<Gcode> >::_M_allocate (this=0x10005b00, __n=8)
at /home/ben/reprap/repos/Smoothie/gcc4mbed/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include/c++/4.6.2/bits/stl_vector.h:150
#4 0x00010626 in std::vector<Gcode, std::allocator<Gcode> >::_M_insert_aux<Gcode const&>(__gnu_cxx::__normal_iterator<Gcode*, std::vector<Gcode, std::allocator<Gcode> > >, Gcode const&&&) (this=0x10005b00, __position=...)
at /home/ben/reprap/repos/Smoothie/gcc4mbed/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include/c++/4.6.2/bits/vector.tcc:324
#5 0x000102ca in std::vector<Gcode, std::allocator<Gcode> >::push_back (
this=0x10005b00, __x=...)
at /home/ben/reprap/repos/Smoothie/gcc4mbed/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include/c++/4.6.2/bits/stl_vector.h:834
#6 0x0000ffb0 in Block::append_gcode (this=0x10005ae8, gcode=0x10007eb0)
at src/modules/robot/Block.cpp:176
#7 0x0001475e in Robot::on_gcode_received (this=0x10002e18,
argument=0x10007eb0) at src/modules/robot/Robot.cpp:87
#8 0x000085a0 in Kernel::call_event (this=0x100020e8,
id_event=ON_GCODE_RECEIVED, argument=0x10007eb0)
at src/libs/Kernel.cpp:142
#9 0x0000ebe2 in GcodeDispatch::on_console_line_received (this=0x10002cd0,
line=0x10007f50) at src/modules/communication/GcodeDispatch.cpp:119
#10 0x000085a0 in Kernel::call_event (this=0x100020e8,
id_event=ON_CONSOLE_LINE_RECEIVED, argument=0x10007f50)
at src/libs/Kernel.cpp:142
#11 0x0000eefa in SerialConsole::on_main_loop (this=0x100029d8,
argument=0x100020e8) at src/modules/communication/SerialConsole.cpp:60
#12 0x000084c6 in Kernel::call_event (this=0x100020e8, id_event=ON_MAIN_LOOP)
at src/libs/Kernel.cpp:133
#13 0x00004d48 in main () at src/main.cpp:153
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment