[oi-dev] ruby in /hipster segv

Piotr Jasiukajtis estibi at me.com
Tue Jul 9 13:10:35 UTC 2013


Thanks, that fixes both ruby and puppet for me :)

--
Piotr Jasiukajtis

On Jul 9, 2013, at 1:57 PM, David Höppner <0xffea at gmail.com> wrote:

> Hi,
> 
> thanks for reporting this. I updated the ruby package to the latest
> patch version. This
> problem seems to be gone, I had no time yet to look into the root cause.
> 
> -- David
> 
> $ pkg info ruby-18
>          Name: runtime/ruby-18
>       Summary: Ruby & RubyGems
>      Category: Development/Ruby
>         State: Installed
>     Publisher: userland
>       Version: 1.8.7.374
> Build Release: 5.11
>        Branch: 0.151.1.8.1
> 
> 
> On 9 July 2013 12:50, Piotr Jasiukajtis <estibi at me.com> wrote:
>> Hi,
>> 
>> Seems like ruby in the /hipster repository is broken. Here is what we get:
>> 
>> 
>> 
>> $ gem install rake
>> /usr/ruby/1.8/lib/ruby/1.8/timeout.rb:60: [BUG] Segmentation fault
>> ruby 1.8.7 (2011-12-28 patchlevel 357) [i386-solaris2.11]
>> 
>> Abort (core dumped)
>> 
>> 
>>> ::status
>> debugging core file of gem (32-bit) from os-devel
>> file: /usr/ruby/1.8/bin/ruby
>> initial argv: /usr/bin/ruby /usr/bin/gem install rake
>> threading model: native threads
>> status: process terminated by SIGABRT (Abort), pid=24747 uid=1162 code=-1
>> 
>>> $C
>> 0803a678 libc_hwcap1.so.1`_lwp_kill+0x15(1, 6, 344, fed83000, fed83000, 803a720)
>> 0803a698 libc_hwcap1.so.1`raise+0x2b(6, 0, 803a6b0, fecd91cb, 0, 0)
>> 0803a6e8 libc_hwcap1.so.1`abort+0x10e(fed84c20, fef52074, fef7c9e0, fed84c20, 3c, feffb0a4)
>> 0803ab38 libruby.so.1`rb_bug+0xc7(fef54ffe, fed83000, 803abac, 803ab7c, fef1bbb9, fed83000)
>> 0803ab58 0xfef1bbdc(b, 0, 803ac20, 0, fed83000, feb12a40)
>> 0803ab7c libc_hwcap1.so.1`__sighndlr+0x15(b, 0, 803ac20, fef1bbb0, 14c1, 803abb0)
>> 0803abdc libc_hwcap1.so.1`call_user_handler+0x292(b, 0, 803ac20, 80cc760, 0, 803ac48)
>> 0803ac0c libc_hwcap1.so.1`sigacthandler+0x77(b, 0, 803ac20)
>> 0803ae48 0x80cc670(80cc670, 0, 803ae88, 8092000, 82c04cc, 1)
>> 
>>> ::objects
>>    BASE    LIMIT     SIZE NAME
>> 8050000  8082000    32000 /usr/ruby/1.8/bin/ruby
>> fee60000 fef5b000    fb000 /usr/ruby/1.8/lib/libruby.so.1
>> fee40000 fee42000     2000 /lib/librt.so.1
>> fee30000 fee31000     1000 /lib/libdl.so.1
>> fee10000 fee18000     8000 /usr/lib/libcrypt.so.1
>> febc0000 fec13000    53000 /lib/libm.so.2
>> fedb0000 feddd000    2d000 /usr/lib/libreadline.so.5
>> feda0000 feda1000     1000 /lib/libtermcap.so.1
>> fec40000 fed73000   133000 /usr/lib/libc/libc_hwcap1.so.1
>> feb90000 feba9000    19000 /usr/lib/libgcc_s.so.1
>> feb30000 feb5b000    2b000 /lib/libcurses.so.1
>> feae0000 feae5000     5000 /usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/thread.so
>> feac0000 feac3000     3000 /usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/etc.so
>> fea80000 fea86000     6000 /usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/stringio.so
>> fea40000 fea5a000    1a000 /usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/syck.so
>> fe9d0000 fea10000    40000 /usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/openssl.so
>> fe960000 fe9a8000    48000 /lib/libssl.so.0.9.8
>> fe800000 fe92a000   12a000 /lib/libcrypto.so.0.9.8
>> fe7e0000 fe7ed000     d000 /lib/libsocket.so.1
>> fe750000 fe7b8000    68000 /lib/libnsl.so.1
>> fe720000 fe724000     4000 /usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/digest.so
>> fe700000 fe701000     1000 /usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/fcntl.so
>> fe6d0000 fe6db000     b000 /usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/zlib.so
>> fe6a0000 fe6b2000    12000 /lib/libz.so.1
>> fe670000 fe671000     1000 /usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/digest/md5.so
>> fe650000 fe65d000     d000 /usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/socket.so
>> fefb6000 fefeb000    35000 /lib/ld.so.1
>> 
>> For the record, ruby in oi_151a7 was build with Sun Studio, but in oi_151a8 we switched to GCC 4.7.3.
>> 
>> oi_151a8:
>> ruby 1.8.7 (2011-12-28 patchlevel 357) [i386-solaris2.11]
>> 
>> # mcs -p /usr/bin/ruby
>> /usr/bin/ruby:
>> [...]
>> GCC: (GNU) 4.7.3
>> ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1742 (illumos)
>> 
>> 
>> 
>> oi_151a7:
>> ruby 1.8.7 (2009-06-12 patchlevel 174) [i386-solaris2.11]
>> 
>> mcs -p /usr/bin/ruby
>> /usr/bin/ruby:
>> [...]
>> acomp: Sun C 5.9 SunOS_i386 Patch 124868-10 2009/04/30
>> iropt: Sun Compiler Common 12 SunOS_i386 Patch 126498-13 2009/04/06
>> ir2hf: Sun Compiler Common 12 SunOS_i386 Patch 126498-13 2009/04/06
>> ube: Sun Compiler Common 12 SunOS_i386 Patch 126498-13 2009/04/06
>> as: Sun Compiler Common 12 SunOS_i386 Patch 126498-13 2009/04/06
>> ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1726
>> 
>> 
>> 
>> --
>> Piotr Jasiukajtis
>> 
>> 
>> _______________________________________________
>> oi-dev mailing list
>> oi-dev at openindiana.org
>> http://openindiana.org/mailman/listinfo/oi-dev
> 
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> http://openindiana.org/mailman/listinfo/oi-dev





More information about the oi-dev mailing list