I have loaded vivi kernel module. When I launch tvtime, it's window appears for some seconds and shows vivi's colored rectangles, which randomly flash. Then tvtime silently crashes (in some cases X-window system crashes too). Reproducible: Always Steps to Reproduce: 1. modprobe vivi 2. make sure /dev/video0 appeared 3. launch tvtime Actual Results: tvtime shows flashing colored rectangles and crashes in some seconds. And it's parent process(es) crashes too. Expected Results: tvtime shows colored rectangles I have 2.6.22-r6 kernel. I am not sure on which kernel version this bug appeared first time. 2.6.20 worked fine. My machine's arch is x86 I have following options in my kernel config # # Multimedia devices # CONFIG_VIDEO_DEV=m CONFIG_VIDEO_V4L1_COMPAT=y CONFIG_VIDEO_V4L2=y CONFIG_VIDEO_CAPTURE_DRIVERS=y CONFIG_VIDEO_HELPER_CHIPS_AUTO=y CONFIG_VIDEO_VIVI=m CONFIG_VIDEO_BUF=m
Can you please post your complete kernel .config and your dmesg output? Please include your loading of the vivi module and launching of tvtime. Also, you say tvtime crashes silently. Have you tried running it from the command line (ie. an xterm) to see if that gives you any output?
Created attachment 130214 [details] my kernel config (2.6.22-r6)
Created attachment 130215 [details] strace logs logs created by "strace tvtime 2&> stracelog"
Created attachment 130217 [details] dmesg and tvtime output Here is dmesg for vivi loading and tvtime launching. It seems dmesg is the same as on older, working kernels. Of course I tried launch tvtime from xterm. But xterm crashes with tvtime. Then I tried following: tvtime 2&> errorlog Output of this command is in this attachment also.
There is more precise bug description (now it tested under fluxbox): Under fluxbox this bug behavior seen a little differently than under gnome or xfce4. Tvtime doesn't crash under fluxbox at all. I launch xterm and then launch tvtime from it. I see the same blinking picture. Several seconds later picture stops blink and I see clear picture. Then I launch one else instance of xterm and launch, say, mousepad from it. Mousepad crashes with segfault either immediately or when I try to type something in it. Almost all applications launched while tvtime is running crash with segmentation fault. If I have several applications running before tvtime launching, they randomly crash with segfault when I launch tvtime.
Can you try to set CONFIG_VIDEO_ADV_DEBUG=y in your .config and try again? Then post your complete dmesg output, ie: boot, modprobe vivi, modprobe -r vivi. Your previous post of the strace output has some russian in it, can you post that again in all english please? Also, can can test with the latest development kernel, 2.6.23-rc6 as of this writing? Thanks.
See comment #6, please reopen when you can provide this info.