Memory leak in 64bit?

  • Hi. Is anyone aware of any memory leaks that occur specifically in 64bit? Possibly in the vdr core, vdr-softhddevice, or vdr-eepg? It seems like I recall something about integers being defined in a way thats not 64bit-friendly. Something along the lines of "int" vs. "uintptr_t":

    Zitat

    A common reason to want an integer type that can hold an architecture's pointer type is to perform integer-specific operations on a pointer, or to obscure the type of a pointer by providing it as an integer "handle".


    I've got a bad memory leak in a minimal 64bit setup and it's been a pain trying to figure out what/where the problem actually is.

  • I have not seen any memory leaks so far, running a 64 bit system for years. But I don't use eepg. vsr and softhddevice are fine here, but it isn't running 24/7, only for recordings and playbacks.


    I here about different problems with eepg, maybe one should review that code first.


    Lars

  • I don't know if this is related. I have done some valgrind tests for one of my plugins and found the following output, which seems to be related to softtddevice:

    VDR 2.6.5 Kodi 18.6-Leia
    Debian GNU/Linux 12, Thermaltake DH102, ASUS PRIME N100I-D, CineS2 V6.5.
    Plugins:
    radio v1.1.0-6-g468280f , trayopenng 1.0.2, fritzbox 1.5.3, cdplayer 1.2.4, femon v2.4.0-GIT-d366856, menuorg 0.5.2, extrecmenung v2.0.4, streamdev-server v0.6.3, cecremote 1.5.0, osd2web 0.3.2, softhddevice v2.0.6-GIT97e825d

  • You can read more about the memory leak here: Etwas frist Speicher VDR, Streamdev, SoftHdDevice, ffmpeg, VDPAU? VDR


    tl;dr Its some forever growing list or buffer in cDevice:PlayVideo in VDR core.


    Johns

    Sag mir, wo die Developer sind. Wo sind sie geblieben? . . . . . . . . . . . . . . . . . . . . SoftHdDevice - A software and GPU emulated HD output device plugin.
    Sag mir, wo die Developer sind. Was ist geschehn?


    Client0: Crown CW02 MSI_C847MS-E33 Zotac_GT640_passiv Cine-S2 iMon-MCE / streamdev softhddevice
    Client1: Lian_Li_PC-Q09FB ASRock_H67M-ITX/HT I3-2100 ASUS_ENGT520_passiv / streamdev softhddevice
    Test: Lian_Li_PC-Q09R Asus C60M1-I / streamdev
    Server0: Dockstar TT-S2-3600-USB / streamdev
    Server2: Lian_Li_PC-Q07R Intel_DH61DL G620 WD20EARX 90W PicoPSU Cine-S2+DuoFlex-S2+DuoFlex-CT / streamdev / 22 Watt Verbrauch

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!