Results 1 to 6 of 6

Thread: PowerEvent

  1. #1
    Join Date
    Feb 2006
    Location
    Cambridgeshire, UK
    Posts
    85

    PowerEvent

    I sometimes get this error in the application logs (Windows XP) (mostly I get 'handled successfully') when the machine is going in and out of hibernation.

    Failed in handling the PowerEvent. The error that occurred was: System.Threading.ThreadStateException: Thread is running or terminated; it cannot restart.
    at System.Threading.Thread.StartupSetApartmentStateIn ternal()
    at System.Threading.Thread.Start()
    at BGowland.DVBTRadio.DvbtrService.OnPowerEvent(Power BroadcastStatus powerStatus) in C:\Documents and Settings\gbpvr\My Documents\Visual Studio 2005\Projects\DVB-T Radio\DvbtrService\DvbtrService.cs:line 336
    at System.ServiceProcess.ServiceBase.DeferredPowerEve nt(Int32 eventType, IntPtr eventData).

    does anyone know what it means?

  2. #2
    Join Date
    Dec 2004
    Location
    West Yorkshire, UK
    Posts
    4,543
    If you zip and attach the DvbtrService.log I'll take a look.

    Cheers,
    Brian

  3. #3
    Join Date
    Feb 2006
    Location
    Cambridgeshire, UK
    Posts
    85

    log files

    ...clips of all logs from 19th and 20th. As you can see, DVBT radio gave me some PVRX2 hang ups on the 19th and I stopped the service on the 20th when I updated GBPVR to latest version. The machine normally goes in and out of hibernation all day for recording and playback.

  4. #4
    Join Date
    Dec 2004
    Location
    West Yorkshire, UK
    Posts
    4,543
    OK, thanks. I think I've worked out the problem. I'll be uploading a new version in the near-ish future and it should hopefully be fixed in that.

    Cheers,
    Brian

  5. #5
    Join Date
    Jan 2005
    Location
    London
    Posts
    3,261
    Hi Brian

    Did you have any luck nailing this problem?

    I get this error in my event log and I have a small suspicion that the dvb-t service is stopping my pc from hibernating.
    “If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”

  6. #6
    Join Date
    Dec 2004
    Location
    West Yorkshire, UK
    Posts
    4,543
    Urrrm - not sure.

    The dvb radio project got de-railed for various reasons and I'm trying to get back on track.

    I know I fixed it to stop the error message but I can't remember if I cured the problem that might prevent hibernate.

    I know I've been saying I'll upload a new version 'soon' for the past few months but this time I will (honest) hopefully this weekend. I'm just about to review the code to remind me where I've got to.

    Cheers,
    Brian

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •