https://issues.dlang.org/show_bug.cgi?id=16506

Lodovico Giaretta <lodov...@giaretart.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lodov...@giaretart.net
            Summary|segfaults with              |segfaults in
                   |std.experimental.allocator. |std.experimental.allocator:
                   |{gc_allocator,mallocator}   |FreeTree with GCAllocator
                   |                            |or Mallocator

--- Comment #1 from Lodovico Giaretta <lodov...@giaretart.net> ---
With the malloc version, I got this output:

malloc.c:2369: sysmalloc: Assertion `(old_top == (((mbinptr) (((char *)
&((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd))))
&& old_size == 0) || ((unsigned long) (old_size) >= (unsigned
long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 *
(sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size &
0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.


To me, it looks like the problem is specific to FreeTree. Changing the title to
reflect this.

--

Reply via email to