-
-
Notifications
You must be signed in to change notification settings - Fork 207
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
Memory leaks froze my pc #856
Comments
Hello. Why you say there is a leak? Did you run sc-im with Valgrind or other tool and saw this? |
Because I have run plenty of wild/random software, and my linux has never behaved this way before. Never before have I experienced input freeze (something which is normal in Windows with certain unoptimized programs) Here is the argument for memory leak, without the usage of any software: It completed the first time without issues, and since unit tests are supposed to be deterministic, it doesn't make sense for the 2nd time to cause issues. This means the state of the computer changed, and this can be true only if the memory was changed, hence my assumption for memory leak. If it wasn't a memory leak, with the same input, there should be the same output ;) |
I run all these tests with valgrind without any memory leaks in the log shown. please rerun those tests with valgrind and report back. if there is a memory leak you should see it in the log. thanks. |
It sounds like a case of "it works on my machine" If you wish, close this issue, I only wanted to report this bug. |
I don't understand how you can know this is a memory leak with no documentation. For all anyone knows there could be a million other things that caused this to happen unless you run it through valgrind.
…On December 7, 2023 6:44:08 PM GMT+01:00, TheYellowArchitect ***@***.***> wrote:
It sounds like a case of "it works on my machine"
I would love to help on this, but there is no way I will run that script again, as it was harmful to my hardware. If you wish, close this issue, I only wanted to report this bug.
--
Reply to this email directly or view it on GitHub:
#856 (comment)
You are receiving this because you are subscribed to this thread.
Message ID: ***@***.***>
|
I agree with @luna-in-space. @TheYellowArchitect if you happen to run these with valgrind, please share the log. thanks again. |
I wanted to give a try at #486
I just wanted to search through this repo for that command option, hoping its an easy task (I am a newbie with linux)
I built according to the guide at README.md but couldn't find how to execute that local binary (where is that binary?)
Anyway, I ran the unit tests at
tests/run_all_tests.sh
(or was itassert.sh
) anyway, first time it ran succesfully, then I ran it again, and it froze. Hard. Like, no input, no mouse no keyboard, had to reboot manually... Please remove these tests if they are reproducible, they can harm someone's computer.P.S. I probably ran them with
sudo
rights since my user is sudo by default (yes, I recognize it's bad practice)The text was updated successfully, but these errors were encountered: