Hi all,
After I upgraded my system to fbtv 3.63, I now have a segfault :
I launch fbtv without any option, it starts correctly, but when I try to
do anything after (like changing the channel or disabling the top
line), it segfaults with the messages :
midi: snd_seq_event_input: Invalid argument
Oops: Segmentation fault
By recompiling it and gdb-ing the core file, I get the following backtrace :
#0 0x0804fa42 in midi_translate (h=0x806c5f0) at midictrl.c:258
#1 0x0804bf0e in main (argc=1, argv=0xbffffbb4) at fbtv.c:830
#2 0x4011a6ef ub __libc_start_main () from /lib/libc.so.6
The problem seems to be in an #ifdef HAVE_ALSA block although I don't
use the alsa driver. It might be related to the following lines in the
xawtv Change file :
* wrote some core to control xawtv/motv/fbtv via alsa midi.
Nothing specific in the log files (I can provide them if there are needed).
OTOH xawtv 3.63 works perfectly :-) but launching X is so slow (7s)
TIA
Fred
PS : I also had the libasound1-dev dependency problem which is
unrelated. There is also a small problem : the Debian source package
3.63 lacks a Build-Depends dependency on libasound?-dev.
Hardware configuration :
- Duron 850 - MSI 6330 (Chipset VIA VT82C686)
- Maxi TV PCI 2 ( bt848)
- SB Live! (using OSS emu10k1 driver)
- nVidia TNT:2 Ultra
- Realmagic H+
- NIC Realtek 8139
Software configuration :
- kernel 2.4.10 (with em8300 modules)
- Debian unstable
- VESAfb compiled in the kernel
Extracts from /etc/modules.conf:
alias char-major-81 bttv
alias char-major-81-0 bttv
alias sound-slot-0 emu10k1
alias sound-slot-1 bttv
alias sound-service-1-0 tvmixer
options bttv card=27 bttv_verbose=1 bttv_debug=1 irq_debug=1
options tuner type=3 debug=1
options tvmixer devnr=1 debug=1
post-remove bttv modprobe -r tvmixer
fred@ares:~$ /sbin/lsmod
Module Size Used by
usb-uhci 21572 0 (unused)
usbcore 48224 1 [usb-uhci]
em8300 42336 0 (unused)
bt865 2912 0 (unused)
adv717x 2976 0 (unused)
eeprom 1152 0 (unused)
8139too 11712 1 (autoclean)
emu10k1 50880 0 (autoclean)
sound 53580 0 (autoclean) [emu10k1]
ac97_codec 9504 0 (autoclean) [emu10k1]
nls_iso8859-1 2848 1 (autoclean)
nls_cp437 4384 1 (autoclean)
vfat 8604 1 (autoclean)
fat 29528 0 (autoclean) [vfat]
reiserfs 148544 2 (autoclean)
tvmixer 3808 0
soundcore 3364 9 [em8300 emu10k1 sound tvmixer]
tuner 4516 1 (autoclean)
tvaudio 8192 1 (autoclean)
bttv 57728 1
i2c-algo-bit 7116 3 [em8300 bttv]
i2c-core 12416 0 [bt865 adv717x eeprom tvmixer tuner
tvaudio bttv i2c-algo-bit]
videodev 4640 3 [bttv]