General

Profile

gfim (Graham Menhennitt)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 4 4

Activity

06/21/2016

12:35 AM Ruby Bug #12511 (Closed): can't build 2.4.0-preview1 on Centos 5
Building Ruby 2.4.0-preview1 fails on Centos 5 with the error below. I know that this is an ancient version, but...
Graham
% gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --ma...
gfim (Graham Menhennitt)

12/04/2012

07:38 PM Ruby Feature #5174: Export ruby_init_prelude()
Unfortunately, ruby_options(0, 0) causes a SEGV in 1.9.3p327. The crash has been fixed ([Bug #7423]), but I don't think that ruby_options(0, 0) works correctly. It causes the embedded Ruby interpreter to read from standard input (the sam... gfim (Graham Menhennitt)

11/23/2012

05:51 AM Ruby Feature #7424 (Closed): an embedded Ruby interpreter doesn't get the full Ruby environment unless it calls ruby_process_options() (which is not documented)
The documented way to embed a Ruby interpreter is to call:
RUBY_INIT_STACK;
ruby_init();
ruby_init_loadpath();
However, this leaves the Ruby environment incomplete. As an example, the following program:
#include <r...
gfim (Graham Menhennitt)
05:39 AM Ruby Bug #7423 (Closed): ruby_process_options() dereferences argv even if argc is zero
In ruby_process_options(), there is a line:
ruby_script(argv[0]); /* for the time being */
This dereferences argv whether argc is zero or not. This causes a SEGV if there are no command line args. It should be changed to somet...
gfim (Graham Menhennitt)

08/30/2010

09:49 AM Ruby Bug #3763 (Rejected): 1.9.2-p0 SEGV in String:+
=begin
I'm getting an occasional crash when calling the += operator for a String. It happens fairly rarely (maybe once per 10,000 calls), but it always looks the same.

The dump looks like:

K:/1062_GEN3/target_hmi/src/agent/dev...
gfim (Graham Menhennitt)

Also available in: Atom