Skip to content

ObjectPrinter.extractFields seg-faulting on Windows #264

@zbaylin

Description

@zbaylin

After thinking something was wrong with my tests, I was able to get gdb working on Windows to see that Rely is crashing at ObjectPrinter.extractFields:

Thread 1 received signal SIGSEGV, Segmentation fault.
0x000000000043eded in camlRelyInternal__ObjectPrinter__extractFields_280 ()
(gdb) bt
#0  0x000000000043eded in camlRelyInternal__ObjectPrinter__extractFields_280 ()
#1  0x000000000965c020 in ?? ()

I wish I could get more info but it doesn't seem like much debug info persisted to the executable. If I had to guess, the segfault happens here:

[Obj.field(o, numFields - 1), ...fieldsSoFar],

just because I'm not sure what else would cause a SIGSEGV

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