From: timsuth@... (Tim Sutherland) Date: 2003-12-17T17:51:58+09:00 Subject: [BUG] with ruby 1.8.1 on mingw I have a short (40 line) program which gives the following message when run ---- $RUBYLIB=fooblah ruby demobug.rb [BUG] unknown node type 0 ruby 1.8.1 (2003-10-31) [i386-mingw32] This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. ---- The program `require`s no libraries other than 'test/unit'. I have put the file on a website rather than listing it here, as changes in whitespace result in the program running "successfully" (actually, it raises an exception, but that's the expected behaviour since it tries to use a constant which is not defined). The file is at http://homepages.ihug.co.nz/~umbrella/demobug.rb If the RUBYLIB variable is not set, then the [BUG] does not occur. This may just be a coincidence. (NB: There isn't a directory called 'fooblah'). When run like this, $: is ["fooblah", "S:/tim/msys/1.0/local/lib/ruby/site_ruby/1.8", "S:/tim/msys/1.0/local/lib/ruby/site_ruby/1.8/i386-msvcrt", "S:/tim/msys/1.0/local/lib/ruby/site_ruby", "S:/tim/msys/1.0/local/lib/ruby/1.8", "S:/tim/msys/1.0/local/lib/ruby/1.8/i386-mingw32", "."] I've checked, and the only test/unit I have in that path is the one distributed with ruby. The platform is Windows XP with a Ruby I build from msys/mingw. I believe it is 1.8.1-preview2 (not sure about that). msys is version 1.0.8. mingw is version 2.0.0. gcc is version 3.2 (mingw special 20020817-1).