← Back to index
|
Original Bugzilla link
Bug 16285 – IAllocator crash
Status
NEW
Severity
normal
Priority
P3
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-07-16T14:22:37Z
Last change time
2024-12-01T16:27:31Z
Assigned to
Eduard Staniloiu
Creator
Luís Marques
Moved to GitHub: phobos#10191 →
Comments
Comment #0
by luis — 2016-07-16T14:22:37Z
void main() { import std.exception; import std.experimental.allocator; import std.experimental.allocator.building_blocks.region; import std.stdio; static InSituRegion!1024 ralloc; IAllocator alloc = allocatorObject(&ralloc); enforce(alloc.make!int !is null); enforce(alloc.deallocateAll()); enforce(alloc.make!int !is null); writeln("OK 1"); enforce(alloc.deallocateAll()); writeln("OK 2"); } $ rdmd -g test.d OK 1 Segmentation fault: 11
Comment #1
by andrei — 2016-07-16T16:59:02Z
Discussion:
http://forum.dlang.org/post/
[email protected]
Comment #2
by robert.schadek — 2024-12-01T16:27:31Z
THIS ISSUE HAS BEEN MOVED TO GITHUB
https://github.com/dlang/phobos/issues/10191
DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB