≡

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

Bug #636: CRASH: Synergy 3.5a3 crashes on launch

Kind bug
Product Synergy
When Created 2008-01-07T13:08:03Z, updated 2008-01-08T07:57:27Z
Status closed
Reporter Barry Fishman
Tags no tags

Description

I can't get Synergy 3.5a3 to launch at all (The Synergy Preferences application). Crash reporter output is below. Note: I turned off Synergy 3.5a2 and uninstalled the preference pane (including turning off the "load at startup" checkbox). I also re-started my MacBook, and the problem remains.

Process: Synergy Preferences [5363] Path: /Applications/Synergy Preferences.app/Contents/MacOS/Synergy Preferences Identifier: com.wincent.SynergyPreferences Version: version 3.5a3 (39f627d) Code Type: X86 (Native) Parent Process: launchd [66]

Date/Time: 2008-01-07 13:42:20.065 -0500 OS Version: Mac OS X 10.5.1 (9B18) Report Version: 6

Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000002, 0x0000000000000000 Crashed Thread: 0

Application Specific Information: objc[5363]: garbage collection is ON

  • ** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSCFArray insertObject:atIndex:]: attempt to insert nil'

Thread 0 Crashed: 0 com.apple.CoreFoundation 0x92f23114 ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ + 4 1 libobjc.A.dylib 0x90c5809b objc_exception_throw + 40 2 com.apple.CoreFoundation 0x92f2304b +[NSException raise:format:arguments:] + 155 3 com.apple.CoreFoundation 0x92f2308a +[NSException raise:format:] + 58 4 com.apple.Foundation 0x9011e990 _NSArrayRaiseInsertNilException + 80 5 com.apple.Foundation 0x9003de04 -[NSCFArray insertObject:atIndex:] + 228 6 com.apple.Foundation 0x9003dd14 -[NSCFArray addObject:] + 68 7 com.wincent.SynergyPreferences 0x0000472f -[WOLoginItemList refreshList] + 394 8 com.wincent.SynergyPreferences 0x00004517 -[WOLoginItemList initWithOptions:] + 167 9 com.wincent.SynergyPreferences 0x000045a3 +[WOLoginItemList sessionLoginItems] + 37 10 com.wincent.SynergyPreferences 0x00003972 -[WOSynergyPreferencesController updateLoginItems] + 30 11 com.wincent.SynergyPreferences 0x00003b38 -[WOSynergyPreferencesController awakeFromNib] + 171 12 com.apple.CoreFoundation 0x92f31a75 -[NSSet makeObjectsPerformSelector:] + 181 13 com.apple.AppKit 0x9184556e -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1533 14 com.apple.AppKit 0x9183b79c loadNib + 264 15 com.apple.AppKit 0x9183b0fd +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 946 16 com.apple.AppKit 0x9183ad40 +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 171 17 com.apple.AppKit 0x9183ac7e +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 391 18 com.apple.AppKit 0x9183a92e NSApplicationMain + 434 19 com.wincent.SynergyPreferences 0x0000282e start + 54

Thread 1: 0 libSystem.B.dylib 0x94358ace __semwait_signal + 10 1 libSystem.B.dylib 0x94382ced pthread_cond_wait$UNIX2003 + 73 2 libauto.dylib 0x9525958f auto_collection_thread(void*) + 175 3 libSystem.B.dylib 0x94382075 _pthread_start + 321 4 libSystem.B.dylib 0x94381f32 thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):

 eax: 0xa03c3cc0  ebx: 0x90c5807c  ecx: 0xa03bf4a0  edx: 0x00000007
 edi: 0x00000004  esi: 0xa000bc28  ebp: 0xbffff308  esp: 0xbffff308
  ss: 0x0000001f  efl: 0x00000286  eip: 0x92f23114   cs: 0x00000017
  ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
 cr2: 0x42423000

