Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jul 2004 16:06:18 +0400
From:      Maxim Maximov <mcsi@mcsi.pp.ru>
To:        current@freebsd.org
Subject:   XMMS or SCHED_ULE issue?
Message-ID:  <4103A23A.2000804@mcsi.pp.ru>

next in thread | raw e-mail | index | archive | help
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 <return> to continue, or q <return> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4103A23A.2000804>