Skip to content
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

JASP freezing on launch [WORKAROUND SEE tkasci's COMMENT] #424

Closed
luisbm1634 opened this issue Jul 18, 2019 · 18 comments
Closed

JASP freezing on launch [WORKAROUND SEE tkasci's COMMENT] #424

luisbm1634 opened this issue Jul 18, 2019 · 18 comments
Assignees

Comments

@luisbm1634
Copy link

luisbm1634 commented Jul 18, 2019

  • JASP version: 0.10.2
  • OS name and version: MacOS Mojave
  • Analysis: None
  • Bug description: JASP 0.10.2 freezes for up to a minute on launch. The entire OS is unavailable during this period - no open program responds to mouse clicks, I can't use keyboard shortcut to open the force quit applications window, etc. If I have activity monitor open when I launch JASP then activity monitor also stops updating realtime CPU usage and becomes unresponsive. I did see a brief (less than a sec) return to responsiveness after several seconds of unresponsiveness in activity monitor while JASP was loading - it showed multiple iterations of JASP engine running that together was using more than 100% of available CPU resources. I'm thinking this may have something to do with the problem. Replacing JASP 0.10.2 with JASP 0.10.0 resolved all problems with loading JASP.

EDIT: see this comment for the workaround.

@djdekker
Copy link

I can confirm this behavior with JASP 0.10.2 on macOS Mojave 10.14.5.

I went back to JASP 0.10.1 which is working fine.

@JorisGoosen
Copy link
Contributor

Hmm, on startup the engines load some R-packages, maybe some of the new packages we added have a startup-sequence that is heavy on older macs.

@djdekker and @luisbm1634, how old are your macs (or which type are they exactly)?

@luisbm1634
Copy link
Author

luisbm1634 commented Jul 19, 2019 via email

@JorisGoosen
Copy link
Contributor

Well, that doesn't sound too bad actually. We'll have to find somebody at UvA with something similar to figure out what is making JASP startup so slow or freeze.

@MyrtheV do you see the same on your mac with the new version?

@djdekker
Copy link

Hi Joris,
I have got a 2017 iMac 3.4 GHz Intel Core i5 with 8GB of RAM.

@MyrtheV
Copy link

MyrtheV commented Jul 22, 2019

I don't have this issue, but I am on macOS Sierra.

@JorisGoosen
Copy link
Contributor

Hmm, maybe this is related to some changes me & @boutinb made to synching datafiles and the engines. I will have to take a closer look to the changes and how they migt effect a Mac when I am working on one again.

@mjkofler
Copy link

I also have this issue with 0.10.2. After the initial 1 minute or so when my whole system is unresponsive, it also freezes for shorter durations when opening files. Altogether it takes about 5 minutes to open JASP and get a dataset open ... "ok, who installed the SPSS module?" :-)

macOS Mojave 2.9 GHz Intel i7, 16 GB RAM, Radeon Pro 460 4 GB + Intel HD Graphics 530 1536 MB

@tkasci
Copy link

tkasci commented Jul 26, 2019

Same issue here, JASP 10.2, 2016 Macbook Pro, OSX 10.14.6.

One quick fix I found out: run JASP from the command line. Open a Terminal and paste this:
/Applications/JASP.app/Contents/MacOS/JASP - when I do this, the app starts normally without freezing.

@JorisGoosen
Copy link
Contributor

@tkasci that is quite a good find!

@mjkofler, @djdekker or/and @luisbm1634 is this the same on your systems?

@mjkofler
Copy link

mjkofler commented Jul 27, 2019 via email

@luisbm1634
Copy link
Author

luisbm1634 commented Jul 27, 2019 via email

@mjkofler
Copy link

mjkofler commented Jul 27, 2019

In case it helps, when I started JASP via command line it returned the following:

lots of logging from jasp

@djdekker
Copy link

@JorisGoosen I won't have access to my Mac for a couple of weeks. I'll try as soon as I'm back.

@AlexanderLyNL AlexanderLyNL changed the title JASP freezing on launch JASP freezing on launch [WORKAROUND SEE tkasci's COMMENT] Jul 29, 2019
@JorisGoosen
Copy link
Contributor

@luisbm1634 @djdekker @mjkofler @tkasci we have just uploaded a new version of the Mac OSX installer DMG, maybe (one of) you could try this and see if it starts normally when the icon is double-clicked?

@vicenteinefo
Copy link

I have downloaded this new version from the webpage and it seems starts pretty well and faster the before.

@luisbm1634
Copy link
Author

I can also confirm that the version I downloaded this morning starts up quickly and without issue. Thanks!

@JorisGoosen
Copy link
Contributor

Aah ok so the problem was that the earlier version wasn't signed and apparently that causes problems on some macs.. Good to know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants