[Tuxnes-devel] ipc shm cruft + linux
Brought to you by:
tmmm
From: <tux...@fa...> - 2001-03-12 02:06:02
|
this is on a linux system running 2.2.19pre6. tuxnes revision is the cvs'd version as of about a week ago. when I ctrl-c to kill tuxnes (for whatever reason.. im lazy, the window with it running was in front of me on the desktop in front of me on the head in front of me, etc.) anyways, it leaves behind some cruft: $ ipcs -m ------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x00000000 2176 krt 777 983040 0 the normal running process has a nattch value of 2: $ ipcs -m ------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x00000000 2176 krt 777 983040 0 0x00000000 2177 krt 777 983040 2 if I use escape on the active tuxnes window (the proper kill method?) the shm block goes away: $ ipcs -m ------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x00000000 2176 krt 777 983040 0 I can use ipcrm shm <ID> to rm this, but a friend pointed out that the ctrl-c handling code should be able to clean up this before it exits the program. I'd go in and hack it myself, but im potentially dangerous in the .c arena at this time. Is this a known problem? It doesnt seem to be in any files that I could see. And, just in case anyone else hasnt said it.. keep up the great work! I love this program! (and am now trying to help by submitting my bug report) |