≡

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

Bug #2173: 6.0a Synergy Preferences crashes immediately upon launch :(

Kind bug
Product Synergy
When Created 2014-05-21T13:40:37Z, updated 2014-06-04T01:28:22Z
Status closed
Reporter anonymous
Tags no tags

Description

6.0a Synergy Preferences crashes immediately upon launch :(

Problem Details and System Config

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT

Application Specific Information:
objc_msgSend() selector name: _cfTypeID


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib               	0x00007fff95a7a097 objc_msgSend + 23
1   com.apple.LaunchServices      	0x00007fff92c5803d LSSharedFileListItemRemove + 105
2   com.wincent.SynergyPreferences	0x000000010868c847 -[WOLoginItemList removeItem:andRefresh:] + 327
3   com.wincent.SynergyPreferences	0x000000010868c391 -[WOLoginItemList removeItemsWithName:] + 625
4   com.wincent.SynergyPreferences	0x00000001086959eb -[WOSynergyPreferencesController updateLoginItems] + 123
5   com.wincent.SynergyPreferences	0x0000000108695fc3 -[WOSynergyPreferencesController awakeFromNib] + 595
6   com.apple.CoreFoundation      	0x00007fff9531a3b9 -[NSSet makeObjectsPerformSelector:] + 201
7   com.apple.AppKit              	0x00007fff939deb1d -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1157
8   com.apple.AppKit              	0x00007fff939d35ee loadNib + 327
9   com.apple.AppKit              	0x00007fff939d2b8c +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 288
10  com.apple.AppKit              	0x00007fff939d297c -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 197
11  com.apple.AppKit              	0x00007fff939d276b +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 357
12  com.apple.AppKit              	0x00007fff939ce5b7 NSApplicationMain + 448
13  com.wincent.SynergyPreferences	0x0000000108688ef2 main + 34
14  libdyld.dylib                 	0x00007fff8c7da5fd start + 1

Full dump here.

Comments

  1. Greg Hurrell 2014-05-21T13:58:23Z

    Thanks for the report. I can't reproduce this locally, but the likely candidate seems to be a bad ARC conversion in the class at the top of the stack trace. I'll double-check it and see if I can find the defect.

  2. Greg Hurrell 2014-05-21T14:57:35Z

    Hmm. I've just been poring over the code for nearly an hour and can't spot the flaw.

    I'll revisit this later. Let me know if you have any suggestions.

  3. Greg Hurrell 2014-05-21T15:52:14Z

    Other reports of this in the comments here, and also a workaround:

    You can fix it by following these steps if that's the case for you too.

    Open "System Preferences"

    1. Select "Users & Groups"
    2. Pick your account
    3. Choose "Login Items" tab on the right side.
    4. Select "Synergy" and then click the "-" button.
  4. Greg Hurrell 2014-05-21T16:08:49Z

    I just pushed a possible fix, but as I can't repro the issue, I don't know for sure.

  5. Greg Hurrell 2014-05-21T16:15:41Z

    Status changed:

    • From: new
    • To: open
  6. Larry Larraga Created 2014-05-22T20:15:22Z, edited 2014-05-23T03:15:48Z

    Unfortunately 6.0a2 didn’t change the crashing:

    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: EXC_I386_GPFLT
    
    Application Specific Information:
    objc_msgSend() selector name: baseURL
    
    
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libobjc.A.dylib               	0x00007fff95a7a097 objc_msgSend + 23
    1   com.apple.CoreFoundation      	0x00007fff952ccc58 CFURLGetFileSystemRepresentation + 184
    2   com.wincent.SynergyPreferences	0x0000000102e4188e -[WOLoginItem initWithRef:global:] + 974
    3   com.wincent.SynergyPreferences	0x0000000102e41452 +[WOLoginItem sessionLoginItemWithRef:] + 66
    4   com.wincent.SynergyPreferences	0x0000000102e4272f -[WOLoginItemList refreshList] + 591
    5   com.wincent.SynergyPreferences	0x0000000102e42356 -[WOLoginItemList initWithOptions:] + 326
    6   com.wincent.SynergyPreferences	0x0000000102e42450 +[WOLoginItemList loginItems:] + 64
    7   com.wincent.SynergyPreferences	0x0000000102e424cd +[WOLoginItemList sessionLoginItems] + 45
    8   com.wincent.SynergyPreferences	0x0000000102e4c9a1 -[WOSynergyPreferencesController updateLoginItems] + 49
    9   com.wincent.SynergyPreferences	0x0000000102e4cfc3 -[WOSynergyPreferencesController awakeFromNib] + 595
    10  com.apple.CoreFoundation      	0x00007fff9531a3b9 -[NSSet makeObjectsPerformSelector:] + 201
    11  com.apple.AppKit              	0x00007fff939deb1d -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1157
    12  com.apple.AppKit              	0x00007fff939d35ee loadNib + 327
    13  com.apple.AppKit              	0x00007fff939d2b8c +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 288
    14  com.apple.AppKit              	0x00007fff939d297c -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 197
    15  com.apple.AppKit              	0x00007fff939d276b +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 357
    16  com.apple.AppKit              	0x00007fff939ce5b7 NSApplicationMain + 448
    17  com.wincent.SynergyPreferences	0x0000000102e3ff02 main + 34
    18  libdyld.dylib                 	0x00007fff8c7da5fd start + 1

    Full dump here.

  7. Greg Hurrell 2014-05-23T02:46:55Z

    Excellent. Thanks for the new stacktrace.

    This is good, as the crashing trace is different, so I think the original issue is fixed. I'll see if I can find a likely cause of this crash too.

  8. Greg Hurrell 2014-05-23T03:13:02Z

    Found the bug and just pushed a fix.

  9. Larry Larraga 2014-05-27T17:02:09Z

    So, a little closer. If I start Synergy Prefs 6.0a3 with Synergy closed, it’s opens fine and I can do whatever in the app. Synergy controls iTunes fine. If I try to open it with Synergy running however, the Pref app crashes. The menu applet still works fine; the floater comes up and everything.

    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: EXC_I386_GPFLT
    
    Application Specific Information:
    objc_msgSend() selector name: _cfTypeID
    
    
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libobjc.A.dylib               	0x00007fff95a7a097 objc_msgSend + 23
    1   com.apple.LaunchServices      	0x00007fff92c5803d LSSharedFileListItemRemove + 105
    2   com.wincent.SynergyPreferences	0x0000000105133847 -[WOLoginItemList removeItem:andRefresh:] + 327
    3   com.wincent.SynergyPreferences	0x0000000105133391 -[WOLoginItemList removeItemsWithName:] + 625
    4   com.wincent.SynergyPreferences	0x000000010513c9eb -[WOSynergyPreferencesController updateLoginItems] + 123
    5   com.wincent.SynergyPreferences	0x000000010513cfc3 -[WOSynergyPreferencesController awakeFromNib] + 595
    6   com.apple.CoreFoundation      	0x00007fff9531a3b9 -[NSSet makeObjectsPerformSelector:] + 201
    7   com.apple.AppKit              	0x00007fff939deb1d -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1157
    8   com.apple.AppKit              	0x00007fff939d35ee loadNib + 327
    9   com.apple.AppKit              	0x00007fff939d2b8c +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 288
    10  com.apple.AppKit              	0x00007fff939d297c -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 197
    11  com.apple.AppKit              	0x00007fff939d276b +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 357
    12  com.apple.AppKit              	0x00007fff939ce5b7 NSApplicationMain + 448
    13  com.wincent.SynergyPreferences	0x000000010512ff02 main + 34
    14  libdyld.dylib                 	0x00007fff8c7da5fd start + 1

    Full stack trace here.

  10. Greg Hurrell 2014-05-27T17:06:09Z

    This one is very similar to the original stack trace posted with this bug report. I'll take another look at that code and see if there's anything else we can try. Thanks for the report.

  11. Greg Hurrell 2014-06-03T03:30:45Z

    This time I was able to reproduce the crash, so hopefully I have a definitive fix for it in version 6.0a4, which is available for download now.

  12. Larry Larraga Created 2014-06-03T13:14:56Z, edited 2014-06-04T01:28:10Z

    That did it! Thanks Wincent.

    --Larry

  13. Greg Hurrell 2014-06-04T01:28:22Z

    Status changed:

    • From: open
    • To: closed
Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets