[fixed] MP Crash during DVD playback in EVR mode (1 Viewer)

azzuro

Test Group
  • Team MediaPortal
  • May 10, 2007
    9,954
    5,626
    France - IDF
    Home Country
    France France
    MediaPortal Version: 1.1 Rc1
    MediaPortal Skin: Blue3 wide
    Windows Version: windows 7 Integral
    CPU Type: Amd Sempron 2800+ s754
    HDD: WD Caviar blue 500Gb
    Memory: 2x512 Cordair Value pc400
    Motherboard: Asrock K8nf4g-vsta
    Video Card: His ATI 4650 Isilence4
    Video Card Driver: 10.2
    Sound Card: Realtek ALC888
    Sound Card AC3:
    Sound Card Driver: 2.44
    1. TV Card: Haupauge HVR 1300
    1. TV Card Type: TNT - Analog
    1. TV Card Driver:
    2. TV Card:
    2. TV Card Type:
    2. TV Card Driver:
    3. TV Card:
    3. TV Card Type:
    3. TV Card Driver:
    4. TV Card:
    4. TV Card Type:
    4. TV Card Driver:
    MPEG2 Video Codec: Pdvd9 (8.0.4.1014) / Ms DTV DVD [with dshowhelper.dll fix2]
    MPEG2 Audio Codec: ffdshow
    h.264 Video Codec: Divx / ffdshow dxva
    Satelite/CableTV Provider:
    HTPC Case: Akasa Midas
    Cooling:
    Power Supply: 500W
    Remote: imon mini
    TV: Philips Cathodique
    TV - HTPC Connection: Svideo / Composite


    Hi, MP Crash during dvd playback ! with the DVD Michael Jackson - Moonwalker (key : SDF3-0081700 / WarnerBros) in EVR Mode !
    Ok in VMR9

    Thk !

    Sorry for my bad english
     

    Scythe42

    Retired Team Member
  • Premium Supporter
  • June 20, 2009
    2,065
    2,703
    50
    Berlin
    Home Country
    Germany Germany
    Form the logs I see that samples are added to an already full queue. I cannot reproduce this.

    Code:
    20-03-2010 19:06:53.370 [654]Textures will be 960x576
    20-03-2010 19:06:53.370 [654]Adding sample: 0x54cda80
    20-03-2010 19:06:53.370 [654]Adding sample: 0x54cdbd0
    20-03-2010 19:06:53.370 [654]Adding sample: 0xd69c550
    20-03-2010 19:06:53.371 [654]Adding sample: 0xd69c5f8
    20-03-2010 19:06:53.371 [654]Adding sample: 0x54ce120
    20-03-2010 19:06:53.371 [654]Releasing device: 177
    20-03-2010 19:06:53.371 [654]ReallocSurfaces done
    20-03-2010 19:06:53.371 [654]Setting media type on mixer
    20-03-2010 19:06:53.377 [654]MyQueue: No more space
    20-03-2010 19:06:53.379 [654]MyQueue: No more space
    20-03-2010 19:06:53.390 [d50]MyQueue: No more space
    20-03-2010 19:06:53.399 [d50]MyQueue: No more space
    20-03-2010 19:06:53.412 [d50]MyQueue: No more space

    Normally this should never happen. The question is: are the already queued samples important or can they be deleted?

    We have the following options now:
    1) remove the oldest sample if queue is already full
    2) don't add the new sample if the queue is already full (therefore wait until samples are rendered)
    3) flush the whole queue in such cases

    Having a full copy of the DVD would be helpful for me to debug this as it seems related to the DVD itself. I don't have this DVD in my collection. Would it be possible for you to upload it?

    The messages instructing to add new samples are coming from the mixer. It should not send such notifications if the queue is still full. So we need a workaround for this behavior of the DVD Navigator in conjunction with the EVR sample queueing.

    Do you have some time to test out some binaries for me? I can create multiple solutions over the weekend and you tell me which behaves/looks correct or at least avoids the crash.

    PS: Opened a Mantis for this issue: 0002787: EVR Presenter: samples are added to an already full queue on some DVDs - MediaPortal Bugtracker
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,954
    5,626
    France - IDF
    Home Country
    France France
    • Thread starter
    • Moderator
    • #3
    hi scythe, i have an original dvd, buy in a Virgin megastore !
    is more longer for upload ~4GB, i can test for you and us !

    The DVD load with Warnerbros video and crash before the menu animated ! but i have sound !
     

    Scythe42

    Retired Team Member
  • Premium Supporter
  • June 20, 2009
    2,065
    2,703
    50
    Berlin
    Home Country
    Germany Germany
    OK then I'll create some test binaries for you to test later with this DVD. With your help we should get this one sorted out rather quickly.
     

    Scythe42

    Retired Team Member
  • Premium Supporter
  • June 20, 2009
    2,065
    2,703
    50
    Berlin
    Home Country
    Germany Germany
    azzuro,

    here is the first try to fix this. If the Queue Overflow happens the oldest sample gets removed before the new one is added.

    Just exchange the dshowhelper.dll (keep a backup of the current one for fallback) and play the DVD.

    Let me know if this works for you and if playback looks good. If MP crashes or anything else happens please post the evr.log

    To all other: If you don't have the Queue Overflow symptom with specific DVDs, DON'T try this patch.

    Edit: First Patch removed
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,954
    5,626
    France - IDF
    Home Country
    France France
    • Thread starter
    • Moderator
    • #8
    Hi, i have try this fix, is not OK, MP crash

    PS : On other DVD, when i have menu selector language the screen is the screen of bluewide, i must use up or down button for display the dvd menu ! ( on DVD 20,000 Leagues Under the Sea )
     

    Scythe42

    Retired Team Member
  • Premium Supporter
  • June 20, 2009
    2,065
    2,703
    50
    Berlin
    Home Country
    Germany Germany
    Code:
    21-03-2010 12:07:13.902 [94]Sample queue is full. Discarding oldest sample.
    21-03-2010 12:07:13.903 [e00]Could not get sample time from 04B8E9D8!
    21-03-2010 12:07:13.903 [e00]Couldn't get time to schedule!
    21-03-2010 12:07:13.905 [e00]Could not get sample time from 0B8E7D78!
    21-03-2010 12:07:13.905 [e00]Couldn't get time to schedule!
    21-03-2010 12:07:13.910 [e00]Could not get sample time from 0B8E6C48!
    21-03-2010 12:07:13.910 [e00]Couldn't get time to schedule!
    21-03-2010 12:07:13.923 [e00]Could not get sample time from 0B8E6648!
    21-03-2010 12:07:13.923 [e00]Couldn't get time to schedule!
    Ok, no sample times this time. Very strange. I keep trying to find out what's happening here in this special case.
     

    Scythe42

    Retired Team Member
  • Premium Supporter
  • June 20, 2009
    2,065
    2,703
    50
    Berlin
    Home Country
    Germany Germany
    azzuro,

    here's a second try. This time the queue gets flushed completely. The File you uploaded was somewhat incomplete. At least I could not play it at all.

    To all others: If you don't have the Queue Overflow symptom with specific DVDs, DON'T try this patch. If you have the problem, please let me know the exact DVD.
     

    Attachments

    • QueueOverflow2.zip
      30.6 KB

    Users who are viewing this thread

    Top Bottom