Exit code -1 during client execution (Negative offset -784)

An evolving, supported alternative to Rovi
Forum rules
★ Download the latest EPG123 here: http://epg123.garyan2.net <> Setup guide here: http://epg123.garyan2.net/downloads/epg123_Guide.pdf
Post Reply
SlantNGo

Posts: 5
Joined: Sat Jan 21, 2017 1:06 am
Location:

HTPC Specs: Show details

Exit code -1 during client execution (Negative offset -784)

#1

Post by SlantNGo » Fri Dec 18, 2020 12:54 am

Two days ago, my epg123 client started started having errors. epg123 update is fine, but the client update fails. Here's an example of a log snippet:

Code: Select all

[12/16/2020 10:19:00 PM] ===============================================================================
[12/16/2020 10:19:00 PM]  Beginning epg123 client execution. version 1.6.0.5
[12/16/2020 10:19:00 PM] ===============================================================================
[12/16/2020 10:19:00 PM] [ INFO] Beginning epg123 client execution. 2020-12-17 03:19:00Z
[12/16/2020 10:19:00 PM] [ INFO] Import: True , Match: True , NoLogo: False , Force: False , ShowProgress: True
[12/16/2020 10:19:01 PM] Entering ImportMxfFile() for file "c:\programdata\garyan2\epg123\output\epg123.mxf".
[12/16/2020 10:20:24 PM] [ INFO] Error: The following error was encountered while processing the file. Aborting.
[12/16/2020 10:20:24 PM] [ INFO] Negative offset -784.
[12/16/2020 10:20:24 PM] [ INFO] Parameter name: offset
[12/16/2020 10:20:24 PM] [ERROR] Error using loadmxf.exe to import new guide information. Exit code: -1
[12/16/2020 10:20:24 PM] Exiting ImportMxfFile(). FAILURE.
[12/16/2020 10:20:24 PM] [ERROR] Failed to import .mxf file. Exiting.
[12/16/2020 10:20:24 PM] [ INFO] MXF file was created on 12/16/2020 10:15:01 PM
Any ideas what's going wrong? The only thing I've tried other than manually pulling some updates and rebooting is clearing the cache.

SlantNGo

Posts: 5
Joined: Sat Jan 21, 2017 1:06 am
Location:

HTPC Specs: Show details

#2

Post by SlantNGo » Fri Dec 18, 2020 12:56 am

I should add, after this happens, the next update runs into errors at garbage cleanup also:

Code: Select all

[12/17/2020 6:01:42 AM] ===============================================================================
[12/17/2020 6:01:42 AM]  Beginning epg123 client execution. version 1.6.0.5
[12/17/2020 6:01:42 AM] ===============================================================================
[12/17/2020 6:01:42 AM] [ INFO] Beginning epg123 client execution. 2020-12-17 11:01:42Z
[12/17/2020 6:01:42 AM] [ INFO] Import: True , Match: True , NoLogo: False , Force: False , ShowProgress: False
[12/17/2020 6:01:42 AM] Entering PerformGarbageCleanup().
[12/17/2020 6:06:41 AM] [ INFO] Unhandled Exception: System.ArgumentException: Negative offset -784.
[12/17/2020 6:06:41 AM] [ INFO] Parameter name: offset
[12/17/2020 6:06:41 AM] [ INFO]    at Microsoft.MediaCenter.Store.SharedMemory.GetPointer(Int32 offset, Int32 cb)
[12/17/2020 6:06:41 AM] [ INFO]    at Microsoft.MediaCenter.Store.SharedMemoryLocks.Lock(Int32 offset, Boolean surpressAbandonmentException, Int32 timeout)
[12/17/2020 6:06:41 AM] [ INFO]    at Microsoft.MediaCenter.Store.StoredObjectRegistry.LockTree(Int32 entry)
[12/17/2020 6:06:41 AM] [ INFO]    at Microsoft.MediaCenter.Store.StoredObjectRegistry.Lookup(Int64 key)
[12/17/2020 6:06:41 AM] [ INFO]    at Microsoft.MediaCenter.Store.StoreObjectCollector.PopulateCollectionTable()
[12/17/2020 6:06:41 AM] [ INFO]    at Microsoft.MediaCenter.Store.StoreObjectCollector.PerformCollection()
[12/17/2020 6:06:41 AM] [ INFO]    at Microsoft.MediaCenter.Store.StoreObjectCollector.Collect(String fileName, Boolean disableThrottle, Boolean createDbBackups, TraceOp traceLevel)
[12/17/2020 6:06:41 AM] [ INFO]    at Updater.Run()
[12/17/2020 6:06:41 AM] [ INFO]    at wWinMain(HINSTANCE__* hInst, HINSTANCE__* hInstPrev, UInt16* pwzCmdLine, Int32 nCmdShow)
[12/17/2020 6:06:41 AM] [ INFO]    at wWinMainCRTStartup()
[12/17/2020 6:06:41 AM] [ INFO]    at wWinMainStub()
[12/17/2020 6:06:42 AM] [ERROR] Error using mcupdate.exe to perform database garbage cleanup. Exit code: -532462766
[12/17/2020 6:06:42 AM] Exiting PerformGarbageCleanup(). FAILURE.
[12/17/2020 6:06:42 AM] Entering ImportMxfFile() for file "c:\programdata\garyan2\epg123\output\epg123.mxf".
[12/17/2020 6:07:56 AM] [ INFO] Error: The following error was encountered while processing the file. Aborting.
[12/17/2020 6:07:56 AM] [ INFO] Negative offset -784.
[12/17/2020 6:07:56 AM] [ INFO] Parameter name: offset
[12/17/2020 6:07:56 AM] [ERROR] Error using loadmxf.exe to import new guide information. Exit code: -1
[12/17/2020 6:07:56 AM] Exiting ImportMxfFile(). FAILURE.
[12/17/2020 6:07:56 AM] [ERROR] Failed to import .mxf file. Exiting.
[12/17/2020 6:07:56 AM] [ INFO] MXF file was created on 12/17/2020 6:00:01 AM


User avatar
garyan2

Posts: 5922
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#3

Post by garyan2 » Fri Dec 18, 2020 1:09 am

Looks like your database is corrupted.

Open the client and click the [Rebuild WMC Database] button. After you import the MXF file, you'll be back in business. You will lose your recording history (not the recordings), but everything else should be good.
- Gary
Keeping WMC alive beyond January 2020. http://epg123.garyan2.net

SlantNGo

Posts: 5
Joined: Sat Jan 21, 2017 1:06 am
Location:

HTPC Specs: Show details

#4

Post by SlantNGo » Mon Dec 21, 2020 7:44 pm

That worked. Thanks so much!

Post Reply