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

Crash when selecting volume folder #49

Open
jcohenadad opened this issue Jul 17, 2024 · 1 comment · May be fixed by #56
Open

Crash when selecting volume folder #49

jcohenadad opened this issue Jul 17, 2024 · 1 comment · May be fixed by #56
Labels
bug Something isn't working

Comments

@jcohenadad
Copy link
Member

Describe the bug

When clicking "Select volume folder" and then canceling, I get the spinning cursor and Slicer does not respond anymore. See video recording:

Screen.Recording.2024-07-17.at.9.52.26.AM.mov
Crash report (only the first chunk)
Date/Time:        2024-07-17 09:52:49.085 -0400
End time:         2024-07-17 09:53:09.572 -0400
OS Version:       macOS 14.0 (Build 23A344)
Architecture:     x86_64h
Report Version:   44
Incident Identifier: 3AFD3824-25DA-4328-A176-6810CFDE1F7C

Data Source:      Stackshots
Shared Cache:     62BFF6A2-85E3-3E99-AA9C-94B8C34708C1 slid base address 0x7ff81b223000, slide 0x1b223000 (System Primary)
Shared Cache:     5B402DF7-4F21-34EF-A11C-84A9B750A01D slid base address 0x7ff8016be000, slide 0x16be000 (DriverKit)

Command:          Slicer
Path:             /Applications/Slicer.app/Contents/MacOS/Slicer
Identifier:       org.slicer.slicer
Version:          5.6.2 (5.6.2)
Team ID:          W38PE5Y733
Is First Party:   No
Architecture:     x86_64
Parent:           launchd [1]
PID:              6503
Time Since Fork:  105s

Event:            hang
Duration:         20.49s
Duration Sampled: 1.60s (process was unresponsive for 19 seconds before sampling)
Steps:            16 (100ms sampling interval)

Hardware model:   MacBookPro16,1
Active cpus:      12
HW page size:     4096
VM page size:     4096

Time Since Boot:  4676s
Time Awake Since Boot: 4676s
Time Since Wake:  n/a (machine hasn't slept)

Fan speed:        3194 rpm
Total CPU Time:   3.000s (10.4G cycles, 12.0G instructions, 0.87c/i)
Advisory levels:  Battery -> 3, User -> 2, ThermalPressure -> 0, Combined -> 2
Free disk space:  8603.69 MB/465.63 GB, low space threshold 3072 MB
Vnodes Available: 72.31% (190303/263168)

Preferred User Language: en-CA
Country Code:     CA
OS Cryptex File Extents: 64
@jcohenadad jcohenadad added the bug Something isn't working label Jul 17, 2024
@AcastaPaloma
Copy link
Collaborator

AcastaPaloma commented Aug 4, 2024

I added
if not self.CurrentFolder: return

beneath
def onSelectVolumesFolderButton(self): self.CurrentFolder= qt.QFileDialog.getExistingDirectory(None,"Open a folder", self.DefaultDir, qt.QFileDialog.ShowDirsOnly)
to see if it would solve the issue. Seems it did? It doesn't tackle the root cause though.

AcastaPaloma added a commit that referenced this issue Aug 11, 2024
… no crash after volume folder selection cancel
@AcastaPaloma AcastaPaloma linked a pull request Aug 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants