[#49675] Request to update LEGAL file for zlib, UCD license — Jun Aruga <jaruga@...>

44GT44KT44Gr44Gh44Gv44CC5pyJ6LOA44Go55Sz44GX44G+44GZ44CCCgpMRUdBTCDjg5XjgqHj

10 messages 2016/06/20

[ruby-dev:49668] [Ruby trunk Bug#12492] RUBY_DEBUG=gc_stress dumps core

From: shyouhei@...
Date: 2016-06-16 03:43:17 UTC
List: ruby-dev #49668
Issue #12492 has been updated by Shyouhei Urabe.


=E3=81=AA=E3=81=8A=E5=BD=93=E6=96=B9=E3=81=AE=E7=92=B0=E5=A2=83=E3=81=AFgcc=
 version 6.0.0 20160320 (experimental) (Homebrew gcc6 6-20160320)=E3=81=A7=
=E3=81=99=E3=80=82

----------------------------------------
Bug #12492: RUBY_DEBUG=3Dgc_stress dumps core
https://bugs.ruby-lang.org/issues/12492#change-59247

* Author: Shyouhei Urabe
* Status: Open
* Priority: Normal
* Assignee:=20
* ruby -v: ruby 2.4.0dev (2016-05-09 trunk 55419) [x86_64-darwin15]
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
=E6=AC=A1=E3=81=AE=E3=82=88=E3=81=86=E3=81=AB=E3=81=99=E3=82=8B=E3=81=A8 co=
re =E3=82=92=E5=90=90=E3=81=8D=E3=81=BE=E3=81=99=E3=80=82

```
zsh % PATH=3D"/usr/bin:$PATH" RUBY_DEBUG=3Dgc_stress /usr/bin/lldb -- ./rub=
y -e 'p GC.stress'
(lldb) target create "./ruby"
Current executable set to './ruby' (x86_64).
(lldb) settings set -- target.run-args  "-e" "p GC.stress"
(lldb) run
Process 15385 launched: './ruby' (x86_64)
Process 15385 stopped
* thread #1: tid =3D 0x5a843, 0x00000001001b4dda ruby`rb_const_defined(klas=
s=3D4320291960, id=3D3643) + 106 at variable.c:3082, queue =3D 'com.apple.m=
ain-thread', stop reason =3D EXC_BAD_ACCESS (code=3D1, address=3D0x10)
    frame #0: 0x00000001001b4dda ruby`rb_const_defined(klass=3D4320291960, =
id=3D3643) + 106 at variable.c:3082
   3079 st_table *
   3080 rb_st_copy(VALUE obj, struct st_table *orig_tbl)
   3081 {
-> 3082     st_table *new_tbl =3D st_copy(orig_tbl);
   3083     st_foreach(new_tbl, tbl_copy_i, (st_data_t)obj);
   3084     return new_tbl;
   3085 }
(lldb) bt
* thread #1: tid =3D 0x5a843, 0x00000001001b4dda ruby`rb_const_defined(klas=
s=3D4320291960, id=3D3643) + 106 at variable.c:3082, queue =3D 'com.apple.m=
ain-thread', stop reason =3D EXC_BAD_ACCESS (code=3D1, address=3D0x10)
  * frame #0: 0x00000001001b4dda ruby`rb_const_defined(klass=3D4320291960, =
id=3D3643) + 106 at variable.c:3082
    frame #1: 0x000000010002d6b8 ruby`rb_define_module(name=3D"Kernel") + 4=
0 at class.c:773
    frame #2: 0x00000001000d4287 ruby`InitVM_Object + 263 at object.c:3407
    frame #3: 0x000000010009853d ruby`rb_call_inits + 29 at inits.c:23
    frame #4: 0x000000010006789b ruby`ruby_setup + 155 at eval.c:60
    frame #5: 0x0000000100067909 ruby`ruby_init + 9 at eval.c:76
    frame #6: 0x000000010021369d ruby`main(argc=3D<unavailable>, argv=3D<un=
available>) + 77 at main.c:35
    frame #7: 0x00007fff9c00f5ad libdyld.dylib`start + 1
    frame #8: 0x00007fff9c00f5ad libdyld.dylib`start + 1
(lldb)
```

[ruby-dev:41536](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-dev=
/41536) =E3=81=8C=E5=86=8D=E7=99=BA=E3=81=97=E3=81=A6=E3=81=84=E3=82=8B=E3=
=81=AE=E3=81=A7=E3=81=AF=E3=81=AA=E3=81=84=E3=81=A7=E3=81=97=E3=82=87=E3=81=
=86=E3=81=8B=E3=80=82



--=20
https://bugs.ruby-lang.org/

In This Thread

Prev Next