From: "Berger, Daniel" Date: 2006-10-10T06:13:01+09:00 Subject: Re: [Fwd: cross-thread violation on rb_gc()] > -----Original Message----- > From: Shashank Date [mailto:sdate@everestkc.net] > Sent: Friday, October 06, 2006 9:52 PM > To: ruby-core@ruby-lang.org > Subject: [Fwd: cross-thread violation on rb_gc()] > > > Hi All, > > I am not sure if this a Ruby core problem or that of the > Windows installer: in the attached script > which I have been using since 1.8.2., this is what I get when > I run it on Windows XP (Home) using the > latest one-click installer (1.8.5). > --------------------------------------------------- > Microsoft Windows XP [Version 5.1.2600] > (C) Copyright 1985-2001 Microsoft Corp. > > C:\>ruby -v > ruby 1.8.5 (2006-08-25) [i386-mswin32] > > C:\>cd atest > > *C:\atest>ruby _tp.rb tst_r*2.rb > [BUG] cross-thread violation on rb_gc() > ruby 1.8.5 (2006-08-25) [i386-mswin32] > > *This application has requested the Runtime to terminate it > in an unusual > way. > Please contact the application's support team for more information. Was there any change to the system() implementation on Windows between 1.8.4 and 1.8.5? I can only surmise that this is some bizarre interaction between Ruby's Thread.new and the Windows CreateProcess() function (which is how system is implemented behind the scenes on Windows, irrc). Also, do you get the same error if you build Ruby from scratch as opposed to using the one-click installer? Regards, Dan This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.