Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOException was unhandled #604

Closed
psouza4 opened this issue Jul 24, 2015 · 9 comments
Closed

IOException was unhandled #604

psouza4 opened this issue Jul 24, 2015 · 9 comments

Comments

@psouza4
Copy link
Owner

psouza4 commented Jul 24, 2015

Originally reported on Google Code with ID 604

What steps will reproduce the issue?
leave MCM fetching. no recent user activity

What is the expected output?  What do you see instead?


What is the exact version of the Media Center Master that you are using?
Make sure you include the build number (example: 1.24.21610.455).


Please provide any additional information below:


I'm receiving:
IOException was unhandled

The process cannot access the file 'C:\Users\Nathan\AppData\Roaming\Peter Souza IV\Media
Center Master\TVDownloads.csv' because it is being used by another process.

Errors.

Reported by nathan.velden on 2011-04-13 23:11:10

@psouza4
Copy link
Owner Author

psouza4 commented Jul 24, 2015

Version: 1.30
Build: 10311.648

I don't have downloading enabled.

This is showing in the "GCFinalizer" Thread.

Reported by nathan.velden on 2011-04-13 23:14:43

@psouza4
Copy link
Owner Author

psouza4 commented Jul 24, 2015

TVDownloads.csv is an internal database MCM uses to track all of your T.V. episodes
(regardless if you use downloading, though that was its original intent).

Do you have .NET 3.5 SP1 installed?  Does this issue continually happened or was it
a one-time issue?

Reported by psouza4 on 2011-04-13 23:16:59

  • Status changed: WaitingMoreInfo

@psouza4
Copy link
Owner Author

psouza4 commented Jul 24, 2015

Its happened again (i ignored it the first few times - it's happened now probably around
6-7 times):


System.IO.IOException was unhandled
  Message="The process cannot access the file 'C:\\Users\\Nathan\\AppData\\Roaming\\Peter
Souza IV\\Media Center Master\\TVDownloads.csv' because it is being used by another
process."
  Source="mscorlib"
  StackTrace:
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access,
Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options,
SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share)
       at �​.�()
       at �​.Finalize()
  InnerException: 


again, in the GC Finalizer Thread.


I *assume* i have .net 3.5 SP1. I definitely have 3.5, but to be honest i don't know
if it's SP1!!! Tt's version 3.5.7283.

I'm off to work now, i'll try upgrading it tonight, and see if it's resolved.

This has only been happening the last 2-3 days (ironically since multi-threading was
enabled).

Cheers for the quick response!

Reported by nathan.velden on 2011-04-13 23:57:26

@psouza4
Copy link
Owner Author

psouza4 commented Jul 24, 2015

wow... again!!!


Description:
  Stopped working

Problem signature:
  Problem Event Name:   CLR20r3
  Problem Signature 01: mediacentermaster.exe
  Problem Signature 02: 1.30.10311.648
  Problem Signature 03: 4da5d434
  Problem Signature 04: mscorlib
  Problem Signature 05: 2.0.0.0
  Problem Signature 06: 4a275af7
  Problem Signature 07: 344b
  Problem Signature 08: 21c
  Problem Signature 09: System.IO.IOException
  OS Version:   6.1.7600.2.0.0.256.1
  Locale ID:    3081

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement
offline:
  C:\Windows\system32\en-US\erofflps.txt



System.IO.IOException was unhandled
  Message="The process cannot access the file 'C:\\Users\\Nathan\\AppData\\Roaming\\Peter
Souza IV\\Media Center Master\\TVDownloads.csv' because it is being used by another
process."
  Source="mscorlib"
  StackTrace:
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access,
Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options,
SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share)
       at �​.�()
       at �​.Finalize()
  InnerException: 


mscorlib seems to be .net 2.0...

Reported by nathan.velden on 2011-04-14 00:04:12

@psouza4
Copy link
Owner Author

psouza4 commented Jul 24, 2015

Your Help -> Support Info will tell you if you have 3.5 SP1 or not.

I would make it a point to download and run Process Explorer and use the handle find
tool to find out what program is keeping that file locked.  I bet you it's security
software.

Reported by psouza4 on 2011-04-18 18:36:36

@psouza4
Copy link
Owner Author

psouza4 commented Jul 24, 2015

.NET framework information:
    Runtime loaded: 2.0.50727.4927
    Runtimes installed:
        2.0.50727.4927 SP2
        3.0.30729.4926 SP2
        3.5.30729.4926 SP1
        4.0.30319

yep, i've got it... but MCM seems to be using 2.0 SP2.

i don't have any security software installed, but i do have a feeling as a consequence
i've got a virus... can't see anything obvious, but i still think it's there...

i want to format this thing but can't for a few weeks (long story).

i've noticed it seems to happen far more times when i force a fetch (when auto scan
& episode auto scan is on). 

i can't seem to crash it at the moment - and i've got to head off to work - then leaving
for a holiday :) so won't be able to provide any more info until the easter weekend.

Cheers!

Reported by nathan.velden on 2011-04-18 23:42:35

@psouza4
Copy link
Owner Author

psouza4 commented Jul 24, 2015

I may have a fix for this -- changes waiting for next release.

Reported by psouza4 on 2011-06-02 14:08:34

  • Status changed: Fixed
  • Labels added: Priority-Critical, Usability

@psouza4
Copy link
Owner Author

psouza4 commented Jul 24, 2015

Issue 613 has been merged into this issue.

Reported by psouza4 on 2011-06-02 14:09:02

@psouza4
Copy link
Owner Author

psouza4 commented Jul 24, 2015

Released in version 1.30 build 15311.506.

Reported by psouza4 on 2011-06-02 14:48:28

  • Status changed: Fixed-Released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant