8000 panic when clicking 'Pause' button in toolbar · Issue #185 · Code-Hex/vz · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

panic when clicking 'Pause' button in toolbar #185

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

Open
kkeybbs opened this issue Apr 28, 2025 · 0 comments · May be fixed by #186
Open

panic when clicking 'Pause' button in toolbar #185

kkeybbs opened this issue Apr 28, 2025 · 0 comments · May be fixed by #186
Labels
bug Something isn't working

Comments

@kkeybbs
Copy link
Contributor
kkeybbs commented Apr 28, 2025

Describe the bug
The toolbar of the view has duplicate item 'space'.

To Reproduce
Start a vm, and click Pause button top-right, the program panic:

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSToolbar 0x119133060 already contains an item with the identifier Space. Duplicate items of this type are not allowed.'
*** First throw call stack:
(
        0   CoreFoundation                      0x0000000184025df0 __exceptionPreprocess + 176
        1   libobjc.A.dylib                     0x0000000183aeab60 objc_exception_throw + 88
        2   Foundation                          0x000000018534ea78 -[NSCalendarDate initWithCoder:] + 0
        3   AppKit                              0x0000000187cbbe38 -[NSToolbar _insertNewItemWithItemIdentifier:atIndex:propertyListRepresentation:notifyFlags:] + 236

Expected behavior
The vm is paused, and the program is still running without panic.

Screenshots

Image

Environment that you use to compile (please complete the following information):

  • Xcode version:
    Xcode 16.3
    Build version 16E140

  • macOS Version:
    ProductName: macOS
    ProductVersion: 15.4.1
    BuildVersion: 24E263

  • mac architecture: arm64

  • Go Version: go version go1.24.1 darwin/arm64

Additional context
none

@kkeybbs kkeybbs added the bug Something isn't working label Apr 28, 2025
kkeybbs added a commit to kkeybbs/vz that referenced this issue Apr 28, 2025
@kkeybbs kkeybbs linked a pull request Apr 28, 2025 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.

1 participant
0