hi! after updated from 4.6 to 4.7 I can not play tv with mplayer. mplayer is installed as a package:
* mplayer-20090708p4 movie player supporting MPEG, DivX, AVI, ASF, MOV & more krumpli$ r gd gdb mplayer GNU gdb 6.3 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-unknown-openbsd4.7"...(no debugging symbols found) (gdb) set args -monitoraspect 16:10 -xy 2 -fstype none -zoom -vo x11 tv:// -tv driver=bsdbt848:freq=224.25 (gdb) break sio_setpar Breakpoint 1 at 0x3dfda4c: file /usr/src/lib/libsndio/sndio.c, line 292. (gdb) r Starting program: /usr/local/bin/mplayer -monitoraspect 16:10 -xy 2 -fstype none -zoom -vo x11 tv:// -tv driver=bsdbt848:freq=224.25 Breakpoint 1 at 0xe40da4c: file /usr/src/lib/libsndio/sndio.c, line 292. MPlayer SVN-r29414-snapshot-3.3.5 (C) 2000-2009 MPlayer Team Playing tv://. TV file format detected. Selected driver: bsdbt848 name: Brooktree848 Support author: Charles Henrich comment: in development [Switching to process 31630, thread 0x8a620c00] Breakpoint 1, sio_setpar (hdl=0x87508b00, par=0xcfbe19a0) at /usr/src/lib/libsndio/sndio.c:292 292 hdl->eof = 1; (gdb) p hdl $1 = (struct sio_hdl *) 0x87508b00 (gdb) n 291 DPRINTF("sio_getpar: already started\n"); (gdb) n 292 hdl->eof = 1; (gdb) p hdl $2 = (struct sio_hdl *) 0x87508b00 (gdb) r The program being debugged has been started already. Start it from the beginning? (y or n) n Program not restarted. (gdb) c Continuing. Breakpoint 1, sio_setpar (hdl=0x0, par=0x8512ae0c) at /usr/src/lib/libsndio/sndio.c:292 292 hdl->eof = 1; (gdb) bt #0 sio_setpar (hdl=0x0, par=0x8512ae0c) at /usr/src/lib/libsndio/sndio.c:292 #1 0x1c140188 in ?? () #2 0x00000000 in ?? () I don't know too much about sndio the only thing I see is that hdl is NUL when sio_setpar is called the second time. advices? please see full dmesg attached. thank you, Adam OpenBSD 4.7 (GENERIC.MP) #449: Wed Mar 17 20:55:07 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ ("AuthenticAMD" 686-class, 512KB L2 cache) 2.42 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16 real mem = 3219615744 (3070MB) avail mem = 3127590912 (2982MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 05/21/07, BIOS32 rev. 0 @ 0xf1de0, SMBIOS rev. 2.4 @ 0xf0000 (65 entries) bios0: vendor Phoenix Technologies, LTD version "ASUS M2N-VM DH ACPI BIOS Revision 1103" date 05/21/2007 bios0: ASUSTeK Computer INC. M2N-VM DH acpi0 at bios0: rev 2 acpi0: tables DSDT FACP MCFG APIC acpi0: wakeup devices HUB0(S5) XVR0(S5) XVR1(S5) XVR2(S5) UAR1(S5) PS2M(S4) PS2K(S4) USB0(S3) USB2(S3) AZAD(S5) MMAC(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 200MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ ("AuthenticAMD" 686-class, 512KB L2 cache) 2.42 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (HUB0) acpicpu0 at acpi0 acpicpu1 at acpi0 acpitz0 at acpi0: critical temperature 100 degC acpibtn0 at acpi0: PWRB aibs0 at acpi0 aibs0: FSIF: misformed package: 3/5, assume 5 bios0: ROM list: 0xc0000/0x10000 pci0 at mainbus0 bus 0: configuration mode 1 (bios) "NVIDIA MCP61 Memory" rev 0xa1 at pci0 dev 0 function 0 not configured pcib0 at pci0 dev 1 function 0 "NVIDIA MCP61 ISA" rev 0xa2 nviic0 at pci0 dev 1 function 1 "NVIDIA MCP61 SMBus" rev 0xa2 iic0 at nviic0 spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-5300CL5 spdmem1 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-6400CL5 iic1 at nviic0 "NVIDIA MCP61 Memory" rev 0xa2 at pci0 dev 1 function 2 not configured ohci0 at pci0 dev 2 function 0 "NVIDIA MCP61 USB" rev 0xa2: apic 2 int 5 (irq 5), version 1.0, legacy support ehci0 at pci0 dev 2 function 1 "NVIDIA MPC61 USB" rev 0xa2: apic 2 int 10 (irq 10) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1 ppb0 at pci0 dev 4 function 0 "NVIDIA MCP61" rev 0xa1 pci1 at ppb0 bus 1 bktr0 at pci1 dev 8 function 0 "Brooktree BT848" rev 0x12: apic 2 int 11 (irq 11) bktr0: Pinnacle/Miro TV, Temic PAL tuner. azalia0 at pci0 dev 5 function 0 "NVIDIA MCP61 HD Audio" rev 0xa2: apic 2 int 5 (irq 5) azalia0: codecs: Analog Devices AD1988A audio0 at azalia0 pciide0 at pci0 dev 6 function 0 "NVIDIA MCP61 IDE" rev 0xa2: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <SAMSUNG SP1614N> wd0: 16-sector PIO, LBA48, 152626MB, 312579695 sectors wd1 at pciide0 channel 0 drive 1: <Maxtor 6L250R0> wd1: 16-sector PIO, LBA48, 239371MB, 490232639 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 6 pciide0: channel 1 ignored (disabled) nfe0 at pci0 dev 7 function 0 "NVIDIA MCP61 LAN" rev 0xa2: apic 2 int 11 (irq 11), address 00:1b:fc:c2:b3:1f ukphy0 at nfe0 phy 1: Generic IEEE 802.3u media interface, rev. 2: OUI 0x0050ef, model 0x000a pciide1 at pci0 dev 8 function 0 "NVIDIA MCP61 SATA" rev 0xa2: DMA pciide1: using apic 2 int 11 (irq 11) for native-PCI interrupt pciide2 at pci0 dev 8 function 1 "NVIDIA MCP61 SATA" rev 0xa2: DMA pciide2: using apic 2 int 10 (irq 10) for native-PCI interrupt ppb1 at pci0 dev 9 function 0 "NVIDIA MCP61 PCIE" rev 0xa2 pci2 at ppb1 bus 2 vga1 at pci2 dev 0 function 0 "ATI Radeon HD 3450" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) azalia1 at pci2 dev 0 function 1 "ATI Radeon HD 34xx HD Audio" rev 0x00: apic 2 int 10 (irq 10) azalia1: no supported codecs azalia1: initialization failure, detaching ppb2 at pci0 dev 11 function 0 "NVIDIA MCP61 PCIE" rev 0xa2 pci3 at ppb2 bus 3 ppb3 at pci0 dev 12 function 0 "NVIDIA MCP61 PCIE" rev 0xa2 pci4 at ppb3 bus 4 pchb0 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00 pchb1 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00 pchb2 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00 kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00: core rev BH-F2 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 wbsio0 at isa0 port 0x2e/2: W83627DHG rev 0x23 lm1 at wbsio0 port 0x290/8: W83627DHG npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 usb1 at ohci0: USB revision 1.0 uhub1 at usb1 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1 mtrr: Pentium Pro MTRR support uhub2 at uhub0 port 1 "Genesys Logic USB2.0 Hub" rev 2.00/7.02 addr 2 urtw0 at uhub0 port 5 "Realtek RTL8187" rev 2.00/1.00 addr 3 urtw0: RTL8187 rev 0x04, RFv2, address 00:15:af:1a:45:98 uhub3 at uhub1 port 2 "ATEN International product 0x7000" rev 1.10/1.00 addr 2 uhidev0 at uhub3 port 1 configuration 1 interface 0 "Sun Microsystems Type 7 Keyboard" rev 2.00/1.04 addr 3 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 modifier keys, 6 key codes, country code 33 wskbd0 at ukbd0: console keyboard, using wsdisplay0 uhidev1 at uhub3 port 4 configuration 1 interface 0 "Alcor Micro USB Mouse" rev 1.10/51.27 addr 4 uhidev1: iclass 3/1 ums0 at uhidev1: 3 buttons, Z dir wsmouse0 at ums0 mux 0 vscsi0 at root scsibus0 at vscsi0: 256 targets softraid0 at root root on wd0a swap on wd0b dump on wd0b