Skip to content

Instantly share code, notes, and snippets.

@wilson
Created August 26, 2008 19:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wilson/7331 to your computer and use it in GitHub Desktop.
Save wilson/7331 to your computer and use it in GitHub Desktop.
Breakpoint 1, rubinius::Assertion::raise (mesg=0x7ce864 "task->self->get_field(task->state, index)") at vm/exception.cpp:24
24 throw Assertion(mesg);
(gdb) bt
#0 rubinius::Assertion::raise (mesg=0x7ce864 "task->self->get_field(task->state, index)") at vm/exception.cpp:24
#1 0x0005e185 in op_push_my_field (task=0x38265d4, js=0x384eafc, index=6) at vm/gen/instructions.cpp:445
#2 0x000614c1 in rubinius::VMMethod::resume (this=0x282c730, task=0x38265d4, ctx=0x384ead4) at vm/gen/instructions.cpp:1471
#3 0x0005b086 in rubinius::Task::execute (this=0x38265d4) at vm/builtin/task.cpp:595
#4 0x000022b8 in rubinius::CompiledFile::execute (this=0x2eb7650, state=0x1002400) at vm/compiled_file.cpp:49
#5 0x00005529 in rubinius::Environment::run_file (this=0xbffff7f4, file=@0xbffff804) at vm/environment.cpp:80
#6 0x00062fd8 in main (argc=1, argv=0xbffff868) at vm/drivers/cli.cpp:57
(gdb) f 2
#2 0x000614c1 in rubinius::VMMethod::resume (this=0x282c730, task=0x38265d4, ctx=0x384ead4) at vm/gen/instructions.cpp:1471
1471 op_push_my_field(task, js, a1);
(gdb) p task->self->klass->name
$1 = (SYMBOL) 0x433
(gdb) p $1->c_str(task->state)
Cannot access memory at address 0x433
(gdb) p ((Symbol*)$1)->c_str(task->state)
$2 = 0xc0690c "MethodContext"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment