From: "zapped (Alexey Shumkin)" Date: 2013-11-07T01:30:44+09:00 Subject: [ruby-core:58205] [ruby-trunk - Bug #9013] Crash on start Issue #9013 has been updated by zapped (Alexey Shumkin). I confirm this bug. I had ruby 1.9.3p194 installed. Today I've tried to upgrade. I've downloaded ruby 1.9.3p448 (7-zipped version). After unpacking running "ruby -v" gives ruby 1.9.3p448 (2013-06-27) [i386-mingw32] but ruby -e 'p nil' gives nothing. I suspect this is connected with RubyInstaller as far as previuos version 1.9.3p194 has msvcrt-ruby191.dll of different size. When I put it to ruby's v1.9.3p448 folder ruby -e 'p nil' gives expected nil but gem install bundler (for example) failes with the error (nearly translated from Russian) "Cannot find entry point to ruby_enc_find_extname in DLL msvcrt-ruby191.dll" After reverting back that DLL. I've got "internal:enc/prelude>:3: [BUG] Segmentation fault" error once. ---------------------------------------- Bug #9013: Crash on start https://bugs.ruby-lang.org/issues/9013#change-42786 Author: lemonez (Dmitry Popov) Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: 1.9.3p448 Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN I used RubyInstaller to install Ruby on Windows 7 (32-bit). I have many gems installed, though I'm not able to run gem list (no output). In my scripts I use mechanize. I get the following error when I start irb: C:\>irb :3: [BUG] Segmentation fault ruby 1.9.3p448 (2013-06-27) [i386-mingw32] -- Control frame information ----------------------------------------------- c:0007 p:---- s:0018 b:0018 l:000017 d:000017 CFUNC :require c:0006 p:0014 s:0014 b:0014 l:000005 d:000013 BLOCK :3 c:0005 p:---- s:0011 b:0011 l:000010 d:000010 FINISH c:0004 p:---- s:0009 b:0009 l:000008 d:000008 CFUNC :each c:0003 p:1853060 s:0006 b:0006 l:000005 d:000005 TOP c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:00129c d:00129c TOP I can run ruby as a service using System account (Redmine works fine on Thin). But when I try to run it from my account I get the following: C:\www\redmine>ruby script/rails -e production -p 3000 :3: [BUG] Segmentation fault ruby 1.9.3p448 (2013-06-27) [i386-mingw32] -- Control frame information ----------------------------------------------- c:0007 p:---- s:0018 b:0018 l:000017 d:000017 CFUNC :require c:0006 p:0014 s:0014 b:0014 l:000005 d:000013 BLOCK :3 c:0005 p:---- s:0011 b:0011 l:000010 d:000010 FINISH c:0004 p:---- s:0009 b:0009 l:000008 d:000008 CFUNC :each c:0003 p:0014 s:0006 b:0006 l:000005 d:000005 TOP :1 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:00073c d:00073c TOP -- Ruby level backtrace information ---------------------------------------- :1:in `' :1:in `each' :3:in `block in ' :3:in `require' -- C level backtrace information ------------------------------------------- Re-installation fixes the problem for a while. And I can't figure out what's causing the bug to reappear. -- http://bugs.ruby-lang.org/