Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ObjectPrinter.extractFields seg-faulting on Windows #264

Open
zbaylin opened this issue May 13, 2021 · 1 comment
Open

ObjectPrinter.extractFields seg-faulting on Windows #264

zbaylin opened this issue May 13, 2021 · 1 comment

Comments

@zbaylin
Copy link

zbaylin commented May 13, 2021

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

@bandersongit
Copy link
Contributor

Are you able to find provide more specific input that is causing this error? You can use testSkip/testOnly/describeSkip/describeOnly in order to narrow things down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants