[Win32utils-devel] [ win32utils-Bugs-21272 ] File.basename bug smoked out by WEBrick, Rails

noreply at rubyforge.org noreply at rubyforge.org
Fri Jul 18 17:48:17 EDT 2008


Bugs item #21272, was opened at 2008-07-18 14:48
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=411&aid=21272&group_id=85

Category: win32-file
Group: Code
Status: Open
Resolution: None
Priority: 5
Submitted By: Daniel Berger (djberg96)
Assigned to: Daniel Berger (djberg96)
Summary: File.basename bug smoked out by WEBrick, Rails

Initial Comment:
It looks like there's a bug in File.basename somewhere:

C:\>ruby script\server
=> Booting WEBrick...
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2008-07-18 15:29:55] INFO  WEBrick 1.3.1
[2008-07-18 15:29:55] INFO  ruby 1.8.6 (2007-09-24) [i386-mswin32]
[2008-07-18 15:29:55] INFO  WEBrick::HTTPServer#start: pid=2036 port=3000
c:/ruby/lib/ruby/gems/1.8/gems/win32-file-0.5.4/lib/win32/file.rb:434: [BUG] Segmentation fault
ruby 1.8.6 (2007-09-24) [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.

It was hard to track this down because adding print statemetns seemed to alter the behavior, but I did notice something like this:

♦¿d≈♥╚T≈♥security.so e_support/d

Regards,

me

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=411&aid=21272&group_id=85


More information about the win32utils-devel mailing list