Report abuse

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Invalid handle usage detected!
  handle:     0xb74197dc
  checksum:   0x1a
  references: 3
  type:       3
  object:     0x1a
Abort!
bin/rbx(_ZN8rubinius5abortEv+0x74) [0x823a134]
bin/rbx(rb_funcall+0x74) [0x82dfc24]
bin/rbx(rb_reg_new+0x7c) [0x82db9ac]
/home/jeremy/rubinius/spec/ruby/optional/capi/ext/regexp_spec.so(sp_a_re+0x30) [0xcfa600]
bin/rbx(_ZN8rubinius12NativeMethod23executor_implementationINS_13ZeroArgumentsEEEPNS_6ObjectEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0x306) [0x82b53e6]
rbx: vm/exception.cpp:115: void rubinius::abort(): Assertion `0' failed.


 19   VALUE rb_reg_new(char *source, long len, long options) {
 20     NativeMethodEnvironment* env = NativeMethodEnvironment::get();
 21     String *pat = String::create(env->state(), source, len);
 22     return rb_funcall(rb_cRegexp, rb_intern("new"), 2, pat, Fixnum::from(options));
 23   }