[#61424] [REJECT?] xmalloc/xfree: reduce atomic ops w/ thread-locals — Eric Wong <normalperson@...>

I'm unsure about this. I _hate_ the extra branches this adds;

13 messages 2014/03/12

[ruby-core:61613] [ruby-trunk - Bug #9657] Segfault in bigdecimal/util.rb Float#to_d

From: jeremy.lecour@...
Date: 2014-03-20 15:26:40 UTC
List: ruby-core #61613
Issue #9657 has been updated by J=C3=A9r=C3=A9my Lecour.

File segfault_bigdecimal_ruby211.txt added
File ruby_2014-03-20-161742_Polaris.crash added

I've had the same issue.

I've attached the crash report and the segfault output

----------------------------------------
Bug #9657: Segfault in bigdecimal/util.rb Float#to_d
https://bugs.ruby-lang.org/issues/9657#change-45884

* Author: Dieter Komendera
* Status: Open
* Priority: Normal
* Assignee:=20
* Category:=20
* Target version:=20
* ruby -v: ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
We're seeing some segfaults with ActiveRecord (rails 4-1-0 branch) when run=
ning on travis ci.

Haven't been able to reproduce yet, but we're seeing about a dozen build fa=
ilures until now but still wanted to share it.
Maybe someone with more clue about that stuff has some idea what's going on=
 and can point in some direction.

/home/travis/build/<project>/vendor/bundle/ruby/2.1.0/extensions/x86_64-lin=
ux/2.1.0/bigdecimal-1.2.5/bigdecimal/util.rb:39: [BUG] Segmentation fault a=
t 0x000000acde0834
ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0139 p:---- s:0636 e:000635 CFUNC  :BigDecimal
c:0138 p:0028 s:0631 e:000630 METHOD /home/travis/build/<project>/vendor/bu=
ndle/ruby/2.1.0/extensions/x86_64-linux/2.1.0/bigdecimal-1.2.5/bigdecimal/u
c:0137 p:0049 s:0627 e:000626 METHOD /home/travis/build<project>/vendor/bun=
dle/ruby/2.1.0/bundler/gems/rails-00b7a21e592a/activerecord/lib/active_rec
c:0136 p:0035 s:0623 e:000622 METHOD /home/travis/build/<project>vendor/bun=
dle/ruby/2.1.0/bundler/gems/rails-00b7a21e592a/activerecord/lib/active_rec
c:0135 p:0049 s:0619 e:000618 METHOD /home/travis/build/<project>/vendor/bu=
ndle/ruby/2.1.0/bundler/gems/rails-00b7a21e592a/activerecord/lib/active_rec
c:0134 p:0105 s:0615 e:000611 BLOCK  /home/travis/build/<project>/vendor/bu=
ndle/ruby/2.1.0/bundler/gems/rails-00b7a21e592a/activerecord/lib/active_rec=
 [FINISH]

---Files--------------------------------
segfault_bigdecimal_ruby211.txt (241 KB)
ruby_2014-03-20-161742_Polaris.crash (132 KB)


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

In This Thread

Prev Next