Latest Beagle Beta suddenly crashed out of a sudden today. After the first crash it repeatedly fails to start, see end of shell output. Latest stable release crashes as well, so I have no idea what's happening...
loaded 51 during initialization of the view
loaded 0 during initialization of the view
quote level: 1
Fatal error: file /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Binaries/swiftlang/install/TempContent/Objects/BNI_macOS/swift-macosx-x86_64/stdlib/public/core/8/UnsafeBufferPointer.swift, line 837
Illegal instruction: 4
]1337;RemoteHost=ij@corelli.hro.localnet]1337;CurrentDir=/Users/ij]133;D;132]133;Acorelli:~ ij$ ]133;B
Unknown commented 4 years ago
Could you provide full crash log? (not just a log from the console). Any
Unknown commented 4 years ago
You mean this below or something else? If something else, then please state how to obtain the log you'll need...
I've added a fix for possible cause of the issue, which will be included in the next build. If this will not help (as I'm not 100% sure that this will eliminate the issue as it was not obvious what was wrong), I've added an entry to the log (console output) starting with message possibly causing a crash: which will be followed by the message causing this issue. With content of this message I could review the code and add a better fix if it will be needed.
Unknown commented 4 years ago
b107 reports:
SocketConnector stream event: OpenCompleted
loaded 51 during initialization of the view
loaded 0 during initialization of the view
quote level: 1
message possibly causing a crash: ij:
> Ein bisschen bin ich ja froh, dass ich ab naechsten Monat nicht mehr Cisco Jabber administrieren muss… ??
Steht ein Wechsel der Firma/Stelle an oder ein Wechsel der Software?
Fatal error: file /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Binaries/swiftlang/install/TempContent/Objects/BNI_macOS/swift-macosx-x86_64/stdlib/public/core/8/UnsafeBufferPointer.swift, line 837
Illegal instruction: 4
Unknown commented 4 years ago
A new build was released which should (hopefully as I was not able to find a cause of the issue) solve this issue. Please try it and if it does not work please attach entry from console starting with message possibly causing a crash: and crash log (a lot has changes in this area and I will need a crash log from the new version).
Unknown commented 4 years ago
b108 seems to fix this issue... at least Beagle is no longer crashing on startup.
Thanks for the fix! :)
Unknown commented 4 years ago
I'm glad to hear that.
The cause of the issue was bridging between Swift String class and NSString - some index was not recalculated properly. The solution was to use only NSString even in code in Swift.
Latest Beagle Beta suddenly crashed out of a sudden today. After the first crash it repeatedly fails to start, see end of shell output. Latest stable release crashes as well, so I have no idea what's happening...