Int is not callble when converting BSON to Dict + segmentation fault #145
Copy link
Copy link
Closed
Description
Activity
Tried
Mongoc.as_dictbut got a segmentation fault againIteration on BSON of type
BSON_TYPE_BINARY(perhaps others as well) is what causes the segfault on 1.12 (but not 1.11):using Mongoc b = Mongoc.BSON("a" => UInt8[0x1, 0x2, 0x3]); iterate(b)
Iteration on BSON of type
BSON_TYPE_BINARY(perhaps others as well) is what causes the segfault on 1.12 (but not 1.11):using Mongoc
b = Mongoc.BSON("a" => UInt8[0x1, 0x2, 0x3]);
iterate(b)#149 Fixes this case for me on 1.12.2. I suspect it was trampling stack data (up to 3 bytes) depending on stack allocations. Could be very sensitive to inlining and codegen.
Fixed in #149
Metadata
Metadata
Assignees
Labels
No labels
I get this strange error only on Julia 1.12, the actions run is here
Julia 1.11 is fine. I also tried to bump to Mongoc 0.10 here, but got a segmentation fault