From owner-freebsd-current@FreeBSD.ORG Sun Jul 25 12:06:31 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DF0616A4CE for ; Sun, 25 Jul 2004 12:06:31 +0000 (GMT) Received: from cpanel.ezone.ru (cpanel.ezone.ru [213.85.31.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56E7943D1D for ; Sun, 25 Jul 2004 12:06:30 +0000 (GMT) (envelope-from mcsi@mcsi.pp.ru) Received: from [81.195.3.32] (ppp3-32.pppoe.mtu-net.ru [81.195.3.32]) (authenticated bits=0) by cpanel.ezone.ru (8.13.0/8.12.11) with ESMTP id i6PC6NfK039904 for ; Sun, 25 Jul 2004 16:06:23 +0400 (MSD) (envelope-from mcsi@mcsi.pp.ru) Message-ID: <4103A23A.2000804@mcsi.pp.ru> Date: Sun, 25 Jul 2004 16:06:18 +0400 From: Maxim Maximov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.1) Gecko/20040720 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mail3.ezone.ru Subject: XMMS or SCHED_ULE issue? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jul 2004 12:06:31 -0000 Hi. I have a problem which I identify as a scheduler one. My XMMS after finishing playing a song stops and doesnt go to the next one until I raise its window, click on it or just move a mouse pointer over it. /usr/bin/top shows state 'kserel' for this process and when attached to this process in 'freezed' state I get this: mcsi@ultra(ttyp2) [92] ~# gdb /usr/X11R6/bin/xmms 4081 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 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 "i386-marcel-freebsd"...(no debugging symbols found)... Attaching to program: /usr/X11R6/bin/xmms, process 4081 Reading symbols from /usr/X11R6/lib/libSM.so.6...(no debugging symbols found)...done. [many strings skipped] symbols found)...done. Loaded symbols for /usr/X11R6/lib/xmms/Visualization/libsanalyzer.so Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 0x2835f80b in pthread_testcancel () from /usr/lib/libpthread.so.1 (gdb) bt #0 0x2835f80b in pthread_testcancel () from /usr/lib/libpthread.so.1 #1 0x28357efa in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 #2 0x2835c034 in pthread_setconcurrency () from /usr/lib/libpthread.so.1 #3 0x28352c16 in _nanosleep () from /usr/lib/libpthread.so.1 #4 0x28352d36 in nanosleep () from /usr/lib/libpthread.so.1 #5 0x2818d346 in xmms_usleep () from /usr/X11R6/lib/libxmms.so.4 #6 0x286e2af0 in get_oplugin_info () from /usr/X11R6/lib/xmms/Output/libOSS.so #7 0x00002710 in ?? () #8 0x4010500c in ?? () #9 0xbfaadf28 in ?? () #10 0x00000000 in ?? () #11 0xbfaadf20 in ?? () #12 0x00000000 in ?? () #13 0x00000000 in ?? () #14 0x00000000 in ?? () #15 0x00000000 in ?? () #16 0x00000000 in ?? () #17 0x00000000 in ?? () #18 0x00002710 in ?? () #19 0x00000020 in ?? () #20 0x00000020 in ?? () #21 0x00001000 in ?? () #22 0x00020000 in ?? () #23 0x00000100 in ?? () #24 0x00000000 in ?? () #25 0x00000000 in ?? () #26 0x00000000 in ?? () #27 0x00000000 in ?? () #28 0x00000000 in ?? () #29 0x00000000 in ?? () #30 0x00000000 in ?? () #31 0x00000000 in ?? () #32 0x00000000 in ?? () #33 0x00000000 in ?? () #34 0x00000000 in ?? () #35 0x00000000 in ?? () #36 0x00000000 in ?? () #37 0x00000000 in ?? () #38 0x00000000 in ?? () #39 0x00000000 in ?? () #40 0x00000000 in ?? () #41 0x00000000 in ?? () #42 0x00000000 in ?? () #43 0x00000000 in ?? () #44 0x00000000 in ?? () #45 0x00000000 in ?? () #46 0x00000000 in ?? () #47 0x00000000 in ?? () #48 0x00000000 in ?? () #49 0x00000000 in ?? () #50 0x00000000 in ?? () #51 0x00000000 in ?? () #52 0x00000000 in ?? () #53 0x00000000 in ?? () #54 0x00000000 in ?? () #55 0x28363b3c in ?? () from /usr/lib/libpthread.so.1 #56 0xbfaadff4 in ?? () #57 0x081ced00 in ?? () ---Type to continue, or q to quit--- #58 0x2834bb9d in pthread_create () from /usr/lib/libpthread.so.1 #59 0x28514263 in _ctx_start () from /lib/libc.so.5 (gdb) # uname -a FreeBSD ultra.domain 5.2-CURRENT FreeBSD 5.2-CURRENT #9: Fri Jul 23 03:27:52 MSD 2004 root@:/usr/obj/usr/src/sys/ULTRA i386 System is P4-3.0GHz with HTT enabled. SMP kernel. Kernel config is generic. Preemption disabled. Any ideas? -- Maxim Maximov