From: Shashank Date Date: 2003-01-04T12:15:12+09:00 Subject: Re: exerb with cui17z and md5 => segmentation fault "Robert Feldt" wrote in message > I'm trying to get up to par with all great things that have happened in > the Ruby community during 2002; very impressive indeed. Welcome back ! We missed you ... at least I did when I needed some guidance when wanting to "rockit" ;-) > Right now I'm trying out exerb with md5 but am having some problems. So am I ! > * I installed ruby with Andy's windows installer 1.7.3-7. C:\atest>ruby -v ruby 1.7.3 (2002-11-17) [i386-mswin32] > * Installed exerb 2.4.0 with the 2.3.0 cc-core add-on which has the cui17z > which should be for 1.7.X series. (Or am I mistaken here?) I downloaded the latest release (exerb 2.5 and exerb-cc 2.5) and verified that the test one-liner (puts 'Ok') worked. > * Wrote simple program to show the bug: > require 'digest/md5' > require 'find' > Find.find('.') do |filename| > if filename =~ /\.mp3$/ > md5hd = File.open(filename, "rb") {|f| Digest::MD5.hexdigest(f.read)} > puts "#{md5hd} *#{filename}" > end > end > > * When run on dir with many mp3's in it it works perfectly with ruby > 1.7.3. Same here .. > * Create exerb rbc: > * then create exe: Don't know about cui17z, but I tried the simple C:\atest>exerb.rb tst_md5exe.rbc and ran it: C:\atest>.\tst_md5exe tst_md5exe.rb:1: [BUG] Segmentation fault ruby 1.6.8 (2002-12-24) [i586-mswin32] abnormal program termination Notice how it reports ruby 1.6.8 and not 1.7.3. > exerb -c cui17z -z md5test.rbc > > * and now when I run it fails after a couple of mp3 files at different > locations. Examples: Did not even get that far :-( > What am I missing here? Anyone packed up an exe with exerb and md5 that > works flawlessly? > Anyone know how to get on the english-speaking exerb list? The page > for doing so is in japanese. Yeah !! Also, did anyone figure out why the documentation is *ix like (Cygwin ?) when the utility is for *doze? -- shanko