Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run fail in debug build #294

Closed
JunfengJia opened this issue Feb 11, 2016 · 5 comments
Closed

run fail in debug build #294

JunfengJia opened this issue Feb 11, 2016 · 5 comments

Comments

@JunfengJia
Copy link

core.exception.AssertError@../../../.dub/packages/libdparse-0.3.0/src/dparse/parser.d(6704): from.length = 17720, to.length = 0

used master DMD build, looks like a compiler bug?

@Hackerpilot
Copy link
Collaborator

The only reason that to.length would be zero is if the allocator failed. The problem is not in the parser.

@JunfengJia
Copy link
Author

seems that true, but why this happen in modern linux? Do we need handle memory out?

@JunfengJia
Copy link
Author

BTW, Did dcd works in your machine when you try to find the define of .length:
https://github.com/Hackerpilot/libdparse/blob/master/src/dparse/parser.d#L6654

On my machine, dcd crash, I suspect it's out of memory too.

@CyberShadow
Copy link
Member

Is this still an issue? If so, can you post a full test case? If not, this should be closed.

@JunfengJia
Copy link
Author

Closed, use dls and works well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants