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

[Bug]: Engine Crashed while trying to run filter #2924

Open
3 tasks done
KelvinBalcombe opened this issue Sep 23, 2024 · 22 comments
Open
3 tasks done

[Bug]: Engine Crashed while trying to run filter #2924

KelvinBalcombe opened this issue Sep 23, 2024 · 22 comments
Assignees
Labels
Bug: High Bugs that are negatively affecting the area of the program, but don't need immediate fix. Component: Data Editing OS: Linux OS: Windows 11

Comments

@KelvinBalcombe
Copy link

JASP Version

0.19.0

Commit ID

No response

JASP Module

Unrelated

What analysis are you seeing the problem on?

Loading data

What OS are you seeing the problem on?

Windows 10

Bug Description

  1. Start JASP
  2. Go to OPEN- DATA LIBRARY - DESCRIPTIVES
  3. Open Sleep.csv (though the same fault with other files)
  4. Opens file but with a warning in the top panel "The engine crashed trying to run the filter..."
  5. Select Descriptives - the window simply hangs at "Waiting for initialization (of the engine) of module: Descriptives" (but same faults with other options
  6. If you go into back into the data set and filter a variable but clicking it off and on again (x then tick) the problem resolves itself (that is the intialises the engine)

image
image

NOTE: THIS HAPPENEND ON JASP 19.0 AND 19.1. Please also note that this only happens on one machine. I also have it installed on a laptop (Windows 10) and it does NOT exhibit this problem. It seems specific to one machine. This machine has run other versions of JASP that have been updated.

Expected Behaviour

  1. Should not happen.

Steps to Reproduce

  1. Start JASP
  2. Go to OPEN- DATA LIBRARY - DESCRIPTIVES
  3. Open Sleep.csv (though the same fault with other files)
  4. Opens file but with a warning in the top panel "The engine crashed trying to run the filter..."
  5. Select Descriptives - the window simply hangs at "Waiting for initialization (of the engine) of module: Descriptives" (but same faults with other options
  6. If you go into back into the data set and filter a variable but clicking it off and on again (x then tick) the problem resolves itself (that is the intialises the engine)

Log (if any)

No response

More Debug Information

No response

Final Checklist

  • I have included a screenshot showcasing the issue, if possible.
  • I have included a JASP file (zipped) or data file that causes the crash/bug, if applicable.
  • I have accurately described the bug, and steps to reproduce it.
@JorisGoosen JorisGoosen assigned JorisGoosen and unassigned boutinb Sep 23, 2024
@JorisGoosen JorisGoosen added the Waiting for requester If waiting for a long time it is reasonable to close an issue label Sep 23, 2024
@JorisGoosen
Copy link
Contributor

@KelvinBalcombe
Copy link
Author

KelvinBalcombe commented Sep 23, 2024 via email

@github-actions github-actions bot removed the Waiting for requester If waiting for a long time it is reasonable to close an issue label Sep 23, 2024
@tomtomme
Copy link
Member

@KelvinBalcombe
Sadly you cannot sent attachements via email to github. Please attach the logfiles via drag and drop here on github directly. Thx!
Sidnote: I cannot replicate the error on linux flatpak.

@tomtomme tomtomme added Waiting for requester If waiting for a long time it is reasonable to close an issue and removed Bug labels Sep 23, 2024
@KelvinBalcombe
Copy link
Author

KelvinBalcombe commented Sep 23, 2024 via email

@github-actions github-actions bot removed the Waiting for requester If waiting for a long time it is reasonable to close an issue label Sep 23, 2024
@tomtomme tomtomme added the Waiting for requester If waiting for a long time it is reasonable to close an issue label Sep 23, 2024
Copy link

github-actions bot commented Nov 5, 2024

This issue will be automatically closed in 42 days due to inactivity. Feel free to leave a comment if you believe this is still relevant.

@github-actions github-actions bot added the Stale Issues and pull requests that have not had recent interaction label Nov 5, 2024
@mtruglio
Copy link

Still happening in 0.19.1, ubuntu 24.04. Just on one machine, as described by other users.

JASP 2024-11-25 19_10_14 Desktop.log
JASP 2024-11-25 19_10_14 Engine 0.log

@tomtomme
Copy link
Member

@mtruglio
Can you give more details on that machine via
grafik

@tomtomme
Copy link
Member

tomtomme commented Nov 25, 2024

and maybe also upload the data file you used by zipping it and drag and dropping here?

@JorisGoosen
Any idea about those log files? Reading those is really over my head...

@github-actions github-actions bot removed Stale Issues and pull requests that have not had recent interaction Waiting for requester If waiting for a long time it is reasonable to close an issue labels Nov 26, 2024
@mtruglio
Copy link

mtruglio commented Nov 26, 2024

Here's the log
report.log

Regarding uploading a data file, the problem occurs with any file (ods, csv) that I try to import. Note that files are imported ok in those machines that somehow are not affected by this problem, running the same version of JASP.

@JorisGoosen
Copy link
Contributor

JorisGoosen commented Nov 26, 2024

@mtruglio can you test with the flathub-beta version of JASP 0.19.2?

If this is still crashing we could try some things, like running with a debugger attached.
Because the logfiles only tell me that yes, it crashes in the filter...

@tomtomme tomtomme added Waiting for requester If waiting for a long time it is reasonable to close an issue OS: Linux labels Nov 26, 2024
@mtruglio
Copy link

Confirmed on 0.19.2 too.

image
image

@mtruglio
Copy link

Additional info: when launching from command line, both 19.1 and 19.2 show this output in the console:

Error in loadNamespace(x) : there is no package called ‘jaspBase’
Error in loadNamespace(x) : there is no package called ‘jaspBase’
[108:15:1127/111632.768259:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
Error in loadNamespace(x) : there is no package called ‘jaspBase’
Error in loadNamespace(x) : there is no package called ‘jaspBase’
Error in loadNamespace(x) : there is no package called ‘jaspBase’

I suspect it is closely related with the problem reported here.

@JorisGoosen
Copy link
Contributor

JorisGoosen commented Nov 27, 2024

there is no package called ‘jaspBase’

Is actually not so bad.

The other machines where it does work, are they the same OS (and version of OS)?

@mtruglio
Copy link

mtruglio commented Dec 2, 2024

I have a ubuntu 24.04 machine where it works perfectly, then two other Ubuntu machines (24.04 and 22.04) where it shows the problem.

@shun2wang
Copy link
Contributor

shun2wang commented Dec 2, 2024

Hi @mtruglio Please check your process manager to see how many JASP instances are running, then give us the process manager screenshot.

@mtruglio
Copy link

mtruglio commented Dec 2, 2024

To be safe, I did a killall for everything JASP, then started it. You can see in the screenshot what is starting up when I do.

image

Note that this is the exact same output I get on the machine where it works (same processes are started).

Here's a shot of the GUI process manager

image

@shun2wang
Copy link
Contributor

then it's still crash engine?

@mtruglio
Copy link

mtruglio commented Dec 2, 2024

yes

@shun2wang
Copy link
Contributor

OK, plese help to trace the call stack of the process. you may try this and upload the logs:

strace -p <pid> > process.txt

for example:

strace -p 1234 > process.txt

for details see: https://manpages.ubuntu.com/manpages/mantic/man1/strace.1.html

@tomtomme
Copy link
Member

tomtomme commented Dec 5, 2024

@mtruglio
Do you need assistance with the strace?

@mtruglio
Copy link

mtruglio commented Dec 5, 2024

Hi,
No, it's all good, I'm just on annual leave. I'll deal with this when I'm back.

@suad2020
Copy link

I have the same problem in Win11
JASP 0.19.2.0

@tomtomme tomtomme added Bug: High Bugs that are negatively affecting the area of the program, but don't need immediate fix. Component: Data Editing OS: Windows 11 and removed Waiting for requester If waiting for a long time it is reasonable to close an issue OS: Windows 10 labels Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: High Bugs that are negatively affecting the area of the program, but don't need immediate fix. Component: Data Editing OS: Linux OS: Windows 11
Projects
None yet
Development

No branches or pull requests

7 participants