[#66126] Creation/Conversion methods/functions table for Ruby types — SASADA Koichi <ko1@...>
Hi,
5 messages
2014/11/07
[#66248] [ruby-trunk - Feature #10423] [PATCH] opt_str_lit*: avoid literal string allocations — normalperson@...
Issue #10423 has been updated by Eric Wong.
3 messages
2014/11/13
[#66595] [ruby-trunk - Bug #10557] [Open] Block not given when the argument is a string — bartosz@...
Issue #10557 has been reported by Bartosz Kopinski.
3 messages
2014/11/30
[ruby-core:66075] [ruby-trunk - Bug #10460] Segfault instead of stack level too deep
From:
arne@...
Date:
2014-11-04 09:43:40 UTC
List:
ruby-core #66075
Issue #10460 has been updated by Arne Brasseur. Did some more testing on current trunk (trunk@48266) Depending on the optimization level I get different results. -O0 works correctly, -O1 segfaults, -O2 works correctly, -O3 hangs. strace of the two problematic versions: * -O1: https://gist.github.com/plexus/15b50dbd31574d6c6657 * -O3: https://gist.github.com/plexus/173003e04e71492ac430 I would love to help resolve this but am in way past my comfort zone :) suggestions on how to proceed would be very much appreciated. ---------------------------------------- Bug #10460: Segfault instead of stack level too deep https://bugs.ruby-lang.org/issues/10460#change-49790 * Author: Arne Brasseur * Status: Open * Priority: High * Assignee: Koichi Sasada * Category: YARV * Target version: current: 2.2.0 * ruby -v: ruby 2.2.0dev (2014-10-29 trunk 48188) [x86_64-linux] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- The code to trigger this can be found here: https://gist.github.com/mbj/31163a8e712573877268 Also have a look at the comments there. A lot of different people tried it, in some cases it segfaults, in others it doesn't. It seems to have to do with version of gcc or specific CFLAGS. I can reproduce the problem for 2.1.3, 2.1.4, and trunk. -- https://bugs.ruby-lang.org/