hbons/SparkleShare — Issue #383: Crash on Mac OS X 10.7.2 on latest source code
Author: jtrott
Created: 2011-10-25 21:48:31+00:00
State: open

Followed instructions on the page:

1. Installed MacPorts
2. sudo port install git-core automake intltool
3. Installed Xcode 4.2
4. Installed MonoDevelop 2.8.1
5. Installed Mono Framework 2.10.6
6. export PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin:$PATH; export PKG_CONFIG=/Library/Frameworks/Mono.framework/Versions/Current/bin/pkg-config; export PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig
7. ./autogen.sh --enable-gtkui=no
8. make
9. open SparkleShare/Mac/SparkleShare.sln
10. Build->Build All
11. Project->Create Mac Installer... - Only check first option for Include Mono in application Bundle (Link all assemblies)
12. Replaced SparkleShare.app/Contents/MonoBundle/config with contents of https://raw.github.com/gist/1aeffa61bac73fc08eca/0c0f09ef9e36864c35f34fd5e8bf4f99886be193/gistfile1.txt
13. Copied /Library/Frameworks/Mono.framework/Versions/Current/lib/libintl.dylib into SparkleShare.app/Contents/Resources
14. Ran SparkleShare.app

Result is as follows:

Oct 26 08:34:30 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: Identity added: /Users/username/.config/sparkleshare/sparkleshare.sparkleshare@macsupport.org.key (/Users/username/.config/sparkleshare/sparkleshare.sparkleshare@domain.com.key)
Oct 26 08:34:30 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: 08:34:30 [Cmd] /opt/local/bin/git log -1 --format=%H
Oct 26 08:34:30 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: 08:34:30 [Cmd] /opt/local/bin/git rev-list --reverse HEAD
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: 08:34:31 [ListenerFactory] Issued new listener for tcp://204.62.14.135:1986/
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: 08:34:31 [ListenerTcp] Connecting to 204.62.14.135
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Net.Sockets.Socket ---> System.Configuration.ConfigurationErrorsException: Error Initializing the configuration system. ---
> System.MissingMethodException: Default constructor not found for type System.Configuration.ExeConfigurationHost.
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Activator.CreateInstance (System.Type type) [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Configuration.InternalConfigurationSystem.Init (System.Type typeConfigHost, System.Object[] hostInitParams) [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams) [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal (ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly, System.String exePath) [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: --- End of inner exception stack trace ---
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Net.Sockets.Socket.CheckProtocolSupport () [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Net.Sockets.Socket..cctor () [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: --- End of inner exception stack trace ---
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at SparkleLib.SparkleListenerTcp.m__7 () [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Threading.Thread.StartUnsafe () [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for System.Net.Sockets.Socket ---> System.Configuration.ConfigurationErrorsException: Error Initializing the configurati
on system. ---> System.MissingMethodException: Default constructor not found for type System.Configuration.ExeConfigurationHost.
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Activator.CreateInstance (System.Type type) [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Configuration.InternalConfigurationSystem.Init (System.Type typeConfigHost, System.Object[] hostInitParams) [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams) [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal (ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly, System.String exePath) [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: --- End of inner exception stack trace ---
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Net.Sockets.Socket.CheckProtocolSupport () [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Net.Sockets.Socket..cctor () [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: --- End of inner exception stack trace ---
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at SparkleLib.SparkleListenerTcp.m__7 () [0x00000] in :0
Oct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: at System.Threading.Thread.StartUnsafe () [0x00000] in :0
Oct 26 08:34:31 dwarf13 com.apple.launchd.peruser.503[209] ([0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]): Exited with code: 1

If I run inside MonoDevelop using Run->Run it works fine.

It's been like this for the last week or so of code checkouts, apart from the compile bug that was fixed in the last couple of days.