Subject: mplayer/pthread problem
To: None <current-users@netbsd.org>
From: Wojciech Puchar <wojtek@tensor.3miasto.net>
List: current-users
Date: 01/23/2004 23:30:07
trying to play ANY movie (any format, with sound on or off - doesn't
matter) with mplayer from pkgsrc:

=2E
=2E
=2E
Starting playback...
mplayer: Error detected by libpthread: Unlocking unlocked mutex.
Detected by file "/usr/src/lib/libpthread/pthread_mutex.c", line 340,
function "pthread_mutex_unlock".
See pthread(3) for information.


MPlayer interrupted by signal 6 in module: decode_video
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't
and
  won't help unless you provide this information when reporting a possible
bug.
mplayer: Error detected by libpthread: Destroying locked mutex.
Detected by file "/usr/src/lib/libpthread/pthread_mutex.c", line 135,
function "pthread_mutex_destroy".
See pthread(3) for information.




sysinfo:

NetBSD chylonia.3miasto.net 1.6ZH NetBSD 1.6ZH (chylonia.3miasto.net) #2:
Thu Jan 22 15:23:42 CET 2004
root@chylonia.3miasto.net:/usr/src/sys/arch/i386/compile/chylonia.3miasto.n=
et
i386

kernel config:

include=09=09"arch/i386/conf/std.i386"
include =09"arch/i386/conf/largepages.inc"
maxusers=0964=09=09# estimated number of users
options=09=09MAXUPRC=3D1000
options =09I686_CPU
#options=09=09VM86
options=09=09USER_LDT
options =09CPURESET_DELAY=3D500
makeoptions=09CC=3D"cc -march=3Di486"
makeoptions=09DEBUG=3D"-g"

#options=09=09REALEXTMEM=3D64512
#options =09UCONSOLE=09# users can use TIOCCONS (for xconsole)
options =09INSECURE=09# disable kernel security levels
options =09RTC_OFFSET=3D0=09# hardware clock is this many mins. west of GMT
options =09SYSVMSG=09=09# System V-like message queues
options =09SYSVSEM=09=09# System V-like semaphores
options=09=09BUFPAGES=3D2048
options =09SYSVSHM=09=09# System V-like memory sharing
options =09SHMMAXPGS=3D8192=09# 1024 to za ma=B3o do squida
options=09=09MSGMNB=3D16384    #te=BF squid
options=09=09MSGMNI=3D41
options=09=09MSGSEG=3D2048
options=09=09MSGSSZ=3D64
options=09=09MSGTQL=3D512

options=09=09KTRACE
options=09=09SYSTRACE
options =09LKM=09=09# loadable kernel modules
options=09=09COMPAT_13
options=09=09COMPAT_14
options=09=09COMPAT_15
options=09=09COMPAT_16
options=09=09COMPAT_LINUX
options=09=09COMPAT_FREEBSD

#do wywalenia jak poprawia
options=09=09SOSEND_NO_LOAN

options =09KSTACK_CHECK_DR0
options =09NEW_BUFQ_STRATEGY
options=09=09USE_TOPDOWN_VM
options=09=09PERFCTRS

file-system =09FFS=09=09# UFS
file-system=09NFS
file-system =09CD9660=09=09# ISO 9660 + Rock Ridge file system
file-system=09PROCFS
options =09SOFTDEP         # FFS soft updates support.

options =09INET=09=09# IP + ICMP + TCP + UDP
options =09INET6=09=09# IP + ICMP + TCP + UDP
options =09IPSEC
options =09IPSEC_ESP
options=09=09NFSSERVER
options=09=09NMBCLUSTERS=3D2048
options=09=09IPFORWARDING=3D1
options=09=09IPFORWSRCRT=3D0
options =09PCIVERBOSE=09# verbose PCI device autoconfig messages
options =09SCSIVERBOSE=09# human readable SCSI error messages
options=09=09USBVERBOSE
options=09=09PPP_DEFLATE

options =09WSEMUL_VT100=09=09# VT100 / VT220 emulation
options =09WS_KERNEL_FG=3DWSCOL_GREEN
options =09WSDISPLAY_COMPAT_PCVT=09=09# emulate some ioctls
options =09WSDISPLAY_COMPAT_SYSCONS=09# emulate some ioctls
options =09WSDISPLAY_COMPAT_USL=09=09# VT handling
options =09WSDISPLAY_COMPAT_RAWKBD=09=09# can get raw scancodes
options =09PCDISPLAY_SOFTCURSOR

