≡

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 #119

Bug #119: Crash of other applications when Synergy is running

Kind bug
Product Synergy
When 2005-02-07T17:24:46Z
Status closed
Reporter Michael Sullivan
Tags no tags

Description

I'm not 100% sure about whether Synergy is responsible for the crashes I'm seeing, but I have strong suspicions, especially since they appear to have stopped after uninstalling Synergy.

What happens is, after running for a few days, applications will start to crash when I access their menus, and always in the same code:

Thread 0 Crashed: 0 com.apple.QD 0x915a3ff8 SetOrigin + 0x88 1 com.apple.HIToolbox 0x927e2ddc HLTBSetPortOrigin + 0x30 2 com.apple.HIToolbox 0x9282ea9c GetMenuWindow(OpaqueMenuRef*, unsigned short, Rect const*, OpaqueRgnHandle*, unsigned char*) + 0x3a0 3 com.apple.HIToolbox 0x928565e0 SaveBitsBar(StdMBDFGlobals*) + 0x16c 4 com.apple.HIToolbox 0x927dfc7c StandardMBDF(short, short, long, long) + 0x1d8 5 com.apple.HIToolbox 0x928a98f0 MBarSave(MenuData*, Rect*, OpaqueGrafPtr**, unsigned char*) + 0x44 6 com.apple.HIToolbox 0x9284bbec DrawTheMenu(MenuSelectData*, __CFArray**, unsigned char*) + 0x1b0 7 com.apple.HIToolbox 0x928a92d8 MenuChanged(MenuSelectData*) + 0x10c 8 com.apple.HIToolbox 0x92818198 TrackMenuCommon(MenuSelectData&, unsigned char*) + 0x21c 9 com.apple.HIToolbox 0x9285d6b0 MenuSelectCore(Point, double, unsigned long, OpaqueMenuRef**, unsigned short*) + 0xb0 10 com.apple.HIToolbox 0x92883b64 MenuSelect + 0x60

There is never any obvious indication that Synergy is responsible, but Synergy does attach itself to the menubar, so in my opinion, that puts it in the realm of possibility that it could be at least indirectly responsible. I hate pointing the finger without more definite evidence, but I wanted to go ahead and let you know my concerns just in case you had seen similar behavior.

Comments

  1. Greg Hurrell 2005-02-07T22:11:16Z

    Synergy is an normal Mac OS X application, meaning that it runs within its own protected address space and does not insert or inject itself into any other application's address space. It's simply not possible for Synergy to crash any other application, nor should any other application be able to crash Synergy.

    As for your menu-bar suspicion, Synergy is an NSStatusItem. The right side of the menu bar (including NSStatusItems and NSMenuExtras) is handled by the SystemUIServer. The left side of the menu bar is handled by which ever application is front most.

    To demonstrate the independence of the two sides of the menu bar, try crashing them independently. Use "Activity Monitor" or the Terminal to force quit/crash/kill the SystemUIServer and you'll see that the left side of the menu bar is unaffected and the frontmost application keeps running. Do the opposite (kill the frontmost application) and you'll likewise see that the right side of the menu bar is unaffected.

  2. Greg Hurrell 2005-02-07T22:11:30Z

    Marking as CLOSED.

Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets