LLVM: array(2, x) creates an empty array
Bug #1101679 reported by
Matt Giuca
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mars |
Fix Committed
|
High
|
Matt Giuca |
Bug Description
Expected:
?> array(2, 42)
[42, 42]
Actual:
?> array(2, 42)
[]
Only when using the LLVM backend.
Related branches
To post a comment you must log in.
This seems to be a memory corruption issue related to the garbage collector. Replacing all uses of GC_malloc with malloc resolves the issue.