Created
January 27, 2012 22:26
-
-
Save wjwwood/1691260 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (gdb) break mdc2250.cc:298 | |
| Breakpoint 1 at 0x3126e978d3232f: file mdc2250.cc, line 298. | |
| (gdb) r | |
| Starting program: /Users/william/devel/atrv_ws/mdc2250/bin/mdc2250_example | |
| Reading symbols for shared libraries +++++++......................... done | |
| Unparsed token(12): Starting ... | |
| Unparsed token(3): ?FF | |
| MDC2250 Info: Estop is disabled. | |
| Unparsed token(8): ^ECHOF 0 | |
| Unparsed token(6): ~ECHOF | |
| MDC2250 Info: Echo is enabled. | |
| MDC2250 Info: Connected to device Roboteq v1.2 RCB400 09/05/2011 with control unit RCB400 and controller model MDC2250. | |
| MDC2250 Info: Echo is disabled. | |
| Breakpoint 1, mdc2250::MDC2250::setTelemetry (this=0x7fff5fbfede0, telemetry_queries=@0x7fff5fbff178, period=140734799801824, callback=@0x7fff5fbfede0) at mdc2250.cc:298 | |
| 298 std::string fail_why; | |
| (gdb) inspect this | |
| $1 = ('mdc2250::MDC2250' * const) 0x7fff5fbfede0 | |
| (gdb) up | |
| #1 0x0000000100002d5e in run () at mdc2250_example.cc:19 | |
| 19 my_mdc2250.setTelemetry("C,V,C,A", period, telemetry_callback); | |
| (gdb) inspect &my_mdc2250 | |
| $2 = ('mdc2250::MDC2250' *) 0x7fff5fbfedf8 | |
| (gdb) c | |
| Continuing. | |
| Breakpoint 1, mdc2250::MDC2250::setTelemetry (this=0x7fff5fbfede0, telemetry_queries=@0x7fff5fbff1a8, period=140734799801824, callback=@0x7fff5fbfede0) at mdc2250.cc:298 | |
| 298 std::string fail_why; | |
| (gdb) inspect this | |
| $3 = ('mdc2250::MDC2250' * const) 0x7fff5fbfede0 | |
| (gdb) up | |
| #1 0x0000000100002e27 in run () at mdc2250_example.cc:20 | |
| 20 my_mdc2250.setTelemetry("C,V,C,A", period, telemetry_callback); | |
| (gdb) inspect &my_mdc2250 | |
| $4 = ('mdc2250::MDC2250' *) 0x7fff5fbfedf8 | |
| (gdb) c | |
| Continuing. | |
| Program received signal EXC_BAD_ACCESS, Could not access memory. | |
| Reason: KERN_PROTECTION_FAILURE at address: 0x0000000100300000 | |
| [Switching to process 1636 thread 0x1703] | |
| 0x00007fff904aeaf8 in bzero$VARIANT$sse42 () | |
| (gdb) bt | |
| #0 0x00007fff904aeaf8 in bzero$VARIANT$sse42 () | |
| #1 0x000000010002813c in serial::Serial::read (this=0x7fff5fbfee68, size=5) at serial.cc:127 | |
| #2 0x000000010003770f in serial::SerialListener::readSomeData (this=0x100300000, temp=@0x100380e80, this_many=5) at serial_listener.h:713 | |
| #3 0x000000010002ca3a in serial::SerialListener::listen (this=0x100300000) at serial_listener.cc:144 | |
| #4 0x0000000100127460 in thread_proxy () | |
| #5 0x00007fff904d58bf in _pthread_start () | |
| #6 0x00007fff904d8b75 in thread_start () | |
| (gdb) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (gdb) c | |
| Continuing. | |
| ... [william shortened this] | |
| Got telemetry: A=0:0 | |
| Got telemetry: C=135755:-134921 | |
| Got telemetry: V=135:250:4758 | |
| E-stopping! | |
| Got telemetry: C=135742:-134907 | |
| Got telemetry: A=0:0 | |
| Got telemetry: C=135733:-134899 | |
| MDC2250 Info: Estop is enabled. | |
| MDC2250 Info: Estop is disabled. | |
| Breakpoint 1, mdc2250::MDC2250::setTelemetry (this=0x7fff5fbfee10, telemetry_queries=@0x7fff5fbff1d8, period=140734799801872, callback=@0x7fff5fbfee10) at mdc2250.cc:298 | |
| 298 std::string fail_why; | |
| (gdb) inspect his | |
| No symbol "his" in current context. | |
| (gdb) inspect this | |
| $4 = ('mdc2250::MDC2250' * const) 0x7fff5fbfee10 | |
| (gdb) up | |
| #1 0x000000010000313c in run () at mdc2250_example.cc:39 | |
| 39 my_mdc2250.setTelemetry("C,V,C,A", period, telemetry_callback); | |
| (gdb) inspect &my_mdc2250 | |
| $5 = ('mdc2250::MDC2250' *) 0x7fff5fbfee28 | |
| (gdb) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (gdb) break mdc2250.cc:298 | |
| Breakpoint 1 at 0x3126e978d3232f: file mdc2250.cc, line 298. | |
| (gdb) r | |
| Starting program: /Users/william/devel/atrv_ws/mdc2250/bin/mdc2250_example | |
| Reading symbols for shared libraries +++++++......................... done | |
| Unparsed token(12): Starting ... | |
| Unparsed token(3): ?FF | |
| MDC2250 Info: Estop is disabled. | |
| Unparsed token(8): ^ECHOF 0 | |
| Unparsed token(6): ~ECHOF | |
| MDC2250 Info: Echo is enabled. | |
| MDC2250 Info: Connected to device Roboteq v1.2 RCB400 09/05/2011 with control unit RCB400 and controller model MDC2250. | |
| MDC2250 Info: Echo is disabled. | |
| Breakpoint 1, mdc2250::MDC2250::setTelemetry (this=0x7fff5fbfee10, telemetry_queries=@0x7fff5fbff1a8, period=140734799801872, callback=@0x7fff5fbfee10) at mdc2250.cc:298 | |
| 298 std::string fail_why; | |
| (gdb) inspect this | |
| $1 = ('mdc2250::MDC2250' * const) 0x7fff5fbfee10 | |
| (gdb) up | |
| #1 0x0000000100002ed5 in run () at mdc2250_example.cc:19 | |
| 19 my_mdc2250.setTelemetry("C,V,C,A", period, telemetry_callback); | |
| (gdb) inspect &my_mdc2250 | |
| $3 = ('mdc2250::MDC2250' *) 0x7fff5fbfee28 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment