# \[Bug #3571\] \[BUG\] if rb\_notimplement() is called in an anonymous block called by rb\_block\_call()

**URL:** <https://www.ruby-forum.com/t/bug-3571-bug-if-rb-notimplement-is-called-in-an-anonymous-block-called-by-rb-block-call/191547>\
**Category:** Development\
**Created:** [July 14, 2010, 10:54am UTC](https://www.ruby-forum.com/t/bug-3571-bug-if-rb-notimplement-is-called-in-an-anonymous-block-called-by-rb-block-call/191547 "2010-07-14T10:54:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Usaku\_NAKAMURA](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/cc9497/32.png) [@Usaku\_NAKAMURA](https://www.ruby-forum.com/u/Usaku_NAKAMURA)\
**Post date:** [July 14, 2010, 10:54am UTC](https://www.ruby-forum.com/t/bug-3571-bug-if-rb-notimplement-is-called-in-an-anonymous-block-called-by-rb-block-call/191547/1 "2010-07-14T10:54:54Z")

</div>

Bug #3571: [BUG] if rb\_notimplement() is called in an anonymous block  
called by rb\_block\_call()  
[http://redmine.ruby-lang.org/issues/show/3571](http://redmine.ruby-lang.org/issues/show/3571)

e$B5/I\<\<Te(B: Usaku NAKAMURA  
e$B%9%F!\<%?%9e(B: Assigned, e$BM%@hEYe(B: Normal  
e$BC4Ev\<Te(B: Nobuyoshi N., e$B%+%F%4%je(B: core, Target version:  
1.9.x  
ruby -v: ruby 1.9.3dev (2010-07-13 trunk 28631) [i386-mswin32]

e$B$?$V$sI=Bj$NDL$j$G$9$,!"6qBNE\*$K$O!"e(Bmswine$B$G0J2\<$N%3!\<%I$G:F8=$7$^$9!#e(B

require “openssl”  
c = OpenSSL::Config.new(“NUL”)  
c[“foo”] = [[“bar”, “baz”]]

e$B$G!"@h=5$/$i$$$+$i$J$+$@$5$s$H%3%=%3%=AjCL$7$F$?$N$G$9$,!"860x$Oe(B  
ext/openssl/ossl\_config.ce$B$NCf$G!"e(B

(1) e$B$^$:e(Bossl\_config\_set\_section()e$B$,8F$P$l$ke(B  
(2) rb\_block\_call()e$B$,8F$P$l$ke(B  
(3) set\_conf\_section\_i() e$B"\*e(B ossl\_config\_add\_value() e$B"\*e(B  
rb\_notimplement()e$B$,8F$P$l$k!#e(B  
(4) rb\_frame\_this\_func() e$B"\*e(B frame\_func\_id() e$B$,8F$P$l$k!#e(B  
(5) cfp-\>me e$B$,e(BNULLe$B$J$N$K2ZNo$K;2\>H$7$F$$$k!#e(B

e$B$H$$$&$3$H$,5/$-$F$$$k$N$,860x$@$HH=L@$7$^$7$?!#e(B

e$BMW$9$k$K6u$Ne(Bcfp-\>mee$B$NItJ,$r%9%-%C%W$9$k$H$+$J$s$i$+$N9)IW$,I,MW$J$o$1$G$9$,!"e(B  
e$B$7$P$i$/$J$+$@$5$s$HD/$a$?8B$j$G$O$A$g$S$C$H$@$1LLE]$=$&$J$N$H!"D94|E\*$K$Oe(B  
1.9.2e$B$X$Ne(Bbackporte$B$b$9$Y$-$@$m$&$H$$$&5$$b$9$k$N$G!"5-O?$N$?$a$K%A%1%C%H$re(B  
e$B;D$7$^$9!#e(B  
e$B$?$V$s=$@5\<+BN$O1s$+$i$:9T$o$l$k$H$O;W$$$^$9!#e(B

---

<div class="post-metadata">

**Author:** ![Usaku\_NAKAMURA](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/cc9497/32.png) [@Usaku\_NAKAMURA](https://www.ruby-forum.com/u/Usaku_NAKAMURA)\
**Post date:** [July 14, 2010, 1:27pm UTC](https://www.ruby-forum.com/t/bug-3571-bug-if-rb-notimplement-is-called-in-an-anonymous-block-called-by-rb-block-call/191547/2 "2010-07-14T13:27:41Z")

</div>

e$B%A%1%C%He(B #3571 e$B$,99?7$5$l$^$7$?!#e(B (by Nobuyoshi N.)

e$B%9%F!\<%?%9e(B Assignede$B$+$ie(BClosede$B$KJQ99e(B  
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

This issue was solved with changeset r28642.  
Usaku, thank you for reporting this issue.  
Your contribution to Ruby is greatly appreciated.  
May Ruby be with you.

* * *

[http://redmine.ruby-lang.org/issues/show/3571](http://redmine.ruby-lang.org/issues/show/3571)
