Bug #1117
CPU Usage
| Status: | Feedback | Start date: | 10/25/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | Quassel Core | |||
| Target version: | - | |||
| Version: | 0.7.2 | OS: | Linux |
Description
Core uses 100% cpu at certain times.
History
#1 Updated by mattwb65 7 months ago
It appears to be caused by adding network to Quassel. It crashes while still using 100% cpu. Perhaps dead socket or something?
#2 Updated by Tucos 6 months ago
Adding networks is done by many people without issues. If it crashes, you might end up with a backtrace in the configdir, if not, do the following:
Make sure you have symbols for quasselcore (distro-specific), start quasselcore with gdb (`gdb quasselcore` and 'run' at the prompt) and send a SIGTERM (^C) when it hangs. It'd be nice if you could paste the output of bt (look at http://www.yolinux.com/TUTORIALS/GDB-Commands.html for a cheatsheet which also covers logging to a file).
If you feel like spending some more time debugging this, try doing it a few times to find a common denominator and try stepping through the code (see the cheatsheet for details).