Playing cause a computer freeze

Hi
I wrote a player application in C# and DirectShowlib-2005, after a while in mid of playing application completely cause freeze in windows and i had to restart windows. I changed my Ram and graphic card but it still sometime happen.
has anyone else experienced freeze-ups like this and if so what have you done the resolve the problem


Thanks



Answer this question

Playing cause a computer freeze

  • Keehan

    No, I am using a graphmanager with standard directshow filter.


  • CharlotteV

    Sometimes an apparent freeze can just be a run away thread. This only happens on single core non-hyperthreaded systems when a real-time thread uses 100% of the CPU.

    If the above is the case on your system it can make it difficult to debug without first lowering the application priority. Of course it's always nice to have hyperthreading or a dual core/processor system as it generally prevents this case from happening. And yes I have seen ATI capture cards (and others) lock systems hard due to hardware incompatibilities.



  • Sarwanan

    Hi
    I found my problem, my problem was in a doual graphic card had in one main board. i just remove one of this graphic card and my problem solve.

    Thanks for your help.
    Cheeeers


  • Magannahan Skjellifetti

    Interesting. Are you using any type of callbacks (like samplegrabber)
  • GazCoder

    Hi
    anyway thanks alot i strart to test my application and during this test i decide to change my graphic card, harddrive, and ..... . I will descibe it after the test.

    many thanks for your attention;)


  • Devin

    I should probably also add that it should be impossible for a program to freeze the computer. Something like that usually takes a bad driver. Video maybe
  • Craig G

    Hmm. Wonder what would happen if you did a couple of GC.Collect() calls. I'm thinking something is getting released by the GC that shouldn't be. You hanging on to a copy of the FilterGraph
  • Playing cause a computer freeze