TV Service stops (1 Viewer)

db_no

Portal Member
August 17, 2008
34
0
Home Country
Norway Norway
TV-Server Version: RC2
MediaPortal Version: RC2
MediaPortal Skin: Aeon Wide
Windows Version: XP MCE
TV Card: Hauppauge HVB-4000

Tv Service hangs with this error i errors.log

2008-10-08 00:24:26.750000 [11]: Exception :confused:ystem.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at TvLibrary.Streaming.RtspStreaming.StreamRemove(String streamName)
at TvLibrary.Streaming.RtspStreaming.Remove(String streamName)
at TvService.TVController.StopTimeShifting(User& user)
Exception :Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
site :Void StreamRemove(System.String)
source :TVLibrary
stacktrace: at TvLibrary.Streaming.RtspStreaming.StreamRemove(String streamName)
at TvLibrary.Streaming.RtspStreaming.Remove(String streamName)
at TvService.TVController.StopTimeShifting(User& user)
 

db_no

Portal Member
August 17, 2008
34
0
Home Country
Norway Norway
Thanks for your reply, but my problem occors without ever using hibernation og sleep mode. But of course the problem could still be related. E.x. the Tv card driver could be the problem...
 

db_no

Portal Member
August 17, 2008
34
0
Home Country
Norway Norway
I still have the same error i my log... I have reinstalled everything, icluding changes os from XP to Vista. I still have the same error:

2008-11-08 22:39:56.146242 [18]: Exception :confused:ystem.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at TvLibrary.Interfaces.Analyzer.ITsFilter.TimeShiftPause(Int32 handle, Byte onOff)
at TvLibrary.Implementations.DVB.TvDvbChannel.OnBeforeTune()
at TvLibrary.Implementations.DVB.TvCardDvbBase.SubmitTuneRequest(Int32 subChannelId, IChannel channel, ITuneRequest tuneRequest)
at TvLibrary.Implementations.DVB.TvCardDVBS.Tune(Int32 subChannelId, IChannel channel)
at TvLibrary.Implementations.Hybrid.HybridCardGroup.Tune(Int32 subChannelId, IChannel channel)
at TvLibrary.Implementations.Hybrid.HybridCard.Tune(Int32 subChannelId, IChannel channel)
at TvService.CardTuner.Tune(User& user, IChannel channel, Int32 idChannel)
Exception :Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
site :Int32 TimeShiftPause(Int32, Byte)
source :TVLibrary
stacktrace: at TvLibrary.Interfaces.Analyzer.ITsFilter.TimeShiftPause(Int32 handle, Byte onOff)
at TvLibrary.Implementations.DVB.TvDvbChannel.OnBeforeTune()
at TvLibrary.Implementations.DVB.TvCardDvbBase.SubmitTuneRequest(Int32 subChannelId, IChannel channel, ITuneRequest tuneRequest)
at TvLibrary.Implementations.DVB.TvCardDVBS.Tune(Int32 subChannelId, IChannel channel)
at TvLibrary.Implementations.Hybrid.HybridCardGroup.Tune(Int32 subChannelId, IChannel channel)
at TvLibrary.Implementations.Hybrid.HybridCard.Tune(Int32 subChannelId, IChannel channel)
at TvService.CardTuner.Tune(User& user, IChannel channel, Int32 idChannel)
 

bounguine

Portal Pro
November 7, 2005
233
15
52
St.Petersburg
Home Country
Russian Federation Russian Federation
mmm

Something new for me:

2008-11-25 18:59:18.531250 [17]: Tvservice stopped due to a app domain exception Error: StatementErrorUnclassified
Gentle.Common.GentleException: select idTuning, idChannel, name, provider, channelType, channelNumber, frequency, countryId, isRadio, isTv, networkId, transportId, serviceId, pmtPid, freeToAir, modulation, polarisation, symbolrate, diseqc, switchingFrequency, bandwidth, majorChannel, minorChannel, pcrPid, videoSource, tuningSource, videoPid, audioPid, band, satIndex, innerFecRate, pilot, rollOff, url, bitrate from TuningDetail where idChannel = @idChannel; ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at SNIReadSync(SNI_Conn* , SNI_Packet** , Int32 )
at SNINativeMethodWrapper.SNIReadSync(SafeHandle pConn, IntPtr& packet, Int32 timeout)
at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParserStateObject.ReadPacket(Int32 bytesExpected)
at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
at System.Data.SqlClient.TdsParserStateObject.ReadByte()
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()
at Gentle.Framework.SqlStatement.Execute(IDbConnection conn, IDbTransaction tr)
--- End of inner exception stack trace ---
at Gentle.Framework.SqlStatement.Execute(IDbConnection conn, IDbTransaction tr)
at Gentle.Framework.PersistenceBroker.Execute(SqlStatement stmt, IDbConnection dbConnection, IDbTransaction dbTransaction)
at Gentle.Framework.SqlStatement.Execute()
at TvDatabase.Channel.ReferringTuningDetail()
at TvDatabase.TvBusinessLayer.GetTuningChannelByName(Channel channel)
at TvService.SimpleCardAllocation.DoSetChannelStates(Dictionary`2 cards, List`1 channels, Boolean checkTransponders, IList`1 allUsers, TVController tvController)
at TvService.SimpleCardAllocation.<>c__DisplayClass1.<SetChannelStates>b__0()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at SNIReadSync(SNI_Conn* , SNI_Packet** , Int32 )
at SNINativeMethodWrapper.SNIReadSync(SafeHandle pConn, IntPtr& packet, Int32 timeout)
at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParserStateObject.ReadPacket(Int32 bytesExpected)
at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
at System.Data.SqlClient.TdsParserStateObject.ReadByte()
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()
at Gentle.Framework.SqlStatement.Execute(IDbConnection conn, IDbTransaction tr)
 

Da_JoJo

MP Donator
  • Premium Supporter
  • August 6, 2008
    64
    3
    Home Country
    Netherlands Netherlands
    driver or codec error.. the service wont start.. it attempts to use non-user memoryspace which it shouldnt. i have seen this too when i changed ip of the tv-server from ::1 and back after whiping database and complete reinstall of the latest svn build it worked fine again.
     

    bounguine

    Portal Pro
    November 7, 2005
    233
    15
    52
    St.Petersburg
    Home Country
    Russian Federation Russian Federation
    driver or codec error.. the service wont start.. it attempts to use non-user memoryspace which it shouldnt. i have seen this too when i changed ip of the tv-server from ::1 and back after whiping database and complete reinstall of the latest svn build it worked fine again.

    I don't think, it's a codec issue, as I reinstalled OS a week ago, because my TVServer crashed 10-15 times a day and I had a lot of errors from MS SQL.
    I didn't see this error up to this evening, although I used the same version of drivers and had no problems with codecs.

    TVServer starts and works and then sometimes crashes with this error.

    Today I changed dynamic IP to static, because these two weeks (one before reinstalling OS and one after) when I started PC DB always rejected connection from TVServer, as it starteds later then TV app.
    After changing IP I see no errors in system events window (only in error.log of TVServer).
    Anyway with a delay of 100 seconds in MP console TVServer starts normally.
    Strange enough, but three weeks ago it started without any delay.

    But now from time to time TVServer crashes with the error stated above when it crashes.

    Perhaps I should try My SQL.
     

    Users who are viewing this thread

    Top Bottom