INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: MC Freezes / Possibly Related To Using MC Automation?  (Read 2769 times)

TreeFrog77

  • Junior Woodchuck
  • **
  • Posts: 60
MC Freezes / Possibly Related To Using MC Automation?
« on: March 20, 2008, 10:39:09 am »

Hey guys... for some time now (since ~3xx), I've been experiencing MC freezes, sometimes quite frequently.  Sometimes I can leave MC open for days without a freeze and sometimes only for a matter of minutes.  If MC is currently playing, it will continue to play and the now playing portion of the interface will continue to function, however you cannot click anywhere else in the interface.  For the life of me, I cannot seem to nail down what is causing the freeze.

In an attempt to track it down, I turned on logging.  To my suprise, the log file will be over 200 MBs before even 24 hours of logging, which makes it very hard to follow.  In scanning through it, however, I notice it's the same thing over and over (with some other small inserts of other things here and there) and it appears that this has something to do with the SDK, which got me thinking.

I do call MC from another application (Homesser) through the automation inteface (VB.NET), but just very simple commands such as play/pause, next track, etc.  There are no call backs or anything complicated.  In trying to debug even further, I shut down Homeseer to make sure it wasn't calling MC, and also shut down MC.  Then I restarted just MC and immediately the log file started gowing crazy again.

I'm not sure if what MC is logging over and over has anything to do with my freezes, but it just seems strange to me.  For what it's worth, this machine is very clean... only used for my home automation and media sharing/playing.  No anti-virus installed.  At first, I thought it might be Orb that was causing this, but I shut it down days ago and the problem still exists.

Here is an exerpt from the log:

Code: [Select]
0026078: 2984: SDK: CMJPlaybackAutomation::CMJPlaybackAutomation: Global Count: 1
0026078: 2984: SDK: CMJPlaybackAutomation::OnFinalRelease: All objects released
0026078: 2984: SDK: CMJPlaybackAutomation::~CMJPlaybackAutomation: Global Count: 0
0026078: 2984: SDK: CMJCurPlaylistAutomation::CMJCurPlaylistAutomation: Global Count: 1
0026078: 2984: SDK: CMJCurPlaylistAutomation::OnFinalRelease: All objects released
0026078: 2984: SDK: CMJCurPlaylistAutomation::~CMJCurPlaylistAutomation: Global Count: 0
0026078: 2984: SDK: CMJPlaybackAutomation::CMJPlaybackAutomation: Global Count: 1
0026078: 2984: SDK: CMJPlaybackAutomation::OnFinalRelease: All objects released
0026078: 2984: SDK: CMJPlaybackAutomation::~CMJPlaybackAutomation: Global Count: 0
0026422: 2984: SDK: CMJPlaybackAutomation::CMJPlaybackAutomation: Global Count: 1
0026422: 2984: SDK: CMJPlaybackAutomation::OnFinalRelease: All objects released
0026422: 2984: SDK: CMJPlaybackAutomation::~CMJPlaybackAutomation: Global Count: 0
0026422: 2984: SDK: CMJCurPlaylistAutomation::CMJCurPlaylistAutomation: Global Count: 1
0026422: 2984: SDK: CMJCurPlaylistAutomation::OnFinalRelease: All objects released
0026422: 2984: SDK: CMJCurPlaylistAutomation::~CMJCurPlaylistAutomation: Global Count: 0
0026422: 2984: SDK: CMJPlaybackAutomation::CMJPlaybackAutomation: Global Count: 1
0026422: 2984: SDK: CMJPlaybackAutomation::OnFinalRelease: All objects released
0026422: 2984: SDK: CMJPlaybackAutomation::~CMJPlaybackAutomation: Global Count: 0
0026766: 2984: SDK: CMJPlaybackAutomation::CMJPlaybackAutomation: Global Count: 1
0026766: 2984: SDK: CMJPlaybackAutomation::OnFinalRelease: All objects released
0026766: 2984: SDK: CMJPlaybackAutomation::~CMJPlaybackAutomation: Global Count: 0
0026766: 2984: SDK: CMJCurPlaylistAutomation::CMJCurPlaylistAutomation: Global Count: 1
0026766: 2984: SDK: CMJCurPlaylistAutomation::OnFinalRelease: All objects released
0026766: 2984: SDK: CMJCurPlaylistAutomation::~CMJCurPlaylistAutomation: Global Count: 0
0026766: 2984: SDK: CMJPlaybackAutomation::CMJPlaybackAutomation: Global Count: 1
0026766: 2984: SDK: CMJPlaybackAutomation::OnFinalRelease: All objects released
0026766: 2984: SDK: CMJPlaybackAutomation::~CMJPlaybackAutomation: Global Count: 0

