vibe.d - cannot allocate memory in static TLS block

John Colvin via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 27 04:33:01 PDT 2015


On Thursday, 27 August 2015 at 09:06:54 UTC, ddos wrote:
> when i import the vibe.d module my project it dies with the 
> error message "cannot allocate memory in static TLS block"
>
> compiled as dynamic library on debian x86
>
> "name": "alice",
> "description": "A minimal D application.",
> "copyright": "Copyright © 2015, dom",
> "authors": ["dom"],
> "targetType": "dynamicLibrary",
> "dflags": ["-fPIC"],
> "dependencies": {
> 	"ddbc": "~>0.2.24",
> 	"zmqd": "~>1.0.0-alpha",
> 	"msgpack-rpc": "~>0.1.1",
>         "vibe-d": "~>0.7.19"
> }
>
> import vibe.d; is enough to cause the error
> i don't really know what TLS is, but can i avoid it somehow?
>
> rgds, dominik

Firstly, try with up-to-date vibe.d and zmqd.

What happens if you remove some of those dependencies? If you 
remove targetType dynamicLibrary? Is it just vibe.d on it's own 
that is causing the problem, or is it a combination?


More information about the Digitalmars-d mailing list