pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ruby segfaults
FWIW I am getting the same panics using version 3.3:
....
make
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Checking for vulnerabilities in greed-4.4
===> Building for greed-4.4
asciidoctor33 -D. -a nofooter -b manpage greed.adoc
/usr/pkg/lib/ruby/3.3.0/x86_64-netbsd/rbconfig.rb:305: [BUG] Segmentation fault at 0x00007f7fff21d000
ruby 3.3.10 (2025-10-23 revision 343ea05002) [x86_64-netbsd]
-- Control frame information -----------------------------------------------
c:0013 p:---- s:0064 e:000063 CFUNC :[]
c:0012 p:0034 s:0059 e:000057 BLOCK /usr/pkg/lib/ruby/3.3.0/x86_64-netbsd/rbconfig.rb:305 [FINISH]
c:0011 p:---- s:0050 e:000049 CFUNC :gsub
c:0010 p:0011 s:0045 e:000044 METHOD /usr/pkg/lib/ruby/3.3.0/x86_64-netbsd/rbconfig.rb:301
c:0009 p:0006 s:0038 e:000037 BLOCK /usr/pkg/lib/ruby/3.3.0/x86_64-netbsd/rbconfig.rb:319 [FINISH]
c:0008 p:---- s:0034 e:000033 CFUNC :each_value
c:0007 p:2045 s:0030 e:000029 CLASS /usr/pkg/lib/ruby/3.3.0/x86_64-netbsd/rbconfig.rb:318
c:0006 p:0007 s:0027 e:000026 TOP /usr/pkg/lib/ruby/3.3.0/x86_64-netbsd/rbconfig.rb:11 [FINISH]
c:0005 p:---- s:0024 e:000023 CFUNC :require
c:0004 p:0005 s:0019 e:000018 TOP /usr/pkg/lib/ruby/3.3.0/rubygems.rb:9 [FINISH]
c:0003 p:---- s:0012 e:000011 CFUNC :require
c:0002 p:0012 s:0007 e:000006 TOP <internal:gem_prelude>:2 [FINISH]
c:0001 p:0000 s:0003 E:002580 DUMMY [FINISH]
-- Ruby level backtrace information ----------------------------------------
<internal:gem_prelude>:2:in `<internal:gem_prelude>'
<internal:gem_prelude>:2:in `require'
/usr/pkg/lib/ruby/3.3.0/rubygems.rb:9:in `<top (required)>'
/usr/pkg/lib/ruby/3.3.0/rubygems.rb:9:in `require'
/usr/pkg/lib/ruby/3.3.0/x86_64-netbsd/rbconfig.rb:11:in `<top (required)>'
/usr/pkg/lib/ruby/3.3.0/x86_64-netbsd/rbconfig.rb:318:in `<module:RbConfig>'
/usr/pkg/lib/ruby/3.3.0/x86_64-netbsd/rbconfig.rb:318:in `each_value'
/usr/pkg/lib/ruby/3.3.0/x86_64-netbsd/rbconfig.rb:319:in `block in <module:RbConfig>'
/usr/pkg/lib/ruby/3.3.0/x86_64-netbsd/rbconfig.rb:301:in `expand'
/usr/pkg/lib/ruby/3.3.0/x86_64-netbsd/rbconfig.rb:301:in `gsub'
/usr/pkg/lib/ruby/3.3.0/x86_64-netbsd/rbconfig.rb:305:in `block in expand'
/usr/pkg/lib/ruby/3.3.0/x86_64-netbsd/rbconfig.rb:305:in `[]'
-- Threading information ---------------------------------------------------
Total ractor count: 1
Ruby thread count for this ractor: 1
....
Sent with Proton Mail secure email.
On Wednesday, 25 February 2026 at 3:06 PM, Martin Husemann <martin%duskware.de@localhost> wrote:
> On Wed, Feb 25, 2026 at 03:58:52PM +0100, Thomas Klausner wrote:
> > Hi!
> >
> > When using ruby 4.0.1 on NetBSD 11.99.5, I sometimes see
> > segfaults. The next try building the same program usually works.
>
> Can you look at the core, maybe with symbols from the affected
> libs? Works at next try often is ASLR and good/bad luck.
>
> Martin
>
The third attempt did complete the build though. This is on the same 11.99.5 from the 18th of February.
Chavdar
Home |
Main Index |
Thread Index |
Old Index