Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Bugfix-patch for the show replay mode -crash



Kimmo Tykkala wrote:
> 
> Hi,
> 
> On Wed, 28 Jul 2004, Achim Tuffentsammer wrote:
> > Kimmo Tykkala wrote:
> >
> > >Press fast-forward/rewind/pause button while the menu is on.
> > >VDR crashes immediately and writes the following line to the
> > >/var/log/messages -file:
> > >Jul 27 21:16:42 tiivitaavi vdr[2684]: ERROR: attempt to open OSD
> while
> > >it is already open!
> > >
> > >If the "show replay mode" is turned off, the crash won't happen.
> > >
> > >
> > I can confirm this crash. When this error occurs cOsdProvider::NewOsd
> > returns NULL. There are several places in the source code where this
> is
> > not checked for NULL.
> >
> 
> attached is a small fix for the bug described above.
> 
> The fix is a couple of NULL-checkings before the skins try
> to show the replay mode -indicator on screen. With the fix the
> replay mode will change, but VDR does not try to show the changed
> replay mode if the screen is already occupied by the menu.
> 
> The patch is written for 1.3.12 and it fixes both the classic and new
> VDR-skin.
> 
> - Kimmo
> 
> --
> .
> 
>   ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>                        Name: replaymode.patch
>    replaymode.patch    Type: text/x-patch
>                    Encoding: 7bit

-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________




Home | Main Index | Thread Index