Project

General

Profile

Activity

From 01/07/2012 to 01/13/2012

01/13/2012

11:41 PM Backport #5888: JSON unittest fails
After few hours of debugging, it seems that the flaw may actually be in the json_string_unescape function (in the sam... Anonymous
07:52 PM Backport #5888: JSON unittest fails
Here are the disassembled results for function JSON_parse_string for:
- compilation with gcc -O0
- compilation with...
Anonymous
05:56 PM Backport #5888: JSON unittest fails
Could you compare disassembled result with -O0, and try #pragma gcc optimize ("O0")? naruse (Yui NARUSE)
05:32 PM Backport #5888: JSON unittest fails
The flaw seems to be in ext/json/parser/parser.c - I compiled only this one with -O0 and the others with -O2 and ever... Anonymous
03:22 PM Backport #5586 (Closed): Time.at(Marshal.load(Marshal.dump(Time.now))).to_s raise TypeError
This issue was solved with changeset r34290.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby ...
ayumin (Ayumu AIZAWA)
09:10 AM Backport #5791: Please backport r34043, r34045 (Unexpected error of STDIN#read with non-ascii input)
If nobody objects I'll backport this next week (wednesday tops) luislavena (Luis Lavena)
09:10 AM Backport #5792: Please backport r33946, r33981 (Use GZip::GzReader.open instead of GZip::GzReader.new with File.new)
If nobody objects I'll backport this next week (wednesday tops) luislavena (Luis Lavena)
09:10 AM Backport #5793: Please backport r33662, r33666 (ECONV_NEWLINE_DECORATOR_{READ,WRITE}_MASK)
If nobody objects I'll backport this next week (wednesday tops) luislavena (Luis Lavena)
01:53 AM Backport #5793: Please backport r33662, r33666 (ECONV_NEWLINE_DECORATOR_{READ,WRITE}_MASK)
Motohiro KOSAKI wrote:
> Maybe, a following commit should be backported too.
>
> --------------------------------...
jonforums (Jon Forums)
09:10 AM Backport #5794: Please backport r33200 (transcode.c: enabled econv newline option)
If nobody objects I'll backport this next week (wednesday tops) luislavena (Luis Lavena)
09:02 AM Backport #5890 (Closed): Please backport r34236
This revision resolves the following issues:
inconsistent treatment of 8 bit characters in US-ASCII (http://bugs.r...
john_firebaugh (John Firebaugh)
06:22 AM Revision 34290: merge revision(s) 33790:
* time.c (TIME_COPY_GMT): copy vtm.utc_offset and vtm.zone too.
patch by Tomoyuki Chikanaga.
[ruby-dev:44827] [...
ayumin (Ayumu AIZAWA)
04:08 AM Backport #5851 (Closed): make check fails when compiling with GCC 4.7 - *** longjmp causes uninitialized stack frame ***
backported as r34288.
kosaki (Motohiro KOSAKI)

01/12/2012

10:56 PM Backport #5888: JSON unittest fails
When building with -O0, everything seems to work. vo.x (Vit Ondruch)
09:48 PM Backport #5888: JSON unittest fails
Simpler reproducer is:
# ruby -rjson -v -e "20.times { puts JSON.parse '[\"\u0000\"]'}"
ruby 1.9.3p0 (2011-10-30)...
vo.x (Vit Ondruch)
09:12 PM Backport #5888 (Closed): JSON unittest fails
Hello,
When building Ruby 1.9.3 (as well as 2.0.0), the make check spits following errors:
1) Failure:
test_...
vo.x (Vit Ondruch)
07:07 PM Revision 34288: merge revision(s) 34278:
* cont.c (cont_restore_0): prevent optimizing out `sp'. sp is used for
reserving a memory space with ALLOCA_N for ...
kosaki (Motohiro KOSAKI)
07:06 PM Backport #5851: make check fails when compiling with GCC 4.7 - *** longjmp causes uninitialized stack frame ***
Yes, it fixes the SEGV it seems. Thank you! Could you backport it for 1.9.3? Should I open new ticket for backport? vo.x (Vit Ondruch)
02:16 PM Backport #5851: make check fails when compiling with GCC 4.7 - *** longjmp causes uninitialized stack frame ***
Yui NARUSE wrote:
> Can you disassemble cont_restore_0?
> I doubt your gcc 4.7 optimized out the content of cont_re...
naruse (Yui NARUSE)
01:33 PM Backport #5851: make check fails when compiling with GCC 4.7 - *** longjmp causes uninitialized stack frame ***
Can you disassemble cont_restore_0?
I doubt your gcc 4.7 optimized out the content of cont_restore_0.
naruse (Yui NARUSE)
12:14 AM Backport #5851: make check fails when compiling with GCC 4.7 - *** longjmp causes uninitialized stack frame ***
Valgrind output when compiling with -O1:
# Running tests:
==8685== Invalid write of size 8
==8685== at 0x...
vo.x (Vit Ondruch)
04:46 PM Revision 34283: * 2012-01-13
svn
04:46 PM Revision 34282: merge revision(s) 34280:
* eval.c: Improve rdoc for Module.constants [issue #5887] marcandre (Marc-Andre Lafortune)
02:22 AM Backport #5881 (Closed): Please Backport r34277 (Added examples for Object#instance_of? and Object#is_a?)
Added examples for Object#is_a? and Object#instance_of? xcess_denied (Manoj Kumar)
01:46 AM Backport #5850: Backport r34129, r34250, r34252 and r34253 ( Failure test/ruby/test_io.rb )
Merged by r34273, r34274, r34275 and r34276 ayumin (Ayumu AIZAWA)
01:42 AM Backport #5850 (Closed): Backport r34129, r34250, r34252 and r34253 ( Failure test/ruby/test_io.rb )
This issue was solved with changeset r34276.
Ayumu, thank you for reporting this issue.
Your contribution to Ruby is ...
ayumin (Ayumu AIZAWA)
01:33 AM Backport #5850: Backport r34129, r34250, r34252 and r34253 ( Failure test/ruby/test_io.rb )
Tempfile.new のブロックが実行されないのにテストで使われていたのを直した際( r34129 ) に今回のバグが顕在化したようです。
ビルドとテストをして問題なければBackport します。
ayumin (Ayumu AIZAWA)
12:00 AM Backport #5878 (Closed): compile error in string.c:2096 since r34236
This issue was solved with changeset r34270.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby i...
ngoto (Naohisa Goto)

01/11/2012

11:36 PM Backport #5878 (Closed): compile error in string.c:2096 since r34236
r34236 以降、Solaris 10 上の Fujitsu fcc 5.6 にて、string.c の2096行目がコンパイルエラーになります。
"string.c", line 2096: error: initializ...
ngoto (Naohisa Goto)
04:42 PM Revision 34276: merge revision(s) 34253:
* test/ruby/test_io.rb (test_autoclose_true_closed_by_finalizer,
test_autoclose_true_closed_by_finalizer): skip if...
ayumin (Ayumu AIZAWA)
04:41 PM Revision 34275: merge revision(s) 34252:
* lib/tempfile.rb (Tempfile#_close): clear @tempfile and @data[1] even
when exception is raised at @tempfile.close...
ayumin (Ayumu AIZAWA)
04:41 PM Revision 34274: merge revision(s) 34250:
* gc.c (run_finalizer): clear rb_thread_t::errinfo when ignore
an exception under rb_protect(). [ruby-dev:45113]
ayumin (Ayumu AIZAWA)
04:40 PM Revision 34273: merge revision(s) 34129:
* test/ruby/test_io.rb (TestIO#test_autoclose): Tempfile.new doesn't
accept the block argument.
ayumin (Ayumu AIZAWA)

01/10/2012

11:32 PM Backport #5842: Please backport r33876 (unable to build statically with MinGW due to socket extension build failure)
Please delete/close as this request is confusing due to revert by r33947 and other trunk mods.
If appropriate, I w...
jonforums (Jon Forums)
05:15 PM Backport #5851: make check fails when compiling with GCC 4.7 - *** longjmp causes uninitialized stack frame ***
This test fails for me, too - using "gcc version 4.7.0 20120106 (Red Hat 4.7.0-0.5) (GCC)".
If I, however, compile t...
Anonymous
12:12 PM Backport #5851: make check fails when compiling with GCC 4.7 - *** longjmp causes uninitialized stack frame ***
It works on FreeBSD 9.0 amd 64 with gcc47 (FreeBSD Ports Collection) 4.7.0 20111217 (experimental) naruse (Yui NARUSE)
01:56 AM Backport #5851: make check fails when compiling with GCC 4.7 - *** longjmp causes uninitialized stack frame ***
It reminds me issue #5244. I would say that the _setjmp/_longjmp is causing the troubles, but I am not yet sure why :/ vo.x (Vit Ondruch)
07:13 AM Revision 34263: * 2012-01-10
svn
07:13 AM Revision 34262: * test/ruby/test_enumerator.rb (test_nested_iteration): fix typo.
nobu (Nobuyoshi Nakada)
02:31 AM Backport #5850 (Open): Backport r34129, r34250, r34252 and r34253 ( Failure test/ruby/test_io.rb )
r34250 (finalizer の例外が外に影響するのを修正)、r34252 (Tempfile の close で例外が発生すると finalizer で例外になるのを修正)、 r34253 (test_autoclose で ... nagachika (Tomoyuki Chikanaga)
02:25 AM Backport #5850 (Closed): Backport r34129, r34250, r34252 and r34253 ( Failure test/ruby/test_io.rb )
This issue was solved with changeset r34253.
Ayumu, thank you for reporting this issue.
Your contribution to Ruby is ...
nagachika (Tomoyuki Chikanaga)

01/09/2012

08:54 PM Backport #5851: make check fails when compiling with GCC 4.7 - *** longjmp causes uninitialized stack frame ***
Hi Luis,
You can find the GCC glags in the build.log [1]. I was using the following settings: CFLAGS='-O2 -g -pipe...
vo.x (Vit Ondruch)

01/08/2012

10:17 PM Backport #5850: Backport r34129, r34250, r34252 and r34253 ( Failure test/ruby/test_io.rb )
GC の変更で test_autoclose はうまく IO オブジェクトが回収されるようになったみたいですね。こちらでも再現しなくなってしまいました。
test_copy_stream の Error は以前とは別もので、Te...
nagachika (Tomoyuki Chikanaga)
02:29 AM Backport #5850: Backport r34129, r34250, r34252 and r34253 ( Failure test/ruby/test_io.rb )
=begin
GCが変更されたからなのかわかりませんが、挙動が変化しました。
test_io.rbの全体を実行した場合のみ test_copy_stream がエラーとなります。

== test_autoclose の...
ayumin (Ayumu AIZAWA)

01/07/2012

10:49 PM Backport #5835 (Closed): Please Backport r34202 and r34204 (rexml BaseParser uses instance_eval unnecessarily on listener add)
ayumin (Ayumu AIZAWA)
10:48 PM Backport #5835: Please Backport r34202 and r34204 (rexml BaseParser uses instance_eval unnecessarily on listener add)
Merged by r3224 r3223 ayumin (Ayumu AIZAWA)
01:47 PM Revision 34224: merge revision(s) 34204:
* lib/rexml/parsers/baseparser.rb: use private instead of _xxx
method name. This is Ruby code not Python code.
...
ayumin (Ayumu AIZAWA)
01:40 PM Revision 34223: merge revision(s) 34202:
* lib/rexml/parsers/baseparser.rb: rexml BaseParser uses
instance_eval unnecessarily on listener add.
patch fro...
ayumin (Ayumu AIZAWA)
05:44 AM Backport #5851: make check fails when compiling with GCC 4.7 - *** longjmp causes uninitialized stack frame ***
Can you provide a simple example that reproduces this?
Have you tried compiling with debug symbols and go over GDB...
luislavena (Luis Lavena)
05:41 AM Backport #5851: make check fails when compiling with GCC 4.7 - *** longjmp causes uninitialized stack frame ***
Please send us patch.
kosaki (Motohiro KOSAKI)
02:19 AM Backport #5850: Backport r34129, r34250, r34252 and r34253 ( Failure test/ruby/test_io.rb )
ええと、まず GC で確実に回収される保障がない以上 test_autoclose の後半の assertion は失敗する可能性があります。try_fdopen でメソッド呼び出しを100回ネストして IO.for_fd した後 G... nagachika (Tomoyuki Chikanaga)
 

Also available in: Atom