vibe.d - cannot allocate memory in static TLS block

Rikki Cattermole via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 27 02:10:52 PDT 2015


On 27/08/15 9:06 PM, 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

TLS = Thread Local Memory.

Also 0.7.19 is quite an old version of vibe.d.
Perhaps try 0.7.24 which is the last stable release (0.7.25 is in alpha 
according to git tags).


More information about the Digitalmars-d mailing list