I'm really ready to pull my hair out with these freezes.  There are times where I can restart MC, click podcasts, play one podcast and it's frozen.  Nothing on this machine has changed (including my use of automation) other that updating the MC build periodically.

Anyone able to point me in a direction of figuring this out?

Thanks.

EDIT... thought I would post sys info as well:
Quote
Media Center 12.0.451 Registered -- C:\Program Files\J River\Media Center 12\

Microsoft Windows XP  Workstation 5.1 Service Pack 2 (Build 2600)
AMD Athlon 2081 MHz MMX / Memory: Total - 1506 MB, Free - 828 MB

Internet Explorer: 7.0.5730.11 / ComCtl32.dll: 5.82.2900 / Shlwapi.dll: 6.0.2900 / Shell32.dll: 6.0.2900 / wnaspi32.dll: N/A
Ripping /   Drive D:   Mode:Normal  Type:Auto  Speed:Max
  Drive E: SONY    CD-RW  CRX215E5   Mode:Normal  Type:Auto  Speed:Max
  Digital playback: Yes /  Use YADB: Yes /  Get cover art: No /  Calc replay gain: Yes /  Copy volume: 32767
  Eject after ripping: Yes /  Play sound after ripping: No 

Burning /  Drive E: SONY     CD-RW  CRX215E5    Addr: 2:1:0  Speed:48  MaxSpeed:48  BurnProof:Yes
  Test mode: No /  Eject after writing: No /  Direct decoding: Yes /  Write CD-Text: Yes
  Use playback settings: Yes /

Portable Device Info
  Removed devices:


Interface Plugins:
  last.fm (Active)
  Library Server (Active/Enabled)
  TiVo Server (Active)
  UPnP Server (Active)
Logged

TreeFrog77

  • Junior Woodchuck
  • **
  • Posts: 60
Re: MC Freezes / Possibly Related To Using MC Automation?
« Reply #1 on: April 16, 2008, 10:50:17 am »

Bump... I really need some advice here.

Can someone from JRiver at least tell me what these log entries mean?  They are causing it to be very difficult to troubleshoot this when the log grows so quickly so fast:

Code: [Select]
0056828: 2724: SDK: CMJPlaybackAutomation::CMJPlaybackAutomation: Global Count: 1
0056828: 2724: SDK: CMJPlaybackAutomation::OnFinalRelease: All objects released
0056828: 2724: SDK: CMJPlaybackAutomation::~CMJPlaybackAutomation: Global Count: 0
0056828: 2724: SDK: CMJCurPlaylistAutomation::CMJCurPlaylistAutomation: Global Count: 1
0056828: 2724: SDK: CMJCurPlaylistAutomation::OnFinalRelease: All objects released
0056828: 2724: SDK: CMJCurPlaylistAutomation::~CMJCurPlaylistAutomation: Global Count: 0
0056828: 2724: SDK: CMJPlaybackAutomation::CMJPlaybackAutomation: Global Count: 1
0056828: 2724: SDK: CMJPlaybackAutomation::OnFinalRelease: All objects released
0056828: 2724: SDK: CMJPlaybackAutomation::~CMJPlaybackAutomation: Global Count: 0
0057172: 2724: SDK: CMJPlaybackAutomation::CMJPlaybackAutomation: Global Count: 1
0057172: 2724: SDK: CMJPlaybackAutomation::OnFinalRelease: All objects released
0057172: 2724: SDK: CMJPlaybackAutomation::~CMJPlaybackAutomation: Global Count: 0
0057172: 2724: SDK: CMJCurPlaylistAutomation::CMJCurPlaylistAutomation: Global Count: 1
0057172: 2724: SDK: CMJCurPlaylistAutomation::OnFinalRelease: All objects released
0057172: 2724: SDK: CMJCurPlaylistAutomation::~CMJCurPlaylistAutomation: Global Count: 0
0057172: 2724: SDK: CMJPlaybackAutomation::CMJPlaybackAutomation: Global Count: 1
0057172: 2724: SDK: CMJPlaybackAutomation::OnFinalRelease: All objects released
0057172: 2724: SDK: CMJPlaybackAutomation::~CMJPlaybackAutomation: Global Count: 0
0057516: 2724: SDK: CMJPlaybackAutomation::CMJPlaybackAutomation: Global Count: 1
0057516: 2724: SDK: CMJPlaybackAutomation::OnFinalRelease: All objects released
0057516: 2724: SDK: CMJPlaybackAutomation::~CMJPlaybackAutomation: Global Count: 0
0057516: 2724: SDK: CMJCurPlaylistAutomation::CMJCurPlaylistAutomation: Global Count: 1
0057516: 2724: SDK: CMJCurPlaylistAutomation::OnFinalRelease: All objects released
0057516: 2724: SDK: CMJCurPlaylistAutomation::~CMJCurPlaylistAutomation: Global Count: 0
0057516: 2724: SDK: CMJPlaybackAutomation::CMJPlaybackAutomation: Global Count: 1
0057516: 2724: SDK: CMJPlaybackAutomation::OnFinalRelease: All objects released
0057516: 2724: SDK: CMJPlaybackAutomation::~CMJPlaybackAutomation: Global Count: 0

