Do you have a log (My Documents/Hedgewars/Logs ) and or demo of that game?
Thanks in advance.
I was sitting in the menu, which is weird because I'm pretty sure hwengine only starts when you go into a game. I was suddenly notified my computer had to shut down photoshop due to low ram availability.
My guess is I failed to close hedgewars properly at some point, and sitting overnight the hwengine ram file grew to a massive file size due to, perhaps, some sort of memory leak. This is all speculation, though. As for the logs, I don't see anything relevant in them relating to any error, maybe because they've been overwritten since I've had tons of games since then.
It would be awesome if you maybe could always check the task manager after each game (regardless of being player or spectator) for us, so that you maybe catch hwengine not closing properly again and then can tell us what kind of game it was/etc. and how you left/quit it.
I'm asking this because it's hard to reproduce the issue for us.
But it has been reported before and is definitely a thing that bothers people.
So gathering any information about what circumstances lead to hwengine not shutting down properly would be greatly appreciated.
If that's too much of a hassle for you that's cool too though, don't worry
PS: hwengine should indeed only be running while in-game or while generating a map preview.
So your theory of a game not shutting down properly and hanging around in the background all night seems spot on.
I have no idea what could have caused this leak, but wondering if possibly accidentally triggered video recording of something super-long could be the reason.
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
I also had the same issue back when I was playing on windows.
The hwengine process would not be killed after a game is finished.
In this occasion the hwengine would go crazy after some time.
Can you confirm that you were playing a round before this happened?
I'm really inclined to blame video recording in your case as well, Anachron. The r key is awfully easy to hit accidentally. You might want to check vids portion of hedgewars if you see this happen again.
I've encountered a pulseaudio shutdown problem in tye past, but it left a blank game window open which neither of you are mentioning. The things that run in background are previews and vid generation. Video seems the most likely.
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
I'm really inclined to blame video recording in your case as well, Anachron. The r key is awfully easy to hit accidentally. You might want to check vids portion of hedgewars if you see this happen again.
I've encountered a pulseaudio shutdown problem in tye past, but it left a blank game window open which neither of you are mentioning. The things that run in background are previews and vid generation. Preview seems the most likely.
No, if that was the case I'd have demos in my C:\Users\Admin1\Documents\Hedgewars\Demos folder, I don't. I haven't been able to replicate it, but I know it has happened in the past. I think it's related to a bad termination of the program.
Nope, there were no movies inside C:\Users\\Documents\Hedgewars\Videos afaik.
Just FYI, I couldn't find a use for screen recording (I use a different program) so I disabled the recording.
Plus iirc it will display an information ingame if I activate screen recording, which also did not appear.
I'm really inclined to blame video recording in your case as well, Anachron. The r key is awfully easy to hit accidentally. You might want to check vids portion of hedgewars if you see this happen again.
I've encountered a pulseaudio shutdown problem in tye past, but it left a blank game window open which neither of you are mentioning. The things that run in background are previews and vid generation. Video seems the most likely.
I play with a controller and don't chat. I didn't even know you could. T never struck me to be a talk key, if anything i'd figure it was Enter.
So, I accidentally triggered video recording yesterday, for just a few seconds.
I halted with r.
I came back today and noticed hwengine chewing up tons of CPU even after a game.
#0 0x00007f85d68b34bc in av_free_packet ()
from /usr/lib/x86_64-linux-gnu/libavcodec.so.54
#1 0x00007f85d6b55e41 in avcodec_encode_video2 ()
from /usr/lib/x86_64-linux-gnu/libavcodec.so.54
#2 0x00007f85d9c69c39 in WriteFrame (pFrame=0x0)
at /home/nemo/hg/hedgewars/trunk/hedgewars/avwrapper/avwrapper.c:357
#3 0x00007f85d9c6a150 in AVWrapper_Close ()
at /home/nemo/hg/hedgewars/trunk/hedgewars/avwrapper/avwrapper.c:502
#4 0x00000000004a487a in STOPVIDEORECORDING () at uVideoRec.pas:155
#5 0x0000000000405278 in RECORDERMAINLOOP () at hwengine.pas:334
#6 0x00000000004059cd in GAME () at hwengine.pas:436
#7 0x0000000000405d2f in main () at hwengine.pas:592
and on another halt...
#0 0x00007f85d9c69ba2 in WriteFrame (pFrame=0x0)
at /home/nemo/hg/hedgewars/trunk/hedgewars/avwrapper/avwrapper.c:339
#1 0x00007f85d9c6a150 in AVWrapper_Close ()
at /home/nemo/hg/hedgewars/trunk/hedgewars/avwrapper/avwrapper.c:502
#2 0x00000000004a487a in STOPVIDEORECORDING () at uVideoRec.pas:155
#3 0x0000000000405278 in RECORDERMAINLOOP () at hwengine.pas:334
#4 0x00000000004059cd in GAME () at hwengine.pas:436
#5 0x0000000000405d2f in main () at hwengine.pas:592
and another...
#0 0x00007f85d300fba2 in ?? () from /usr/lib/x86_64-linux-gnu/libvpx.so.1
#1 0x00007f85d2fed85b in ?? () from /usr/lib/x86_64-linux-gnu/libvpx.so.1
#2 0x00007f85d2fce298 in vpx_codec_encode ()
from /usr/lib/x86_64-linux-gnu/libvpx.so.1
#3 0x00007f85d6a3fa14 in ?? () from /usr/lib/x86_64-linux-gnu/libavcodec.so.54
#4 0x00007f85d6b55e29 in avcodec_encode_video2 ()
from /usr/lib/x86_64-linux-gnu/libavcodec.so.54
#5 0x00007f85d9c69c39 in WriteFrame (pFrame=0x0)
at /home/nemo/hg/hedgewars/trunk/hedgewars/avwrapper/avwrapper.c:357
#6 0x00007f85d9c6a150 in AVWrapper_Close ()
at /home/nemo/hg/hedgewars/trunk/hedgewars/avwrapper/avwrapper.c:502
#7 0x00000000004a487a in STOPVIDEORECORDING () at uVideoRec.pas:155
#8 0x0000000000405278 in RECORDERMAINLOOP () at hwengine.pas:334
#9 0x00000000004059cd in GAME () at hwengine.pas:436
#10 0x0000000000405d2f in main () at hwengine.pas:592
Nothing visible in progress in video part of frontend. No recent videos in video part of frontend.. Nothing in VideoTemp written today.
rec0.log seemingly normal...
More info please.
Was this during a game or after it ended?
What type of game? (quick, training, online, etc)
What map / theme / mode / settings were used?
Do you have a log (My Documents/Hedgewars/Logs ) and or demo of that game?
Thanks in advance.
sheepluva <- me my code stats ->
a Hedgewars Developer
click here to message me
<- where I'm from what I speak ->
I was sitting in the menu, which is weird because I'm pretty sure hwengine only starts when you go into a game. I was suddenly notified my computer had to shut down photoshop due to low ram availability.
My guess is I failed to close hedgewars properly at some point, and sitting overnight the hwengine ram file grew to a massive file size due to, perhaps, some sort of memory leak. This is all speculation, though. As for the logs, I don't see anything relevant in them relating to any error, maybe because they've been overwritten since I've had tons of games since then.
Hum I see, thanks for letting us know anyway
It would be awesome if you maybe could always check the task manager after each game (regardless of being player or spectator) for us, so that you maybe catch hwengine not closing properly again and then can tell us what kind of game it was/etc. and how you left/quit it.
I'm asking this because it's hard to reproduce the issue for us.
But it has been reported before and is definitely a thing that bothers people.
So gathering any information about what circumstances lead to hwengine not shutting down properly would be greatly appreciated.
If that's too much of a hassle for you that's cool too though, don't worry
PS: hwengine should indeed only be running while in-game or while generating a map preview.
So your theory of a game not shutting down properly and hanging around in the background all night seems spot on.
sheepluva <- me my code stats ->
a Hedgewars Developer
click here to message me
<- where I'm from what I speak ->
I have no idea what could have caused this leak, but wondering if possibly accidentally triggered video recording of something super-long could be the reason.
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
I also had the same issue back when I was playing on windows.
The hwengine process would not be killed after a game is finished.
In this occasion the hwengine would go crazy after some time.
Can you confirm that you were playing a round before this happened?
I'm really inclined to blame video recording in your case as well, Anachron. The r key is awfully easy to hit accidentally. You might want to check vids portion of hedgewars if you see this happen again.
I've encountered a pulseaudio shutdown problem in tye past, but it left a blank game window open which neither of you are mentioning. The things that run in background are previews and vid generation. Video seems the most likely.
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
No, if that was the case I'd have demos in my C:\Users\Admin1\Documents\Hedgewars\Demos folder, I don't. I haven't been able to replicate it, but I know it has happened in the past. I think it's related to a bad termination of the program.
Nope, there were no movies inside C:\Users\\Documents\Hedgewars\Videos afaik.
Just FYI, I couldn't find a use for screen recording (I use a different program) so I disabled the recording.
Plus iirc it will display an information ingame if I activate screen recording, which also did not appear.
I play with a controller and don't chat. I didn't even know you could. T never struck me to be a talk key, if anything i'd figure it was Enter.
So, I accidentally triggered video recording yesterday, for just a few seconds.
I halted with r.
I came back today and noticed hwengine chewing up tons of CPU even after a game.
#0 0x00007f85d68b34bc in av_free_packet ()
from /usr/lib/x86_64-linux-gnu/libavcodec.so.54
#1 0x00007f85d6b55e41 in avcodec_encode_video2 ()
from /usr/lib/x86_64-linux-gnu/libavcodec.so.54
#2 0x00007f85d9c69c39 in WriteFrame (pFrame=0x0)
at /home/nemo/hg/hedgewars/trunk/hedgewars/avwrapper/avwrapper.c:357
#3 0x00007f85d9c6a150 in AVWrapper_Close ()
at /home/nemo/hg/hedgewars/trunk/hedgewars/avwrapper/avwrapper.c:502
#4 0x00000000004a487a in STOPVIDEORECORDING () at uVideoRec.pas:155
#5 0x0000000000405278 in RECORDERMAINLOOP () at hwengine.pas:334
#6 0x00000000004059cd in GAME () at hwengine.pas:436
#7 0x0000000000405d2f in main () at hwengine.pas:592
and on another halt...
#0 0x00007f85d9c69ba2 in WriteFrame (pFrame=0x0)
at /home/nemo/hg/hedgewars/trunk/hedgewars/avwrapper/avwrapper.c:339
#1 0x00007f85d9c6a150 in AVWrapper_Close ()
at /home/nemo/hg/hedgewars/trunk/hedgewars/avwrapper/avwrapper.c:502
#2 0x00000000004a487a in STOPVIDEORECORDING () at uVideoRec.pas:155
#3 0x0000000000405278 in RECORDERMAINLOOP () at hwengine.pas:334
#4 0x00000000004059cd in GAME () at hwengine.pas:436
#5 0x0000000000405d2f in main () at hwengine.pas:592
and another...
#0 0x00007f85d300fba2 in ?? () from /usr/lib/x86_64-linux-gnu/libvpx.so.1
#1 0x00007f85d2fed85b in ?? () from /usr/lib/x86_64-linux-gnu/libvpx.so.1
#2 0x00007f85d2fce298 in vpx_codec_encode ()
from /usr/lib/x86_64-linux-gnu/libvpx.so.1
#3 0x00007f85d6a3fa14 in ?? () from /usr/lib/x86_64-linux-gnu/libavcodec.so.54
#4 0x00007f85d6b55e29 in avcodec_encode_video2 ()
from /usr/lib/x86_64-linux-gnu/libavcodec.so.54
#5 0x00007f85d9c69c39 in WriteFrame (pFrame=0x0)
at /home/nemo/hg/hedgewars/trunk/hedgewars/avwrapper/avwrapper.c:357
#6 0x00007f85d9c6a150 in AVWrapper_Close ()
at /home/nemo/hg/hedgewars/trunk/hedgewars/avwrapper/avwrapper.c:502
#7 0x00000000004a487a in STOPVIDEORECORDING () at uVideoRec.pas:155
#8 0x0000000000405278 in RECORDERMAINLOOP () at hwengine.pas:334
#9 0x00000000004059cd in GAME () at hwengine.pas:436
#10 0x0000000000405d2f in main () at hwengine.pas:592
Nothing visible in progress in video part of frontend. No recent videos in video part of frontend.. Nothing in VideoTemp written today.
rec0.log seemingly normal...
1033948: [IPC out] p
1033948: StopVideoRecording
nemo 5095 99.8 2.2 620384 364636 pts/9 R Nov08 1778:29 /home/nemo/games/bin/hwengine --internal --port 33899 --prefix /home/nemo/games/Data --user-prefix /home/nemo/.hedgewars --locale fr.txt --frame-interval 16 --width 1280 --height 720 --nosound --raw-quality 0 --stereo 0 --nomusic --volume 0 --altdmg --nick bmVtbw== --recorder 30 1 hw-2015-11-08_10-24-50-354 webm libvpx 819200 no
Seems to be stuck in this STOPVIDEORECORDING
Ended up kill -9ing the process.
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev