Details
-
Bug
-
Resolution: Fixed
-
Low
-
None
-
4.1.6
-
None
-
Severity 2 - Major
Description
This is using:
- SourceTree 4.1.6 (242)
- macOS 12.3
- Macbook Pro 15-inch, 2017 (Intel based)
A couple of days ago, I've upgraded my macOS from Big Sur (11.x) to Monterey (12.3)
And I've noticed Sourcetree now behaves different for opening projects than it did before, here are some scenario's:
- Opening a project via File > Open... crashes Sourcetree, here's part of the Crash Report:
Crashed Thread: 0 Dispatch queue: com.apple.main-threadException Type: EXC_BAD_INSTRUCTION (SIGILL) Exception Codes: 0x0000000000000001, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFYTermination Reason: Namespace SIGNAL, Code 4 Illegal instruction: 4 Terminating Process: exc handler [94052]Application Specific Information: Crashing on exception: Couldn't posix_spawn: error 9 Application Specific Backtrace 0: 0 CoreFoundation 0x00007ff8186801e3 __exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007ff8183e0c13 objc_exception_throw + 48 2 Foundation 0x00007ff8194d5095 -[NSConcreteTask launchWithDictionary:error:] + 5081 3 Sourcetree 0x000000010ba9a6b3 Sourcetree + 874163 4 Sourcetree 0x000000010ba97f39 Sourcetree + 864057 5 Sourcetree 0x000000010babc1ec Sourcetree + 1012204 6 AppKit 0x00007ff81b1e86de -[NSWindowController _windowDidLoad] + 548 7 AppKit 0x00007ff81b1e42b7 -[NSWindowController window] + 110 8 AppKit 0x00007ff81b25cae6 -[NSWindowController showWindow:] + 36 9 Sourcetree 0x000000010babc1b8 Sourcetree + 1012152 10 Sourcetree 0x000000010bae8aed Sourcetree + 1194733 11 Sourcetree 0x000000010b9f3cd7 Sourcetree + 191703 12 Sourcetree 0x000000010b9f3e4e Sourcetree + 192078 13 Sourcetree 0x000000010b9f3fd9 Sourcetree + 192473 14 Sourcetree 0x000000010b9f6e98 Sourcetree + 204440 15 AppKit 0x00007ff81b22d6fe -[NSApplication(NSResponder) sendAction:to:from:] + 288 16 AppKit 0x00007ff81b322450 -[NSMenuItem _corePerformAction] + 413 17 AppKit 0x00007ff81b322172 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 95 18 AppKit 0x00007ff81b64cec7 -[NSMenu _performActionForItem:atIndex:fromEvent:] + 197 19 AppKit 0x00007ff81b3214ba -[NSMenu performKeyEquivalent:] + 418 20 AppKit 0x00007ff81b77ec7d routeKeyEquivalent + 656 21 AppKit 0x00007ff81b198e50 -[NSApplication(NSEvent) sendEvent:] + 1132 22 AppKit 0x00007ff81b45196b -[NSApplication _handleEvent:] + 65 23 AppKit 0x00007ff81b01a35e -[NSApplication run] + 623 24 AppKit 0x00007ff81afee2b7 NSApplicationMain + 817 25 dyld 0x000000011516a51e start + 462
- Trying to open a project via the bookmarks also crashes Sourcetree with the same error as above
- Trying to open a project via File > Open Recent also crashes Sourcetree with the same error as above
- Opening a project using the terminal using the following alias works, it doesn't crash Sourcetree:
alias stree='/Applications/Sourcetree.app/Contents/Resources/stree'
- However, I can open the same project multiple times using the terminal, this is new in Monterey, and wasn't the case in Big Sur, I don't like this behavior, when a window for a certain project is already open, it should just give that window focus and don't try to open a new window when calling `stree` a couple of times on the terminal in the same directory
- The list of projects under File > Open Recent is not being updated after I was able to open a project using the terminal in Sourcetree
Not exactly sure what's going on here, but this is very weird behavior with macOS Monterey and very unexpected that this happens now after upgrading my macOS.
Thanks!