Граф коммитов

39 Коммитов

Автор SHA1 Сообщение Дата
Nobuyoshi Nakada 174ae0f577
Remove known use-after-poison bug
9eda654781 was fixed by
b9488accf9.
2020-10-03 00:45:06 +09:00
Nobuyoshi Nakada 9eda654781
KNOWNBUGS.rb: use-after-poison since b9007b6c54 2020-08-30 16:07:12 +09:00
nobu 7084c015bf compile.c: fix positions encode
* compile.c (ibf_load_iseq_each): iseq_size necessary to encode
  positions is set in ibf_load_code().  [Bug #14660]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-04-05 13:13:00 +00:00
nobu 02df45c4c4 Reproducible test for [Feature#14370] @ [Bug #14660]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-04-03 10:50:47 +00:00
nobu 7a1c10ba08 gc.c: expand sorted pages
* gc.c (heap_page_allocate): expand sorted pages before inserting
  allocated new page.  [Bug #12670]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-22 00:59:54 +00:00
nobu 5eec76bc7b KNOWNBUGS.rb: hung up on linux
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-21 02:03:38 +00:00
nobu ed908e5c2b KNOWNBUGS.rb: deferred free
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-21 01:34:34 +00:00
nobu 976becf7eb vm_args.c: arity check of lambda
* vm_eval.c (rb_yield_lambda): new function which yields an array
  to a proc and splat to a lambda.  mainly for Enumerable only.

* vm_args.c (setup_parameters_complex): remove special lambda
  splatting for [Bug #9605].  [ruby-core:77065] [Bug #12705]

* vm_insnhelper.c (vm_callee_setup_block_arg): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-03-19 01:11:12 +00:00
ko1 f7015c968c add a ticket number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-01-30 07:39:27 +00:00
nobu 88d667ee44 [Bug #12705]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-26 09:32:07 +00:00
duerst 373489bb4e KNOWNBUGS.rb: Fixed typo, made more explicit [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-13 01:45:00 +00:00
nobu cae3905e89 string.c: should not taint fstring
* string.c (rb_obj_as_string): fstring should not be infected.
  re-apply r52872 and fix a typo.
  TODO: other frozen strings also may not be.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-04 07:48:22 +00:00
nobu e4c15e313d KNOWNBUGS.rb: assertion failure
* KNOWNBUGS.rb: add test for r52872, assertion failure.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-04 05:42:12 +00:00
nobu 6f8e5cc821 * test/ruby/test_method.rb (test_unlinked_method_entry_in_method_object_bug):
move from KNOWNBUGS.rb.  [Bug #8100]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-25 05:39:32 +00:00
naruse 362208c041 Add timeout to infinite loop [Bug #8100]
On FreeBSD, it doesn't SEGV.
http://fbsd.rubyci.org/~chkbuild/ruby-trunk/log/20130323T170203Z.log.html.gz

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23 19:50:49 +00:00
nobu 813ba53bbc * KNOWNBUGS.rb: test for [Bug #8100].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23 08:46:10 +00:00
nobu 13e83d055f vm_trace.c: exceptions in event hooks
* vm_trace.c (rb_threadptr_exec_event_hooks): exceptions in event
  hooks should not propagate outside.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-10 06:23:44 +00:00
nobu f9e4651039 KNOWNBUGS.rb: exceptions in event hooks
* KNOWNBUGS.rb: add tests for exceptions in event hooks, which were
  discarded in 1.8 but passed through in 1.9.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-10 02:50:57 +00:00
nobu f7894e422a vm.c: rewrite all catch points
* vm.c (rb_vm_rewrite_ep_in_errinfo): rewrite all catch points in
  errinfo, not only the topmost frame.  based on the patch by
  ktsj (Kazuki Tsujimoto) in [ruby-dev:45656]. [Bug #6460]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-02 19:14:24 +00:00
ktsj e546302486 * KNOWNBUGS.rb: add tests. [ruby-dev:45656] [Bug #6460]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-01 05:46:27 +00:00
ktsj 86c382a2d8 * KNOWNBUGS.rb: Bug #2330 was fixed in r26718.
[ruby-dev:40234] [ruby-core:27959]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-01 05:46:25 +00:00
akr 960beaac86 indented.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-20 03:17:44 +00:00
akr 24421c835d * bootstraptest/runner.rb (assert_normal_exit): add :timeout option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-17 12:27:34 +00:00
akr d1925e649f use assert_finish because the test hangs on FreeBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-16 16:45:22 +00:00
akr 4651910af1 add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-16 13:25:54 +00:00
ko1 0cdfbc9446 * thread_pthread.c (rb_thread_create_timer_thread): print fatal error
message to stderr instead of using rb_bug().
* KNOWNBUGS.rb, bootstraptest/test_fork.rb: move a fixed test.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-07 23:59:58 +00:00
akr a2f28cb6f5 add timeout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 22:30:56 +00:00
akr 183582ab29 add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 22:04:21 +00:00
ko1 100d0a568e * vm_insnhelper.c (vm_call_method): copy arguments to allocated
memory from machine stack.  [ruby-dev:36028]
* KNOWNBUGS.rb, bootstraptest/test_method.rb: move fixed test.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-29 08:24:51 +00:00
mame 503d852995 * KNOWNBUGS.rb: add a test. see [ruby-dev:36028]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-28 14:29:31 +00:00
nobu 1a5f1a8c69 * vm_core.h (rb_thread_t), vm.c (rb_thread_mark), process.c
(rb_last_status_get, rb_last_status_set, rb_last_status_clear):
  moved last_status from rb_vm_t.  [ruby-dev:35414]

* vm.c (th_init2): initialize last_status with nil.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-10 03:10:00 +00:00
akr 34131e6ea3 add a test for [ruby-dev:35414].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-09 18:05:32 +00:00
ko1 e929f49e56 * KNOWNBUGS.rb, bootstraptest/pending.rb: move a bug (?) to pending.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19 16:08:16 +00:00
akr b44d0b98d8 add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19 13:26:37 +00:00
ko1 f98e6b91de * KNOWNBUGS.rb, bootstraptest/pending.rb: move pending bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-17 19:29:38 +00:00
ko1 00e4fd42f3 * vm.c, vm_insnhelper.c: fix escape process with "braek" and "return"
syntax in "lambda".  [ ruby-Bugs-19304 ], [ruby-core:17164]
* KNOWNBUGS.rb, bootstraptest/test_proc.rb: add/move solved test.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-17 19:27:24 +00:00
ko1 faa93e847d * eval.c (rb_f_block_given_p): fix to skip class frame.
[ruby-core:14813]
* KNOWNBUGS.rb, bootstraptest/test_method.rb: move solved test.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-15 16:50:37 +00:00
ko1 9e324fdd3e * vm.c, eval_intern.h (PASS_PASSED_BLOCK):
set a VM_FRAME_FLAG_PASSED flag to skip this frame when
  searching ruby-level-cfp.
* eval.c, eval_intern.h, proc.c: fix to check cfp.  if there is
  no valid ruby-level-cfp, cause RuntimeError exception.
  [ruby-dev:34128]
* vm_core.h, vm_evalbody.c, vm.c, vm_dump.c, vm_insnhelper.c,
  insns.def: rename FRAME_MAGIC_* to VM_FRAME_MAGIC_*.
* KNOWNBUGS.rb, bootstraptest/test*.rb: move solved bugs.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-10 21:46:43 +00:00
ko1 e2958af0b7 * test_knownbug.rb -> KNOWNBUGS.rb: renamed.
* common.mk: apply above change.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-09 12:15:53 +00:00