≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Bug #349

Bug #349: WinSwitch freezes on system restart

Kind bug
Product WinSwitch
When Created 2006-01-11T16:00:48Z, updated 2010-08-12T10:11:09Z
Status closed
Reporter bugzilla user 291
Tags no tags

Description

Everytime I restart my Mac (once a month or so) WinSwitch freezes SystemUIServer. Killing SystemUIServer doesn't help, however FUS:ing back and forward works (and the user I FUS to does not have a problem with an initial freezing).

This is what I get in the system.log and console.log:

----------------------

2006-01-11 21:32:15.810 SystemUIServer[461] SetAlphaValue >> load failled for identifier: com.apple.systemuiserver >> numberOfItems: 0 2006-01-11 21:32:16.253 SystemUIServer[461]

   MenuCracker
   see http://sourceforge.net/projects/menucracker
   MenuCracker is now loaded. Ready to accept new menus. Ignore the failure message that follow.

2006-01-11 21:32:16.447 SystemUIServer[461] failed to load Menu Extra: NSBundle (loaded) 2006-01-11 21:32:16.448 SystemUIServer[461] MenuCracker: Loading 'WOWinSwitchMenuExtra'. Jan 11 21:32:16 pb /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer: NetInfo timeout connecting to local domain, sleeping

----------------------------------------------

Jan 11 21:32:16 pb /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer: NetInfo timeout connecting to local domain, sleeping Jan 11 21:33:30 pb /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started Jan 11 21:33:32 pb loginwindow[464]: Login Window Started Security Agent

-------------

I am not sure if this is a dupe of bug 161, the logs look very similar but the circumstances are quite different.

It is very weird being forced to switch user, without using WinSwitch, everytime I restart my computer...

Comments

  1. Greg Hurrell 2006-01-11T16:28:36Z

    Thanks for the report. This is definitely not related to bug #161. The "MenuCracker" entries you see in the logs are completely normal, not related to either of these reports; you'll see them every time you boot even when things are working perfectly.

    I think this is the pertinent line:

    /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer: NetInfo timeout connecting to local domain, sleeping

    So the thing is going to sleep (which you'll see as a "freeze" or a "spinning beachball"). The question is, why? Can you provide some more information about your system? OS version? Special hardware? Special network setup? Anything weird or special with your user setup, particularly anything to to do with NetInfo.

  2. bugzilla user 291 2006-01-11T16:52:20Z

    Nothing special as far as I can tell, a standalone PBG4 with Tiger. You can run a VNC or Apple Remote Desktop session against my machine if you want to have a look.

    The only other 3rd party Menu Extras I use are MenuMeters and PTHPasteboard.

  3. Greg Hurrell 2006-01-11T20:15:49Z

    Does it affect all user accounts? In other words, have you tried logging into a different account at startup and seeing if that other account is affected (turn off the "automatic login at startup" if you need to first). Can you try it with a brand new, clean account, created for the purposes of testing?

  4. bugzilla user 291 2006-01-12T00:38:10Z

    The other accounts have the same menu extras but it only happens on my 'main account'.

  5. Greg Hurrell 2006-01-12T06:20:06Z

    Well that narrows it down a bit. We now know that there's something particular to your main account that is causing the problem.

    If WinSwitch is having trouble accessing the NetInfo database I don't really know how I can prevent it from "going to sleep". The API is just a simple procedural API and there is no scope for setting "timeout" values. I also don't think splitting the work off into a separate thread is going to be appropriate given that the information obtained from the database is used to update the UI (and you shouldn't really update the UI from any thread other than the main thread). It would be possible to split this work off into a different thread and then notify the main thread when it's done, and specify some sort of "in progress" menu in the meantime. But that would be a fairly complicated solution for something that is caused by an anomaly in one account on your system (and nobody elses!); it seems to me that the "in progress" message would be displayed forever, and the only way to make it go away would be to switch away or log out... Not very good!

  6. Greg Hurrell 2006-07-05T02:07:07Z

    Changing assignment to reflect my new email address.

    https://wincent.dev/a/news/archives/2006/05/change_of_email.php

  7. Greg Hurrell 2010-08-12T10:11:09Z

    Status changed:

    • From: new
    • To: closed
Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets