gdbgui crashes every time I try to run it
- Dominant language
- TypeScript
- Stars
- 10.4k
- Forks
- 521
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
I just installed gdbgui, and whenever I try to execute `gdbgui` it craches and gives the following error:
`Traceback (most recent call last):
File "/data/data/com.termux/files/usr/b
in/gdbgui", line 8, in
sys.exit(main())
^^^^^^
File "/data/data/com.termux/files/usr/l
ib/python3.12/site-packages/gdbgui/cli.py
", line 249, in main
run_server(
File "/data/data/com.termux/files/usr/l
ib/python3.12/site-packages/gdbgui/server
/server.py", line 68, in run_server
socketio.init_app(app)
File "/data/data/com.termux/files/usr/l
ib/python3.12/site-packages/flask_socketi
o/__init__.py", line 243, in init_app
self.server = socketio.Server(**self.
server_options)
^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/l
ib/python3.12/site-packages/socketio/base
_server.py", line 31, in __init__
self.eio = self._engineio_server_clas
s()(**engineio_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/l
ib/python3.12/site-packages/engineio/base
_server.py", line 70, in __init__
self._async = importlib.import_module
(
^^^^^^^^^^^^^^^^^^^^^^^
^
File "/data/data/com.termux/files/usr/l
ib/python3.12/importlib/__init__.py", lin
e 90, in import_module
return _bootstrap._gcd_import(name[le
vel:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^
File "", l
ine 1387, in _gcd_import
File "", l
ine 1360, in _find_and_load
File "", l
ine 1331, in _find_and_load_unlocked
File "", l
ine 935, in _load_unlocked
File "", line 999, in exec_module
File "", l
ine 488, in _call_with_frames_removed
File "/data/data/com.termux/files/usr/l
ib/python3.12/site-packages/engineio/asyn
c_drivers/eventlet.py", line 3, in
from eventlet.green.threading import
Event
File "/data/data/com.termux/files/usr/l
ib/python3.12/site-packages/eventlet/__in
it__.py", line 17, in
from eventlet import convenience
File "/data/data/com.termux/files/usr/l
ib/python3.12/site-packages/eventlet/conv
enience.py", line 7, in
from eventlet.green import socket
File "/data/data/com.termux/files/usr/l
ib/python3.12/site-packages/eventlet/gree
n/socket.py", line 21, in
from eventlet.support import greendns
File "/data/data/com.termux/files/usr/l
ib/python3.12/site-packages/eventlet/supp
ort/greendns.py", line 45, in
from eventlet.green import ssl
File "/data/data/com.termux/files/usr/l
ib/python3.12/site-packages/eventlet/gree
n/ssl.py", line 25, in
_original_wrap_socket = __ssl.wrap_so
cket
^^^^^^^^^^^^^
^^^^
AttributeError: module 'ssl' has no attri
bute 'wrap_socket'
`
**To Reproduce**
Steps to reproduce the behavior:
1. run `gdbgui` in cli, that's all
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Please complete the following information:**
* OS:
* gdbgui version (`gdbgui -v`): `0.15.2.0`
* gdb version (`gdb -v`): `GNU gdb (GDB) 15.2`
* browser [e.g. chrome, safari]:
* python packages (`pip freeze`):
`aiodns==3.2.0
aiohappyeyeballs==2.4.4
aiohttp==3.11.11
aiosignal==1.3.2
attrs==24.2.0
Automat==24.8.1
beautifulsoup4==4.12.3
bidict==0.22.1
blinker==1.6.3
Brotli==1.1.0
bs4==0.0.2
certifi==2024.8.30
cffi==1.17.1
charset-normalizer==3.4.0
click==8.1.7
constantly==23.10.4
debugpy==1.8.11
dnspython==2.4.2
eventlet==0.33.3
Flask==3.0.0
Flask-Compress==1.10.1
Flask-SocketIO==5.3.6
frozenlist==1.5.0
gdbgui==0.15.2.0
greenlet==3.0.0
h11==0.14.0
hyperlink==21.0.0
idna==3.10
incremental==24.7.2
itsdangerous==2.1.2
Jinja2==3.1.2
lxml @ file:///home/builder/.termux-build
/python-lxml/src
MarkupSafe==2.1.3
multidict==6.1.0
propcache==0.2.1
pycares==4.5.0
pycparser==2.22
pygdbmi==0.10.0.2
Pygments==2.16.1
python-engineio==4.8.0
python-socketio==5.10.0
requests==2.32.3
requests-threads==0.1.1
setuptools==75.3.0
simple-websocket==1.0.0
six==1.16.0
soupsieve==2.6
Twisted==24.10.0
typing_extensions==4.12.2
urllib3==2.2.3
Werkzeug==3.0.0
wsproto==1.2.0
yarl==1.18.3
zope.interface==7.1.1
`
**Additional context**
I downloaded it using `pip install gdbgui`
Contributor guide
Assessment
This issue has not been assessed yet.