Exit bug/crash in MP and MP Configuration tool

Discussion in '1.9.x' started by pvanderp, December 20, 2014.

  1. pvanderp

    pvanderp Portal Member

    Joined:
    November 27, 2011
    Messages:
    8
    Likes Received:
    0
    Gender:
    Male
    Occupation:
    Developer
    Location:
    Gouda
    Ratings:
    +2 / 0
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Applies to:
    - Windows 7 and 8.1
    - MediaPortal 1.9 and 1.9.1



    This problem has previously been reported in this thread:
    https://forum.team-mediaportal.com/...tion-crash-when-closing-stays-running.127862/
    It has been marked as [Fixed] but it has not been solved at all.

    I experienced the problem with version 1.9.0 and 1.9.1 (a.k.a. "1.10 preview"). After closing MP or the MP Configuration tool, the program window closes, but the process stays active and after 10 seconds or so, it starts to hog the core it is running on to 100% CPU usage.
    The MP error log shows no errors, but the Event Log does:

    Faulting application name: MediaPortal.exe, version: 1.9.100.0, time stamp: 0x545debcc
    Faulting module name: bass_vis.dll, version: 2.4.4.1, time stamp: 0x5374e4c2
    Exception code: 0xc0000005
    Fault offset: 0x000053e6
    Faulting process id: 0xb58
    Faulting application start time: 0x01d01c4f63884542
    Faulting application path: C:\Program Files\Team MediaPortal\MediaPortal\MediaPortal.exe
    Faulting module path: C:\Program Files\Team MediaPortal\MediaPortal\bass_vis.dll

    It is the same Application Error as in the other thread.

    I analysed the exit process with Process Explorer. The log is too big to include here, but it shows that at some point, WerFault.exe is launched to process an unhandled error. WerFault.exe is apparently stranded while collecting information about the misbehaving process. The Process Monitor log shows at some point that the MediaPortal process is performing QueryNameInformationFile calls in a tight loop, which causes the 100% CPU usage. At that point, the only resolution is to kill the MediaPortal.exe or Configuration.exe process using the Task Manager.

    The root cause of this problem seems to relate to either a bug in the bass_vis.dll, or bad use of this DLL by the MediaPortal and Configuration applications. I will attempt to replace this DLL with previous versions just as a workaround, but this problem should be taken seriously. I suppose many people are not even aware of this problem, because no "Application Crash" dialog appears.

    regards,
    Peter
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. grubi

    grubi Portal Pro

    Joined:
    June 16, 2007
    Messages:
    1,216
    Likes Received:
    77
    Location:
    127.0.0.1
    Ratings:
    +86 / 0
    Home Country:
    Germany Germany
    Show System Specs
  4. EWeiss

    EWeiss Guest

    Ratings:
    +0 / 0
    remove
     
    Last edited by a moderator: January 8, 2015
  5. EWeiss

    EWeiss Guest

    Ratings:
    +0 / 0
    remove
     
    Last edited by a moderator: January 8, 2015
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!