Ok, I gave the latest 2.053 beta a try (dated 12 May) and am running into some new problems. This code ran successfully with older versions of dmd2, but now it fails most of the time with exceptions from within threads. Here are some example backtraces:

Thread died unexpectedly: %score.thread.ThreadException@src/core/thread.d(2338): Unable to suspend thread
----------------
./.bob/bob(extern (C) void core.thread.thread_suspendAll().void suspend(core.thread.Thread)+0x86) [0x80f5d7a]
./.bob/bob(thread_suspendAll+0x7f) [0x80f5cdf]
./.bob/bob(uint gc.gcx.Gcx.fullcollect(void*)+0x14) [0x80ed6c0]
./.bob/bob(uint gc.gcx.Gcx.fullcollectshell()+0x26) [0x80ed69e]
./.bob/bob(void* gc.gcx.Gcx.bigAlloc(uint, gc.gcx.Pool**, uint*)+0x8a) [0x80ed226] ./.bob/bob(void* gc.gcx.GC.mallocNoSync(uint, uint, uint*)+0x11d) [0x80eb9ed]
./.bob/bob(void* gc.gcx.GC.malloc(uint, uint, uint*)+0x4b) [0x80eb8a3]
./.bob/bob(gc_malloc+0x1e) [0x80cb4ae]
./.bob/bob(void* core.memory.GC.malloc(uint, uint)+0xf) [0x80c8173]
./.bob/bob(void[] std.file.read(const(char[]), const(uint))+0xc2) [0x80dc972] ./.bob/bob(immutable(char)[] std.file.readText!(immutable(char)[]).readText(const(char[]))+0x16) [0x80bdfd6]
./.bob/bob(void bob.read_options()+0x73) [0x80b46f3]
... < SNIP >

Thread died unexpectedly: %sobject.Error: Got signal 11 SIGSEGV
----------------
./.bob/bob(signalHandler+0x4f) [0x80c5abb]
[0x33f400]
./.bob/bob(gc.gcx.BlkInfo gc.gcx.GC.queryNoSync(void*)+0x17) [0x80ec493]
./.bob/bob(gc.gcx.BlkInfo gc.gcx.GC.query(void*)+0x80) [0x80ec448]
./.bob/bob(gc_query+0x26) [0x80cb6f6]
./.bob/bob(_d_arrayappendcTX+0x5e) [0x80ce19e]
./.bob/bob(_d_arrayappendT+0x2a) [0x80ce09a]
./.bob/bob(bob.Obj bob.Obj.__ctor(bob.Unit, bob.File, immutable(char)[], bob.DynamicLib[], bob.StaticLib[])+0x177) [0x80b7393] ./.bob/bob(bob.Obj bob.Obj.__ctor(bob.Unit, immutable(char)[], immutable(char)[], bob.DynamicLib[], bob.StaticLib[])+0xc7) [0x80b75
... < SNIP >

I hope this may be of some help.

Regards,
Dave

On 07/05/11 14:46, Jonathan M Davis wrote:
Just a reminder in case you didn't know, but there is a beta list (dmd-beta)
for posting and discussing beta releases of dmd prior to actual releases. It's
not a particularly active list, since we only get betas every couple of months
or so, but if you want to check out beta releases of dmd, check out the list.
We encourage folks to try out the betas so that we can catch any regressions
that we might have missed or anything else which might need to be fixed before
we can make the release final.

The beta for the next release has been now been posted, so you can head over
to dmd-beta and check it out if you'd like.

- Jonathan M Davis

Reply via email to