GDQuest / learn-gdscript

Learn Godot's GDScript programming language from zero, right in your browser, for free.
https://gdquest.github.io/learn-gdscript/
Other
2.04k stars 148 forks source link

Crashing PC at level 3 #817

Open mlgarchery opened 1 year ago

mlgarchery commented 1 year ago

Describe the bug

This is a major issue. After scrolling down to level 3, the game started to freeze and then my computer crashed. I observed the crash twice, a first time on the web version and a second time on the desktop app.

To Reproduce Steps to reproduce the bug:

  1. Go to level 3.
  2. Scroll to the end of the level
  3. You should experience a issue at this point.

Information about your device (please complete the following information):

NathanLovato commented 1 year ago

This shouldn't be possible in the browser as the process is sandboxed within the web browser and shielded from your system. We're a couple on Ubuntu 22.04 using Brave in the team. We took a moment to try and can't reproduce the issue.

We also have thousands of Linux and Ubuntu users who went through this course, and you're the first person to experience something like this. So I suspect there's something specific to your system happening

Do you have anything else you could share, that could help understand what's causing this?

mlgarchery commented 1 year ago

Hi, sorry for the late response. I just reproduced the issue and made my PC crashed 3 times by opening the level 3 and scrolling down. It's frustrating because I can't provide more information as my screen freezes and then I have no more control over my computer. I tried recording my screen, and here is the last image of it: Screenshot from 2023-05-18 15-11-14

NathanLovato commented 1 year ago

Thanks for taking the time. The image doesn't show anything special, unfortunately. I'm unsure we'll be able to address something like this, as you're the only person who encountered this so far.

Have you tried the linux desktop build? Does the same issue occur? You can download it here: https://gdquest.itch.io/learn-godot-gdscript

mlgarchery commented 1 year ago

I don't know how I could collect more data on this issue, and yes, unfortunately I did observe the exact same issue on the desktop version (being on the same machine) I may be the only person reporting the issue, but my machine is not quite special, so I would think other ppl already encountered it.

NathanLovato commented 1 year ago

I don't know how I could collect more data on this issue

I'm clueless on this one. Especially as it's specifically lesson 3, which has no special data, nothing processing, and it's happening with just scrolling. If it also happens on desktop, it suggests that it's engine-related, and scrolling feels like it's a rendering problem. This might be linked to a driver. But I can't be sure.

If I had access to your machine, I'd just go with trial and error in the Godot editor, removing all content in lesson 3 and re-adding half the blocks as when bisecting, to try and find if there's something specific triggering this.

so I would think other ppl already encountered it.

Given our community and this app's popularity, if it happened commonly at least, we'd know. Our users go out of their way to report the smallest things, things like crashes, we typically get many duplicate reports.

yilmazdurmaz commented 1 year ago

What about the specifications of your PC/laptop? CPU and GPU type, number of cores, system memory, and video memory. There might be an issue with one of them.

Also, what about the language you are using? maybe the one you switched had a character problem that had not been tested.

I work on translations, and the app even works from inside WSL.

or maybe the problem is fixed somehow since then. can you try it again?