On Fri, 11 Jan 2013 08:50:44 GMT, Sönke Ludwig wrote:
On Thu, 10 Jan 2013 18:31:25 GMT, swalsh wrote:
(...)
glibc detected ./app: free(): invalid pointer: 0xb7035010 ***I'm afraid I know why this happens. In DMD 2.061 there was a check introducted in
std.conv.emplace
that the input pointer must be aligned. However,malloc()
returns unaligned memory and I added a quick alignment hack to make it aligned.free()
didn't complain on the systems where I tested, but here it does.I will commit a proper fix shortly.
Just committed to github master. Can you test again with that version?