#PSEUDO
pseudo-device=09wsfont

pseudo-device=09vnd=09=094=09# disk-like interface to files
pseudo-device=09ipfilter=09=09# IP filter (firewall) and NAT
pseudo-device=09bpfilter=0916
pseudo-device=09loop=09=092=09# network loopback
pseudo-device=09ppp=09=092=09# Point-to-Point Protocol
pseudo-device=09pty=09=09128=09# pseudo-terminals
pseudo-device=09rnd=09=09=09# /dev/random and in-kernel generator
pseudo-device=09tun=09=0932=09# IPv[46] over IPv[46] tunnel (RFC1933)
pseudo-device=09vlan=09=0932
pseudo-device=09sequencer


#CPU+BUS
config=09=09netbsd=09root on wd0a type ffs dumps on wd0b
mainbus0 =09at root
cpu0=09=09at mainbus0
pci0=09=09at mainbus0 bus 0
pchb0=09=09at pci0 dev 0 function 0
agp0=09=09at pchb0
ppb0=09=09at pci0 dev 1 function 0
pci1=09=09at ppb0 bus 1

#VGA
vga0=09=09at pci0 dev 9 function 0
wsdisplay0=09at vga0 console ?

#IDE
piixide0=09at pci0 dev 7 function 1
atabus0=09=09at piixide0 channel 0
atabus1=09=09at piixide0 channel 1
atapibus0=09at atabus0
atapibus1=09at atabus1
cd0=09=09at atapibus0 drive 0
cd1=09=09at atapibus1 drive 0
hptide0=09=09at pci0 dev 19 function 0
atabus2=09=09at hptide0 channel 0
hptide1=09=09at pci0 dev 19 function 1
atabus3=09=09at hptide1 channel 0
wd0=09=09at atabus2 drive 0
wd1=09=09at atabus3 drive 0

#SCSI
esiop0=09=09at pci0 dev 11 function 0
scsibus0=09at esiop0
ss0=09=09at scsibus0 target ? lun 0


#USB
uhci0=09=09at pci0 dev 7 function 2
usb0=09=09at uhci0
uhub0=09=09at usb0

#USB podlaczane urzadzenia
uhub*   =09at uhub? port ? configuration ? interface ? vendor ? product ? r=
elease ?
umodem* =09at uhub? port ? configuration ?
ucom*   =09at umodem?
ugen*   =09at uhub? port ?
umass*  =09at uhub? port ? configuration ? interface ?
wd*=09=09at umass?
atapibus*=09at umass?
scsibus*=09at umass? channel ?
sd*=09=09at scsibus? target ? lun ?
cd*=09=09at scsibus? target ? lun ?
cd*=09=09at atapibus? drive ?

#NET
sip0=09=09at pci0 dev 13 function 0
nsphyter0=09at sip0 phy 0

#ISA
pcib0=09=09at pci0 dev 7 function 0
isa0=09=09at pcib0
com0=09=09at isa0 port 0x3f8 irq 4
com1=09=09at isa0 port 0x2f8 irq 3
com2=09=09at isa0 port 0x3e8 irq 11
lpt0=09=09at isa0 port 0x378 irq 7
pcppi0=09=09at isa0 port 0x61
sysbeep0=09at pcppi0
spkr0=09=09at pcppi0
npx0=09=09at isa0 port 0xf0
fdc0=09=09at isa0 port 0x3f0 irq 6 drq 2
fd0=09=09at fdc0 drive 0

pckbc0=09=09at isa0
pckbd0=09=09at pckbc0
wskbd0=09=09at pckbd0 console ?
pms0=09=09at pckbc0=09=09# PS/2 mouse for wsmouse
wsmouse0=09at pms0

isapnp0=09=09at isa0
ess0=09=09at isapnp0
audio0=09=09at ess0
opl0=09=09at ess0
midi0=09=09at opl0
joy0=09=09at isapnp0
wdc0=09=09at isapnp0
atabus4=09=09at wdc0 channel 0
atapibus3=09at atabus4