Comments (13)
Great! Let me know if the problem has been resolved after upgrading 🤞
from phpmon.
Hi @duellsy, thanks for reporting. I will take a look later tonight to further investigate what's going on. I will also likely need more information.
For now, I made a quick build for you, which added some extra logging and disabled the alert that likely leads to the crash: phpmon.zip.
That's all I can do right now. I will be able to properly look at this issue after work.
Can you let me know if this build runs correctly for you and send me the session file after you ran this build?
EDIT: Additionally, if possible, send me the following file (make a zip and attach it here; it's not a text file): ~/Library/Preferences/com.nicoverbruggen.phpmon.plist
from phpmon.
If that first build works for you, try this one as well: phpmon-tweaked-build.zip
(If this one still crashes then there's something weird going on that I haven't figured out yet. This could be a concurrency-related issue on Monterey as well, but I suspect it's some weirdness related to uninstalling that previous version of PHP.)
Regardless, please give this a go and let me know if this fixes the issue.
from phpmon.
Thanks so much for responding and attempting a fix so quickyl.
But no luck with the initial build I'm afraid. .plist
file attached.
Also tried the second build, but no luck there eithe.
from phpmon.
Can you send me the session log file again for the second build I posted above? Crash log would also be great.
After that, try replacing the plist
file with this one: modified-plist.zip
from phpmon.
Sure, here's the session log:
https://gist.github.com/duellsy/cc4e19618e53f5bf621988478fb482fa
Crash log:
https://gist.github.com/duellsy/c64dfffd9c300aa49051b6f66e72c247
No luck after replacing the plist
file.
from phpmon.
According to your log, it appears as if the automatic background update check causes the crash.
I've disabled the auto-update check here: phpmon.zip... fingers crossed that this build doesn't crash? 🤞
If this build works, there's some strange problem with the updater that needs to be fixed and I need to get to the bottom of that. For context, all the updater runs in the background is this:
curl -s --max-time 5 'https://raw.githubusercontent.com/nicoverbruggen/homebrew-cask/master/Casks/phpmon.rb' | grep version
from phpmon.
No love I'm afraid :(
If it's of any value, running that curl gave a pretty instant response:
curl -s --max-time 5 'https://raw.githubusercontent.com/nicoverbruggen/homebrew-cask/master/Casks/phpmon.rb' | grep version ~
version '5.7.4_1040'
from phpmon.
Aha, upon doing some additional research this might be a bug in an older version of macOS Monterey...
I am seeing in the crash log that you are still using macOS 12.1.
I have reason to believe this was fixed in a later point update for Monterey. I'd at least recommend upgrading to 12.6.3, which is the latest update for macOS Monterey (if you do not want to or cannot upgrade to Ventura).
If the issue still occurs there, I'd be happy to look into it further, but I currently believe this may be an Apple issue.
from phpmon.
Sweet, in case that was the issue I've already kicked off the upgrade, 34 minutes remaining 😅
This machine hasn't been used in a while, and I didn't know it was this out of date!
from phpmon.
Winner!
Works perfectly after a MacOS upgrade. I'm so sorry for wasting your time on this, and a huge thanks for the help.
from phpmon.
Now that I'm aware of this, I can enforce macOS 12.4 or later as a minimum version requirement. Not everyone is likely to report a crash like this, and may simply choose not to use the app, all because they are running an older OS and the app crashes.
I have virtual machines set up that I use to check on older versions of macOS... but are always up-to-date, so I would not have caught this.
After this discovery I can simply enforce the macOS version requirement and folks can avoid having PHP Monitor crash on them. I'd say that's a win! So @duellsy, thanks again for reporting (and your sponsorship) — I wouldn't call this wasting my time 😉
from phpmon.
Love this response, you're a good person Nico.
I've found PHP Monitor tremendously useful for quite some time now, so all thanks go to you 🙌
from phpmon.
Related Issues (20)
- [Feature] Choose terminal app for "Open in Terminal" HOT 2
- Duplicated value in Domains list window HOT 4
- Statamic is not being detected correctly HOT 6
- Current helper binaries are incompatible with fish HOT 6
- [Bug] Toggling extensions in `conf.d` does not work as expected HOT 5
- [Feature] Install, remove and manage PHP extensions (per PHP version) HOT 1
- [Feature] Manual language selection HOT 5
- [Bug] Cannot install PHP 8.3 at the moment HOT 2
- [Feature] Bulk manage PHP versions HOT 4
- [Bug 6.x] PHP 8.2 is identified as version 8.3.0 (via Homebrew) HOT 7
- [Bug 7.x] Error Warning: Cannot load module "redis" when install via Extension manage HOT 5
- [Polish] Improve reliability of PHP Version Manager
- [Bug 7.x] Various UI issues w/ Extension Manager HOT 1
- [Polish] Quality of life changes for extension management HOT 1
- [Bug] PHP Extension Manager not showing any extensions on Intel Mac HOT 15
- PHPMON doesn't open after cleaning a Mac HOT 2
- [Troubleshooting] Fails to find Valet after debug install HOT 6
- [Troubleshooting] PHP 8.1 site with Xdebug causes Bad Gateway error HOT 24
- [Bug] Too many suggestions in popover HOT 2
- [Bug] Error when listing services HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpmon.