View previous topic :: View next topic |
Author |
Message |
Squall
Joined: 22 Oct 2007 Posts: 24
|
Posted: Thu Jan 29, 2009 8:54 am Post subject: Infinite loop bug in DSSS 0.78 |
|
|
The following example demonstrates the behaviour on Linux and windows. rebuild consumes a large amount of memory and eventually terminates with an out of memory error.
So far I believe I have tracked the bug down to parse.c in the DMD front end which is linked to rebuild. I am not sure what the version of front end DMD code in rebuild is as I didn't know where to look and it was late. This must have already been fixes in recent versions of the compiler itself I assume.
---dsss.conf---
[engine.d]
---engine.d---
module renderer;
class RenderEngine
{
void reset()
{
func(__FILE__ " RenderEngine: reset()");
}
}
Invoke with dsss build |
|
Back to top |
|
|
Squall
Joined: 22 Oct 2007 Posts: 24
|
Posted: Thu Jan 29, 2009 3:01 pm Post subject: |
|
|
I have confirmed the same on windows. Can anyone else reporoduce this? |
|
Back to top |
|
|
JNewt
Joined: 05 Jun 2008 Posts: 69
|
Posted: Fri Jan 30, 2009 11:33 am Post subject: |
|
|
You failed to define func, so I get error messages right away. |
|
Back to top |
|
|
Squall
Joined: 22 Oct 2007 Posts: 24
|
Posted: Sun Mar 08, 2009 5:42 pm Post subject: |
|
|
It doesn't matter...it never executes the compiler when I try it, it gets stuck o n parsing. |
|
Back to top |
|
|
3-S-E
Joined: 16 Jun 2008 Posts: 54
|
Posted: Tue Apr 07, 2009 4:35 am Post subject: |
|
|
I've compiled the monster-scripting-language extension yesterday.
Everything went okay.
Then I compiled the samples for phobos and dsss hangs unreproducible at the "vmarray" build-section.
But at the second try everything has compiled smoothly. |
|
Back to top |
|
|
|