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

segfault if function modules are not loaded #11

Open
xzcvczx opened this issue Dec 12, 2019 · 2 comments
Open

segfault if function modules are not loaded #11

xzcvczx opened this issue Dec 12, 2019 · 2 comments

Comments

@xzcvczx
Copy link

xzcvczx commented Dec 12, 2019

if the function module is not loaded you get a segfault when running

# gt func create cyberkey mass_storage usb0
(when usb_f_mass_storage) is not loaded, likewise with hid

@kopasiak
Copy link
Collaborator

any chance to provide also a coredump?

@pabs3
Copy link
Member

pabs3 commented Jul 13, 2021

@xzcvczx could you compile libusbgx/gt with debug symbols and provide the traceback?

Use this command to get the traceback:

gdb -batch -n -ex 'set pagination off' -ex run -ex bt -ex 'bt full' --args gt func create cyberkey mass_storage usb0

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

3 participants