[#60404] is RB_GC_GUARD needed in rb_io_syswrite? — Eric Wong <normalperson@...>
I haven't gotten it to crash as-is, but it seems like we need to
4 messages
2014/02/01
[#60682] volatile usages — Eric Wong <normalperson@...>
Hi all, I went ahead and removed some use of volatile which were once
5 messages
2014/02/13
[#60794] [RFC] rearrange+pack vtm and time_object structs — Eric Wong <normalperson@...>
Extracted from addendum on top of Feature #9362 (cache-aligned objects).
4 messages
2014/02/16
[#61139] [ruby-trunk - Feature #9577] [Open] [PATCH] benchmark/driver.rb: align columns in text output — normalperson@...
Issue #9577 has been reported by Eric Wong.
3 messages
2014/02/28
[ruby-core:61049] [ruby-trunk - Bug #9558] [Open] Bus Error on Sparc in r45155 due to __attribute__((packed))
From:
ngotogenome@...
Date:
2014-02-24 10:26:16 UTC
List:
ruby-core #61049
Issue #9558 has been reported by Naohisa Goto.
----------------------------------------
Bug #9558: Bus Error on Sparc in r45155 due to __attribute__((packed))
https://bugs.ruby-lang.org/issues/9558
* Author: Naohisa Goto
* Status: Open
* Priority: Normal
* Assignee:
* Category:
* Target version:
* ruby -v: ruby 2.2.0dev (2014-02-23) [sparc64-solaris2.10]
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
Since r45155, the following error occurs on Sparc Solaris.
$ ./ruby --disable-gems -e 'p Time.now.utc'
-e:1: [BUG] Bus Error at 0xffffffff7fffe775
ruby 2.2.0dev (2014-02-23) [sparc64-solaris2.10]
-- Control frame information -----------------------------------------------
c:0003 p:---- s:0008 e:000007 CFUNC :utc
c:0002 p:0014 s:0005 E:001fb8 EVAL -e:1 [FINISH]
c:0001 p:0000 s:0002 E:0006e8 TOP [FINISH]
-- Ruby level backtrace information ----------------------------------------
-e:1:in `<main>'
-e:1:in `utc'
-- Other runtime information -----------------------------------------------
* Loaded script: -e
* Loaded features:
0 enumerator.so
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
Abort
This is due to __attribute__((packed)) added in r45155.
SPARC (and many other CPUs) can not access to unaligned memory address.
Please revert r45155.
--
http://bugs.ruby-lang.org/