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

44GT44KT44Gr44Gh44Gv44CC5pyJ6LOA44Go55Sz44GX44G+44GZ44CCCgpMRUdBTCDjg5XjgqHj

10 messages 2016/06/20

[ruby-dev:49649] [Ruby trunk Bug#12406] Since r55002, Bus Error on 64-bit SPARC on Solaris 10

From: usa@...
Date: 2016-06-08 05:17:30 UTC
List: ruby-dev #49649
Issue #12406 has been updated by Usaku NAKAMURA.

Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: DONT=
NEED, 2.2: DONTNEED, 2.3: DONTNEED

----------------------------------------
Bug #12406: Since r55002, Bus Error on 64-bit SPARC on Solaris 10
https://bugs.ruby-lang.org/issues/12406#change-59069

* Author: Naohisa Goto
* Status: Closed
* Priority: Normal
* Assignee:=20
* ruby -v:=20
* Backport: 2.1: DONTNEED, 2.2: DONTNEED, 2.3: DONTNEED
----------------------------------------
r55002 =E4=BB=A5=E9=99=8D=E3=80=81SPARC Solaris 10 =E3=81=AE 64-bit =E3=82=
=B3=E3=83=B3=E3=83=91=E3=82=A4=E3=83=AB=E6=99=82=E3=81=AB=E3=80=81=E4=BB=A5=
=E4=B8=8B=E3=81=AE Bus Error =E3=81=8C=E7=99=BA=E7=94=9F=E3=81=97=E3=81=BE=
=E3=81=99=E3=80=82
=E3=82=B3=E3=83=B3=E3=83=91=E3=82=A4=E3=83=A9=E3=81=AF=E3=80=81gcc, Oracle =
Solaris Studio 12.3, 12.4 =E3=81=84=E3=81=9A=E3=82=8C=E3=81=A7=E3=82=82=E7=
=99=BA=E7=94=9F=E3=81=97=E3=81=BE=E3=81=99=E3=80=82

(r55075=E3=81=AE=E4=BE=8B=EF=BC=89

~~~
gcc -g -O0 -m64 -L. -L/usr/local/64/lib -R/usr/local/64/lib -fstack-protect=
or -f
stack-protector -pie  main.o dmydln.o miniinit.o dmyext.o miniprelude.o arr=
ay.o=20
bignum.o class.o compar.o complex.o dir.o dln_find.o encoding.o enum.o enum=
erato
r.o error.o eval.o load.o proc.o file.o gc.o hash.o inits.o io.o marshal.o =
math.
o node.o numeric.o object.o pack.o parse.o process.o random.o range.o ratio=
nal.o
 re.o regcomp.o regenc.o regerror.o regexec.o regparse.o regsyntax.o ruby.o=
 safe
.o signal.o sprintf.o st.o strftime.o string.o struct.o symbol.o time.o tra=
nscod
e.o util.o variable.o version.o compile.o debug.o iseq.o vm.o vm_dump.o vm_=
backt
race.o vm_trace.o thread.o cont.o probes.o enc/ascii.o enc/us_ascii.o enc/u=
nicod
e.o enc/utf_8.o enc/trans/newline.o sparc.o explicit_bzero.o flock.o isinf.=
o set
proctitle.o addr2line.o   -lpthread -lrt -lgmp -lsocket -ldl -lcrypt -lm   =
-o mi
niruby
./miniruby -I./lib -I. -I.ext/common  ./tool/generic_erb.rb -c -o encdb.h .=
/temp
late/encdb.h.tmpl ./enc enc
./tool/generic_erb.rb:2: [BUG] Bus Error at 0x000001006969f4
ruby 2.4.0dev (2016-05-19) [sparc64-solaris2.10]

-- Control frame information -----------------------------------------------
c:0003 p:---- s:0025 e:000024 CFUNC  :require
c:0002 p:0008 s:0021 E:000bd8 EVAL   ./tool/generic_erb.rb:2 [FINISH]
c:0001 p:0000 s:0002 E:001320 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
./tool/generic_erb.rb:2:in `<main>'
./tool/generic_erb.rb:2:in `require'

-- Other runtime information -----------------------------------------------

* Loaded script: ./tool/generic_erb.rb

* Loaded features:

    0 enumerator.so
    1 thread.rb
    2 rational.so
    3 complex.so

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension librari=
es.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

make: *** [encdb.h] Abort
~~~

gdb=E4=B8=8A=E3=81=A7=E8=B5=B0=E3=82=89=E3=81=9B=E3=82=8B=E3=81=A8=E3=80=81=
=E4=BB=A5=E4=B8=8B=E3=81=AE=E3=82=88=E3=81=86=E3=81=AB=E3=80=81sizeof(VALUE=
)=E3=81=AF8=E3=83=90=E3=82=A4=E3=83=88=E3=81=AA=E3=81=AE=E3=81=AB=E3=80=818=
=E3=81=AE=E5=80=8D=E6=95=B0=E3=81=A7=E3=81=AA=E3=81=84=E7=95=AA=E5=9C=B0=E3=
=81=AE=E3=83=9D=E3=82=A4=E3=83=B3=E3=82=BF (values =3D=3D 0x100696a24) =E3=
=82=92=E4=BD=BF=E3=81=A3=E3=81=A6VALUE=E5=9E=8B=E3=81=AB=E3=82=A2=E3=82=AF=
=E3=82=BB=E3=82=B9=E3=81=97=E3=82=88=E3=81=86=E3=81=A8=E3=81=97=E3=81=A6=E3=
=80=81Bus Error=E3=81=AB=E3=81=AA=E3=81=A3=E3=81=A6=E3=81=84=E3=82=8B=E3=81=
=93=E3=81=A8=E3=81=8C=E3=82=8F=E3=81=8B=E3=82=8A=E3=81=BE=E3=81=97=E3=81=9F=
=E3=80=82

id_table.c =E3=81=8C word alignment =E3=81=AB=E7=84=A1=E9=A0=93=E7=9D=80=E3=
=81=AA=E3=81=AE=E3=81=8C=E5=95=8F=E9=A1=8C=E3=81=A7=E3=80=81
capa =E3=82=92=E8=AA=BF=E6=95=B4=E3=81=97=E3=81=9F=E3=82=8A=E3=80=81=E3=83=
=91=E3=83=87=E3=82=A3=E3=83=B3=E3=82=B0=E3=82=92=E5=B0=8E=E5=85=A5=E3=81=97=
=E3=81=9F=E3=82=8A=E3=81=99=E3=82=8B=E5=BF=85=E8=A6=81=E3=81=8C=E3=81=82=E3=
=82=8A=E3=81=9D=E3=81=86=E3=81=A7=E3=81=99=E3=80=82

~~~
$ gdb ./miniruby=20
GNU gdb (GDB) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.htm=
l>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "sparc64-sun-solaris2.10".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /XXXXX-trunk-55075/miniruby...done.
(gdb) run -I./lib -I. -I.ext/common  ./tool/generic_erb.rb -c -o encdb.h ./=
template/encdb.h.tmpl ./enc enc
Starting program: /XXXXX-trunk-55075/miniruby -I./lib -I. -I.ext/common  ./=
tool/generic_erb.rb -c -o encdb.h ./template/encdb.h.tmpl ./enc enc
[Thread debugging using libthread_db enabled]
[New Thread 1 (LWP 1)]
[New LWP    2        ]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 1)]
0x0000000100205918 in list_id_table_insert (tbl=3D0x10069e920, id=3D26803, =
val=3D1)
    at id_table.c:663
663                 values[i] =3D val;
(gdb) print values
$1 =3D (VALUE *) 0x100696a24
(gdb) print i=20=20
$2 =3D 0
(gdb) print tbl
$3 =3D (struct list_id_table *) 0x10069e920
(gdb) print *tbl
$4 =3D {capa =3D 1, num =3D 1, keys =3D 0x100696a20}
(gdb) print tbl->keys
$5 =3D (id_key_t *) 0x100696a20
=EF=BC=88=E4=B8=AD=E7=95=A5=EF=BC=89
(gdb) print sizeof(id_key_t)
$8 =3D 4
(gdb) print sizeof(VALUE)
$9 =3D 8
~~~




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

In This Thread

Prev Next