tremulous-serve uses Full CPU
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tremulous (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I installed tremulous and tremulous-server so I could try out the game, but I noticed that the server was eating up all of my CPU. I couldn't get a useful trace from it, but its obviously stuck in a loop somewhere.
The best I could do...
-------
stuhood@
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-
Attaching to process 5455
Reading symbols from /bin/dash...(no debugging symbols found)...done.
Using host libthread_db library "/lib/tls/
Reading symbols from /lib/tls/
Loaded symbols for /lib/tls/
Reading symbols from /lib/ld-
(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
(no debugging symbols found)
0x0804dea6 in ?? ()
(gdb) backtrace
#0 0x0804dea6 in ?? ()
#1 0xbff963a8 in ?? ()
#2 0x0804a932 in ?? ()
#3 0x0805d8ec in environ ()
#4 0xbff96394 in ?? ()
#5 0x00000002 in ?? ()
#6 0x00000000 in ?? ()
(gdb) continue
Continuing.
Program received signal SIGINT, Interrupt.
0xb7ebe218 in strpbrk () from /lib/tls/
(gdb) backtrace
#0 0xb7ebe218 in strpbrk () from /lib/tls/
#1 0x0804ccae in ?? ()
#2 0x0805e304 in ?? ()
#3 0x08058500 in _IO_stdin_used ()
#4 0x00000000 in ?? ()
(gdb) q
The program is running. Quit anyway (and detach it)? (y or n) y
Detaching from program: /bin/dash, process 5455
stuhood@
I can confirm the same behavior on my Edgy install.
Tremulous-server is running in the background on each boot and system monitor shows 100% CPU usage. When I run "top", the tremulous-server process comes up at 92% CPU usage every other second. I do not need to run a dedicated tremulous server anyway, so I removed it. The game runs fine.