Enigma2 memory leak when playing mkv video file

  • I encountered the problem with Enigma2 memory leak when played mkv file on my dm525. After 30 minutes of playing Enigma2 consumes all memory. I have enabled malloc_dump_stat in mytest.py and here is the result on fresh installed latest image (sorry, it's quite long - 30 minutes). I have more mkv files that have the same problem. One file for testing (600MB) can be downloaded from here https://mega.nz/#!h2xz2LYD!oR-…xlhGoFRqxJPlMdQooFWrUSKcg


    @Reichi please confirm me, that the problem is replicable on your box.
    For me it's high priority problem, because I can't use the box as media center.
    No sources of Enigma2 are available - I can't find the cause of the problem



    DM525 DVB-T2 + DVB-S2

    Einmal editiert, zuletzt von EngyCZ ()

  • Sei mir bitte nicht böse aber Linux Boxen waren nie gemeint um als Mediaplayer eingesetzt zu werden. Es ist nur ein Box die eingerichtet ist um TV zu schauen. Weil es ja PVR funktionen gibt (aufnahme in .ts format) ist so einiges 'reingeschlichen'. Gstreamer ist nicht das meist stabile und kennt viele viele Bugs.

  • Sei mir bitte nicht böse aber Linux Boxen waren nie gemeint um als Mediaplayer eingesetzt zu werden. Es ist nur ein Box die eingerichtet ist um TV zu schauen. Weil es ja PVR funktionen gibt (aufnahme in .ts format) ist so einiges 'reingeschlichen'. Gstreamer ist nicht das meist stabile und kennt viele viele Bugs.

    Sorry, I don't understand german.

    DM525 DVB-T2 + DVB-S2

  • Problem is not in GStreamer. I have compiled latest version and the problem persists. The problem is in enigma2 itself. Community images with own enigma2 don't have this problem.

    DM525 DVB-T2 + DVB-S2

  • Which Images?

    All images with enigma2 sources available. OpenHDF, Opendroid, OpenATV.


    It is a great shame that enigma2 sources are not longer available. The community has great power in software development. Beginning with linux kernel and ending with GStreamer.

    DM525 DVB-T2 + DVB-S2

  • And competitors keep using the sourcecode for free and can save on dev resources.


    It's good like this.

    Gruss
    Dre


    Boxen (im Einsatz): DM920, DM900, DMOne
    Developer Project Merlin - we are OpenSource

  • You ask (or demand) that a DP developer has to confirm your problem and you blame DP not to start fixing it immediately ... or offer all their sources for free.


    ... nice people use words like please ...!

  • Zitat von dre

    And competitors keep using the sourcecode for free and can save on dev resources.



    It's good like this.

    DM does it too. :smiling_face:

    DM525 DVB-T2 + DVB-S2

  • You ask (or demand) that a DP developer has to confirm your problem and you blame DP not to start fixing it immediately ... or offer all their sources for free.


    ... nice people use words like please ...!

    In the first post, there is "please". I don't want the fix immediately, but 20 days without any answer?
    I can support the developer as much as I can, but no help has been requested.

    DM525 DVB-T2 + DVB-S2

    Einmal editiert, zuletzt von EngyCZ ()

  • Maybe they simply have their own priorities and not yours ... your bought a relatively cheap, but powerfull SAT Receiver, NOT a Mediaplayer btw. and I recognize when somebody ... demands ...


    But I'm not adding any value here when teaching manners, hence ...have a nice day....


    gutemine

    Einmal editiert, zuletzt von Lost in Translation ()

  • I am convinced that this bug affects also much more expensive devices.


    The discussion goes in a different direction from the original post :-(.

    DM525 DVB-T2 + DVB-S2

  • if you want to have an answer from a dev, ask your question on enigma2 irc channel ...

    mfg


    OoZooN


    Support für OoZooN Images gibt es auf forum.oozoon.de , nicht hier!


    Two Beer or not two Beer, thats the Question


    Aktuelle Nachrichten rund um OoZooN-Images gibt es auf Twitter

  • Reverting my confirmation of fixed this bug. It's still here in r9 and also in r10 and r11.
    Can be easily reproduced with file in first post.


    every 3 minutes +10 MB of allocated memory

    DM525 DVB-T2 + DVB-S2

    Einmal editiert, zuletzt von EngyCZ ()

    • Offizieller Beitrag

    Ich habe mir das eben mal grob angeschaut. Also irgendwie muss es mit diesem .. oder diesen MKV zusammenhängen, die du da hast.


    Ich habe hier andere MKV mit H265 drinnen... und dort passiert das nicht.


    Ich habe noch nicht rausgefunden, was da genau passiert. Aber ich vermute, dass es ein Fehler in gstreamer ist. Die Sourcen davon sind ja offen.


    Gstreamer debuggen ist leider furchtbar.


    Mal sehen ob ich was finde... versprechen kann ich da aktuell nichts.


    cu