Posts: 4
Threads: 1
Joined: Dec 2013
Hi,
recently I've updated my older version of assaultcube to the new version.
From that moment, every time I play multiplayer, assaultcube freezes.
Sometimes It freezes directly after connecting to a server, sometimes I can play for 20 minutes before it freezes. I can do nothing: I can't move my mouse, I can't close ac so I have to restart my pc.
Anyone any ideas?
ps: I'm using ubuntu12.04
Thanks!
Posts: 562
Threads: 61
Joined: Jul 2010
We would probably need to see console output to start finding the problem.
For now, when it hangs, instead of restarting the PC, try this:
Press Ctrl-Alt-F1 to drop to terminal, and log in.
Type "ps aux | grep linux" and find the line that has "linux_client" or "linux_64_client". This is AssaultCube. The first number in the line, after your username, is the PID, e.g., 32000.
Kill the process: "kill -9 32000".
Press Ctrl-Alt-F7 to return to X.
Posts: 1,033
Threads: 85
Joined: Oct 2013
(01 Jan 14, 03:42PM)Jack Wrote: We would probably need to see console output to start finding the problem.
For now, when it hangs, instead of restarting the PC, try this:
Press Ctrl-Alt-F1 to drop to terminal, and log in.
Type "ps aux | grep linux" and find the line that has "linux_client" or "linux_64_client". This is AssaultCube. The first number in the line, after your username, is the PID, e.g., 32000.
Kill the process: "kill -9 32000".
Press Ctrl-Alt-F7 to return to X.
If you know what it's called can't you just killall -9 linux_client?
Posts: 562
Threads: 61
Joined: Jul 2010
Yeah, I'd tried that before but it didn't seem to work. Must have been doing something wrong. Either way then. :P
Posts: 438
Threads: 21
Joined: Nov 2010
Really, I would like to help you but I have some problems in this version myself.
Posts: 4
Threads: 1
Joined: Dec 2013
(01 Jan 14, 03:42PM)Jack Wrote: For now, when it hangs, instead of restarting the PC, try this:
Press Ctrl-Alt-F1 to drop to terminal, and log in.
Type "ps aux | grep linux" and find the line that has "linux_client" or "linux_64_client". This is AssaultCube. The first number in the line, after your username, is the PID, e.g., 32000.
Kill the process: "kill -9 32000".
Press Ctrl-Alt-F7 to return to X.
so I tried this, and it worked. thank:)
(01 Jan 14, 03:42PM)Jack Wrote: We would probably need to see console output to start finding the problem.
Press Ctrl-Alt-F7 to return to X. What commands do I have to use for the needed console output? I have no idea how I get that? Is it with the terminal?
Thanks,
morg
Posts: 729
Threads: 16
Joined: Dec 2012
I had the same issue on Ubuntu. Worked fine in other distros (like Mint) though.
Posts: 562
Threads: 61
Joined: Jul 2010
(02 Jan 14, 09:35PM)morg Wrote: What commands do I have to use for the needed console output? I have no idea how I get that? Is it with the terminal?
Yeah, if you'll run 'assaultcube' from a graphical terminal (it's in the menu somewhere there, under System or something), that'll stay open after AC hangs and you kill it, and then we can see what happened last.
Posts: 4
Threads: 1
Joined: Dec 2013
04 Jan 14, 06:06PM
(This post was last modified: 04 Jan 14, 06:23PM by morg.)
(02 Jan 14, 10:22PM)Jack Wrote: (02 Jan 14, 09:35PM)morg Wrote: What commands do I have to use for the needed console output? I have no idea how I get that? Is it with the terminal?
Yeah, if you'll run 'assaultcube' from a graphical terminal (it's in the menu somewhere there, under System or something), that'll stay open after AC hangs and you kill it, and then we can see what happened last.
mh,
I always run ac by using terminal. But when I do kill it, I have to login again, and all open windows are closed. Also the terminal. So i can't see what my terminal was telling...
I suppose I'm doing something wrong,:
I start ac by clicking assaultcube.sh (I downloaded the new version and extracted it on my desktop, didn't really need to install it?)
it asks me to run with terminal or just run: I click on "run with terminal"
Ac starts, I can play for a while, then it freezes.
ctrl+alt+F1
enter my login and password
ps aux | grep linux
kill -9 .... (.... =id of the assaultcubetask/process)
need to login again
No terminalwindow open
what is it I'm doing wrong?
Thanks,
morg
I just found that if I use kill -15 terminal stays opened.
As soon as AC freezes, I will drop the terminal text here
Posts: 729
Threads: 16
Joined: Dec 2012
Or, instead of clicking assaultcube.sh manually, open a terminal, cd to the directory that holds assaultcube.sh, and then type ./assaultcube.sh.
Posts: 4
Threads: 1
Joined: Dec 2013
yes i cd to the directory now instead of clicking assaultcube.sh...
but alas, I got AC crashed, then I tried to kill it with : kill-15 but that didn't work, so I had to use kill-9, but every time I use kill-9 I need to login again, so terminal closes also.
Any other ideas?
Posts: 3,462
Threads: 72
Joined: Jun 2010
I've heard that ac_arctic leads to freezing.
Posts: 1,039
Threads: 77
Joined: Jun 2010
(05 Jan 14, 05:47PM)morg Wrote: yes i cd to the directory now instead of clicking assaultcube.sh...
but alas, I got AC crashed, then I tried to kill it with : kill-15 but that didn't work, so I had to use kill-9, but every time I use kill-9 I need to login again, so terminal closes also.
Any other ideas?
Do the below for a 64-bit machine, note how it's run in windowed mode so you don't have to drop to a shell if it crashes:
cd /path/to/assaultcube/directory
sudo apt-get install gdb -y && gdb bin_unix/linux_64_client
run -t -wSCREENWIDTH -hSCREENHEIGHT
Now, if it crashes... type "bt" for a backtrace and post it here. Typing "q" will quit gdb for you.
Posts: 1,033
Threads: 85
Joined: Oct 2013
Ya know what? I"m surprised no one asked this yet. What DE are you running? Unity? Gnome? KDE? Something else?
Posts: 1,039
Threads: 77
Joined: Jun 2010
(06 Jan 14, 02:06AM)Mousikos Wrote: Ya know what? I"m surprised no one asked this yet. What DE are you running? Unity? Gnome? KDE? Something else?
It doesn't matter.
|