Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'gem' command broken in 1.9.3p327 #144

Closed
jmthomas opened this issue Dec 11, 2012 · 6 comments
Closed

'gem' command broken in 1.9.3p327 #144

jmthomas opened this issue Dec 11, 2012 · 6 comments
Labels

Comments

@jmthomas
Copy link

On a clean Windows XP system I first installed Ruby 1.8.7p371. I then install Ruby 1.9.3p327. I updated my path to point to the 1.9.3 installation. When I type 'gem list' I get:

C:\Documents and Settings\jmthomas>ruby -v
ruby 1.9.3p327 (2012-11-10) [i386-mingw32]

C:\Documents and Settings\jmthomas>gem list
C:\Ruby193p327\bin\ruby.exe: [BUG] Segmentation fault
ruby 1.9.3p327 (2012-11-10) [i386-mingw32]

-- Control frame information -----------------------------------------------
c:0001 p:0000 s:0002 b:0002 l:0025e4 d:0025e4 TOP


-- C level backtrace information -------------------------------------------
C:\WINDOWS\system32\ntdll.dll(KiFastSystemCallRet+0x0) [0x7c90e4f4]
C:\WINDOWS\system32\kernel32.dll(WaitForSingleObject+0x12) [0x7c802542]
C:\Ruby193p327\bin\msvcrt-ruby191.dll(rb_vm_bugreport+0xf9) [0x62e5c6f9]
C:\Ruby193p327\bin\msvcrt-ruby191.dll(rb_name_err_mesg_new+0x17a) [0x62d3a7b2]
C:\Ruby193p327\bin\msvcrt-ruby191.dll(rb_bug+0x2f) [0x62d3b48f]
C:\Ruby193p327\bin\msvcrt-ruby191.dll(rb_check_safe_str+0x1a4) [0x62dee5e8]
 [0x004011e6]
C:\WINDOWS\system32\kernel32.dll(UnhandledExceptionFilter+0x1c7) [0x7c864031]

-- Other runtime information -----------------------------------------------

* Loaded script: C:\Ruby193p327\bin\ruby.exe

* 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


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
@luislavena
Copy link
Member

@jmthomas have you verified the troubleshooting page?

https://github.com/oneclick/rubyinstaller/wiki/Troubleshooting#wiki-dep_segfault

@jmthomas
Copy link
Author

I'm running the Desktop version of Windows XP SP 3 so I don't think it applies. Plus I was able to successfully install other versions of Ruby. Am I the only one reporting this?

I verified my Windows has the Opt-in setting: "Turn on DEP for essential Windows programs and services only"

@luislavena
Copy link
Member

@jmthomas yes, you're the only one seeing this.

Please verify that other background process is not affecting process loading. things like FRAPS or Microsoft detours affect it.

@luislavena
Copy link
Member

@jmthomas have you tried from the troubleshooting page the minimum example?

ruby -rdigest/sha1 -e "puts Digest::SHA1.hexdigest('hello')"

That fails too?

@jmthomas
Copy link
Author

That fails too. I can't launch 'irb', can't do a 'gem list', can't run ruby. About the only thing that works is 'ruby -v'. I don't know what FRAPS is or Microsoft detours but I don't see those in the Task Manager process list. I installed 1.9.3p327 on another machine and it fails there for the same reason as shown above. All other patch levels of 1.9.3 work on that machine as does 1.8.7. Not sure what it is about 1.9.3p327 that is totally broken for me. As it stands I'm just sticking with 1.9.3p286 as I don't know of any bug fixes in 327 that I need.

@luislavena
Copy link
Member

@jmthomas this works for pretty much everybody.

FRAPS and detour are ways to hack loading of DLLs, which could be affecting your system because there is some other software there.

Without us knowing more details of your environment, we are unable to help you further.

If you find more information please open a bug report at Ruby itself, as described in #39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants