On Monday, 4 January 2016 at 14:25:30 UTC, Marc Schütz wrote:
On Monday, 4 January 2016 at 12:20:09 UTC, Ur@nuz wrote:
On Monday, 4 January 2016 at 12:00:32 UTC, tcak wrote:
[...]

Yes. It's Ubuntu 14. It works when it's in the separate example, but not working inside my project. The strange thing is that it working in another place inside the same application. So I don't know what to think about it. Maybe this problem occurs only when some amount of memori is being allocated or something..

What is the value of `newIndentCount` when this happens? Could it be it is too big, or negative?

If not, you could try reducing your program using dustmite:
https://github.com/CyberShadow/DustMite/wiki/Detecting-a-specific-segfault

The issue was trivial. I decreased variable with 0 value and got OutOfMemory error.

Reply via email to