nmlorg / naim

naim is a console client for AOL Instant Messenger (AIM), AOL I Seek You (ICQ), Internet Relay Chat (IRC), and The lily CMC.
http://naim.n.ml.org/
1 stars 0 forks source link

Closing ssh session causes 100% cpu usage by naim until killed (freebsd) #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
> What steps will reproduce the problem?

1. ssh/telnet to a freebsd server
2. start naim
3. close the session without warning
4. ssh back in, fire up top, boom, naim process taking 100% cpu

> What is the expected output? What do you see instead?
Naim to exit.  Naim does not exit and seems to snag all the CPU instead,
probably trying to write to a non-existent session.

> What version of naim are you using? On what operating system?
> % naim --version
naim 0.11.8.3.1

> % uname -a
FreeBSD xxxxxxxx 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Tue Oct 14 02:08:26
PDT 2008     root@trebuchet:/usr/src/sys/amd64/compile/CUSTOM1  amd64

> Please provide any additional information below.
This has followed me through several versions of freebsd, both i386 and amd64.

This is not a problem for me, as i screen naim.  However, several of my
users have the horrible habbit of just clicking the close box on putty, and
not exiting things gracefully.  I've had this bug for years now and
although having a script look for 100% use naims and killing them works,
it's a damn poor workaround.  I keep expecting a fix.  Maybe no one has
reported it yet?

Original issue reported on code.google.com by gmo...@gmail.com on 29 May 2009 at 2:02

GoogleCodeExporter commented 9 years ago
I bet this is related to issues #21.

Also, i just tried 0.11.8.3.2, same problem.  I compile naim directly from 
source
using ./configure and make (which uses gcc).

Original comment by gmo...@gmail.com on 29 May 2009 at 2:08