FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Infinite loop bug in DSSS 0.78

 
Post new topic   Reply to topic     Forum Index -> DSSS
View previous topic :: View next topic  
Author Message
Squall



Joined: 22 Oct 2007
Posts: 24

PostPosted: Thu Jan 29, 2009 8:54 am    Post subject: Infinite loop bug in DSSS 0.78 Reply with quote

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
View user's profile Send private message
Squall



Joined: 22 Oct 2007
Posts: 24

PostPosted: Thu Jan 29, 2009 3:01 pm    Post subject: Reply with quote

I have confirmed the same on windows. Can anyone else reporoduce this?
Back to top
View user's profile Send private message
JNewt



Joined: 05 Jun 2008
Posts: 69

PostPosted: Fri Jan 30, 2009 11:33 am    Post subject: Reply with quote

You failed to define func, so I get error messages right away.
Back to top
View user's profile Send private message
Squall



Joined: 22 Oct 2007
Posts: 24

PostPosted: Sun Mar 08, 2009 5:42 pm    Post subject: Reply with quote

It doesn't matter...it never executes the compiler when I try it, it gets stuck o n parsing.
Back to top
View user's profile Send private message
3-S-E



Joined: 16 Jun 2008
Posts: 54

PostPosted: Tue Apr 07, 2009 4:35 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DSSS All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group