[DragonFlyBSD - Bug #2556] (Feedback) DragonFly v3.5.0.81.gd3479 - Process signal weirdness

Antonio M. Huete Jimenez via Redmine bugtracker-admin at leaf.dragonflybsd.org
Tue Dec 17 15:48:41 PST 2013


Issue #2556 has been updated by tuxillo.

Description updated
Status changed from New to Feedback

Need to check if this is really solved now that we have a new release.

----------------------------------------
Bug #2556: DragonFly v3.5.0.81.gd3479 - Process signal weirdness
http://bugs.dragonflybsd.org/issues/2556#change-11679

* Author: tuxillo
* Status: Feedback
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
Hi,

tmux has a memory leak somewhere and it was causing a lot of swap memory to be used. I started using truss(1) to see what it was doing and after 3-4 tracing attempts the tmux process was stuck in status "stopevent". After sending to it all sorts of signals (CONT, HUP, KILL) the process is kept stopped in the same situation. I also tried disabling tracing with ktrace(1) but it didn't help. 

Eventually I tried to reboot the virtual machine but it got stuck for around 10 minutes without actually being able to shutdown. Last step was dropping to DDB and producing a dump. Dump is available on leaf on demand. See below the backtrace of the thread involved (tmux process)

Best regards,
Antonio Huete

------

(kgdb) thread 26
[Switching to thread 26 (pid 835/0, tmux)]
#0  0xffffffff8050dfb0 in lwkt_switch () at /home/source/dfbsd/sys/kern/lwkt_thread.c:872
872     /home/source/dfbsd/sys/kern/lwkt_thread.c: No such file or directory.
(kgdb) bt
#0  0xffffffff8050dfb0 in lwkt_switch () at /home/source/dfbsd/sys/kern/lwkt_thread.c:872
#1  0xffffffff80518f0e in tsleep (ident=ident at entry=0xffffffe071efc990, flags=flags at entry=1024, 
    wmesg=wmesg at entry=0xffffffff8097e168 "stopevent", timo=timo at entry=0) at /home/source/dfbsd/sys/kern/kern_synch.c:612
#2  0xffffffff80538091 in stopevent (p=p at entry=0xffffffe071efc780, event=event at entry=4, val=val at entry=7)
    at /home/source/dfbsd/sys/kern/sys_process.c:771
#3  0xffffffff808c5a7a in syscall2 (frame=0xffffffe07280e9f8) at /home/source/dfbsd/sys/platform/pc64/x86_64/trap.c:1229
#4  0xffffffff808af75b in ?? () at /home/source/dfbsd/sys/platform/pc64/x86_64/exception.S:323
#5  0x00000000000000c5 in ?? ()
#6  0x0000000000000000 in ?? ()






-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list