Service unexpectedly terminates (1 Viewer)

binary64

Portal Pro
July 30, 2006
105
1
TV-Server Version: the very latest one
MediaPortal Version: N/A
Windows Version: Windows XP Pro 32bit SP3 with dvbfix
CPU Type: Intel Dual Core E4400 stock-clocked
HDD: Plenty, 7200rpm, SATA II, NCQ
Memory: 1 GB DDR800
1. TV Card: Hauppauge Nova-T PCI
1. TV Card Type: DVB-T, SD only
1. TV Card Driver: latest/ask

logs attached. looks like tswriter.log was last written to..
i have grab epg when timeshift on = 1 min.
this has been a long-time bug, not new recently
 

Spooky

MP Donator
  • Premium Supporter
  • February 14, 2005
    1,187
    47
    void 4tl
    Home Country
    Austria Austria
    I seem to have the same problem all of a sudden :(. The TvService always terminates unexpectedly after 30 to 45 minutes. According to the log, the last action is EPG grabbing. EPG grabbing finished at 14:16:01, the TvService terminated at 14:16:10. But the last entry of the tv.log says this:
    Code:
    2008-07-06 14:16:01.286750 [EPG Update thread]: Tvservice stopped due to a app domain exception System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
       at DirectShowLib.IMediaControl.Stop()
       at TvLibrary.Implementations.DVB.TvCardDvbBase.StopGraph()
       at TvLibrary.Implementations.TvCardBase.FreeSubChannel(Int32 id)
       at TvService.EpgGrabbing.Stop(User user)
       at TvService.TVController.StopGrabbingEpg(User user)
       at TvService.EpgCard.UpdateDatabaseThread()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

    TV Server:
    AMD Athlon 64 X2 4800+, Kingston ValueRAM DIMM 2GB PC2-6400U CL5, Gigabyte GA-MA78GM-S2H, Seasonic S12II 430W, Windows XP Professional SP2, digital-everywhere FloppyDTV S2, TV Server 1.0.0.19574


    Hm, I think I'll run memtest on the server, maybe there is something wrong with the memory.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Hm, I think I'll run memtest on the server, maybe there is something wrong with the memory.

    I'm pretty sure that the memory is ok, but instead there is some bug in TsWriter.ax that causes the crash. Please use the information from the previous post that I have posted to get more information about the crash itself.
     

    Spooky

    MP Donator
  • Premium Supporter
  • February 14, 2005
    1,187
    47
    void 4tl
    Home Country
    Austria Austria
    I'm pretty sure that the memory is ok, but instead there is some bug in TsWriter.ax that causes the crash. Please use the information from the previous post that I have posted to get more information about the crash itself.
    Yeah, memory is ok :). At least 11 memtest passes didn't bring up any errors ;). I'll try making a crash dump now. Btw. this happens since SVN version #19510 (according to the windows event log). I didn't watch any TV with MediaPortal since I installed that version (except trying it out directly after installing), so I never noticed that anything was wrong.

    //edit: Well, I have a crash dump now, but it's really big of course (98 mb zipped). Any way I could upload it on an FTP or something from you guys?
     

    binary64

    Portal Pro
    July 30, 2006
    105
    1
    Yes, when I disabled all epg grabbing, i couldn't get it to terminate unexpectedly again. Also epg was last line on one of my log files too. From what I've gathered with developing against TsReader.ax etc is that "Attempted to read or write protected memory" crash is an unhandled exception occured in a COM component (tswriter/etc), and certainly not a real memory check error.

    The ftp for upload is:
    ftp.team-mediaportal.com login: tsdump@team-mediaportal.com pass: mpuser88
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Yeah, I deactivated EPG grabbing for now too. I hope this will get resolved soon (I have no other EPG sources).

    I've uploaded the crash dump to the FTP, it's called Crash_Mode__Date_07-06-2008__Time_22-31-2525.zip

    Looks like it crashes on PsisDecd.ax. Have you installed the DVB fix that is mentioned in the requirements for MP?


    00 0547f8f0 5e4ff00e 04e30000 00000000 00000006 ntdll!wcsncpy+0xbaa
    01 0547f92c 5e4ff038 00000006 0547f948 5e4fe7cd PsisDecd!DllUnregisterServer+0x10b55
     

    Spooky

    MP Donator
  • Premium Supporter
  • February 14, 2005
    1,187
    47
    void 4tl
    Home Country
    Austria Austria
    Of course. Otherwise the TV Server configuration would tell me everytime, that the PsisDecd.dll is old. Unless there is an even newer DVB fix out since one of the last SVN versions?
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Of course. Otherwise the TV Server configuration would tell me everytime, that the PsisDecd.dll is old. Unless there is an even newer DVB fix out since one of the last SVN versions?

    No, the DVB fix version is the same. The odd thing is that the call stack points that the access violation crash was happening in psisdec.ax
     

    Users who are viewing this thread

    Top Bottom