{"thread":{"id":"51676","subject":"gitk causes SIGSEGV in macOS com.apple.WindowServer when started without Safe Mode","startedAt":"2019-08-19T19:23:44Z","lastAt":"2019-08-19T19:23:44Z","messageCount":1,"participants":["Martin Nordholts"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"380724","messageId":"CAC-DJzJBHKrXG=3sXKPdaMrPCDXWOWgOBnuXjiHnJ_VdC-7Z8A@mail.gmail.com","threadId":"51676","inReplyTo":null,"subject":"gitk causes SIGSEGV in macOS com.apple.WindowServer when started without Safe Mode","fromName":"Martin Nordholts","fromEmail":"enselic@gmail.com","sentAt":"2019-08-19T19:23:29Z","receivedAt":"2019-08-19T19:23:44Z","isPatch":false,"sender":{"key":"enselic@gmail.com","avatar":"https://gravatar.com/avatar/74df556deac89f8da8c185cdbf811d51d7205eb48770305e84d7c1435755510e?d=mp&s=160"},"body":"Hi\n\nI run a MacBook Pro (15-inch, 2018) with macOS 10.14.6 (18G87)\nI run git version 2.23.0 via brew install git.\n\nAs soon as I launch gitk, I get an empty gitk window for about 0.5\nseconds before getting thrown back to the macOS login screen due to a\nSIGSEGV in com.apple.WindowServer.\n\nIf I launch gitk in macOS Safe Mode (reboot with Shift key pressed),\ngitk can be started just fine.\n\nWhen it crashes without Safe Mode, I see the following log messages in\nConsole.app.\n\nCan anyone else reproduce this?\n\nBest regards,\nMartin Nordholts\n\nAug 19 20:04:47 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.WindowServer[677]): Service exited due to SIGSEGV | sent by\nexc handler[677]\nAug 19 20:04:47 martins-mbp-2 sessionlogoutd[1211]: DEAD_PROCESS: 676 console\nAug 19 20:04:47 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.ViewBridgeAuxiliary[1212]): Service exited with abnormal\ncode: 2\nAug 19 20:04:47 martins-mbp-2 diagnosticd[1155]: System mode client\nstopped - Console (1154) - clearing mode: 0xa, still active: 0x0\nAug 19 20:04:47 martins-mbp-2 diagnosticd[1155]: Posting empty stream filter\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.WebKit.WebContent.76991C21-BB99-401A-BDDA-6F756DC5CA7E[1005]):\nService exited with abnormal code: 1\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.WebKit.WebContent.24706A0C-74AD-4CDA-87F3-620A95F47116[1047]):\nService exited with abnormal code: 1\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.WebKit.WebContent.06826255-40C1-40B2-844D-9A1B7D247380[854]):\nService exited with abnormal code: 1\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.WebKit.WebContent.2E190561-3E95-4391-86C0-A1BE5AAEB71F[1057]):\nService exited with abnormal code: 1\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.WebKit.WebContent.0F4448C0-E12A-4C0A-8B0F-569CC2CD38FB[1074]):\nService exited with abnormal code: 1\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.WebKit.WebContent.2DFF6196-EC40-48AE-A934-4C3A6522C214[1136]):\nService exited with abnormal code: 1\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.WebKit.WebContent.44C9CDA1-309A-4732-B1BA-C95368F3E328[1077]):\nService exited with abnormal code: 1\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.WebKit.WebContent.DD50C739-9EAC-48F1-BDCF-07051E50A01C[1059]):\nService exited with abnormal code: 1\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.WebKit.WebContent.F2ECC3EE-1DC1-4F91-BCF4-587499D45667[1085]):\nService exited with abnormal code: 1\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.WebKit.WebContent.00A2CFBF-4C9F-49AE-8B79-D810900410F2[1132]):\nService exited with abnormal code: 1\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.WebKit.WebContent.2F0D8F2C-B093-46EA-9D81-14BFB2776C32[766]):\nService exited with abnormal code: 1\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.coreservices.useractivityd[771]): Service exited due to\nSIGKILL | sent by useractivityd[771]\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.WebKit.WebContent.CA39E5DC-4A94-4B48-971F-14FED587BFAA[1072]):\nService exited with abnormal code: 1\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.Dock.agent[727]): Service exited with abnormal code: 1\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.WebKit.WebContent.DEF0E32E-11B6-4451-BD0B-A076C5956ED9[1036]):\nService exited with abnormal code: 1\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.WebKit.WebContent.8801C6A2-1E62-4140-B471-03CD427AD62C[1133]):\nService exited with abnormal code: 1\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.corespeechd[921]): Service exited due to SIGKILL | sent by\ncorespeechd[921]\nAug 19 20:04:48 martins-mbp-2 login[853]: DEAD_PROCESS: 853 ttys002\nAug 19 20:04:48 martins-mbp-2 login[798]: DEAD_PROCESS: 798 ttys000\nAug 19 20:04:48 martins-mbp-2 login[833]: DEAD_PROCESS: 833 ttys001\nAug 19 20:04:48 martins-mbp-2 WindowServer[1215]: DEPRECATED USE in\nlibdispatch client: dispatch source activated with no event handler\nset; set a breakpoint on _dispatch_bug_deprecated to debug\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.preference.security.remoteservice[1128]): Service exited\ndue to SIGKILL | sent by com.apple.preference.security.re[1128]\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.imklaunchagent): This service is defined to be constantly\nrunning and is inherently inefficient.\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.coreservices.UASharedPasteboardProgressUI): Unknown key for\nBoolean: DrainMessagesAfterFailedInit\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.xpc.launchd.domain.user.loginwindow.1214.4294967295):\ncom.apple.pluginkit.pkd (lint): Service sets EnableTransactions=false\nand EnablePressuredExit=true, which makes no sense. Enabling\nTransactions.\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.UserEventAgent-LoginWindow): This service is defined to be\nconstantly running and is inherently inefficient.\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.xpc.launchd.domain.user.loginwindow.1214.4294967295):\ncom.apple.universalaccessd (lint): The HideUntilCheckIn property is an\narchitectural performance issue. Please transition away from it.\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.xpc.launchd.domain.user.loginwindow.1214.4294967295):\ncom.apple.VoiceOver (lint): The HideUntilCheckIn property is an\narchitectural performance issue. Please transition away from it.\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.xpc.launchd.domain.user.loginwindow.1214.4294967295):\ncom.apple.AssistiveControl (lint): The HideUntilCheckIn property is an\narchitectural performance issue. Please transition away from it.\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.xpc.launchd.domain.user.loginwindow.1214.4294967295):\ncom.apple.DwellControl (lint): The HideUntilCheckIn property is an\narchitectural performance issue. Please transition away from it.\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.xpc.launchd.domain.user.loginwindow.1214.4294967295):\ncom.apple.universalaccesscontrol (lint): The HideUntilCheckIn property\nis an architectural performance issue. Please transition away from it.\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.xpc.launchd.domain.user.loginwindow.1214.4294967295):\ncom.apple.noticeboard.agent (lint): EnablePressuredExit is not\ncompatible with KeepAlive=true. Ignoring EnablePressuredExit.\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.noticeboard.agent): This service is defined to be\nconstantly running and is inherently inefficient.\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.xpc.launchd.domain.user.loginwindow.1214.4294967295):\ncom.apple.tiswitcher (lint): The HideUntilCheckIn property is an\narchitectural performance issue. Please transition away from it.\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.coreservices.useractivityd): Unknown key for Boolean:\nDrainMessagesAfterFailedInit\nAug 19 20:04:48 martins-mbp-2 SecurityAgent[1233]: objc[1233]: Class\nTKTokenRefImpl is implemented in both\n/System/Library/Frameworks/Security.framework/Versions/A/Security\n(0x7fff8fec5098) and\n/System/Library/Frameworks/Security.framework/Versions/A/MachServices/SecurityAgent.bundle/Contents/MacOS/SecurityAgent\n(0x104f13d00). One of the two will be used. Which one is undefined.\nAug 19 20:04:48 martins-mbp-2 SecurityAgent[1233]: objc[1233]: Class\nTKTokenRefCtkd is implemented in both\n/System/Library/Frameworks/Security.framework/Versions/A/Security\n(0x7fff8fec50c0) and\n/System/Library/Frameworks/Security.framework/Versions/A/MachServices/SecurityAgent.bundle/Contents/MacOS/SecurityAgent\n(0x104f13d28). One of the two will be used. Which one is undefined.\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.xpc.launchd.domain.system): Service tried to register a\nport for an endpoint declared in its launchd.plist(5): service =\ncom.apple.ManagedClient, endpoint = com.apple.mcxd\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.xpc.launchd.domain.pid.SecurityAgent.1233): Path not\nallowed in target domain: type = uid, path =\n/System/Library/PrivateFrameworks/ViewBridge.framework/Versions/A/XPCServices/ViewBridgeAuxiliary.xpc/Contents/MacOS/ViewBridgeAuxiliary\nerror = 1: Operation not permitted, origin =\n/System/Library/Frameworks/Security.framework/Versions/A/MachServices/SecurityAgent.bundle\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.xpc.launchd.domain.pid.SecurityAgent.1233): Path not\nallowed in target domain: type = uid, path =\n/System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/XPCServices/com.apple.FCiCloudPrefUpdater.xpc/Contents/MacOS/com.apple.FCiCloudPrefUpdater\nerror = 1: Operation not permitted, origin =\n/System/Library/Frameworks/Security.framework/Versions/A/MachServices/SecurityAgent.bundle\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.xpc.launchd.domain.pid.SecurityAgent.1233): Path not\nallowed in target domain: type = uid, path =\n/System/Library/Frameworks/MediaAccessibility.framework/Versions/A/XPCServices/com.apple.accessibility.mediaaccessibilityd.xpc/Contents/MacOS/com.apple.accessibility.mediaaccessibilityd\nerror = 1: Operation not permitted, origin =\n/System/Library/Frameworks/Security.framework/Versions/A/MachServices/SecurityAgent.bundle\nAug 19 20:04:48 martins-mbp-2 com.apple.xpc.launchd[1]\n(com.apple.AmbientDisplayAgent): Service only ran for 0 seconds.\nPushing respawn out by 10 seconds.\nAug 19 20:04:49 martins-mbp-2 ctkahp[1244]: objc[1244]: Class\nTKTokenRefImpl is implemented in both\n/System/Library/Frameworks/Security.framework/Versions/A/Security\n(0x7fff8fec5098) and\n/System/Library/Frameworks/CryptoTokenKit.framework/ctkahp.bundle/Contents/MacOS/ctkahp\n(0x10c357738). One of the two will be used. Which one is undefined.\nAug 19 20:04:49 martins-mbp-2 ctkahp[1244]: objc[1244]: Class\nTKTokenRefCtkd is implemented in both\n/System/Library/Frameworks/Security.framework/Versions/A/Security\n(0x7fff8fec50c0) and\n/System/Library/Frameworks/CryptoTokenKit.framework/ctkahp.bundle/Contents/MacOS/ctkahp\n(0x10c357760). One of the two will be used. Which one is undefined.\n"}]}