Christoph Schulz wrote:
Hello!
Duncan Webb wrote:
Having a slight problem with ivtv-0.4.0, details below. ivtv-0.3.8 was
good (except ivtv-fb didn't work) and I've just reinstalled 0.3.8 and it
still works.
/usr/bin/ivtvctl --device=/dev/video0 -u 0xff
Segmentation fault
BTW any chance of adding which video devices get registered to the ivtv
driver to the dmesg log; helpful when there are multiple cards?
TIA
Duncan
Unable to handle kernel NULL pointer dereference at virtual address 000000c8
[...]
I had the same problem yesterday (although with other ivtvctl
parameters). I assume you load the ivtv driver with a non-zero debug
level. Your problem goes away if you lower the debug level for the ivtv
driver, e.g. ivtv_debug=0. I haven't searched for the buggy debug
statement in the code yet, but I'm sure there is one somewhere.
Christoph, the debug statement is the problem. The debug message error
is somewhere in ivtv_v4l2_open() in driver/ivtv-fileops.c.
There are a few poential traps here. At the top int minor =
MINOR(inode->i_rdev); could have failed.
IVTV_DEBUG_INFO("current minor %d\n", stream->v4l2dev->minor); also
looks dangerous (not the problem in this case).
Thanks
Duncan
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel