Issue #7638 has been updated by nobu (Nobuyoshi Nakada).

Status changed from Assigned to Closed


----------------------------------------
Bug #7638: trunk ??? rails ??? activesupport ??????鴻?????紊掩???????????障??
https://bugs.ruby-lang.org/issues/7638#change-35504

Author: hsbt (Hiroshi SHIBATA)
Status: Closed
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: core
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-12-29 trunk 38656) [x86_64-darwin12.2.1]


Ruby ??????違???????????????障????????????????????????????? activesupport ??????鴻???????純?<????????????c?????障????障????????

Ruby ??? Rails ????<???????眼????鴻???????ゆ??с?????????с??篏??????????????????????????????障?????

??純?<?????障???????鴻?????

https://github.com/rails/rails/blob/master/activesupport/test/core_ext/marshal_test.rb

??с??????????鴻??????茵???号????篁ヤ??????????с?????

% git clone git://github.com/rails/rails.git
% cd rails
% gem install bundler --pre
% bundle
% cd activesupport
% bundle exec ruby -Itest:lib test/core_ext/marshal_test.rb

?????鴻?????絎?茵?????????? Thread ??? deadlock ?????榊???????障????????Thread.abort_on_exception = true ??у??茵??????????

https://github.com/rails/rails/blob/master/activesupport/lib/active_support/testing/isolation.rb#L31

??? method_missing ??????? marshal_load ??? @calls ??菴?????????????????? @calls ??? L26 ??? send ????????? NoMethodError ??ц?純?<???????????????????????障????????

?????ゃ???????純?≦??????????????茯帥?鴻????????????

http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38175

??????眼?????c???_dump ??? @calls ??菴??????????????????????????rails ??????鴻???????純?<??????

http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38568

??????眼?? _dump ??с???? marshal_load ??? @calls ??菴??????????????????????c????????純?∞?????????????????????倶????с?????

Rails ???潟?若????? marshal_load ??? marshal_dump ???絎?臂???????違????鴻?????純?<?????????с????????38175 ???????????с??
??榊???????????????c???院?????榊??????????????????c?????????????????????????????с??????????????


-- 
http://bugs.ruby-lang.org/