Threads, clean up after closing application

Thanks in advance
OS: SUSE 8.2
IDE: netBeans 3.5
Beginner in Java
Hi I am creating Java Swing application and using threads to control certain areas of the program i.e. heartbeat thread being sent from a client to server . The problems is that when I close the client, I find that the heartbeat thread is still alive and clogging up my PC. I thought when you closed the application that the jvm would clean up and remove all associated threads of that particular client application. If any one could shed some light on this subject it would be appreciated.
gjfrasers.

When a Java Virtual Machine starts up, there is usually a single non-daemon thread (which typically calls the method named main of some designated class). The Java Virtual Machine continues to execute threads until either of the following occurs:
-The exit method of class Runtime has been called and the security manager has permitted the exit operation to take place.
- All threads that are not daemon threads have died, either by returning from the call to the run method or by throwing an exception that propagates beyond the run method.
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Thread.html
good luck!

Similar Messages

  • After closing application spaces transition to random app in random space

    Hi,
    I have spaces enabled with 8 spaces windows. After I close an application or a window spaces jumps to some random space to focus some other app. This is pretty jolting and I don't want it to do this. Is there anyway to stop that? I would be happy if I can just get it to focus finder whenever I close an app. As long as the spaces to jump all over the place.
    Thanks,

    It still does this. Nobody else notices this?

  • Cannot Open Form Created on Separate Thread After Closing

    My application communicates with a device that has several sensors.  As the sensors collect data, they send messages over the com port.  I have written a class to communicate with the device.  As the messages come in and are processed, the
    class raises events that the application responds to.
    The main window of the application handles the communication with the device and displays several statistics based on the data collected.  When the user presses a button on the device, a specific event is raised.  The main window create a separate
    thread and opens a child window.  When the child window is open, the user opens a valve to dispense the product.  As the product is dispensed, a flow meter connected to the device measures the volume of product dispensed.  The flow meter generates
    messages to indicate the volume dispensed.  I need to be able to send messages from the main window to the child window so that the child window displays the volume.  When the user is done, they close the valve dispensing the product and press the
    "End" button on the child window.  The child window then updates several variables on the main window, makes a couple of database calls to record how much product was dispensed and by whom and then closes.
    I need to run the child window using a separate thread as both windows need to be able to process commands.  If only one window has control the program doesn't work at all.  I have it figured out so that everything is working.  I can open
    the child window, dispense product, se the amount of product dispensed in the child window (the main window processes commands from the device and updates the label on the child window using a delegate), closes the window (using Me.Close()) and updates the
    main display with the updated data.  The problem is that when a user goes to dispense product a second time, I get the following error:
      A first chance exception of type 'System.ObjectDisposedException' occurred in System.Windows.Forms.dll
      Additional information: Cannot access a disposed object.
    I thought that maybe I could hide the window (change Me.Close() to Me.Hide) and then just show it.  When I do that I get this error:
      A first chance exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll
      Additional information: Cross-thread operation not valid: Control 'frmPour' accessed from a thread other than the thread it was created on.
    Both of these errors make sense to me, I just can't figure out how to make it work.
    First I have to declare the child window as a global variable as I need to access the window from a couple of the event handlers in the main form.
    Public frmMeasure As New frmPour
    When the user presses the button on the device to dispense the product, the event handler executes this code to open the child window.
    Private Sub StartPour(sAuthName As String, sAuthToken As String, iStatus As Integer) Handles Device.Pour
    Dim th As System.Threading.Thread = New Threading.Thread(AddressOf Me.OpenDispenseWindow)
    th.SetApartmentState(ApartmentState.STA)
    th.Start()
    End If
    End Sub
    Which executes this code:
    Public Sub OpenDispenseWindow()
    frmMeasure.sNameProperty = sCurrentUserName
    frmMeasure.sAuthTokenIDProperty = sUserToken
    Application.Run(frmMeasure)
    bAuthenticated = False
    bPouring = False
    dSessionVolume += GetTapConversion(sCurrentValve) * iFinalTick
    UpdateDisplayDelegate(iValveID)
    End Sub
    It doesn't matter if I use Me.Close() or Me.Hide(), both methods fail on the Application.Run(frmMeasure) line with the errors shown above. 
    For the Me.Close() method, my thinking is that the global frmMeasure object is getting disposed when I close the child window.  Is there any way that I can re-instantiate it when I go to display the window again?
    For the Me.Hide method, is there any way that I can track the thread that created it in the main window and when I go to call it a second time, detect that it is already available and just Show() it?
    Any hints, tips or suggestions are appreciated.
    Thanks.
    John
    John

    To be honest, I have only grasped < 100% of your message in detail, but...: Windows that have a parent<->child relation must be running in the same thread. In addition, after closing a modeless window, you must not use it anymore. Instead, create
    a new instance.
    What happens if you do not create a new thread but instead open the child in the same thread (which is obligatory)? You wrote it doesn't work, but I don't know why?
    "First I have to declare the child window as a global variable".
    How do you define "global"? Normally this is a variable in a Module declared with the scope Public or Friend. But I guess you mean a field of the Form (a variable at class level in the Form).
    "I need to be able to send messages from the main window to the child window so that the child window displays the volume."
    Why does the main window has to send the messages? Can't the child window handle the device's messages itself?
    "I need to run the child window using a separate thread as both windows need to be able to process commands."
    Process commands from the device, or commands from the user operating the Forms?
    Armin

  • Application crash on showing alert message after closing document in CS5

    My application crashes when I show alert message after  standard close using IDocFileHandler's close method i.e
    Close( doc, uiFlags, allowCancel, cmdMode );
    Before calling this method there is no crash on showing alert messages.
    i.e just one line before Close() method is called I am able to show alert message. And just one line after close method call , after showing alert message when I  click on OK button of alert message  my application crashes.
    I tried to use errorcode but returned value was fine i.e no error.(Checked GlobalErrorCode and GlobalErrorString before and after close).
    I also tried CanClose method to check but it worked fine.
    I also used IDocumentCommand methods but application crashed without showing  alert message.

    I used PMSetGlobalErrorCode(kCancel) after closing document and it worked.

  • Terminating threads cleanly after a period of time

    Hey,
    Im working on an assignment
    "Consider the CarPark control problem from the lecture notes?(available online).
    You are required to extend this example to model a car park having 400 spaces
    and 3 entrances and 3 exits. This means 3 threads must be created to simulate
    the arrival of cars at each entrance and a further 3 threads must be created to
    simulate the departure of cars at each exit. Each thread should sleep for a period
    of roughly 0.5s between each attempt to perform an arrival or a departure. The
    program should terminate all threads (cleanly) after 180s and the current number
    of spaces in the car park should be printed out, and the total number of cars that
    have entered and left by each entrance and exit should also be printed out. The
    aim of this is a rough check to determine if your code is correct."
    So I have everything done and working but I am having difficulty with terminating the threads, it seems that thread.stop() doesnt work, and I think that thread.interrupt() should do it but Im not sure how?!
    Any thoughts would be greatly appreciated
    Thanks

    According to the API the correct way to do it now is setting the thread to null.
    If you set your threads up correctly they will complete their processing and you can set them to null without interrupting them.
    for instance.
    in the run() method have a boolean value as an on/off switch.
    while(on)
    ... do stuff
    }It will continually run until on is set to false. It runs itself out and you can set the thread object to null and garbage collection handles the rest.

  • App switcher not responding after closing an application

    I'm running OS X 10.9.4 on my late 2012 MacBook Pro Retina and I am experiencing an odd issue where the App Switcher is not responding right after closing an application. It seems that some applications cause this issue more than others. For example: when I closed Numbers and then attempted to go to another application using the App Switcher, the App Switcher did not respond to my respond to my requests for at least 10 seconds. It's as if there is a library that is getting locked by the closing application that prevents the App Switcher from being launched.
    Has anyone else experienced this issue? If so, is there a resolution to it?
    Thanks for the assistance.
    Chris

    You will need to build the application through the project explorer, set the the .rtexe to 'Run as startup', and then deploy it.
    'How Do I Deploy a Startup Executable to my Real-Time Controller?'
    http://digital.ni.com/public.nsf/allkb/B37FA04A1CB84B6C862571A30060EF03
    If that is still not working, you may want to consider:
    1. Checking to make sure that you can establish a connection between your project and the myRIO. Right-click on your myRIO target in the project and select 'Connect'
    2. Verifying that you can run your code interactively (i.e. run your RT code directly from the host computer)
    3. Writing a very simple myRIO application that toggles a user LED. This will allow you to visually see whether or not the application is running.
    'NI Community: Toggle User LED on cRIO Target'
    https://decibel.ni.com/content/docs/DOC-29852
    ~ Q ~
     

  • How to Direct control to application's window after closing the popup?

    Hi,
    I am using 10.1.3. In my application I am unable to direct control to application's window after closing the popup, if I open any other window at the same time.
    For more info see the below step:-
    -> Open any popup in my application.
    -> Open any new window (lets say Google.com).
    -> Now restore popup on Google window.
    -> Now close popup
              - control goes to Google window but not the parent application window.
    How to direct control to the parent window?
    Can anybody help me regarding this?
    Thanx...Abhijit

    Hi Abhijit,
    You can do this using Javascript alone. Below are the two sample files I created.
    main.html_
    <html>
    <head>
      <title>Testing popup</title>
      <script type="text/javascript">
      function openPopup() {
        window.open("popup.html");
      </script>
    </head>
    <body>
      <a hr_ef="javascript:openPopup()">Open popup</a>
      <input id="something" name="something" type="text" value="something">
    </body>
    </html>
    Note: hr_ef should be href. The code tags are messing with the link.
    popup.html_
    <html>
    <head>
      <title>This is the popup window</title>
      <script type="text/javascript">
      function goToMain() {
        window.opener.something.focus();
      </script>
    </head>
    <body onunload="goToMain()">
      This is the popup window. Close this window to return to main window.
    </body>
    </html>The idea is to call a javascript function in the popup window that tries to focus on an object (eg. InputText) in the main html.
    Although, one point to take note is the naming of html objects by by these ADF UI Components. If you named your form id as "*form1*" and input text id as "*something*", your input text id will end up as "*form1:something*".
    Therefore, you will have to tweak the code above to the following:
    <script type="text/javascript">
    function goToMain() {
      window.opener.form1['form1:something'].focus();
    </script>Regards,
    Chan Kelwin

  • Certain applications re-open at login even after closing them

    Hi there esteemed support-forum users! Hopefully someone might be able to help me out with this before I resort to the Genius Bar.
    I'm running Lion on my new MBP (13" 2.7GHz i7 4GB, not that I think it matters) and have been impressed with the GUI improvements overall, and most of the features it offers. However, there are a couple of small niggles which are gradually escalating into annoyances.
    The first of which, is that on login I'm greeted with VLC, iTunes, and Safari all auto-running. I assumed this was due to Lion's 'reopen windows' feature, since none of them are in the 'login items' list on sysprefs. However, on restarting with the check-box for reopening windows turned off, they still appear. This regardless of whether I manually quit the applications first.
    Also, after these applications open there's a 30 second or so pause, before a Finder window opens up directed at a random folder inside the package contents of the Steam application. Similarly to the applications, this window appears even if I manually close it, turn off 'reopen windows', and restart.
    Any help greatly appreciated. Bit disappointed that there are problems this obvious with Lion (can't really use the "it's a brand new OS" excuse anymore).
    Cheers!

    Hi there,
    Thanks for the help. It didn't fix it: but I have since worked out what the problem was.
    As well as the login issues, Finder was consistently forgetting that I had changed my desktop background to something other than the Lion-galaxy. I had thought this was a different issue: but then I noticed that between logins it had also forgotten my Finder-side-bar rearrangement and some Firewall changes.
    I guessed such changes would be stored in the user library, and I had been having some problems with permissions previously. So I un-hid the User->Library folder and ran 'ACL Repair' on it. Sure enough everything now works smoothly. I hope!

  • Why do I have time machine disk problem after closing and later reopening clamshell.

    I consistently see the following after closing and later reopening my Macbook Pro (5,1). I have to unplug and replug my Time Machine USB drive.
    The only thing new is Mountain Lion. The Time Machine disk has 229 GB free of 1.5 TB. I never had to unplug this drive under Lion.
    Does anyone have any idea what is going on? I ran disc repair on Time Machine Drive yesterday, but it found nothing.
    Here is what I see:
    (Window 1)The disk was not properly ejected. if possiblem always eject .....
    (Window 2)The disk you inserted was not readable by this computer.
    Following is console copy/paste starting long before. Today's incident is at 8:00 am Sun Aug 26, 2012.
    8/24/12 3:04:40.341 PM WindowServer[157]: CGXMoveWindowListToWorkspace: Invalid workspace id: -1
    8/24/12 3:04:52.678 PM WindowServer[157]: CGXMoveWindowListToWorkspace: Invalid workspace id: -1
    8/24/12 3:04:57.881 PM prl_client_app[330]: customWindowsToExitFullScreenForWindowIMP called for window <QCocoaWindow: 0x113946150>
    8/24/12 3:04:57.946 PM prl_client_app[330]: Window will exit full screen!
    8/24/12 3:04:58.037 PM prl_client_app[330]: windowDidFailToExitFullScreenIMP called for window <QCocoaWindow: 0x113946150>
    8/24/12 3:04:59.371 PM WindowServer[157]: CGXMoveWindowListToWorkspace: Invalid workspace id: -1
    8/24/12 3:04:59.707 PM WinAppHelper[7346]: NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be 'Editor', 'Viewer', 'None', or 'Shell'.
    8/24/12 3:05:10.991 PM mdworker[7348]: code validation failed in the process of getting signing information; codeRef: 0x7f8b92810bc0
    8/24/12 3:05:10.991 PM mdworker[7348]: code validation failed in the process of getting signing information; codeRef: 0x7f8b92810bc0
    8/24/12 3:05:11.509 PM Neat[4403]: Info: -[NRMSyncToolBarItem showSyncInactiveIcon] : Updating Sync Icon to InActive
    8/24/12 3:05:13.000 PM kernel[0]: nspace-handler-set-snapshot-time: 1345835115
    8/24/12 3:05:19.857 PM Neat[4403]: ApplicationShutdown:  :
    8/24/12 3:05:27.872 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 3:06:07.746 PM lsboxd[422]: @AE relay 4755524c:4755524c
    8/24/12 3:06:08.062 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 3:06:57.819 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 3:08:15.168 PM assistantd[7337]: <Error>: AceConnection - NSStreamEventErrorOccurred <__NSCFInputStream: 0x7fade0c50b10>, error = Error Domain=NSPOSIXErrorDomain Code=54 "The operation couldn’t be completed. Connection reset by peer", domain = NSPOSIXErrorDomain, code = 54
    8/24/12 3:08:15.180 PM assistantd[7337]: <Error>: Session - Connection error: <ADAceConnection: 0x7fade0c462b0> Error Domain=NSPOSIXErrorDomain Code=54 "The operation couldn’t be completed. Connection reset by peer"
    8/24/12 3:08:15.192 PM assistantd[7337]: <Error>: Daemon - Session Error Error Domain=NSPOSIXErrorDomain Code=54 "The operation couldn’t be completed. Connection reset by peer"
    8/24/12 3:08:27.999 PM lsboxd[422]: @AE relay 4755524c:4755524c
    8/24/12 3:08:28.320 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 3:11:45.686 PM WindowServer[157]: CGXSetWindowBackgroundBlurRadius: Invalid window 0xffffffff
    8/24/12 3:11:45.687 PM loginwindow[43]: find_shared_window: WID -1
    8/24/12 3:11:45.687 PM loginwindow[43]: CGSGetWindowTags: Invalid window 0xffffffff
    8/24/12 3:11:45.687 PM loginwindow[43]: find_shared_window: WID -1
    8/24/12 3:11:45.687 PM loginwindow[43]: CGSSetWindowTags: Invalid window 0xffffffff
    8/24/12 3:11:46.411 PM WindowServer[157]: Created shield window 0xd42 for display 0x04272100
    8/24/12 3:11:46.411 PM WindowServer[157]: device_generate_desktop_screenshot: authw 0x7ff1dbb1e9a0(2000), shield 0x7ff1dbb305b0(2001)
    8/24/12 3:11:47.449 PM WindowServer[157]: device_generate_lock_screen_screenshot: authw 0x7ff1dbb1e9a0(2000), shield 0x7ff1dbb305b0(2001)
    8/24/12 3:11:48.023 PM com.apple.time[11]: Next maintenance wake [Backup Interval]: <date: 0x7fdbb1620890> Fri Aug 24 15:22:39 2012 EDT (approx)
    8/24/12 3:11:48.024 PM com.apple.time[11]: Requesting maintenance wake [Backup Interval]: <date: 0x7fdbb1620890> Fri Aug 24 15:22:39 2012 EDT (approx)
    8/24/12 3:11:48.000 PM kernel[0]: /drv/ MacDevice.cpp:598   com_parallels_hypervisor_client::powerDownHandler: message e0000280
    8/24/12 3:11:48.000 PM kernel[0]: hibernate image path: /var/vm/sleepimage
    8/24/12 3:11:48.000 PM kernel[0]: sizeof(IOHibernateImageHeader) == 512
    8/24/12 3:11:48.000 PM kernel[0]: AirPort_Brcm43xx::powerChange: System Sleep
    8/24/12 3:11:48.000 PM kernel[0]: kern_open_file_for_direct_io(0) took 54 ms
    8/24/12 3:11:48.000 PM kernel[0]: Opened file /var/vm/sleepimage, size 8589934592, partition base 0x0, maxio 400000 ssd 0
    8/24/12 3:11:48.000 PM kernel[0]: hibernate image major 1, minor 0, blocksize 512, pollers 4
    8/24/12 3:11:48.000 PM kernel[0]: hibernate_alloc_pages flags 00000000, gobbling 0 pages
    8/24/12 3:11:48.000 PM kernel[0]: hibernate_setup(0) took 0 ms
    8/24/12 3:11:48.000 PM kernel[0]: /drv/ MacModule.cpp:304   powerStateWillChangeTo: flags=4 stateNumber=2
    8/24/12 3:11:48.000 PM kernel[0]: /drv/ MacModule.cpp:309   powerStateWillChangeTo: found flag=kIOPMSleepCapability (4)
    8/24/12 3:11:48.000 PM kernel[0]: 00000000  00000020  NVEthernet::setLinkStatus - not Active
    8/24/12 3:11:48.000 PM kernel[0]: /drv/ MacModule.cpp:304   powerStateDidChangeTo: flags=4 stateNumber=2
    8/24/12 3:11:48.000 PM kernel[0]: /drv/ MacModule.cpp:309   powerStateDidChangeTo: found flag=kIOPMSleepCapability (4)
    8/24/12 3:11:48.000 PM kernel[0]: hibernate_page_list_setall start 0xffffff80e35d1000, 0xffffff80e3610000
    8/24/12 3:12:21.000 PM kernel[0]: hibernate_page_list_setall time: 656 ms
    8/24/12 3:12:21.000 PM kernel[0]: pages 1840162, wire 489775, act 447054, inact 1711, cleaned 0 spec 26, zf 58500, throt 0, could discard act 262891 inact 476243 purgeable 23095 spec 58321 cleaned 22546
    8/24/12 3:12:21.000 PM kernel[0]: hibernate_page_list_setall found pageCount 997066
    8/24/12 3:12:21.000 PM kernel[0]: IOHibernatePollerOpen, ml_get_interrupts_enabled 0
    8/24/12 3:12:21.000 PM kernel[0]: IOHibernatePollerOpen(0)
    8/24/12 3:12:21.000 PM kernel[0]: encryptStart 132b0
    8/24/12 3:12:21.000 PM kernel[0]: writing 994117 pages
    8/24/12 3:12:21.000 PM kernel[0]: encryptEnd 28bb9600
    8/24/12 3:12:21.000 PM kernel[0]: image1Size 0x31f56600, encryptStart1 0x132b0, End1 0x28bb9600
    8/24/12 3:12:21.000 PM kernel[0]: encryptStart 31f56600
    8/24/12 3:12:21.000 PM kernel[0]: encryptEnd 6647b000
    8/24/12 3:12:21.000 PM kernel[0]: PMStats: Hibernate write took 31645 ms
    8/24/12 3:12:21.000 PM kernel[0]: all time: 31645 ms, comp bytes: 4072198144 time: 5166 ms 751 Mb/s, crypt bytes: 1561111888 time: 10064 ms 147 Mb/s,
    8/24/12 3:12:21.000 PM kernel[0]: image 1715974144, uncompressed 4072198144 (994189), compressed 1701090640 (41%), sum1 5919b4ee, sum2 60c7a072
    8/24/12 3:12:21.000 PM kernel[0]: wired_pages_encrypted 389582, wired_pages_clear 97316, dirty_pages_encrypted 507291
    8/24/12 3:12:21.000 PM kernel[0]: hibernate_write_image done(0)
    8/24/12 3:12:21.000 PM kernel[0]: sleep
    8/24/12 3:50:20.616 PM WindowServer[157]: handle_will_sleep_auth_and_shield_windows: releasing authw 0x7ff1dbb1e9a0(2004), shield 0x7ff1dbb305b0(2001), lock state 3
    8/24/12 3:50:20.616 PM WindowServer[157]: handle_will_sleep_auth_and_shield_windows: err 0x0
    8/24/12 3:50:20.000 PM kernel[0]: Wake reason: EC LID0
    8/24/12 3:50:20.000 PM kernel[0]: AirPort_Brcm43xx::powerChange: System Wake - Full Wake/ Dark Wake / Maintenance wake
    8/24/12 3:50:20.000 PM kernel[0]: /drv/ MacModule.cpp:304   powerStateWillChangeTo: flags=2 stateNumber=3
    8/24/12 3:50:20.000 PM kernel[0]: /drv/ MacModule.cpp:305   powerStateWillChangeTo: found flag=kIOPMPowerOn (2)
    8/24/12 3:50:20.000 PM kernel[0]: /drv/ MacDevice.cpp:598   com_parallels_hypervisor_client::powerDownHandler: message e0000320
    8/24/12 3:50:20.000 PM kernel[0]: HID tickle 118 ms
    8/24/12 3:50:20.000 PM kernel[0]: /drv/ MacModule.cpp:304   powerStateDidChangeTo: flags=2 stateNumber=3
    8/24/12 3:50:20.000 PM kernel[0]: /drv/ MacModule.cpp:305   powerStateDidChangeTo: found flag=kIOPMPowerOn (2)
    8/24/12 3:50:20.000 PM kernel[0]: Previous Sleep Cause: 5
    8/24/12 3:50:20.000 PM kernel[0]: wlEvent: en1 en1 Link DOWN virtIf = 0
    8/24/12 3:50:20.000 PM kernel[0]: AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving).
    8/24/12 3:50:20.000 PM kernel[0]: en1::IO80211Interface::postMessage bssid changed
    8/24/12 3:50:20.000 PM kernel[0]: en1: 802.11d country code set to 'X0'.
    8/24/12 3:50:20.000 PM kernel[0]: en1: Supported channels 1 2 3 4 5 6 7 8 9 10 11 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140 149 153 157 161 165
    8/24/12 3:50:20.000 PM kernel[0]: 00000000  00000020  NVEthernet::setLinkStatus - not Active
    8/24/12 3:50:22.844 PM prl_naptd[230]: Reloading configuration...
    8/24/12 3:50:22.000 PM kernel[0]: /drv/ MacDevice.cpp:598   com_parallels_hypervisor_client::powerDownHandler: message e0000300
    8/24/12 3:50:22.952 PM prl_naptd[230]: vnic0: DHCP/NAT for 10.211.55.1-10.211.55.254 netmask 255.255.255.0
    8/24/12 3:50:22.967 PM prl_naptd[230]: vnic1: DHCP for 10.37.129.1-10.37.129.254 netmask 255.255.255.0
    8/24/12 3:50:23.000 PM kernel[0]: en1: 802.11d country code set to 'US'.
    8/24/12 3:50:23.000 PM kernel[0]: en1: Supported channels 1 2 3 4 5 6 7 8 9 10 11 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140 149 153 157 161 165
    8/24/12 3:50:23.532 PM configd[16]: network changed: v4(en1-:192.168.0.180) DNS- Proxy- SMB
    8/24/12 3:50:23.000 PM kernel[0]: MacAuthEvent en1   Auth result for: 00:22:b0:b7:1a:9f  MAC AUTH succeeded
    8/24/12 3:50:23.000 PM kernel[0]: wlEvent: en1 en1 Link UP virtIf = 0
    8/24/12 3:50:23.000 PM kernel[0]: AirPort: Link Up on en1
    8/24/12 3:50:23.000 PM kernel[0]: en1: BSSID changed to 00:22:b0:b7:1a:9f
    8/24/12 3:50:23.000 PM kernel[0]: en1::IO80211Interface::postMessage bssid changed
    8/24/12 3:50:23.000 PM kernel[0]: AirPort: RSN handshake complete on en1
    8/24/12 3:50:23.934 PM configd[16]: network changed: v4(en1+:192.168.0.180) DNS+ Proxy+ SMB
    8/24/12 3:50:23.967 PM UserEventAgent[11]: Captive: en1: Not probing 'grnn5' (protected network)
    8/24/12 3:50:23.997 PM configd[16]: network changed: v4(en1!:192.168.0.180) DNS Proxy SMB
    8/24/12 3:50:25.169 PM airportd[7372]: _doAutoJoin: Already associated to “grnn5”. Bailing on auto-join.
    8/24/12 3:50:25.280 PM airportd[7372]: _doAutoJoin: Already associated to “grnn5”. Bailing on auto-join.
    8/24/12 3:50:26.069 PM mDNSResponderHelper[7376]: do_mDNSInterfaceAdvtIoctl: ioctl call SIOCGIFINFO_IN6 failed - error (22) Invalid argument
    8/24/12 3:50:26.070 PM mDNSResponderHelper[7376]: do_mDNSInterfaceAdvtIoctl: ioctl call SIOCGIFINFO_IN6 failed - error (22) Invalid argument
    8/24/12 3:50:59.545 PM SyncServer[7385]: [0x7fb8bac0bdb0] |DataManager|Warning| Client com.apple.Mail sync alert tool path /System/Library/Frameworks/Message.framework/Resources/MailSync does not exist.
    8/24/12 3:51:01.381 PM iCalExternalSync[7383]: [0x7fa1ea40e480] |Miscellaneous|Error| SyncServices precondition failure in [ISyncConcreteSession pushChangesFromRecord:withIdentifier:]: you can't change the record's entity name from com.apple.calendars.DisplayAlarm to com.apple.calendars.AudioAlarm in {
        "com.apple.ical.sound" = Basso;
        "com.apple.syncservices.KeepAwayFromServers" = 1;
        "com.apple.syncservices.RecordEntityName" = "com.apple.calendars.AudioAlarm";
        owner =     (
            "Event/p954"
        sound = Basso;
        triggerduration = "-480";
    8/24/12 3:51:01.382 PM iCalExternalSync[7383]: [ICalExternalSync ]Encountered exception: [ISyncConcreteSession pushChangesFromRecord:withIdentifier:]: you can't change the record's entity name from com.apple.calendars.DisplayAlarm to com.apple.calendars.AudioAlarm in {
        "com.apple.ical.sound" = Basso;
        "com.apple.syncservices.KeepAwayFromServers" = 1;
        "com.apple.syncservices.RecordEntityName" = "com.apple.calendars.AudioAlarm";
        owner =     (
            "Event/p954"
        sound = Basso;
        triggerduration = "-480";
    } withStack: (
              0   iCalExternalSync                    0x0000000106549a60 iCalExternalSync + 125536
              1   iCalExternalSync                    0x0000000106538ac9 iCalExternalSync + 56009
              2   iCalExternalSync                    0x0000000106548694 iCalExternalSync + 120468
              3   libdyld.dylib                       0x00007fff97a6d7e1 start + 0
              4   ???                                 0x0000000000000007 0x0 + 7
    8/24/12 3:51:01.383 PM iCalExternalSync[7383]: [ICalExternalSync ]NSException name:ISyncInvalidArgumentsException reason:[ISyncConcreteSession pushChangesFromRecord:withIdentifier:]: you can't change the record's entity name from com.apple.calendars.DisplayAlarm to com.apple.calendars.AudioAlarm in {
        "com.apple.ical.sound" = Basso;
        "com.apple.syncservices.KeepAwayFromServers" = 1;
        "com.apple.syncservices.RecordEntityName" = "com.apple.calendars.AudioAlarm";
        owner =     (
            "Event/p954"
        sound = Basso;
        triggerduration = "-480";
    8/24/12 3:51:01.385 PM SyncServer[7385]: [0x7fb8bac0bdb0] |Server|Warning| lost connection 0x7fb8bac86420 to com.apple.iCal
    8/24/12 3:51:16.977 PM com.apple.backupd-helper[7381]: Not starting Time Machine backup after wake - failed to resolve alias to backup volume.
    8/24/12 3:51:25.855 PM DashboardClient[4190]: com.weather.widget.Forecast: updating...
    8/24/12 3:52:00.000 PM kernel[0]: IOSCSIPeripheralDeviceType00::setPowerState(0xffffff802d6e2200, 1 -> 4) timed out after 100473 ms
    8/24/12 3:53:26.425 PM CalendarAgent[383]: Property list invalid for format: 100 (property lists cannot contain objects of type 'CFSet')
    8/24/12 3:53:30.815 PM com.apple.backupd-helper[7390]: Not starting scheduled Time Machine backup - time machine destination not resolvable.
    8/24/12 3:53:57.577 PM SyncServer[7401]: [0x7ff98a40bdb0] |DataManager|Warning| Client com.apple.Mail sync alert tool path /System/Library/Frameworks/Message.framework/Resources/MailSync does not exist.
    8/24/12 3:53:59.312 PM iCalExternalSync[7400]: [0x7fde9240e480] |Miscellaneous|Error| SyncServices precondition failure in [ISyncConcreteSession pushChangesFromRecord:withIdentifier:]: you can't change the record's entity name from com.apple.calendars.DisplayAlarm to com.apple.calendars.AudioAlarm in {
        "com.apple.ical.sound" = Basso;
        "com.apple.syncservices.KeepAwayFromServers" = 1;
        "com.apple.syncservices.RecordEntityName" = "com.apple.calendars.AudioAlarm";
        owner =     (
            "Event/p954"
        sound = Basso;
        triggerduration = "-480";
    8/24/12 3:53:59.312 PM iCalExternalSync[7400]: [ICalExternalSync ]Encountered exception: [ISyncConcreteSession pushChangesFromRecord:withIdentifier:]: you can't change the record's entity name from com.apple.calendars.DisplayAlarm to com.apple.calendars.AudioAlarm in {
        "com.apple.ical.sound" = Basso;
        "com.apple.syncservices.KeepAwayFromServers" = 1;
        "com.apple.syncservices.RecordEntityName" = "com.apple.calendars.AudioAlarm";
        owner =     (
            "Event/p954"
        sound = Basso;
        triggerduration = "-480";
    } withStack: (
              0   iCalExternalSync                    0x00000001032afa60 iCalExternalSync + 125536
              1   iCalExternalSync                    0x000000010329eac9 iCalExternalSync + 56009
              2   iCalExternalSync                    0x00000001032ae694 iCalExternalSync + 120468
              3   libdyld.dylib                       0x00007fff97a6d7e1 start + 0
              4   ???                                 0x0000000000000007 0x0 + 7
    8/24/12 3:53:59.313 PM iCalExternalSync[7400]: [ICalExternalSync ]NSException name:ISyncInvalidArgumentsException reason:[ISyncConcreteSession pushChangesFromRecord:withIdentifier:]: you can't change the record's entity name from com.apple.calendars.DisplayAlarm to com.apple.calendars.AudioAlarm in {
        "com.apple.ical.sound" = Basso;
        "com.apple.syncservices.KeepAwayFromServers" = 1;
        "com.apple.syncservices.RecordEntityName" = "com.apple.calendars.AudioAlarm";
        owner =     (
            "Event/p954"
        sound = Basso;
        triggerduration = "-480";
    8/24/12 3:53:59.316 PM SyncServer[7401]: [0x7ff98a40bdb0] |Server|Warning| lost connection 0x7ff98a4a9b70 to com.apple.iCal
    8/24/12 3:55:31.118 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 3:57:33.171 PM assistantd[7392]: <Error>: AceConnection - NSStreamEventErrorOccurred <__NSCFInputStream: 0x7fd621444de0>, error = Error Domain=NSPOSIXErrorDomain Code=54 "The operation couldn’t be completed. Connection reset by peer", domain = NSPOSIXErrorDomain, code = 54
    8/24/12 3:57:33.183 PM assistantd[7392]: <Error>: Session - Connection error: <ADAceConnection: 0x7fd62201f2e0> Error Domain=NSPOSIXErrorDomain Code=54 "The operation couldn’t be completed. Connection reset by peer"
    8/24/12 3:57:33.195 PM assistantd[7392]: <Error>: Daemon - Session Error Error Domain=NSPOSIXErrorDomain Code=54 "The operation couldn’t be completed. Connection reset by peer"
    8/24/12 3:58:10.108 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 3:58:40.000 PM kernel[0]: IOSCSIPeripheralDeviceType00::setPowerState(0xffffff802d6e2200, 4 -> 3) timed out after 100546 ms
    8/24/12 3:59:12.253 PM lsboxd[422]: @AE relay 4755524c:4755524c
    8/24/12 3:59:12.566 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:01:25.835 PM DashboardClient[4190]: com.weather.widget.Forecast: updating...
    8/24/12 4:01:40.645 PM com.apple.usbmuxd[26]: _SendAttachNotification (thread 0x7fff7e934180): sending attach for device b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.: _GetAddrInfoReplyReceivedCallback matched.
    8/24/12 4:01:41.157 PM usbmuxd[26]: _AMDeviceConnectByAddressAndPort (thread 0x100781000): IPv4
    8/24/12 4:01:41.244 PM ath[1217]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x101041c00 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 63, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:01:41.244 PM iTunes[334]: _AMDDeviceAttachedCallbackv3 (thread 0x1148f1000): Device 'AMDevice 0x7fd2d9c2d300 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 63, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:01:41.244 PM ath[466]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x1005db790 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 63, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:01:41.569 PM ath[466]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x1005e3d40 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 63, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:01:42.026 PM AppleMobileDeviceHelper[467]: _AMDDeviceDetached (thread 0x7fff7e934180): Device 'AMDevice 0x101569260 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 62, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' detached.
    8/24/12 4:01:42.270 PM SyncServer[7523]: [0x7fd95ac0bdb0] |DataManager|Warning| Client com.apple.Mail sync alert tool path /System/Library/Frameworks/Message.framework/Resources/MailSync does not exist.
    8/24/12 4:01:42.516 PM AppleMobileDeviceHelper[467]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x1010f3730 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 63, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:01:50.831 PM com.apple.usbmuxd[26]: _SendDetachNotification (thread 0x7fff7e934180): sending detach for device b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.: _BrowseReplyReceivedCallback got bonjour removal.
    8/24/12 4:01:50.834 PM iTunes[334]: _AMDDeviceDetached (thread 0x1148f1000): Device 'AMDevice 0x7fd2d9c2d300 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 63, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' detached.
    8/24/12 4:01:50.835 PM ath[1217]: _AMDDeviceDetached (thread 0x7fff7e934180): Device 'AMDevice 0x101041c00 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 63, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' detached.
    8/24/12 4:01:50.836 PM iTunes[334]: _NotificationSocketReadCallbackGCD (thread 0x7fff7e934180): Unexpected connection closure...
    8/24/12 4:01:50.838 PM ath[466]: _NotificationSocketReadCallbackGCD (thread 0x7fff7e934180): Unexpected connection closure...
    8/24/12 4:03:42.000 PM kernel[0]: IOSCSIPeripheralDeviceType00::setPowerState(0xffffff802d6e2200, 3 -> 2) timed out after 100414 ms
    8/24/12 4:07:03.350 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:08:42.000 PM kernel[0]: IOSCSIPeripheralDeviceType00::setPowerState(0xffffff802d6e2200, 2 -> 1) timed out after 100573 ms
    8/24/12 4:10:32.101 PM assistantd[7530]: <Error>: AceConnection - NSStreamEventErrorOccurred <__NSCFInputStream: 0x7fe9e381ff90>, error = Error Domain=NSPOSIXErrorDomain Code=54 "The operation couldn’t be completed. Connection reset by peer", domain = NSPOSIXErrorDomain, code = 54
    8/24/12 4:10:32.114 PM assistantd[7530]: <Error>: Session - Connection error: <ADAceConnection: 0x7fe9e244f850> Error Domain=NSPOSIXErrorDomain Code=54 "The operation couldn’t be completed. Connection reset by peer"
    8/24/12 4:10:32.126 PM assistantd[7530]: <Error>: Daemon - Session Error Error Domain=NSPOSIXErrorDomain Code=54 "The operation couldn’t be completed. Connection reset by peer"
    8/24/12 4:11:25.580 PM com.apple.usbmuxd[26]: _SendAttachNotification (thread 0x7fff7e934180): sending attach for device b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.: _GetAddrInfoReplyReceivedCallback matched.
    8/24/12 4:11:25.745 PM usbmuxd[26]: _AMDeviceConnectByAddressAndPort (thread 0x100781000): IPv4
    8/24/12 4:11:25.815 PM DashboardClient[4190]: com.weather.widget.Forecast: updating...
    8/24/12 4:11:25.828 PM ath[1217]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x10103a970 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 64, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:11:25.829 PM ath[466]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x1005ddb70 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 64, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:11:25.841 PM iTunes[334]: _AMDDeviceAttachedCallbackv3 (thread 0x1148f1000): Device 'AMDevice 0x7fd2dc5e1540 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 64, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:11:26.151 PM ath[466]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x1005dcf10 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 64, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:11:26.519 PM AppleMobileDeviceHelper[467]: _AMDDeviceDetached (thread 0x7fff7e934180): Device 'AMDevice 0x1010f3730 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 63, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' detached.
    8/24/12 4:11:26.836 PM SyncServer[7542]: [0x7f813b40bdb0] |DataManager|Warning| Client com.apple.Mail sync alert tool path /System/Library/Frameworks/Message.framework/Resources/MailSync does not exist.
    8/24/12 4:11:27.048 PM AppleMobileDeviceHelper[467]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x103318080 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 64, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:11:34.509 PM lsboxd[422]: @AE relay 4755524c:4755524c
    8/24/12 4:11:34.827 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:11:48.019 PM com.apple.usbmuxd[26]: _SendDetachNotification (thread 0x7fff7e934180): sending detach for device b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.: _BrowseReplyReceivedCallback got bonjour removal.
    8/24/12 4:11:48.019 PM iTunes[334]: _AMDDeviceDetached (thread 0x1148f1000): Device 'AMDevice 0x7fd2dc5e1540 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 64, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' detached.
    8/24/12 4:11:48.022 PM ath[1217]: _AMDDeviceDetached (thread 0x7fff7e934180): Device 'AMDevice 0x10103a970 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 64, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' detached.
    8/24/12 4:11:48.022 PM iTunes[334]: _NotificationSocketReadCallbackGCD (thread 0x7fff7e934180): Unexpected connection closure...
    8/24/12 4:11:48.025 PM ath[466]: _NotificationSocketReadCallbackGCD (thread 0x7fff7e934180): Unexpected connection closure...
    8/24/12 4:13:17.675 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:13:48.052 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:18:52.487 PM com.apple.XType.FontHelper[634]: FontHelper:  message received. (<dictionary: 0x7fa35a41e9b0> { count = 2, contents =
              "query" => <string: 0x7fa35a41ffc0> { length = 103, contents = "com_apple_ats_name_postscript == "Frutiger" && kMDItemContentTypeTree != com.adobe.postscript-lwfn-font" }
              "restricted" => <bool: 0x7fff7e533320>: true
    8/24/12 4:18:52.487 PM com.apple.XType.FontHelper[634]: AutoActivation:  scopes (
        "/Library/Application Support/Apple/Fonts"
    8/24/12 4:20:55.000 PM kernel[0]: Sandbox: sandboxd(7665) deny mach-lookup com.apple.coresymbolicationd
    8/24/12 4:20:55.523 PM sandboxd[7665]: ([332]) Mail(332) deny file-read-data /Users/Dick/Applications (Parallels)/{13278d2d-2c0b-4c01-af0b-3764186a822a} Applications.localized/Quicken Launcher.app
    8/24/12 4:20:55.564 PM sandboxd[7665]: ([332]) Mail(332) deny file-read-data /Users/Dick/Applications (Parallels)/{13278d2d-2c0b-4c01-af0b-3764186a822a} Applications.localized/Paint.app
    8/24/12 4:21:12.622 PM lsboxd[422]: @AE relay 61657674:6f646f63
    8/24/12 4:21:22.000 PM kernel[0]: CODE SIGNING: cs_invalid_page(0x1000): p=7676[GoogleSoftwareUp] clearing CS_VALID
    8/24/12 4:21:25.796 PM DashboardClient[4190]: com.weather.widget.Forecast: updating...
    8/24/12 4:22:47.735 PM com.apple.security.pboxd[7692]: Bug: 12B19: liblaunch.dylib + 23849 [224CB010-6CF8-3FC2-885C-6F80330321EB]: 0x25
    8/24/12 4:24:03.366 PM lsboxd[422]: @AE relay 4755524c:4755524c
    8/24/12 4:24:03.697 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:25:44.290 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:25:45.418 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:25:46.441 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:25:48.396 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:25:49.795 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:27:07.293 PM lsboxd[422]: @AE relay 4755524c:4755524c
    8/24/12 4:27:07.611 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:27:39.368 PM com.apple.usbmuxd[26]: _SendAttachNotification (thread 0x7fff7e934180): sending attach for device b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.: _GetAddrInfoReplyReceivedCallback matched.
    8/24/12 4:27:39.750 PM usbmuxd[26]: _AMDeviceConnectByAddressAndPort (thread 0x100781000): IPv4
    8/24/12 4:27:39.827 PM iTunes[334]: _AMDDeviceAttachedCallbackv3 (thread 0x1148f1000): Device 'AMDevice 0x7fd2daef1330 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 65, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:27:39.828 PM ath[466]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x1012dc0d0 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 65, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:27:39.828 PM ath[1217]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x10056c9f0 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 65, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:27:40.129 PM ath[466]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x1005eb2e0 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 65, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:27:40.482 PM AppleMobileDeviceHelper[467]: _AMDDeviceDetached (thread 0x7fff7e934180): Device 'AMDevice 0x103318080 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 64, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' detached.
    8/24/12 4:27:40.669 PM SyncServer[7705]: [0x7f885940bdb0] |DataManager|Warning| Client com.apple.Mail sync alert tool path /System/Library/Frameworks/Message.framework/Resources/MailSync does not exist.
    8/24/12 4:27:40.869 PM AppleMobileDeviceHelper[467]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x1033f9ba0 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 65, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:28:14.791 PM com.apple.usbmuxd[26]: _SendDetachNotification (thread 0x7fff7e934180): sending detach for device b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.: _BrowseReplyReceivedCallback got bonjour removal.
    8/24/12 4:28:14.792 PM iTunes[334]: _AMDDeviceDetached (thread 0x1148f1000): Device 'AMDevice 0x7fd2daef1330 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 65, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' detached.
    8/24/12 4:28:14.793 PM ath[1217]: _AMDDeviceDetached (thread 0x7fff7e934180): Device 'AMDevice 0x10056c9f0 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 65, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' detached.
    8/24/12 4:28:14.794 PM iTunes[334]: _NotificationSocketReadCallbackGCD (thread 0x7fff7e934180): Unexpected connection closure...
    8/24/12 4:28:14.795 PM ath[466]: _NotificationSocketReadCallbackGCD (thread 0x7fff7e934180): Unexpected connection closure...
    8/24/12 4:31:25.778 PM DashboardClient[4190]: com.weather.widget.Forecast: updating...
    8/24/12 4:34:14.039 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:34:16.877 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:34:28.889 PM lsboxd[422]: @AE relay 4755524c:4755524c
    8/24/12 4:34:29.203 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:34:34.689 PM com.apple.usbmuxd[26]: _SendAttachNotification (thread 0x7fff7e934180): sending attach for device 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.: _GetAddrInfoReplyReceivedCallback matched.
    8/24/12 4:34:34.896 PM usbmuxd[26]: _AMDeviceConnectByAddressAndPort (thread 0x100781000): IPv4
    8/24/12 4:34:35.030 PM iTunes[334]: _AMDDeviceAttachedCallbackv3 (thread 0x1148f1000): Device 'AMDevice 0x7fd2daef3370 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 66, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:34:35.031 PM ath[1217]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x101041c00 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 66, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:34:35.032 PM ath[466]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x1005e3d40 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 66, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:34:35.493 PM ath[1217]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x10056bba0 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 66, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:34:36.205 PM AppleMobileDeviceHelper[467]: _AMDDeviceDetached (thread 0x7fff7e934180): Device 'AMDevice 0x1033f9ba0 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 65, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' detached.
    8/24/12 4:34:36.524 PM SyncServer[7720]: [0x7fb97a40bdb0] |DataManager|Warning| Client com.apple.Mail sync alert tool path /System/Library/Frameworks/Message.framework/Resources/MailSync does not exist.
    8/24/12 4:34:36.868 PM AppleMobileDeviceHelper[467]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x101076080 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 66, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:34:49.015 PM com.apple.usbmuxd[26]: _SendDetachNotification (thread 0x7fff7e934180): sending detach for device 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.: _BrowseReplyReceivedCallback got bonjour removal.
    8/24/12 4:34:49.016 PM iTunes[334]: _AMDDeviceDetached (thread 0x1148f1000): Device 'AMDevice 0x7fd2daef3370 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 66, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' detached.
    8/24/12 4:34:49.017 PM ath[466]: _AMDDeviceDetached (thread 0x7fff7e934180): Device 'AMDevice 0x1005e3d40 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 66, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' detached.
    8/24/12 4:34:49.020 PM iTunes[334]: _NotificationSocketReadCallbackGCD (thread 0x7fff7e934180): Unexpected connection closure...
    8/24/12 4:34:49.022 PM ath[1217]: _NotificationSocketReadCallbackGCD (thread 0x7fff7e934180): Unexpected connection closure...
    8/24/12 4:36:43.383 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:36:44.982 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:37:11.979 PM lsboxd[422]: @AE relay 4755524c:4755524c
    8/24/12 4:37:12.301 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:41:25.758 PM DashboardClient[4190]: com.weather.widget.Forecast: updating...
    8/24/12 4:41:44.747 PM com.apple.usbmuxd[26]: _SendAttachNotification (thread 0x7fff7e934180): sending attach for device b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.: _GetAddrInfoReplyReceivedCallback matched.
    8/24/12 4:41:44.848 PM usbmuxd[26]: _AMDeviceConnectByAddressAndPort (thread 0x100781000): IPv4
    8/24/12 4:41:44.930 PM iTunes[334]: _AMDDeviceAttachedCallbackv3 (thread 0x1148f1000): Device 'AMDevice 0x7fd2dc44a350 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 67, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:41:44.931 PM ath[1217]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x101047090 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 67, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:41:44.932 PM ath[466]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x1005e9260 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 67, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:41:45.241 PM ath[466]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x1005e9030 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 67, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:41:45.608 PM AppleMobileDeviceHelper[467]: _AMDDeviceDetached (thread 0x7fff7e934180): Device 'AMDevice 0x101076080 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 66, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' detached.
    8/24/12 4:41:45.799 PM SyncServer[7840]: [0x7f8cf3c0bdb0] |DataManager|Warning| Client com.apple.Mail sync alert tool path /System/Library/Frameworks/Message.framework/Resources/MailSync does not exist.
    8/24/12 4:41:46.001 PM AppleMobileDeviceHelper[467]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x1003a9610 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 67, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:41:46.872 PM com.apple.usbmuxd[26]: _SendAttachNotification (thread 0x7fff7e934180): sending attach for device 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.: _GetAddrInfoReplyReceivedCallback matched.
    8/24/12 4:41:47.024 PM usbmuxd[26]: _AMDeviceConnectByAddressAndPort (thread 0x101881000): IPv4
    8/24/12 4:41:47.101 PM iTunes[334]: _AMDDeviceAttachedCallbackv3 (thread 0x1148f1000): Device 'AMDevice 0x7fd2dc46dff0 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 68, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:41:47.103 PM ath[1217]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x10057c2d0 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 68, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:41:48.954 PM ath[1217]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x1010516a0 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 68, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:41:48.955 PM ath[1217]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x101051ab0 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 67, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:41:50.271 PM AppleMobileDeviceHelper[467]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x1033cc1b0 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 68, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:42:20.235 PM com.apple.usbmuxd[26]: _SendDetachNotification (thread 0x7fff7e934180): sending detach for device b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.: _BrowseReplyReceivedCallback got bonjour removal.
    8/24/12 4:42:20.236 PM iTunes[334]: _AMDDeviceDetached (thread 0x1148f1000): Device 'AMDevice 0x7fd2dc44a350 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 67, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' detached.
    8/24/12 4:42:20.238 PM iTunes[334]: _NotificationSocketReadCallbackGCD (thread 0x7fff7e934180): Unexpected connection closure...
    8/24/12 4:42:20.239 PM ath[466]: _NotificationSocketReadCallbackGCD (thread 0x7fff7e934180): Unexpected connection closure...
    8/24/12 4:42:20.240 PM ath[466]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x1012f4760 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 68, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:43:14.151 PM com.apple.usbmuxd[26]: _SendDetachNotification (thread 0x7fff7e934180): sending detach for device 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.: _BrowseReplyReceivedCallback got bonjour removal.
    8/24/12 4:43:14.151 PM iTunes[334]: _AMDDeviceDetached (thread 0x1148f1000): Device 'AMDevice 0x7fd2dc46dff0 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 68, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' detached.
    8/24/12 4:43:14.153 PM iTunes[334]: _NotificationSocketReadCallbackGCD (thread 0x7fff7e934180): Unexpected connection closure...
    8/24/12 4:43:14.156 PM ath[1217]: _NotificationSocketReadCallbackGCD (thread 0x7fff7e934180): Unexpected connection closure...
    8/24/12 4:43:14.159 PM ath[466]: _AMDDeviceDetached (thread 0x7fff7e934180): Device 'AMDevice 0x1012f4760 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 68, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' detached.
    8/24/12 4:44:11.000 PM kernel[0]: nspace-handler-set-snapshot-time: 1345841053
    8/24/12 4:44:15.644 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:44:17.445 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:45:15.710 PM WindowServer[157]: CGXSetWindowBackgroundBlurRadius: Invalid window 0xffffffff
    8/24/12 4:45:15.711 PM loginwindow[43]: find_shared_window: WID -1
    8/24/12 4:45:15.712 PM loginwindow[43]: CGSGetWindowTags: Invalid window 0xffffffff
    8/24/12 4:45:15.712 PM loginwindow[43]: find_shared_window: WID -1
    8/24/12 4:45:15.712 PM loginwindow[43]: CGSSetWindowTags: Invalid window 0xffffffff
    8/24/12 4:45:16.203 PM com.apple.time[11]: Next maintenance wake [Backup Interval]: <date: 0x7fdbb14490a0> Fri Aug 24 16:53:30 2012 EDT (approx)
    8/24/12 4:45:16.203 PM com.apple.time[11]: Requesting maintenance wake [Backup Interval]: <date: 0x7fdbb14490a0> Fri Aug 24 16:53:30 2012 EDT (approx)
    8/24/12 4:45:17.057 PM WindowServer[157]: Created shield window 0xe70 for display 0x04272100
    8/24/12 4:45:17.057 PM WindowServer[157]: device_generate_desktop_screenshot: authw 0x7ff1da647b10(2000), shield 0x7ff1da642bc0(2001)
    8/24/12 4:45:17.075 PM WindowServer[157]: device_generate_lock_screen_screenshot: authw 0x7ff1da647b10(2000), shield 0x7ff1da642bc0(2001)
    8/24/12 4:45:17.000 PM kernel[0]: /drv/ MacDevice.cpp:598   com_parallels_hypervisor_client::powerDownHandler: message e0000280
    8/24/12 4:45:17.000 PM kernel[0]: AirPort_Brcm43xx::powerChange: System Sleep
    8/24/12 4:45:17.000 PM kernel[0]: hibernate image path: /var/vm/sleepimage
    8/24/12 4:45:17.000 PM kernel[0]: sizeof(IOHibernateImageHeader) == 512
    8/24/12 4:45:17.000 PM kernel[0]: kern_open_file_for_direct_io(0) took 8 ms
    8/24/12 4:45:17.000 PM kernel[0]: Opened file /var/vm/sleepimage, size 8589934592, partition base 0x0, maxio 400000 ssd 0
    8/24/12 4:45:17.000 PM kernel[0]: hibernate image major 1, minor 0, blocksize 512, pollers 4
    8/24/12 4:45:17.000 PM kernel[0]: hibernate_alloc_pages flags 00000000, gobbling 0 pages
    8/24/12 4:45:17.000 PM kernel[0]: hibernate_setup(0) took 0 ms
    8/24/12 4:45:17.000 PM kernel[0]: /drv/ MacModule.cpp:304   powerStateWillChangeTo: flags=4 stateNumber=2
    8/24/12 4:45:17.000 PM kernel[0]: /drv/ MacModule.cpp:309   powerStateWillChangeTo: found flag=kIOPMSleepCapability (4)
    8/24/12 4:45:17.000 PM kernel[0]: 00000000  00000020  NVEthernet::setLinkStatus - not Active
    8/24/12 4:46:57.000 PM kernel[0]: IOSCSIPeripheralDeviceType00::setPowerState(0xffffff802d6e2200, 1 -> 0) timed out after 100670 ms
    8/24/12 4:46:57.000 PM kernel[0]: /drv/ MacModule.cpp:304   powerStateDidChangeTo: flags=4 stateNumber=2
    8/24/12 4:46:57.000 PM kernel[0]: /drv/ MacModule.cpp:309   powerStateDidChangeTo: found flag=kIOPMSleepCapability (4)
    8/24/12 4:46:57.000 PM kernel[0]: hibernate_page_list_setall start 0xffffff80e3497000, 0xffffff80e35d1000
    8/24/12 4:47:30.000 PM kernel[0]: hibernate_page_list_setall time: 651 ms
    8/24/12 4:47:30.000 PM kernel[0]: pages 1836030, wire 485835, act 431599, inact 1710, cleaned 0 spec 40, zf 49424, throt 0, could discard act 268019 inact 471436 purgeable 45264 spec 71098 cleaned 11605
    8/24/12 4:47:30.000 PM kernel[0]: hibernate_page_list_setall found pageCount 968608
    8/24/12 4:47:30.000 PM kernel[0]: IOHibernatePollerOpen, ml_get_interrupts_enabled 0
    8/24/12 4:47:30.000 PM kernel[0]: IOHibernatePollerOpen(0)
    8/24/12 4:47:30.000 PM kernel[0]: encryptStart 132b0
    8/24/12 4:47:30.000 PM kernel[0]: writing 965950 pages
    8/24/12 4:47:30.000 PM kernel[0]: encryptEnd 29667000
    8/24/12 4:47:30.000 PM kernel[0]: image1Size 0x32a0b200, encryptStart1 0x132b0, End1 0x29667000
    8/24/12 4:47:30.000 PM kernel[0]: encryptStart 32a0b200
    8/24/12 4:47:30.000 PM kernel[0]: encryptEnd 642b7600
    8/24/12 4:47:30.000 PM kernel[0]: PMStats: Hibernate write took 31201 ms
    8/24/12 4:47:30.000 PM kernel[0]: all time: 31201 ms, comp bytes: 3956826112 time: 5028 ms 750 Mb/s, crypt bytes: 1525678416 time: 9835 ms 147 Mb/s,
    8/24/12 4:47:30.000 PM kernel[0]: image 1680569856, uncompressed 3956826112 (966022), compressed 1667100320 (42%), sum1 b872bd83, sum2 982d3a1
    8/24/12 4:47:30.000 PM kernel[0]: wired_pages_encrypted 385921, wired_pages_clear 97328, dirty_pages_encrypted 482773
    8/24/12 4:47:30.000 PM kernel[0]: hibernate_write_image done(0)
    8/24/12 4:47:30.000 PM kernel[0]: sleep
    8/24/12 4:50:30.630 PM WindowServer[157]: handle_will_sleep_auth_and_shield_windows: releasing authw 0x7ff1da647b10(2000), shield 0x7ff1da642bc0(2001), lock state 3
    8/24/12 4:50:30.631 PM WindowServer[157]: handle_will_sleep_auth_and_shield_windows: err 0x0
    8/24/12 4:50:30.000 PM kernel[0]: Wake reason: EC LID0
    8/24/12 4:50:30.000 PM kernel[0]: AirPort_Brcm43xx::powerChange: System Wake - Full Wake/ Dark Wake / Maintenance wake
    8/24/12 4:50:30.000 PM kernel[0]: /drv/ MacModule.cpp:304   powerStateWillChangeTo: flags=2 stateNumber=3
    8/24/12 4:50:30.000 PM kernel[0]: /drv/ MacModule.cpp:305   powerStateWillChangeTo: found flag=kIOPMPowerOn (2)
    8/24/12 4:50:30.000 PM kernel[0]: /drv/ MacDevice.cpp:598   com_parallels_hypervisor_client::powerDownHandler: message e0000320
    8/24/12 4:50:30.000 PM kernel[0]: HID tickle 78 ms
    8/24/12 4:50:30.000 PM kernel[0]: /drv/ MacModule.cpp:304   powerStateDidChangeTo: flags=2 stateNumber=3
    8/24/12 4:50:30.000 PM kernel[0]: /drv/ MacModule.cpp:305   powerStateDidChangeTo: found flag=kIOPMPowerOn (2)
    8/24/12 4:50:30.000 PM kernel[0]: Previous Sleep Cause: 5
    8/24/12 4:50:30.000 PM kernel[0]: wlEvent: en1 en1 Link DOWN virtIf = 0
    8/24/12 4:50:30.000 PM kernel[0]: AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving).
    8/24/12 4:50:30.000 PM kernel[0]: en1::IO80211Interface::postMessage bssid changed
    8/24/12 4:50:30.000 PM kernel[0]: en1: 802.11d country code set to 'X0'.
    8/24/12 4:50:30.000 PM kernel[0]: en1: Supported channels 1 2 3 4 5 6 7 8 9 10 11 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140 149 153 157 161 165
    8/24/12 4:50:30.000 PM kernel[0]: 00000000  00000020  NVEthernet::setLinkStatus - not Active
    8/24/12 4:50:31.000 PM kernel[0]: en1: 802.11d country code set to 'US'.
    8/24/12 4:50:31.000 PM kernel[0]: en1: Supported channels 1 2 3 4 5 6 7 8 9 10 11 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140 149 153 157 161 165
    8/24/12 4:50:31.161 PM configd[16]: network changed: v4(en1-:192.168.0.180) DNS- Proxy- SMB
    8/24/12 4:50:31.000 PM kernel[0]: MacAuthEvent en1   Auth result for: 00:22:b0:b7:1a:9f  MAC AUTH succeeded
    8/24/12 4:50:31.000 PM kernel[0]: wlEvent: en1 en1 Link UP virtIf = 0
    8/24/12 4:50:31.000 PM kernel[0]: AirPort: Link Up on en1
    8/24/12 4:50:31.000 PM kernel[0]: en1: BSSID changed to 00:22:b0:b7:1a:9f
    8/24/12 4:50:31.000 PM kernel[0]: en1::IO80211Interface::postMessage bssid changed
    8/24/12 4:50:31.000 PM kernel[0]: AirPort: RSN handshake complete on en1
    8/24/12 4:50:33.206 PM mDNSResponderHelper[7856]: do_mDNSInterfaceAdvtIoctl: ioctl call SIOCGIFINFO_IN6 failed - error (22) Invalid argument
    8/24/12 4:50:33.206 PM mDNSResponderHelper[7856]: do_mDNSInterfaceAdvtIoctl: ioctl call SIOCGIFINFO_IN6 failed - error (22) Invalid argument
    8/24/12 4:50:36.371 PM mDNSResponderHelper[7856]: do_mDNSInterfaceAdvtIoctl: ioctl call SIOCGIFINFO_IN6 failed - error (22) Invalid argument
    8/24/12 4:50:36.372 PM mDNSResponderHelper[7856]: do_mDNSInterfaceAdvtIoctl: ioctl call SIOCGIFINFO_IN6 failed - error (22) Invalid argument
    8/24/12 4:50:38.080 PM configd[16]: network changed: v4(en1+:192.168.0.180) DNS+ Proxy+ SMB
    8/24/12 4:50:38.103 PM UserEventAgent[11]: Captive: en1: Not probing 'grnn5' (protected network)
    8/24/12 4:50:38.158 PM configd[16]: network changed: v4(en1!:192.168.0.180) DNS Proxy SMB
    8/24/12 4:50:46.208 PM airportd[7853]: _doAutoJoin: Already associated to “grnn5”. Bailing on auto-join.
    8/24/12 4:51:08.422 PM com.apple.backupd-helper[7858]: Not starting Time Machine backup after wake - failed to resolve alias to backup volume.
    8/24/12 4:51:19.776 PM SyncServer[7864]: [0x7fbf3b40bdb0] |DataManager|Warning| Client com.apple.Mail sync alert tool path /System/Library/Frameworks/Message.framework/Resources/MailSync does not exist.
    8/24/12 4:51:21.569 PM iCalExternalSync[7862]: [0x7fd3d3c0e480] |Miscellaneous|Error| SyncServices precondition failure in [ISyncConcreteSession pushChangesFromRecord:withIdentifier:]: you can't change the record's entity name from com.apple.calendars.DisplayAlarm to com.apple.calendars.AudioAlarm in {
        "com.apple.ical.sound" = Basso;
        "com.apple.syncservices.KeepAwayFromServers" = 1;
        "com.apple.syncservices.RecordEntityName" = "com.apple.calendars.AudioAlarm";
        owner =     (
            "Event/p954"
        sound = Basso;
        triggerduration = "-480";
    8/24/12 4:51:21.570 PM iCalExternalSync[7862]: [ICalExternalSync ]Encountered exception: [ISyncConcreteSession pushChangesFromRecord:withIdentifier:]: you can't change the record's entity name from com.apple.calendars.DisplayAlarm to com.apple.calendars.AudioAlarm in {
        "com.apple.ical.sound" = Basso;
        "com.apple.syncservices.KeepAwayFromServers" = 1;
        "com.apple.syncservices.RecordEntityName" = "com.apple.calendars.AudioAlarm";
        owner =     (
            "Event/p954"
        sound = Basso;
        triggerduration = "-480";
    } withStack: (
              0   iCalExternalSync                    0x0000000100d3aa60 iCalExternalSync + 125536
              1   iCalExternalSync                    0x0000000100d29ac9 iCalExternalSync + 56009
              2   iCalExternalSync                    0x0000000100d39694 iCalExternalSync + 120468
              3   libdyld.dylib                       0x00007fff97a6d7e1 start + 0
              4   ???                                 0x0000000000000007 0x0 + 7
    8/24/12 4:51:21.571 PM iCalExternalSync[7862]: [ICalExternalSync ]NSException name:ISyncInvalidArgumentsException reason:[ISyncConcreteSession pushChangesFromRecord:withIdentifier:]: you can't change the record's entity name from com.apple.calendars.DisplayAlarm to com.apple.calendars.AudioAlarm in {
        "com.apple.ical.sound" = Basso;
        "com.apple.syncservices.KeepAwayFromServers" = 1;
        "com.apple.syncservices.RecordEntityName" = "com.apple.calendars.AudioAlarm";
        owner =     (
            "Event/p954"
        sound = Basso;
        triggerduration = "-480";
    8/24/12 4:51:21.573 PM SyncServer[7864]: [0x7fbf3b40bdb0] |Server|Warning| lost connection 0x7fbf3b4516f0 to com.apple.iCal
    8/24/12 4:52:10.775 PM prl_naptd[230]: Reloading configuration...
    8/24/12 4:52:10.000 PM kernel[0]: IOSCSIPeripheralDeviceType00::setPowerState(0xffffff802d6e2200, 0 -> 1) timed out after 100576 ms
    8/24/12 4:52:10.000 PM kernel[0]: en1: BSSID changed to 00:22:b0:b7:1a:9f
    8/24/12 4:52:10.000 PM kernel[0]: /drv/ MacDevice.cpp:598   com_parallels_hypervisor_client::powerDownHandler: message e0000300
    8/24/12 4:52:10.854 PM prl_naptd[230]: vnic0: DHCP/NAT for 10.211.55.1-10.211.55.254 netmask 255.255.255.0
    8/24/12 4:52:10.854 PM prl_naptd[230]: vnic1: DHCP for 10.37.129.1-10.37.129.254 netmask 255.255.255.0
    8/24/12 4:52:10.885 PM airportd[7865]: _doAutoJoin: Already associated to “grnn5”. Bailing on auto-join.
    8/24/12 4:52:29.701 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:52:31.353 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:52:40.890 PM com.apple.usbmuxd[26]: _SendAttachNotification (thread 0x7fff7e934180): sending attach for device 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.: _GetAddrInfoReplyReceivedCallback matched.
    8/24/12 4:52:41.187 PM usbmuxd[26]: _AMDeviceConnectByAddressAndPort (thread 0x100781000): IPv4
    8/24/12 4:52:41.276 PM iTunes[334]: _AMDDeviceAttachedCallbackv3 (thread 0x1148f1000): Device 'AMDevice 0x7fd2dc61f130 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 69, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:52:41.276 PM ath[1217]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x101051870 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 69, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:52:41.277 PM ath[466]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x1005ece20 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 69, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:52:41.561 PM ath[1217]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x10056bba0 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 69, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:52:41.994 PM AppleMobileDeviceHelper[467]: _AMDDeviceDetached (thread 0x7fff7e934180): Device 'AMDevice 0x1003a9610 {UDID = 5b51c6b3733c029f5ea62ab340f4155c46b750d1, device ID = 67, FullServiceName = b8:c7:5d:da:9b:a1@fe80::bac7:5dff:feda:9ba1._apple-mobdev._tcp.local.}' detached.
    8/24/12 4:52:42.216 PM AppleMobileDeviceHelper[467]: _AMDDeviceDetached (thread 0x7fff7e934180): Device 'AMDevice 0x1033cc1b0 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 68, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' detached.
    8/24/12 4:52:42.216 PM AppleMobileDeviceHelper[467]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x1033ab750 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 69, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' attached.
    8/24/12 4:52:52.724 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:52:55.289 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:53:04.299 PM com.apple.usbmuxd[26]: _SendDetachNotification (thread 0x7fff7e934180): sending detach for device 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.: _BrowseReplyReceivedCallback got bonjour removal.
    8/24/12 4:53:04.300 PM iTunes[334]: _AMDDeviceDetached (thread 0x1148f1000): Device 'AMDevice 0x7fd2dc61f130 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 69, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' detached.
    8/24/12 4:53:04.300 PM ath[466]: _AMDDeviceDetached (thread 0x7fff7e934180): Device 'AMDevice 0x1005ece20 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 69, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' detached.
    8/24/12 4:53:04.302 PM iTunes[334]: _NotificationSocketReadCallbackGCD (thread 0x7fff7e934180): Unexpected connection closure...
    8/24/12 4:53:04.303 PM ath[1217]: _NotificationSocketReadCallbackGCD (thread 0x7fff7e934180): Unexpected connection closure...
    8/24/12 4:53:06.079 PM Dock[4182]: Unable to open IOHIDSystem (e00002bd)
    8/24/12 4:53:06.000 PM kernel[0]: virtual bool IOHIDEventSystemUserClient::initWithTask(task_t, void *, UInt32): Client task not privileged to open IOHIDSystem for mapping memory (e00002c1)
    8/24/12 4:53:31.413 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:53:34.887 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:53:36.740 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:53:43.105 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:54:00.739 PM com.apple.backupd-helper[7873]: Not starting scheduled Time Machine backup - time machine destination not resolvable.
    8/24/12 4:54:01.743 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:54:25.028 PM DashboardClient[4190]: com.weather.widget.Forecast: updating...
    8/24/12 4:54:28.827 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:54:45.066 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:54:46.401 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:54:51.660 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 4:59:33.303 PM lsboxd[422]: @AE relay 4755524c:4755524c
    8/24/12 4:59:33.654 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 5:00:45.430 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 5:00:48.049 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 5:04:16.313 PM WindowServer[157]: CGXRegisterWindowWithSystemStatusBar: window 6ad already registered
    8/24/12 5:04:16.980 PM WindowServer[157]: CGXDisableUpdate: UI updates were forcibly disabled by application "App Store" for over 1.00 seconds. Server has re-enabled them.
    8/24/12 5:04:17.025 PM WindowServer[157]: reenable_update_for_connection: UI updates were finally reenabled by application "App Store" after 1.05 seconds (server forcibly re-enabled them after 1.00 seconds)
    8/24/12 5:04:25.328 PM DashboardClient[4190]: com.weather.widget.Forecast: updating...
    8/24/12 5:07:26.099 PM com.apple.usbmuxd[26]: _SendAttachNotification (thread 0x7fff7e934180): sending attach for device 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.: _GetAddrInfoReplyReceivedCallback matched.
    8/24/12 5:07:26.474 PM usbmuxd[26]: _AMDeviceConnectByAddressAndPort (thread 0x100781000): IPv4
    8/24/12 5:07:26.625 PM ath[1217]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x10056a080 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 70, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' attached.
    8/24/12 5:07:26.625 PM iTunes[334]: _AMDDeviceAttachedCallbackv3 (thread 0x1148f1000): Device 'AMDevice 0x7fd2dc625ab0 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 70, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' attached.
    8/24/12 5:07:26.626 PM ath[466]: _AMDDeviceAttachedCallbackv3 (thread 0x7fff7e934180): Device 'AMDevice 0x1012f4760 {UDID = ff99bed4a08332ea6bbafa6f1bae928107783f0f, device ID = 70, FullServiceName = 78:a3:e4:4d:4a:46@fe80::7aa3:e4ff:fe4d:4a46._apple-mobdev._tcp.local.}' attached.
    8/24/12 5:07:27.505 PM ath[1217]: _AMDDeviceAttachedCa

    I don't think you quite understand how Time Machine really works. But then hardly anyone does. Time Machine is intended to be left enabled always whether a backup drive is connected or not. What Time Machine cannot handle properly is a situation where the backup drive loses power for whatever reason. Time Machine treats this, as does the OS, as an improper disconnect of an external drive without being properly ejected. This in turn throws Time Machine a little bit of a loop.
    For you I would suggest not using Time Machine. Instead use a third-party backup utility that you can either schedule or run manually as you wish. They will work with the same drive you have used for Time Machine, but you will need to first erase the Time Machine drive using Disk Utility. Please DO NOT try dragging the Time Machine backups to the Trash.
    Here are some good backup utilities you can try:
    Suggested Backup Software
      1. Carbon Copy Cloner
      2. Get Backup
      3. Deja Vu
      4. SuperDuper!
      5. Synk Pro
      6. Tri-Backup
    Others may be found at MacUpdate. Each one can be used for a trial period. No need to pay for one until you've decided on which one you like best. I, for example, use Carbon Copy Cloner but please don't take that as a recommendation over the others. It's just my preference. All can be operated manually or can be set up to backup on a schedule you determine. Some can even be set up to backup as soon as the backup drive is connected.
    Visit The XLab FAQs and read the FAQ on backup and restore.  Also read How to Back Up and Restore Your Files.

  • How to stop threads, process, streams when closing a (internal) JFrame?

    Dear all,
    I read a Javaworld article about Runtime.exec(), which will output the process outputs and error outputs to either a file or System.out. Now I want to practice it by outputing the process output/error to a Swing JTextArea. It works fine if the process ends successfully.
    My problem is that I want to stop all the output threads and clear all the streams when user click close JFrame button before the process finished. The code is shown below. Note that this frame is poped up by a click from another main frame. ( it is not exiting the main Swing application). This happened when I want to kill a process when it is running.
    I tried to implements a WindowListener and add
    public void windowClosing(WindowEvent e) to the JFrame.
    Inside this method I used process.destroy() and errorGobbler = null, outputGobbler = null, or outputGobbler.interrupt(), errorGobbler.interrupt(). But all these seems does not work. Sometimes thread was not stopped, sometimes process was not destroyed (because the stream was still print out something), sometimes the error stream was not successfully closed - by printing out interruptted by user error message.
    How can I make sure all the underlying streams and threads, including the PrintStream in StreamGobbler class are closed?
    Again this Frame could be a Dialog or InternalFrame, i.e, when I close the frame, the main frame does not exit!
    import java.util.*;
    import java.io.*;
    class StreamGobbler extends Thread
        InputStream is;
        String type;
        OutputStream os;
        StreamGobbler(InputStream is, String type, JTextArea out)
            this(is, type, null, out);
        StreamGobbler(InputStream is, String type, OutputStream redirect, JTextArea out)
            this.is = is;
            this.type = type;
            this.os = redirect;
        public void run()
            try
                PrintWriter pw = null;
                if (os != null)
                    pw = new PrintWriter(os);
                InputStreamReader isr = new InputStreamReader(is);
                BufferedReader br = new BufferedReader(isr);
                String line=null;
                while ( (line = br.readLine()) != null)
                    if (pw != null)
                        pw.println(line);
                    out.append(type + ">" + line);   
                if (pw != null)
                    pw.flush();
            } catch (IOException ioe)
                ioe.printStackTrace(); 
    public class Test extends JFrame
        private JTextArea output;
        private StreamGobbler outputGobbler;
        private StreamGobbler errorGobbler;
        public Test (String file)
            super();
            output = new JTextArea();
            try
                FileOutputStream fos = new FileOutputStream(file);
                Runtime rt = Runtime.getRuntime();
                Process proc = rt.exec("java jecho 'Hello World'");
                errorGobbler = new
                    StreamGobbler(proc.getErrorStream(), "ERROR", out);           
                outputGobbler = new
                    StreamGobbler(proc.getInputStream(), "OUTPUT", fos, out);
                errorGobbler.start();
                outputGobbler.start();
                int exitVal = proc.waitFor();
                output.append("ExitValue: " + exitVal);
                fos.flush();
                fos.close();       
            } catch (Throwable t)
                t.printStackTrace();
         setSize(400,400);
         show();
    }Thanks !

    Thread.interrupt() doesn't stop a thread. You'll have to read the API for more specifics. You could use something like interrupt to force interruption of the thread for the reason of checking the terminating case though. I believe you would want to use this in the case where operations can take a long time.
    Setting your reference to the thread to be null won't stop the thread since it's running. You just lose your reference to it.
    I believe once the thread stops running your streams will be closed, but possibly not cleanly. Someone who has more knowledge of threads might be able to answer this better, but I would generally say clean up after yourself especially if you are writting out data.

  • Window Memory usage even after closing windows

    I've included links to a test app that does nothing but
    launch a window, play a sound, close window / repeat.
    When application launches it uses about 20mb of memory. When
    you click on the only button, it will launch a secondary window
    that will simply play a wav file. (I set the volume low but you may
    want to mute it :D)
    After launching and closing the window several times the
    memory usage goes up considerably and *never* falls back a
    significant %. (I got it to about 100MB before I decided to quit
    trying to increase the memory usage. Right now it's been running
    w/o any user interaction since opening about 10 windows and it's
    fairly stable at around 61MB (although that appears to be
    increasing w/o user interaction).
    Does anyone know of any methods I can use to ensure that the
    memory consumed by secondary windows does not just persist forever
    even after closing the window? Is there something I'm doing wrong
    here?
    Example Code:
    http://www.vf-server.com/air/memorytest.air
    (AIR)
    http://www.vf-server.com/air/memorytest.zip
    (source ZIP)
    Note: When I *minimize* the window it looks like garbage
    collection is forced and app drops back to 11MB (on restore back to
    19mb).
    Edit: note in your task manager, application appears as
    JBTest.exe

    You can call System.gc() to force the garbage collector to
    run.
    Try removing the event listeners when they aren't needed
    anymore. I think it is more difficult for the gc to cleanup objects
    when there are host objects (like Sound) refering to JavaScript
    objects and JavaScript objects refering to host objects, so you
    need to be especially careful about those. It SHOULD clean them up
    eventually, but it may take longer for it to figure out that those
    objects are no longer in use.
    You might also clear the secondaryWindow reference in the
    parent document when the window closes. That reference might retard
    garbage collection, too.

  • Error messages after closing PSE13 organizer or editor

    On Win7(64)-PC  I have redone a installation of PSE13. For every time after closing PS-Editor or PSE13 in total on the "MS-maintenance-screen" some error messages are listed. I.e. -adobe license utility ..., log transport application..., photoshop elements 13editor ..., elements 13 organizer...   not working any more.
    My previous version PSE12 I have deinstalled, still keeping PRE12. Tried to clean all remainings with adobe CC cleaner. I also tried a couple of deinstallation plus new installation of PSE13.
    Any idears how to get rid of the error messages?

    Hi Sandeep, the error messages look like this - all of the critical events in the past are related to PSE13.
    Thanks for your support. Cheers maracris07

  • FIrefox 4 beta does not work anymore. Directly after start-up (my homepage is showing) is firefox hanging, showing an hour glass. No button, URL or whatever can be used, except for the close button. But even after closing firefox, it keeps on running.

    Even after closing down the application, the firefox task remains running in the background and must be killed with Windows Task Control.
    Even deinstalling and installing the latest beta version does not solve it. Unfortunately I have to use Google Chrome Now.

    Ok. I disabled hardware acceleration. The only extension is the McAfee Scriptscan for Firefox 15.1.0, which was already disabled. I then disabled all plugins (Acrobat, Google Update, Intel Identity Protection (2x), Java Deployment Toolkit, Java Platform, MS Office 2013, Quicktime, Shockwave, Silverlight), which were all up to date.
    Normal or safe mode still has same result. No startup, no option button and no customize.
    Thanks for your help. Got any other suggestions?

  • After closing the Firefox browser, a message appears "Severe error: Cannot load resource file; can not run". What could be wrong?

    The message: "Severe Error; Can 't load resourse file; can not run" appears after closing Firefox4. All other applications on my pc do not have this problem.

    I've found text of this error in npdjvu.dll plugin, remove it and error seems to disappear.

  • LOG_FILE_NOT_FOUND when running cleaner manually after some data purge

    I hit LOG_FILE_NOT_FOUND error when running cleaner manually after some data purge, I searched the forum, found someone also faced the same issue before, but cannot find any clue on how to fix it. Below is the error trace and followed by our configurations
    Caused by: com.sleepycat.je.EnvironmentFailureException: (JE 4.1.6)
    Environment must be closed, caused by:
    com.sleepycat.je.EnvironmentFailureException: Environment invalid because of
    previous exception: (JE 4.1.6) /scratch/tie/thirdeye/index/data-store
    fetchTarget of 0x50f/0x3fb9dd6 parent IN=368491717 IN
    class=com.sleepycat.je.tree.IN lastFullVersion=0x510/0x2ca7d18
    parent.getDirty()=false state=0 LOG_FILE_NOT_FOUND: Log file missing, log is
    likely invalid. Environment is invalid and must be closed.
    at
    com.sleepycat.je.EnvironmentFailureException.wrapSelf(EnvironmentFailureExcept
    ion.java:196)
    at
    com.sleepycat.je.dbi.EnvironmentImpl.checkIfInvalid(EnvironmentImpl.java:1439)
    at com.sleepycat.je.Environment.checkEnv(Environment.java:2117)
    at com.sleepycat.je.Environment.checkpoint(Environment.java:1440)
    at
    com.oracle.thirdeye.datastore.DataStoreManager.clean(DataStoreManager.java:402
    at
    com.oracle.thirdeye.infostore.InfoStoreManager.clean(InfoStoreManager.java:301
    ... 11 more
    Caused by: com.sleepycat.je.EnvironmentFailureException: Environment invalid
    because of previous exception: (JE 4.1.10)
    /scratch/tie/thirdeye/index/data-store fetchTarget of 0x50f/0x3fb9dd6 parent
    IN=368491717 IN class=com.sleepycat.je.tree.IN
    lastFullVersion=0x510/0x2ca7d18 parent.getDirty()=false state=0
    LOG_FILE_NOT_FOUND: Log file missing, log is likely invalid. Environment is
    invalid and must be closed.
    at com.sleepycat.je.tree.IN.fetchTarget(IN.java:1332)
    at com.sleepycat.je.tree.IN.findParent(IN.java:2886)
    at com.sleepycat.je.tree.Tree.getParentINForChildIN(Tree.java:881)
    at com.sleepycat.je.tree.Tree.getParentINForChildIN(Tree.java:809)
    at
    com.sleepycat.je.cleaner.FileProcessor.findINInTree(FileProcessor.java:1152)
    at com.sleepycat.je.cleaner.FileProcessor.processIN(FileProcessor.java:1090)
    at
    com.sleepycat.je.cleaner.FileProcessor.processFile(FileProcessor.java:538)
    at com.sleepycat.je.cleaner.FileProcessor.doClean(FileProcessor.java:241)
    at com.sleepycat.je.cleaner.Cleaner.doClean(Cleaner.java:463)
    ------------Configurations-------------------------
    EnvironmentConfig.ENV_RUN_CLEANER -> false
    EnvironmentConfig.CHECKPOINTER_HIGH_PRIORITY -> true
    EnvironmentConfig.CLEANER_EXPUNGE -> false
    Any hints are appreciated. I'm also working for Oracle CDC, feel free to call me at 861065151679 or drop me an email at [email protected] so that we can talk more in detail
    Anfernee

    Anfernee, I will contact you via email.
    --mark                                                                                                                                                                                                                   

Maybe you are looking for