MC will just continue to put these in there over and over.

Please note that the freezes only seem to occur when I'm browsing through music fairly quickly.  Especially after I import a bunch of new tracks and need to tag them.  Many times I can't making it through tagging five tracks before a freeze, sometimes can't even play the one or two and it freezes.  Playing through playlists, however, it seems to never freeze.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72367
  • Where did I put my teeth?
Re: MC Freezes / Possibly Related To Using MC Automation?
« Reply #2 on: April 16, 2008, 11:14:30 am »

I do call MC from another application (Homesser) through the automation inteface (VB.NET), but just very simple commands such as play/pause, next track, etc.  There are no call backs or anything complicated.  In trying to debug even further, I shut down Homeseer to make sure it wasn't calling MC, and also shut down MC.  Then I restarted just MC and immediately the log file started gowing crazy again.
Maybe Homeseer wasn't completely out of the loop?  Uninstall, reboot?
Logged

mabes

  • Galactic Citizen
  • ****
  • Posts: 287
Re: MC Freezes / Possibly Related To Using MC Automation?
« Reply #3 on: August 01, 2008, 10:53:49 am »

I'm having similiar problems. Specifically, playing Radio and giving songs ratings. Nothing else and MC freezes a lot. Using about 80 MB of memory. Every time I change a tag I get the message "saving tag changes, stop playback to finish." It never finishes until the song is over and sometimes it doesn't and the progress bar, or whatever it's called, for the song stops but the song keeps playing. When it gets to the end it starts stuttering.

In another thread that I can't find now a virus program was mentioned as a possible cause, made sure Zone Alarm allows MC as player and server. In Spybot, unchecked mp3s so it would not scan them. I don't have any other firewall or virus program. I have AdAware, could that be a problem? Also turned off "Run Import in the Background." But if even if it worked that's not much of a solution, there is a reason you have that option.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72367
  • Where did I put my teeth?
Re: MC Freezes / Possibly Related To Using MC Automation?
« Reply #4 on: August 01, 2008, 12:05:07 pm »

Try the Weird Problems link in my signature.
Logged

mabes

  • Galactic Citizen
  • ****
  • Posts: 287
Re: MC Freezes / Possibly Related To Using MC Automation?
« Reply #5 on: August 01, 2008, 10:43:04 pm »

Good lord, that could take days. I did the obvious things, turned Zone Alarm off completely and Spybot, I don't have any 3rd party plugins running. Went into Task Manager and ended process for everything except System processes.

Right now MC is at 44 MB, CPU usage is at 10%, memory at about 30%, but it's still waiting for the songs to finish before the tag is saved

I don't think this ever happened until I got a Radeon card so I could see MC on my TV, but I've got the latest drivers for it.
Logged
Pages: [1]   Go Up