Segmentation Fault on 64-bit

ruby (1.8.4) is crashing when it is compiled on 64-bit when caching is
used while fetching data through oracle.
the same works fine when ruby is compiled in 32-bit.
The platform is Sun OS 64-bit SPARC. But it is also reproduceable on
Linux 64-bit Server.
Here is the error:

/home/venkatr/lib/ruby/1.8/yaml.rb:133: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-24) [sparc-solaris2.10]

gem env output:

[venkatr @hummer ~] gem env
RubyGems Environment:

  • VERSION: 0.9.4 (0.9.4)
  • INSTALLATION DIRECTORY: /home/venkatr/v6ClientToolsInstallDir/gems
  • GEM PATH:
    • /home/venkatr/v6ClientToolsInstallDir/gems
    • /home/venkatr/v6ClientToolsInstallDir/lib/ruby/gems/1.8
    • /home/venkatr/v6ClientToolsInstallDir/lib/ruby/1.8’
    • /home/venkatr/v6ClientToolsInstallDir/lib/ruby/1.8/sparc-
      solaris2.10’
    • /home/venkatr/v6ClientToolsInstallDir/lib/ruby/site_ruby/1.8’
    • /home/venkatr/v6ClientToolsInstallDir/lib/ruby/site_ruby/1.8/
      sparc-solaris2.10’
    • /home/venkatr/v6ClientToolsInstallDir/lib/ruby/gems/1.8/gems’
  • REMOTE SOURCES:

This is urgent. Hence, any help would be greatly appreciated

On Wed, 30 Jan 2008, Pratik wrote:

ruby (1.8.4) is crashing when it is compiled on 64-bit when caching is
used while fetching data through oracle.
the same works fine when ruby is compiled in 32-bit.
The platform is Sun OS 64-bit SPARC. But it is also reproduceable on
Linux 64-bit Server.

Did you try strace’ing it in Linux?

(Or truss in Solaris)

Where does it die?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs