General

Profile

brokenoty (Alex Fenton)

  • Login: brokenoty
  • Registered on: 12/11/2008
  • Last sign in: 12/11/2008

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Activity

01/06/2009

08:54 AM Ruby Bug #985 (Closed): profile lib + iterator => 'NULL pointer given' (ArgumentError)
=begin
This simple piece of code works as expected:

iter = 'abc'.each_char
p iter.next
=> "a"

However, if the profile library is required before this (either by -rprofile on the command line or require 'profile') it crashe...
brokenoty (Alex Fenton)

12/11/2008

10:08 PM Ruby Bug #857 (Closed): 1.9 Crash on calling 'hour' method on DateTime object in C extension
=begin
DateTime#hour works fine in Ruby.

However, calling this in an extension on the same DateTime object causes a crash:

int rHour = NUM2INT(rb_funcall(date_time, rb_intern("hour"), 0));

Error is:
/Users/alex/code/wxr...
brokenoty (Alex Fenton)

Also available in: Atom