Binary Images:

   0x1000 -     0x8fff +com.wincent.SynergyPreferences version 3.5a3 (39f627d)  /Applications/Synergy Preferences.app/Contents/MacOS/Synergy Preferences
  0x3a000 -    0x69ff1 +org.wincent.Synergy version 3.5a3 (39f627d)  /Applications/Synergy Preferences.app/Contents/Resources/Synergy.prefPane/Contents/MacOS/Synergy
 0x64b000 -   0x731ff7  com.apple.RawCamera.bundle 2.0 (2.0) /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera

0x8fe00000 - 0x8fe2d883 dyld 95.3 (???) /usr/lib/dyld 0x90037000 - 0x90037ffd com.apple.vecLib 3.4 (vecLib 3.4) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib 0x90039000 - 0x902b2fe7 com.apple.Foundation 6.5.1 (677.1) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x902b3000 - 0x9033fff7 com.apple.LaunchServices 286 (286) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices 0x904ff000 - 0x9055cffb libstdc++.6.dylib ??? (???) /usr/lib/libstdc++.6.dylib 0x90590000 - 0x90671ff7 libxml2.2.dylib ??? (???) /usr/lib/libxml2.2.dylib 0x90672000 - 0x90672ffd com.apple.Accelerate 1.4 (Accelerate 1.4) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate 0x90679000 - 0x90679ffc com.apple.audio.units.AudioUnit 1.5 (1.5) /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit 0x9067a000 - 0x906caff7 com.apple.HIServices 1.6.0 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices 0x907ab000 - 0x907adfff com.apple.securityhi 3.0 (30817) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI 0x907be000 - 0x907ccffd libz.1.dylib ??? (???) /usr/lib/libz.1.dylib 0x907cd000 - 0x90860fff com.apple.ink.framework 101.3 (86) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink 0x90861000 - 0x90879fff com.apple.openscripting 1.2.6 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting 0x9087a000 - 0x90882fff com.apple.DiskArbitration 2.2 (2.2) /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration 0x908d0000 - 0x909b4ffb com.apple.CoreData 100 (185) /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData 0x909b5000 - 0x90aedff7 libicucore.A.dylib ??? (???) /usr/lib/libicucore.A.dylib 0x90aee000 - 0x90b33fef com.apple.Metadata 10.5.0 (398) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata 0x90b40000 - 0x90b46fff com.apple.print.framework.Print 218 (220) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print 0x90b47000 - 0x90b88fe7 libRIP.A.dylib ??? (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib 0x90c4f000 - 0x90d2efff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib 0x91246000 - 0x91248ff5 libRadiance.dylib ??? (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib 0x9124c000 - 0x91718ffe libGLProgrammability.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib 0x91719000 - 0x91719ffd com.apple.Accelerate.vecLib 3.4 (vecLib 3.4) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib 0x9171a000 - 0x917ccffb libcrypto.0.9.7.dylib ??? (???) /usr/lib/libcrypto.0.9.7.dylib 0x917cd000 - 0x917e3fff com.apple.DictionaryServices 1.0.0 (1.0.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices 0x917e4000 - 0x91826fef com.apple.NavigationServices 3.5.1 (161) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices 0x91834000 - 0x9202efef com.apple.AppKit 6.5 (949) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x9203f000 - 0x92075fff com.apple.SystemConfiguration 1.9.0 (1.9.0) /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration 0x922a6000 - 0x92664fea libLAPACK.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib 0x92704000 - 0x92708fff libGIF.dylib ??? (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib 0x92709000 - 0x927b8fff com.apple.DesktopServices 1.4.3 (1.4.3) /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv 0x927b9000 - 0x927cffe7 com.apple.CoreVideo 1.5.0 (1.5.0) /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo 0x928bf000 - 0x928e3fff libxslt.1.dylib ??? (???) /usr/lib/libxslt.1.dylib 0x928e4000 - 0x928effe7 libCSync.A.dylib ??? (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib 0x92935000 - 0x9298fff7 com.apple.CoreText 2.0.0 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText 0x92a92000 - 0x92a9eff5 libGL.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib 0x92aa5000 - 0x92ad2feb libvDSP.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib 0x92ad3000 - 0x92ad3ffb com.apple.installserver.framework 1.0 (8) /System/Library/PrivateFrameworks/InstallServer.framework/Versions/A/InstallServer 0x92ad4000 - 0x92b53ff5 com.apple.SearchKit 1.2.0 (1.2.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit 0x92b54000 - 0x92b5bff7 libCGATS.A.dylib ??? (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib 0x92b5c000 - 0x92b5cff8 com.apple.ApplicationServices 34 (34) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices 0x92b5d000 - 0x92e36fe7 com.apple.CoreServices.CarbonCore 783 (783) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore 0x92e37000 - 0x92f69fe7 com.apple.CoreFoundation 6.5 (476) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x92f6a000 - 0x92ff1ff7 libsqlite3.0.dylib ??? (???) /usr/lib/libsqlite3.0.dylib 0x92ff2000 - 0x93002fff com.apple.speech.synthesis.framework 3.6.59 (3.6.59) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis 0x9301a000 - 0x9301bfef libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib 0x9301c000 - 0x9301cff8 com.apple.Cocoa 6.5 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa 0x9301d000 - 0x933b3ff7 com.apple.QuartzCore 1.5.1 (1.5.1) /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore 0x933b4000 - 0x933b4fff com.apple.Carbon 136 (136) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon 0x933b5000 - 0x933bcfe9 libgcc_s.1.dylib ??? (???) /usr/lib/libgcc_s.1.dylib 0x933ee000 - 0x933efffc libffi.dylib ??? (???) /usr/lib/libffi.dylib 0x933f0000 - 0x934b7ff2 com.apple.vImage 3.0 (3.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage 0x934b8000 - 0x934dffff libcups.2.dylib ??? (???) /usr/lib/libcups.2.dylib 0x934e0000 - 0x9353cff7 com.apple.htmlrendering 68 (1.1.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering 0x9353d000 - 0x93542fff com.apple.CommonPanels 1.2.4 (85) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels 0x93543000 - 0x935bffeb com.apple.audio.CoreAudio 3.1.0 (3.1) /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio 0x935c0000 - 0x935cdfe7 com.apple.opengl 1.5.5 (1.5.5) /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL 0x936da000 - 0x93751fe3 com.apple.CFNetwork 220 (221) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork 0x93752000 - 0x93781fe3 com.apple.AE 402 (402) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE 0x937f2000 - 0x937f9ffe libbsm.dylib ??? (???) /usr/lib/libbsm.dylib 0x937fa000 - 0x9391efe3 com.apple.audio.toolbox.AudioToolbox 1.5 (1.5) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox 0x93b15000 - 0x93b52ff7 libGLImage.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib 0x93b53000 - 0x93bddfff com.apple.framework.IOKit 1.5.1 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x93bde000 - 0x93bf9ffb libPng.dylib ??? (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib 0x93bfa000 - 0x93bfdfff com.apple.help 1.1 (36) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help 0x93bfe000 - 0x93c1cfff libresolv.9.dylib ??? (???) /usr/lib/libresolv.9.dylib 0x93c6e000 - 0x93c82ff3 com.apple.ImageCapture 4.0 (5.0.0) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture 0x93eec000 - 0x93f45fff libGLU.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib 0x94351000 - 0x944abfe3 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib 0x944ac000 - 0x94675fef com.apple.security 5.0.1 (32736) /System/Library/Frameworks/Security.framework/Versions/A/Security 0x94676000 - 0x946b5fef libTIFF.dylib ??? (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib 0x94853000 - 0x94c63fef libBLAS.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 0x94c64000 - 0x94c74ffc com.apple.LangAnalysis 1.6.4 (1.6.4) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis 0x94c75000 - 0x94cafff7 com.apple.coreui 0.1 (60) /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI 0x94cb0000 - 0x94d60fff edu.mit.Kerberos 6.0.11 (6.0.11) /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos 0x94d79000 - 0x94d83feb com.apple.audio.SoundManager 3.9.2 (3.9.2) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound 0x94edb000 - 0x94f6dff3 com.apple.ApplicationServices.ATS 3.0 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS 0x94fa8000 - 0x950edff7 com.apple.ImageIO.framework 2.0.0 (2.0.0) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO 0x950ee000 - 0x950eeffa com.apple.CoreServices 32 (32) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 0x950ef000 - 0x95169ff8 com.apple.print.framework.PrintCore 5.5 (245) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore 0x9516a000 - 0x951defef libvMisc.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib 0x95236000 - 0x95255ffa libJPEG.dylib ??? (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib 0x95256000 - 0x95280fef libauto.dylib ??? (???) /usr/lib/libauto.dylib 0x95281000 - 0x95337fe3 com.apple.CoreServices.OSServices 210.2 (210.2) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices 0x95338000 - 0x95341fff com.apple.speech.recognition.framework 3.7.24 (3.7.24) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition 0x953da000 - 0x95a71fef com.apple.CoreGraphics 1.351.0 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics 0x95a72000 - 0x95b3dfff com.apple.ColorSync 4.5.0 (4.5.0) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync 0x95b3e000 - 0x95e44fff com.apple.HIToolbox 1.5.0 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x95e45000 - 0x95eecfff com.apple.QD 3.11.50 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD 0xfffe8000 - 0xfffebfff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib 0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib

Comments

  1. Greg Hurrell 2008-01-07T15:47:20Z

    Thanks very much for the report, Barry. I will take a look at the code that's in the stack trace you've posted, but in the meantime can you try one thing for me: delete the Synergy preferences file, or temporarily move it out of the way. You should find it at:

    ~/Library/Preferences/org.wincent.Synergy.plist

    It would be could to rule out possible preferences file corruption as a cause.

  2. Barry Fishman 2008-01-07T16:01:18Z

    Hi Wincent --

    You're welcome. I just did as you asked, and the application still crashes on launch (without creating a new preferences file, BTW). As a side note, when I was getting repeated crashes earlier, I clicked the "reset and relaunch" option, which I believe wipes out preference files.

    By the way -- you might want to include instructions on how to properly remove 3.5a2 or earlier to the ReadMe for 3.5a3, or note if no special removal instructions are needed.

    -Barry

  3. Greg Hurrell 2008-01-07T16:56:39Z

    (In reply to comment #2)

    You're welcome. I just did as you asked, and the application still crashes on launch (without creating a new preferences file, BTW). As a side note, when I was getting repeated crashes earlier, I clicked the "reset and relaunch" option, which I believe wipes out preference files.

    Ok I've started analyzing the code in question, and I can see there are a coupleof logging statements in that code path. Can you look in the system log using the /Applications/Console.app? See if anything helpful there is printed? Specific candidates which might have cropped up could mention LSSharedFileListItemResolve or CFURLGetFileSystemRepresentation.

    By the way -- you might want to include instructions on how to properly remove 3.5a2 or earlier to the ReadMe for 3.5a3, or note if no special removal instructions are needed.

    Ok, will update the README. No special removal should be needed because if an old version is present on the system the new version should throw up a sheet and offer to remove it for you.

  4. Greg Hurrell 2008-01-07T17:12:50Z

    I've just made a change that should hopefully suppress the crash:

    https://wincent.dev/a/about/wincent/weblog/svn-log/archives/2008/01/watch_out_for_nil_login_item_w.php

    Note that this is merely trying to *avoid* the crash; we still need to find the underlying cause.

    As I type this I'm waiting for a new nightly build to finish building and uploading which includes the above fix if you want to try it out. I am particularly interesting in two things:

    1. Does it fix the crash at launch?

    2. Do the "Launch at login" preferences work properly? (The change I've made above basically aborts the update of the login items if an unexpected nil value is encountered; so it might mean that the preference won't work properly. As I mention above, I still need to find out *why* we're getting that nil value).

    Anyway, you can find out more about the nightlies in general here:

    https://wincent.dev/s/nightlies/

    And this is the URL of the nightly that I just finished uploading:

    https://wincent.dev/a/about/wincent/weblog/nightlog/archives/2008/01/synergy_revision_9848c4f.php

  5. Barry Fishman 2008-01-07T19:06:16Z

    I will take a look at the nightly build you just put up and let you know what happens. I'll also try re-starting to test the launch at login feature (though that feature has always worked for me in 3.5a2).

    I'm not sure if you still want the console log messages, but here are ones that might be related to the 3.5a3 crash:

    1/7/08 4:57:59 PM Synergy Preferences[1212] Error: LSSharedFileListItemResolve returned error -43 1/7/08 4:57:59 PM Synergy Preferences[1212] An uncaught exception was raised

    
                      

    1/7/08 4:57:59 PM Synergy Preferences[1212] *** -[NSCFArray insertObject:atIndex:]: attempt to insert nil 1/7/08 4:57:59 PM Synergy Preferences[1212] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSCFArray insertObject:atIndex:]: attempt to insert nil' 1/7/08 4:57:59 PM Synergy Preferences[1212] Stack: (

       2465346155,
       2428862619,
       2465345611,
       2465345674,
       2417093008,
       2416172548,
       2416172308,
       18223,
       17687,
       17827,
       14706,
       15160,
       2465405557,
       2441368942,
       2441328540,
       2441326845,
       2441325888,
       2441325694,
       2441324846,
       10286

    )

    1/7/08 4:58:07 PM com.apple.launchd[74] ([0x0-0x10c10c].com.wincent.SynergyPreferences[1212]) Exited abnormally: Trace/BPT trap

  6. Barry Fishman 2008-01-07T19:24:57Z

    Good news to report: 3.5a3+(9848c4f) launches just fine on my machine, and also "launches at login" with no trouble.

    So the workaround, at least, works!

    -Barry

  7. Greg Hurrell 2008-01-08T01:34:15Z

    (In reply to comment #5)

    I'm not sure if you still want the console log messages, but here are ones that might be related to the 3.5a3 crash:

    1/7/08 4:57:59 PM Synergy Preferences[1212] Error: LSSharedFileListItemResolve returned error -43

    Excellent. That pinpoints the exact location where the problem is occurring. Now the only question is *why*. The function call which is unexpectedly failing is supposed to take a reference to an item in your login items and return the corresponding FSRef or CFURLRef (a reference to the item on disk).

    My guess is that this is failing because there is an old item in your login items which is no longer present on the disk or has been moved, so the function fails. Can you take a look in your login items and see if there are any stale-looking items? (System Preferences -> Accounts pane -> Login items)

    Looking at the headers, I see that error code -43 is fnfErr ("File not found"), so that's almost certainly what's happening. The fix I applied to the nightly last night is basically the correct course of action in this case, I think. Thanks for your help in troubleshooting this.

  8. Greg Hurrell 2008-01-08T01:40:43Z

    Adding the "fixed-in-prerelease" keyword. As this is a potential crasher, will cut a new release within the next day or two so that people can get their hands on the fix (although I suspect that the number of affected people will be small, seeing as this depends on the login items being in a certain state).

  9. Greg Hurrell 2008-01-08T03:39:09Z

    Ok, 3.5a4 is out, so will mark this as FIXED/CLOSED.

    https://wincent.dev/a/products/synergy-classic/download/

    https://wincent.dev/a/products/synergy-classic/history/#3.5a4

  10. Barry Fishman 2008-01-08T06:57:48Z

    FYI: I think that I did find a "stale" login item, related to the Blue Harvest preference pane (cleans .ds files from servers and memory sticks).

    I know this is closed, but let me just share with you some Console log entries from 3.5a4 that may be of interest. These occur upon launch of Synergy Preferences, and then when the sender changes to simply "Synergy" I have just clicked "Start".

    1/8/08 7:55:06 AM Synergy Preferences[905] Error loading /Library/InputManagers/Smart Crash Reports/Smart Crash Reports.bundle/Contents/MacOS/Smart Crash Reports: dlopen(/Library/InputManagers/Smart Crash Reports/Smart Crash Reports.bundle/Contents/MacOS/Smart Crash Reports, 265): no suitable image found. Did find:

    /Library/InputManagers/Smart Crash Reports/Smart Crash Reports.bundle/Contents/MacOS/Smart Crash Reports: GC capability mismatch 

    1/8/08 7:55:06 AM Synergy Preferences[905] Error loading /Library/InputManagers/Ecamm/Ecamm Plugin Loader.bundle/Contents/MacOS/Ecamm Plugin Loader: dlopen(/Library/InputManagers/Ecamm/Ecamm Plugin Loader.bundle/Contents/MacOS/Ecamm Plugin Loader, 265): no suitable image found. Did find:

    /Library/InputManagers/Ecamm/Ecamm Plugin Loader.bundle/Contents/MacOS/Ecamm Plugin Loader: GC capability mismatch 

    1/8/08 7:55:06 AM Synergy Preferences[905] Error loading /Library/InputManagers/SafariBlock/SafariBlock.bundle/Contents/MacOS/SafariBlock: dlopen(/Library/InputManagers/SafariBlock/SafariBlock.bundle/Contents/MacOS/SafariBlock, 265): no suitable image found. Did find:

    /Library/InputManagers/SafariBlock/SafariBlock.bundle/Contents/MacOS/SafariBlock: GC capability mismatch 

    1/8/08 7:55:07 AM Synergy Preferences[905] Error loading /Users/fishman/Library/PreferencePanes/Default Folder X.prefPane/Contents/Resources/Default Folder X.bundle/Contents/Resources/Carbon Patcher.bundle/Contents/MacOS/Carbon Patcher: dlopen(/Users/fishman/Library/PreferencePanes/Default Folder X.prefPane/Contents/Resources/Default Folder X.bundle/Contents/Resources/Carbon Patcher.bundle/Contents/MacOS/Carbon Patcher, 262): no suitable image found. Did find:

    /Users/fishman/Library/PreferencePanes/Default Folder X.prefPane/Contents/Resources/Default Folder X.bundle/Contents/Resources/Carbon Patcher.bundle/Contents/MacOS/Carbon Patcher: GC capability mismatch 

    1/8/08 7:55:07 AM Synergy Preferences[905] Error loading /Users/fishman/Library/PreferencePanes/Default Folder X.prefPane/Contents/Resources/Default Folder X.bundle/Contents/Resources/Carbon Patcher.bundle/Contents/MacOS/Carbon Patcher: dlopen(/Users/fishman/Library/PreferencePanes/Default Folder X.prefPane/Contents/Resources/Default Folder X.bundle/Contents/Resources/Carbon Patcher.bundle/Contents/MacOS/Carbon Patcher, 262): no suitable image found. Did find:

    /Users/fishman/Library/PreferencePanes/Default Folder X.prefPane/Contents/Resources/Default Folder X.bundle/Contents/Resources/Carbon Patcher.bundle/Contents/MacOS/Carbon Patcher: GC capability mismatch 

    1/8/08 7:55:07 AM Synergy Preferences[905] Error loading /Users/fishman/Library/PreferencePanes/Default Folder X.prefPane/Contents/Resources/Default Folder X.bundle/Contents/Resources/Carbon Patcher.bundle/Contents/MacOS/Carbon Patcher: dlopen(/Users/fishman/Library/PreferencePanes/Default Folder X.prefPane/Contents/Resources/Default Folder X.bundle/Contents/Resources/Carbon Patcher.bundle/Contents/MacOS/Carbon Patcher, 262): no suitable image found. Did find:

    /Users/fishman/Library/PreferencePanes/Default Folder X.prefPane/Contents/Resources/Default Folder X.bundle/Contents/Resources/Carbon Patcher.bundle/Contents/MacOS/Carbon Patcher: GC capability mismatch 

    1/8/08 7:55:07 AM Synergy Preferences[905] Couldn't find patch entry point 1/8/08 7:55:11 AM Synergy[906] Error loading /Library/QuickTime/LiveType.component/Contents/MacOS/LiveType: dlopen(/Library/QuickTime/LiveType.component/Contents/MacOS/LiveType, 262): Library not loaded: /System/Library/PrivateFrameworks/LiveType.framework/Versions/A/LiveType

     Referenced from: /Library/QuickTime/LiveType.component/Contents/MacOS/LiveType
     Reason: no suitable image found.  Did find:
    /System/Library/PrivateFrameworks/LiveType.framework/Versions/A/LiveType: GC capability mismatch 

    1/8/08 7:55:14 AM Synergy[906] Error loading /Library/InputManagers/Smart Crash Reports/Smart Crash Reports.bundle/Contents/MacOS/Smart Crash Reports: dlopen(/Library/InputManagers/Smart Crash Reports/Smart Crash Reports.bundle/Contents/MacOS/Smart Crash Reports, 265): no suitable image found. Did find:

    /Library/InputManagers/Smart Crash Reports/Smart Crash Reports.bundle/Contents/MacOS/Smart Crash Reports: GC capability mismatch 

    1/8/08 7:55:14 AM Synergy[906] Error loading /Library/InputManagers/Ecamm/Ecamm Plugin Loader.bundle/Contents/MacOS/Ecamm Plugin Loader: dlopen(/Library/InputManagers/Ecamm/Ecamm Plugin Loader.bundle/Contents/MacOS/Ecamm Plugin Loader, 265): no suitable image found. Did find:

    /Library/InputManagers/Ecamm/Ecamm Plugin Loader.bundle/Contents/MacOS/Ecamm Plugin Loader: GC capability mismatch 

    1/8/08 7:55:14 AM Synergy[906] Error loading /Library/InputManagers/SafariBlock/SafariBlock.bundle/Contents/MacOS/SafariBlock: dlopen(/Library/InputManagers/SafariBlock/SafariBlock.bundle/Contents/MacOS/SafariBlock, 265): no suitable image found. Did find:

    /Library/InputManagers/SafariBlock/SafariBlock.bundle/Contents/MacOS/SafariBlock: GC capability mismatch 
  11. Greg Hurrell 2008-01-08T07:10:40Z

    (In reply to comment #10)

    I know this is closed, but let me just share with you some Console log entries from 3.5a4 that may be of interest. These occur upon launch of Synergy Preferences, and then when the sender changes to simply "Synergy" I have just clicked "Start".

    All those console messages are being emitted because you have some add-ons which are trying to insert themselves into Synergy, but failing to do so because Synergy uses Leopard's Garbage Collection and they do not. That's what all the "GC capability mismatch" messages are about.

    Quickly scanning, looks like the things we're talking about are:

    - Smart Crash Reports - Ecamm Plugin Loader - SafariBlock - Default Folder X - QuickTime/LiveType

    Unfortunately there's nothing I can do to suppress those messages; they're not being emitted by Synergy itself despite the log message prefixes you're seeing. The reason I can't suppress this is that Synergy isn't the one loading these modules, rather the modules are themselves trying to insert themselves into Synergy's address space (and that of every other application you launch on the system). Basically, the messages will go away when the vendors of those modules update them to support Garbage Collection for Leopard.

  12. Barry Fishman 2008-01-08T07:57:27Z

    Excellent -- thanks for the explanation! And I am glad that I was able to be helpful to you, thanks for the excellent software!

    -B

Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets