Skip to content

Crash in examples/test-e.rb:52 (and -j.rb) #15

@skull-squadron

Description

@skull-squadron

image

Running with scissors in the dark, I would guess there's a missing check or API change somewhere. Removing the line allows the demo to run, albeit with missing intended behavior. The other demos work fine.

Running lldb ruby examples/test-e.rb

Process 21806 stopped                                                      │
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x9)
    frame #0: 0x00000001008141c4 libruby.3.1.dylib`rb_cvar_set [inlined] cvar_lookup_at(klass=4305990040, id=56193, v=0x0000000000000000) at variable.c:3401:10                                                  │
   3398  static int                                                        │
   3399  cvar_lookup_at(VALUE klass, ID id, st_data_t *v)                  │
   3400  {                                                                 │
-> 3401      if (!RCLASS_IV_TBL(klass)) return 0;                          │
   3402      return st_lookup(RCLASS_IV_TBL(klass), (st_data_t)id, v);     │
   3403  }                                                                 │
   3404  │                                                                 │
Target 0: (ruby) stopped.

Crash log

Here's the .ips

One of the working demos


image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions