Projects
Home     Blog     Install     New Ticket     View Tickets     Browse Source

Ticket #15 (closed defect: fixed)

Opened 9 months ago

Last modified 9 months ago

Crash when setting an ivar to an alloc/init'ed object

Reported by: lsansonetti@… Owned by: lsansonetti@…
Priority: blocker Milestone: MacRuby 0.1
Component: MacRuby Keywords:
Cc:

Description

./miniruby -e "class Foo; def foo; @f = 42; end; end; f = Foo.alloc.init; f.foo"

#0  0x000a447b in st_lookup (table=0x21f, key=8841, value=0xbfffef5c) at st.c:287
#1  0x000c452d in rb_ivar_set (obj=17330608, id=8841, val=85) at variable.c:1032
#2  0x000dc5e9 in vm_eval (th=0x10119c0, initial=0) at insns.def:172
#3  0x000e567c in vm_eval_body (th=0x10119c0) at vm.c:1149
#4  0x000e5951 in rb_iseq_eval (iseqval=17326080) at vm.c:1358
#5  0x00021844 in ruby_exec_node (n=0x1085d00, file=0x1085641 "-e") at eval.c:235
#6  0x00026e1f in ruby_run_node (n=0x1085d00) at eval.c:265
#7  0x000029ff in main (argc=3, argv=0x201c00, envp=0xbffff968) at main.c:35

Change History

Changed 9 months ago by lsansonetti@…

  • status changed from new to closed
  • resolution set to fixed

Fixed in trunk/r30.

Changed 9 months ago by lsansonetti@…

  • milestone changed from MacRuby 1.0 to MacRuby 0.1
Note: See TracTickets for help on using tickets.