[MacRuby-devel] [MacRuby] #639: macirb periodically has memory problems
MacRuby
ruby-noreply at macosforge.org
Sun Mar 28 08:52:51 PDT 2010
#639: macirb periodically has memory problems
-------------------------------------+--------------------------------------
Reporter: jordan.breeding@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
-------------------------------------+--------------------------------------
{{{
48 jordan at thetourist ~ > gdb macruby
GNU gdb 6.3.50-20050815 (Apple version gdb-1461.2) (Fri Mar 5 04:43:10
UTC 2010)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for
shared libraries ..... done
(gdb) b auto_zone_resurrection_error
Function "auto_zone_resurrection_error" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (auto_zone_resurrection_error) pending.
(gdb) run /usr/local/bin/macirb
Starting program: /usr/local/bin/macruby /usr/local/bin/macirb
Reading symbols for shared libraries .++++......................... done
Breakpoint 1 at 0x7fff80ed9c44
Pending breakpoint 1 - "auto_zone_resurrection_error" resolved
Reading symbols for shared libraries warning: Could not find object file
"/var/folders/Ex/Exn1dGqHEv4QqnITRQYqv++++TI/-Tmp-/irb-20127.o" - no debug
information available for "irb.rb".
. done
Reading symbols for shared libraries warning: Could not find object file
"/var/folders/Ex/Exn1dGqHEv4QqnITRQYqv++++TI/-Tmp-/init-20930.o" - no
debug information available for "init.rb".
. done
Reading symbols for shared libraries warning: Could not find object file
"/var/folders/Ex/Exn1dGqHEv4QqnITRQYqv++++TI/-Tmp-/context-20454.o" - no
debug information available for "context.rb".
. done
Reading symbols for shared libraries warning: Could not find object file
"/var/folders/Ex/Exn1dGqHEv4QqnITRQYqv++++TI/-Tmp-/workspace-21449.o" - no
debug information available for "workspace.rb".
. done
Reading symbols for shared libraries warning: Could not find object file
"/var/folders/Ex/Exn1dGqHEv4QqnITRQYqv++++TI/-Tmp-/extend-command-20821.o"
- no debug information available for "extend-command.rb".
. done
macruby(28353,0x7fff7055fbe0) malloc: resurrection error for block
0x2000dc420 while assigning 0x2000d8300[8] = 0x2000dc420
garbage pointer stored into reachable memory, break on
auto_zone_resurrection_error to debug
Breakpoint 1, 0x00007fff80ed9c44 in auto_zone_resurrection_error ()
(gdb) bt full
#0 0x00007fff80ed9c44 in auto_zone_resurrection_error ()
No symbol table info available.
#1 0x00007fff80ed4f09 in check_resurrection ()
No symbol table info available.
#2 0x00007fff80ed6dac in auto_zone_set_write_barrier ()
No symbol table info available.
#3 0x0000000100156094 in rb_vm_keep_vars (uses=<value temporarily
unavailable, due to optimizations>, lvars_size=6) at vm.cpp:3117
nv = (void *) 0x2000dc420
lvar_index = <value temporarily unavailable, due to optimizations>
l = (rb_vm_local_t *) 0x2000d8300
locals_to_replace = <value temporarily unavailable, due to
optimizations>
use = <value temporarily unavailable, due to optimizations>
old_current = <value temporarily unavailable, due to
optimizations>
current = (rb_vm_var_uses *) 0x1015aa920
use_index = <value temporarily unavailable, due to optimizations>
locals = <value temporarily unavailable, due to optimizations>
ar = {{
gp_offset = 48,
fp_offset = 32767,
overflow_arg_area = 0x7fff5fbfb260,
reg_save_area = 0x7fff5fbfb130
}}
#4 0x00000001013867a9 in
MREP_8AB714B5966242FEB6FED72CED38C723_ruby_scope7 ()
No symbol table info available.
Previous frame inner to this frame (gdb could not unwind past this frame)
(gdb) quit
The program is running. Exit anyway? (y or n) y
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/639>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list