From: Paservan NO Date: 2011-03-17T12:10:23+09:00 Subject: Re: Ruby crashes with mshtml.dll Thanks for your reply Hi Ryan Davis, I have to use IE browser because it is my testing purpose. Hi Luis Lavena, IPv6 is one of my testing purposes. That is why I upgrade ruby 1.8.6 to 1.9.2 which has better support for IPv6. I try to reinstall win32-api according to your suggested. However, I get the same win32-api-1.4.8-x86-mingw32.gem. My OS is windows XP SP3 x86. C:\Documents and Settings\Administrator>gem uninstall win32-api --all You have requested to uninstall the gem: win32-api-1.4.8 windows-api-0.4.0 depends on [win32-api (>= 1.4.5)] windows-pr-1.1.3 depends on [win32-api (>= 1.4.5)] If you remove this gems, one or more dependencies will not be met. Continue with Uninstall? [Yn] y Successfully uninstalled win32-api-1.4.8 C:\Documents and Settings\Administrator>gem install win32-api Fetching: win32-api-1.4.8-x86-mingw32.gem (100%) Successfully installed win32-api-1.4.8-x86-mingw32 1 gem installed Installing ri documentation for win32-api-1.4.8-x86-mingw32... Installing RDoc documentation for win32-api-1.4.8-x86-mingw32... I just found a pattern (it seems like a pattern, probably...). Mostly, ruby crashes when it is trying to open socket to send a message to remote side. However, it doesn't crash every time it open a socket. any idea? Regards -- Posted via http://www.ruby-forum.com/.