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

Changing displays causes intermittent hangs (crashes) #3726

Open
Pun-e opened this issue Feb 27, 2020 · 8 comments
Open

Changing displays causes intermittent hangs (crashes) #3726

Pun-e opened this issue Feb 27, 2020 · 8 comments

Comments

@Pun-e
Copy link

Pun-e commented Feb 27, 2020

Version

2.2 A4

Operating system type + version

Win 10 64 Pro - Surface Pro

Behavior

I start the slicer, and everything is fine.

If I unplug my docking hub, sometimes (it used to be everytime, but it has improved recently), I'm presented with this:
image

This is PrusaSlicer scaled to my Surface's screen, failing to update to the new resolution of my external monitor.

I'm not sure what information you need from me to properly diagnose this issue, but just let me know. It's a very circumstantial bug but it always pops up when I'm least expecting it.

@bubnikv
Copy link
Collaborator

bubnikv commented Feb 27, 2020 via email

@Pun-e
Copy link
Author

Pun-e commented Feb 27, 2020

Undocked = Surface in-built screen
Docked = 2 external HDMI monitors

I saw this bug, but the person who opened it just abandoned it. I'm thinking they're probably associated

@bubnikv
Copy link
Collaborator

bubnikv commented Feb 27, 2020 via email

@Pun-e
Copy link
Author

Pun-e commented Feb 27, 2020

This model i7 + iris 540 graphics
image

The next time it happens, is there any log or something I can get that will offer some further details / insights?

@bubnikv
Copy link
Collaborator

bubnikv commented Feb 27, 2020 via email

@bubnikv
Copy link
Collaborator

bubnikv commented Feb 27, 2020 via email

@Pun-e
Copy link
Author

Pun-e commented Feb 27, 2020

I'm not too sure what "standalone mode" is, but yeah, going to sleep seems to make it more likely to happen. Although I can cause the issue to happen just by toggling power to my dock. When power is switched off, it counts as a disconnect. I literally just froze the slicer again testing that.

It also seems more likely to happen after I slice something.

Yeah, just tested that too. If I just open the program and don't slice anything it didn't freeze after 3 toggles, sliced a file and it froze on the next connection.

Process:

  1. undock device
  2. Open slicer
  3. Insert this file [Github wouldn't let me attach as too big, 60MB+)
  4. Slice
  5. Connect dock

For me, this will freeze it every time. Sometimes I can use slicer for a few seconds before it freezes but I've successfully frozen it 4 times in a row now

@bubnikv
Copy link
Collaborator

bubnikv commented Mar 10, 2020

We reproduced it on one laptop. When we tried to collect crash logs using

https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps

and to trigger the crash dump manually over the hanging process with

https://docs.microsoft.com/en-us/sysinternals/downloads/procdump

Create the process dump by executing the following command, or the one provided by a helper:

ProcDump.exe -ma <process name or PID (Process ID)>

we are no more able to reproduce the hang once we enabled crash dump collection for PrusaSlicer, so we are stuck. You may try to collect the crash dump for us if you manage.

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

2 participants