Blog: Leaks and corruption

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

Post Reply
Release Engineer
Posts: 3379
Joined: Tue May 02, 2006 8:16 pm

Blog: Leaks and corruption

Post by Z98 » Mon Jun 09, 2014 5:37 pm

Posts: 1750
Joined: Fri Aug 07, 2009 5:11 am
Location: USA

Re: Blog: Leaks and corruption

Post by PurpleGurl » Tue Jun 10, 2014 3:42 am

Glad some progress was made here. The jury is still out, but hopefully it will be stable.

And if a tool had to be acquired, maybe it could be used to test other code unrelated to the current issues. I am not currently a coder, but if you have recursive loops and allocate memory or resources without deallocating them, then it makes sense that you will run out of memory. And another likely risk of sloppy loops with allocations would be stack corruption. I wrote some .COM files for DOS before using TASM, and I was trying to get my files as small as possible, and in doing so, I occasionally wrote code that corrupted the stack. So working to resolve the ROS leaks might also result in the code running stable on more machines. Sometimes corruption might not show up on all machines since the CPU handles caching and branch prediction differently. I ran into that once where a program would crash on a 486 and work on a Pentium. But going to an older version of the program in question before I tried "optimizing" worked on both. Self-modifying code and confusing loops with stack operations can lead to corruption.

Posts: 175
Joined: Wed Oct 05, 2011 7:32 am

Re: Blog: Leaks and corruption

Post by BrentNewland » Sat Jun 14, 2014 5:41 am

Deleaker isn’t able to install correctly
Have you tried just copying the install files from your machine to ReactOS? Maybe install it on a Windows VM with something like Sandboxie or a program install monitor if straight copying doesn't work?

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Baidu [Spider] and 3 guests