[#23132] [Bug #1357] Fixing variables into specific CPU registers deemed overrated & may disturb compilers' optimizers — Ollivier Robert <redmine@...>
Bug #1357: Fixing variables into specific CPU registers deemed overrated & may disturb compilers' optimizers
[#23154] [Bug #1363] Wrong value for Hash of NaN — Heesob Park <redmine@...>
Bug #1363: Wrong value for Hash of NaN
Hi,
Hi,
Yukihiro Matsumoto wrote:
[#23168] [Bug #1367] flatten(0) is not consistent with flatten(), flatten(1), etc. — Paul Lewis <redmine@...>
Bug #1367: flatten(0) is not consistent with flatten(), flatten(1), etc.
Issue #1367 has been updated by Paul Lewis.
[#23174] [Feature #1371] FTPS Implicit — Daniel Parker <redmine@...>
Feature #1371: FTPS Implicit
[#23193] Regexp Encoding — James Gray <james@...>
I'm trying to document the Encoding Regexp objects receive for the
[#23194] [Feature #1377] Please provide constant File::NOATIME — Johan Walles <redmine@...>
Feature #1377: Please provide constant File::NOATIME
[#23231] What do you think about changing the return value of Kernel#require and Kernel#load to the source encoding of the required file? — =?ISO-8859-15?Q?Wolfgang_N=E1dasi-Donner?= <ed.odanow@...>
Dear Ruby developers and users!
Wolfgang N叩dasi-Donner wrote:
Wolfgang N叩dasi-Donner wrote:
Michael Neumann schrieb:
[#23252] [Bug #1392] Object#extend leaks memory on Ruby 1.9.1 — Muhammad Ali <redmine@...>
Bug #1392: Object#extend leaks memory on Ruby 1.9.1
[#23267] StringIO: RubySpec violation — Hongli Lai <hongli@...99.net>
I ran RubySpec against the 1.8.6-p368 release. It seems that
[#23289] [Bug #1399] Segmentation fault is raised when you use a postgres gem — Marcel Keil <redmine@...>
Bug #1399: Segmentation fault is raised when you use a postgres gem
[#23297] Ruby Oniguruma question — Ralf Junker <ralfjunker@...>
I see that the Ruby source code contains modified and more recent version of the Oniguruma regular expression library.
[#23305] [Bug #1403] Process.daemon should do a double fork to avoid problems with controlling terminals — Gary Wright <redmine@...>
Bug #1403: Process.daemon should do a double fork to avoid problems with controlling terminals
Hi,
[#23311] [Bug #1404] Net::HTTP::Post failing when a post field contains ":" — Ignacio Martín <redmine@...>
Bug #1404: Net::HTTP::Post failing when a post field contains ":"
[#23318] [Feature #1408] 0.1.to_r not equal to (1/10) — Heesob Park <redmine@...>
Feature #1408: 0.1.to_r not equal to (1/10)
Issue #1408 has been updated by tadayoshi funaba.
Hi,
Hi.
Issue #1408 has been updated by Marc-Andre Lafortune.
Issue #1408 has been updated by Roger Pack.
[#23321] [Bug #1412] 1.8.7-p160 extmk.rb fails when cross compiling — Luis Lavena <redmine@...>
Bug #1412: 1.8.7-p160 extmk.rb fails when cross compiling
[ruby-core:23326] [Bug #1414] NameError (undefined method `path' for class `ActionController::UploadedStringIO')
Bug #1414: NameError (undefined method `path' for class `ActionController::UploadedStringIO')
http://redmine.ruby-lang.org/issues/show/1414
Author: Rick Lloyd
Status: Open, Priority: Normal
ruby -v: ruby 1.9.2dev (2009-04-25 trunk 23281) [powerpc-darwin9.6.0]
See also Ruby bug #1271
Processing ApplicationController#create (for 127.0.0.1 at 2009-04-26 19:00:26) [POST]
Parameters: {"authenticity_token"=>"cP8NCg4Exg4e22Ijs/bRLpgzjnVwmwspKi8QnF4Xi40=", "mugshot"=>{"uploaded_data"=>#<File:/var/folders/JP/JP7pZWhAHLy-es7AYViHF++++TI/-Tmp-/RackMultipart50621-2>}, "commit"=>"Create"}
NameError (undefined method `path' for class `ActionController::UploadedStringIO'):
<internal:prelude>:8:in `synchronize'
thin (1.0.0) lib/thin/connection.rb:63:in `pre_process'
thin (1.0.0) lib/thin/connection.rb:54:in `process'
thin (1.0.0) lib/thin/connection.rb:39:in `receive_data'
eventmachine (0.12.6) lib/eventmachine.rb:240:in `run_machine'
eventmachine (0.12.6) lib/eventmachine.rb:240:in `run'
thin (1.0.0) lib/thin/backends/base.rb:57:in `start'
thin (1.0.0) lib/thin/server.rb:150:in `start'
The problem is triggered when using attachment_fu, with file_storage, to load a jpg image into a rails application.
The problem occurs on only the first create after restarting the server (thin). After the first failed create, a browser reload with no change in data will succeed. Also all following creates will succeed.
I'm not assuming this to be a ruby bug but am unable to track the problem any closer than prelude.rb in the ruby source.
The previous issue (bug #1271) looks to be the same as mine. If I use webrick instead of thin for the server I get a server crash.
I've attached a gz tarfile of the minimum needed to repeat the problem. I have not included rails, thin, or any other of the standard gems. The mugshots/vendor/plugins does contain attachment_fu as I needed to submit a change to that gem (: no longer and alias for then). I've included a GEM-LIST (gem list) file fyi.
Here are the steps:
In terminal:
gzcat mugshots.tar.gz | tar xvf -
cd mugshots
rake db:migrate
script/server thin
In browser:
http://localhost:3000/mugshots/new
use "Browse..." to select ".../mugshots/DSCN0925.jpg"
use "Create" to demonstrate problem
use browser "Reload Current Page" and "Resend" buttons to successfully load attached image
click "New shot" link
use "Browse..." to select ".../mugshots/DSCN0913.jpg"
use "Create" to successfully load attached image
----------------------------------------
http://redmine.ruby-lang.org