-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NSLayoutManager: Loop / Crash when moving app to different monitor #50
Comments
We got a report of this crash happening in release 1.1.1. Happened in
```
Process: Simplenote [72475]
Path: /Applications/Simplenote.app/Contents/MacOS/Simplenote
Identifier: com.automattic.Simplenote
Version: 1.1.1 (1111)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Simplenote [72475]
User ID: 501
Date/Time: 2015-11-10 15:11:16.097 -0600 Sleep/Wake UUID: CB8589F5-9F3B-4902-A94F-6E389AD46425 Time Awake Since Boot: 390000 seconds System Integrity Protection: enabled Crashed Thread: 1 Dispatch queue: com.apple.libdispatch-manager Exception Type: EXC_CRASH (SIGSEGV) Global Trace Buffer (reverse chronological seconds): Thread 0:: Dispatch queue: com.apple.main-thread Thread 1 Crashed:: Dispatch queue: com.apple.libdispatch-manager Thread 2:: com.squareup.SocketRocket.NetworkThread Thread 3:: com.apple.NSURLConnectionLoader Thread 4:: com.apple.NSEventThread Thread 5:: com.apple.CFSocket.private Thread 6: Thread 7: Thread 8: Thread 9: Thread 10: Thread 11: Thread 1 crashed with X86 Thread State (64-bit): Logical CPU: 0 Binary Images: External Modification Summary: VM Region Summary:
REGION TYPE SIZE COUNT (non-coalesced) Model: MacBookPro11,1, BootROM MBP111.0138.B16, 2 processors, Intel Core i7, 2.8 GHz, 16 GB, SMC 2.16f68
|
And another reported crash, right after OS X wakes up from sleep. Happened with a note, onscreen, with lots of nested bullets. |
Note: User support request (#415) indicates that this happens after performing these steps:
|
One of the users who reported this got back to us to say the app is no longer crashing when dragged from screen to another but it crashes when he tries to edit a note from the second screen. ticketid=2483566 |
A user on Twitter says it crashes when moving from a retina screen to a non-retina screen. |
Another report of this and the user has submitted crash logs with the ticket: ticketid=2665334 |
Another report, in this case when trying to enable Airplay Mirroring to Apple TV. They've also included a crash report. ticketid=2673982 |
Another report #2695642-t To replicate:
|
User in #2483566-t has got back to me wanting an update. Is this something we're going to fix? They say it works when the cursor is in the note being edited. If the focus is on the note list then it crashes. |
Hey there @rachelsquirrel !! Would love to get this one fixed. However...
(Bad / awful news) is... since it's a though crash, we really have no idea what might be triggering it / how to attempt a patch, unless we catch it with the debugger. I'll be spending time this week, perhaps we'll have more luck this time. Thank you!!! |
I have found a way to reliably recreate this issue (or something related to this issue). I use https://github.com/jigish/slate with a config file that resizes the windows when I plug or unplug a second monitor. Whenever I plug in a second monitor it crashes the app when I have slate running. My .slate is here https://gist.github.com/dabeeeenster/c14d32ce21a80294a41fd12e5362e053 |
Another user reported similar issue: #2894226-t Steps to reproduce:
Simplenote Version 1.1.4 |
Another report on 2931988-t. Still waiting for more info. |
Similar issue regarding the moving from Retina to non-Retina monitor.
|
Another report in 2951140-t Steps from the user:
|
Another report in 3038729-t It crashes when they start typing or when trying to paste text into Simplenote (when it's displayed in the external monitor). Details from user:
|
Another report here 3052946-t
|
Can confirm this is happening to me too. Same steps to reproduce with dragging from retina to non-retina. |
Also reported in #3276487-t with latest Mac OS Another report in 623894-zen with latest version of Mac 14th August 2017 |
Is there an estimated timeline for a fix? |
Another in, 713340-zen.
Asking for more details in ticket. |
Any time estimate for a fix? It should be easily reproducible since the crash happens consistently every time anyone with non-Retina monitors tries to move the app to a non-Retina screen. It seems like this should be an easy bug to reproduce and fix. |
Another report in 845570-zen Steps reported by user:
|
Yeah, SimpleNote knows how to reproduce it, they just aren't bothering to take the time to fix it. There hasn't been a release of the macOS SimpleNote app since January, so it seems to be just not maintained any more. |
Update coming in a few weeks :) I haven't been able to reproduce this using the current develop branch. So hopefully the issue will be resolved for everyone when the next update is out. |
Can y'all please test the 1.2.0 release to see if it fixes the issue for you? |
I'm on 1.1.1 now, and it seems to no longer be crashing when moving between monitors. Was the fix also in 1.1.1? |
@roundhill Confirmed as fixed for me on 1.2 (1200). I was experiencing the issue on 1.1.8 (1182). |
@orrd This was a macOS SDK bug (from what we can tell, fixed in High Sierra (10.13). The fix should only be in 1.2.0, since previous builds were linking macOS Sierra (10.12)'s SDK. Closing this one, thanks everyone! |
Friday Sep 25, 2015 at 15:25 GMT
The app appears to be crashing (randomly), in a recursive NSLayoutManager loop. One of our (awesome) users provided the crashlogs, available here.
Sadly, no single Simplenote-Exclusive line seems to get executed (in that loop call). Let's dig deeper!
The text was updated successfully, but these errors were encountered: