Coder Social home page Coder Social logo

Crash immediately after launch about phpmon HOT 13 CLOSED

duellsy avatar duellsy commented on June 15, 2024
Crash immediately after launch

from phpmon.

Comments (13)

nicoverbruggen avatar nicoverbruggen commented on June 15, 2024 1

Great! Let me know if the problem has been resolved after upgrading 🤞

from phpmon.

nicoverbruggen avatar nicoverbruggen commented on June 15, 2024

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.

nicoverbruggen avatar nicoverbruggen commented on June 15, 2024

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.

duellsy avatar duellsy commented on June 15, 2024

Thanks so much for responding and attempting a fix so quickyl.

But no luck with the initial build I'm afraid. .plist file attached.

phpmonplist.zip

Also tried the second build, but no luck there eithe.

from phpmon.

nicoverbruggen avatar nicoverbruggen commented on June 15, 2024

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.

duellsy avatar duellsy commented on June 15, 2024

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.

nicoverbruggen avatar nicoverbruggen commented on June 15, 2024

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.

duellsy avatar duellsy commented on June 15, 2024

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.

nicoverbruggen avatar nicoverbruggen commented on June 15, 2024

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.

duellsy avatar duellsy commented on June 15, 2024

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.

duellsy avatar duellsy commented on June 15, 2024

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.

nicoverbruggen avatar nicoverbruggen commented on June 15, 2024

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.

duellsy avatar duellsy commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.