General

Profile

charlez (Charles Leu)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 3 3

Activity

12/10/2015

12:51 AM Ruby Bug #11799: Object allocation during garbage collection phase terminates the Ruby process
Koichi Sasada wrote:
> https://github.com/rdp/google_hash/blob/master/ext/template/google_hash.cpp.erb#L170
> ...
**Thanks for the prompt attention and feedback. It's greatly appreciated.**
google_hash will be removed (unfortunatel...
charlez (Charles Leu)

12/09/2015

10:15 PM Ruby Bug #11799: Object allocation during garbage collection phase terminates the Ruby process
Supplied correct edition of file ruby_bug-gdb.txt charlez (Charles Leu)
10:07 PM Ruby Bug #11799 (Third Party's Issue): Object allocation during garbage collection phase terminates the Ruby process
Resurrection of Bug #11549 that was apparently inadvertently deleted.
Also note the similarity to Bug #10868.
**Summary:** Multi-Threaded Ruby apps are often problematic; especially so when utilizing thread pools, and scheduling work...
charlez (Charles Leu)

02/19/2015

08:59 AM Ruby Bug #10868: Object allocation within an extension during garbage collection terminates the Ruby process
For the benefit of those encountering this same (or similar) behavior:
* This particular problem was observed with ffi-rzmq. It appears that ffi-rzmq code isn't fully thread aware, hence this issue.
* The problem was elicited by cre...
charlez (Charles Leu)
02:57 AM Ruby Bug #10868 (Third Party's Issue): Object allocation within an extension during garbage collection terminates the Ruby process
It appears that when a CFUNC makes an allocation when garbage collection is running within a different thread/context, it yields the error "[BUG] object allocation during garbage collection phase" and the Ruby process is subsequently ter... charlez (Charles Leu)

08/05/2014

06:50 PM Ruby Bug #9806: URI#encode doesn't encode characters '[' and ']'. They should be encoded as %5B and %5D respectively.
Yusuke Endoh wrote:
> I'm unfamiliar with URI spec, but I guess RFC 2732 is related.
> ...
FYI: Refer to the current W3.org BNF for URI syntax http://www.w3.org/Addressing/URL/5_URI_BNF.html
Note the statement 'The "national" and "p...
charlez (Charles Leu)

05/06/2014

09:13 PM Ruby Bug #9806: URI#encode doesn't encode characters '[' and ']'. They should be encoded as %5B and %5D respectively.
Notes:
* Per RFC 2396 section 2.4.3 "Data corresponding to excluded characters **must** be escaped in order to be properly represented within a URI."
* Per RFC 2396 section 2.2 reserved characters are ";" | "/" | "?" | ":" | "@" | "&" ...
charlez (Charles Leu)
01:29 AM Ruby Bug #9806 (Closed): URI#encode doesn't encode characters '[' and ']'. They should be encoded as %5B and %5D respectively.
The subject says it all.
IRB session demonstrating the problem:
charlez$ irb
head :001 > RUBY_VERSION
=> "2.2.0"
head :002 > require 'uri'
=> true
head :003 > my_str = '[ futsal club ]'
=> "[ futsal club ]"
head :004 > URI....
charlez (Charles Leu)

Also available in: Atom