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

Minimum size for capture dialog can not be bigger than maximum size #3576

Closed
Sporknife opened this issue Apr 10, 2024 · 1 comment
Closed
Labels

Comments

@Sporknife
Copy link

Describe the bug
The program instantly crashes when trying to capture packets.

GNS3 version and operating system (please complete the following information):

  • OS: Linux
  • GNS3 version: 2.2.46
  • Any use of the GNS3 VM or remote server (ESXi, bare metal etc.): No. I think.

To Reproduce
Steps to reproduce the behavior:

  1. Connect two devices
  2. Try to capture packets between the two devices
xdg_toplevel@38: error 2: minimum size can't be bigger than the maximum
Fatal Python error: Aborted

Current thread 0x00007fc809845540 (most recent call first):
  File "/home/matej/.local/share/pipx/venvs/gns3-gui/lib64/python3.11/site-packages/gns3/packet_capture.py", line 87 in startCapture
  File "/home/matej/.local/share/pipx/venvs/gns3-gui/lib64/python3.11/site-packages/gns3/items/link_item.py", line 357 in _startCaptureActionSlot
  File "/home/matej/.local/share/pipx/venvs/gns3-gui/lib64/python3.11/site-packages/gns3/items/link_item.py", line 327 in contextMenuEvent
  File "/home/matej/.local/share/pipx/venvs/gns3-gui/lib64/python3.11/site-packages/gns3/graphics_view.py", line 548 in contextMenuEvent
  File "/home/matej/.local/share/pipx/venvs/gns3-gui/lib64/python3.11/site-packages/gns3/main.py", line 303 in main
  File "/home/matej/.local/bin/gns3", line 8 in <module>

Extension modules: PyQt5.QtCore, PyQt5.QtGui, PyQt5.QtNetwork, PyQt5.QtWidgets, gns3.qt.QtCore, gns3.qt.QtGui, gns3.qt.QtNetwork, gns3.qt.QtWidgets, PyQt5.QtSvg, gns3.qt.QtSvg, PyQt5.QtWebSockets, gns3.qt.QtWebSockets, psutil._psutil_linux, psutil._psutil_posix, pvectorc (total: 15)
fish: Job 1, 'gns3' terminated by signal SIGABRT (Abort)

I made this bug report just to track this if it happens again in the future.

@Sporknife Sporknife added the Bug label Apr 10, 2024
Sporknife added a commit to Sporknife/gns3-gui that referenced this issue Apr 10, 2024
Set minimum size for capture dialog to the size that is resized to.
BUGFIX: GNS3#3576
@grossmj
Copy link
Member

grossmj commented May 10, 2024

I removed the maximum size instead: 2f0d206

This should fix this issue. Please let us know if you still have the bug.

@grossmj grossmj closed this as completed May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants