Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Reading symbols from output/debug/simulator/linux/epsilon.bin...
- (gdb) b Code::PythonTextArea::ContentView::drawLine
- Breakpoint 1 at 0x42fc75: file apps/code/python_text_area.cpp, line 98.
- (gdb) r
- Starting program: /home/maxoufox/Projects/epsilon/epsilon/output/debug/simulator/linux/epsilon.bin
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/usr/lib/libthread_db.so.1".
- /usr/lib/../share/gcc-9.2.0/python/libstdcxx/v6/xmethods.py:731: SyntaxWarning: list indices must be integers or slices, not str; perhaps you missed a comma?
- refcounts = ['_M_refcount']['_M_pi']
- Breakpoint 1, Code::PythonTextArea::ContentView::drawLine (this=0x555555b73428 <AppsContainer::sharedAppsContainer()::appsContainerStorage+39208>, ctx=0x555555b2eeb0 <KDIonContext::sharedContext()::context>, line=1,
- text=0x555555b734d4 <AppsContainer::sharedAppsContainer()::appsContainerStorage+39380> "from turtle import *\ndef squares(angle=0.5):\n reset()\n L=330\n speed(10)\n penup()\n goto(-L/2,-L/2)\n pendown()\n for i in range(660):\n forward(L)\n left(90+angle)\n L=L-L*sin(angle*pi/180)\n"..., byteLength=20, fromColumn=0, toColumn=30) at apps/code/python_text_area.cpp:98
- 98 void PythonTextArea::ContentView::drawLine(KDContext * ctx, int line, const char * text, size_t byteLength, int fromColumn, int toColumn) const {
- (gdb) bt
- #0 Code::PythonTextArea::ContentView::drawLine (this=0x555555b73428 <AppsContainer::sharedAppsContainer()::appsContainerStorage+39208>, ctx=0x555555b2eeb0 <KDIonContext::sharedContext()::context>, line=1,
- text=0x555555b734d4 <AppsContainer::sharedAppsContainer()::appsContainerStorage+39380> "from turtle import *\ndef squares(angle=0.5):\n reset()\n L=330\n speed(10)\n penup()\n goto(-L/2,-L/2)\n pendown()\n for i in range(660):\n forward(L)\n left(90+angle)\n L=L-L*sin(angle*pi/180)\n"..., byteLength=20, fromColumn=0, toColumn=30) at apps/code/python_text_area.cpp:98
- #1 0x00005555555ef706 in TextArea::ContentView::drawRect (this=0x555555b73428 <AppsContainer::sharedAppsContainer()::appsContainerStorage+39208>, ctx=0x555555b2eeb0 <KDIonContext::sharedContext()::context>, rect=...)
- at escher/src/text_area.cpp:344
- #2 0x00005555555f3db3 in View::redraw (this=0x555555b73428 <AppsContainer::sharedAppsContainer()::appsContainerStorage+39208>, rect=..., forceRedrawRect=...) at escher/src/view.cpp:63
- #3 0x00005555555f3ecd in View::redraw (this=0x555555b73320 <AppsContainer::sharedAppsContainer()::appsContainerStorage+38944>, rect=..., forceRedrawRect=...) at escher/src/view.cpp:86
- #4 0x00005555555f3ecd in View::redraw (this=0x555555b732e8 <AppsContainer::sharedAppsContainer()::appsContainerStorage+38888>, rect=..., forceRedrawRect=...) at escher/src/view.cpp:86
- #5 0x00005555555f3ecd in View::redraw (this=0x555555b732b0 <AppsContainer::sharedAppsContainer()::appsContainerStorage+38832>, rect=..., forceRedrawRect=...) at escher/src/view.cpp:86
- #6 0x00005555555f3ecd in View::redraw (this=0x555555b774e8 <AppsContainer::sharedAppsContainer()::appsContainerStorage+55784>, rect=..., forceRedrawRect=...) at escher/src/view.cpp:86
- #7 0x00005555555f3ecd in View::redraw (this=0x555555b6b510 <AppsContainer::sharedAppsContainer()::appsContainerStorage+6672>, rect=..., forceRedrawRect=...) at escher/src/view.cpp:86
- #8 0x00005555555f3ecd in View::redraw (this=0x555555b69b20 <AppsContainer::sharedAppsContainer()::appsContainerStorage+32>, rect=..., forceRedrawRect=...) at escher/src/view.cpp:86
- #9 0x00005555555f4b46 in Window::redraw (this=0x555555b69b20 <AppsContainer::sharedAppsContainer()::appsContainerStorage+32>, force=false) at escher/src/window.cpp:12
- #10 0x00005555555daba1 in Container::dispatchEvent (this=0x555555b69b00 <AppsContainer::sharedAppsContainer()::appsContainerStorage>, event=...) at escher/src/container.cpp:48
- #11 0x00005555559c0a70 in AppsContainer::dispatchEvent (this=0x555555b69b00 <AppsContainer::sharedAppsContainer()::appsContainerStorage>, event=...) at apps/apps_container.cpp:149
- #12 0x00005555555e57e6 in RunLoop::step (this=0x555555b69b00 <AppsContainer::sharedAppsContainer()::appsContainerStorage>) at escher/src/run_loop.cpp:70
- #13 0x00005555555e5630 in RunLoop::runWhile (this=0x555555b69b00 <AppsContainer::sharedAppsContainer()::appsContainerStorage>, callback=0x0, ctx=0x0) at escher/src/run_loop.cpp:25
- #14 0x00005555555e55f4 in RunLoop::run (this=0x555555b69b00 <AppsContainer::sharedAppsContainer()::appsContainerStorage>) at escher/src/run_loop.cpp:21
- #15 0x00005555555dabec in Container::run (this=0x555555b69b00 <AppsContainer::sharedAppsContainer()::appsContainerStorage>) at escher/src/container.cpp:56
- #16 0x00005555559c0ff2 in AppsContainer::run (this=0x555555b69b00 <AppsContainer::sharedAppsContainer()::appsContainerStorage>) at apps/apps_container.cpp:256
- #17 0x00005555559c40ce in ion_main (argc=3, argv=0x555555b98040) at apps/main.cpp:61
- #18 0x0000555555938a29 in main (argc=1, argv=0x7fffffffdf08) at ion/src/simulator/shared/main_sdl.cpp:31
- (gdb) c
- Continuing.
- Program received signal SIGILL, Illegal instruction.
- 0x00007fffffffd5e2 in ?? ()
- (gdb) bt
- #0 0x00007fffffffd5e2 in ?? ()
- #1 0x0000555555983d58 in Code::PythonTextArea::ContentView::drawLine (this=0x7fffffffd464, ctx=0x0, line=32767, text=0x7fffffffd470 "", byteLength=140737345796992, fromColumn=-142558336, toColumn=-10944)
- at apps/code/python_text_area.cpp:117
- Backtrace stopped: frame did not save the PC
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement