Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190978 - Virtual Video capture board causes a crash of tvtime and it's parent process
Summary: Virtual Video capture board causes a crash of tvtime and it's parent process
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-01 17:00 UTC by pribambas
Modified: 2007-10-02 18:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
my kernel config (2.6.22-r6) (.config,45.14 KB, text/plain)
2007-09-06 20:25 UTC, pribambas
Details
strace logs (strace_logs.tar.bz2,103.34 KB, application/octet-stream)
2007-09-06 20:33 UTC, pribambas
Details
dmesg and tvtime output (tvtime_crash.txt,1.75 KB, text/plain)
2007-09-06 20:49 UTC, pribambas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pribambas 2007-09-01 17:00:14 UTC
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
Comment 1 Maarten Bressers (RETIRED) gentoo-dev 2007-09-06 00:13:43 UTC
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? 
Comment 2 pribambas 2007-09-06 20:25:57 UTC
Created attachment 130214 [details]
my kernel config (2.6.22-r6)
Comment 3 pribambas 2007-09-06 20:33:38 UTC
Created attachment 130215 [details]
strace logs

logs created by "strace tvtime 2&> stracelog"
Comment 4 pribambas 2007-09-06 20:49:02 UTC
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.
Comment 5 pribambas 2007-09-07 19:11:37 UTC
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.
Comment 6 Maarten Bressers (RETIRED) gentoo-dev 2007-09-17 21:28:44 UTC
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.
Comment 7 Maarten Bressers (RETIRED) gentoo-dev 2007-10-02 18:54:27 UTC
See comment #6, please reopen when you can provide this info.