Segfault when accessing Etc functions
-------------------------------------

                 Key: JRUBY-4211
                 URL: http://jira.codehaus.org/browse/JRUBY-4211
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.5
            Reporter: Nick Sieger
            Assignee: Thomas E Enebo
            Priority: Critical
             Fix For: JRuby 1.5


Looks like a jnr-posix issue?

{noformat}
$ ~/Projects/jruby/1.4.0/bin/jruby -v -retc -e 'p Etc.getlogin'
jruby 1.4.0 (ruby 1.8.7 patchlevel 174) (2009-11-02 69fbfa3) (Java HotSpot(TM) 
64-Bit Server VM 1.6.0_15) [x86_64-java]
"nicksieger"
$ jruby -v -retc -e 'p Etc.getlogin'
jruby 1.5.0.dev (ruby 1.8.7 patchlevel 174) (2009-11-03 a13d423) (Java 
HotSpot(TM) 64-Bit Server VM 1.6.0_15) [x86_64-java]
Invalid memory access of location 0x7054d000 rip=0x7fff826b58d0

Segmentation fault
{noformat}

FYI, this error is also reproduced in the ruby_test test suite, run as part of 
the test-compiled and test-interpreted ant targets:

{noformat}
$ jruby -v -Itest/externals/ruby_test/lib 
test/externals/ruby_test/test/core/File/class/tc_grpowned.rb 
jruby 1.5.0.dev (ruby 1.8.7 patchlevel 174) (2009-11-03 a13d423) (Java 
HotSpot(TM) 64-Bit Server VM 1.6.0_15) [x86_64-java]
Loaded suite test/externals/ruby_test/test/core/File/class/tc_grpowned
Started
Invalid memory access of location 0x7054d000 rip=0x7fff826b58d0

Segmentation fault
{noformat}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to