Thanks. I'll fix this in svn in the next day or two. John
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Graham > Sent: 15 May 2006 11:53 > To: [email protected] > Subject: [ivtv-devel] a patch for segfault on loading ivtv-fb > (ivtv-0.4.5) > > I had trouble with modprobe ivtv-osd and ivtv-fb giving a > segmentation fault and the module left in a faulty state. > It was due to ivtvfb_set_disp() sending a null pointer to > ivtv_get_fix() > > patched ivtv-0.4.5/drivers/ivtv-osd.c thus.... > > diff ivtv-osd.c /tmp/ivtv-osd.c > > 609c609,611 > < > --- > > /* FIX */ > > struct fb_info dummy; > > /* END FIX */ > 616c618,625 > < ivtvfb_get_fix(&fix, con, 0); > --- > > /* FIX ....must not send a null parameter here > > so send the *itv in a struct fb_info > > instead > > ivtvfb_get_fix(&fix, con, 0); > > */ > > dummy.par = itv; > > ivtvfb_get_fix(&fix, con, &dummy); > > /* END FIX */ > 1682d1690 > < > > I am using out-of-the-box slackware 10.2 distribution, which > is kernel 2.4.31. > > Incidentally the make coughs at the install stage, with or > without fix, so have to install and depmod by hand. > > ivtv-osd loads and unloads no problem. X starts ok but > needed a dotclock of 14.5 Mhz, (that's for PAL 50Hz) on an > interlaced tv. > > regards > Graham > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection > around http://mail.yahoo.com > > _______________________________________________ > ivtv-devel mailing list > [email protected] > http://ivtvdriver.org/mailman/listinfo/ivtv-devel _______________________________________________ ivtv-devel mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-devel
