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 /lib/x86_64-linux-gnu/libusb-1.0.so.0 #23

Open
wazzubrad opened this issue Dec 17, 2014 · 8 comments
Open

Segfault /lib/x86_64-linux-gnu/libusb-1.0.so.0 #23

wazzubrad opened this issue Dec 17, 2014 · 8 comments

Comments

@wazzubrad
Copy link

(gdb) run
Starting program: /usr/bin/xboxdrv
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
xboxdrv 0.8.5 - http://pingus.seul.org/~grumbel/xboxdrv/
Copyright © 2008-2011 Ingo Ruhnke <grumbel@gmx.de>
Licensed under GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under certain conditions; see the file
COPYING for details.

[New Thread 0x7ffff3e2d700 (LWP 2480)]
Controller:        Microsoft Xbox 360 Controller
Vendor/Product:    045e:028e
USB Path:          005:002
Controller Type:   Xbox360
[Thread 0x7ffff3e2d700 (LWP 2480) exited]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7206b79 in libusb_get_next_timeout () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
(gdb) bt
#0  0x00007ffff7206b79 in libusb_get_next_timeout () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#1  0x00007ffff7206db4 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007ffff7206e67 in libusb_handle_events_timeout_completed ()
   from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#3  0x00007ffff7206fcf in libusb_handle_events () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#4  0x0000555555603ecc in ?? ()
#5  0x00005555556106a7 in ?? ()
#6  0x000055555558f289 in ?? ()
#7  0x0000555555574bfc in ?? ()
#8  0x00005555555732cd in ?? ()
#9  0x00005555555731d7 in main ()
@raelgc
Copy link
Owner

raelgc commented Dec 18, 2014

Hi @wazzubrad,

Thank you for reporting this issue.

But this repo is only for the Ubuntu wrapper.

Can you open an issue at https://github.com/Grumbel/xboxdrv/ specifying the model you're using?

@raelgc raelgc closed this as completed Dec 18, 2014
@wazzubrad
Copy link
Author

raelgc:

I am slightly confused by your reply, possibly of my own ignorance. I am running Ubuntu 14.04 minimal. Should I be using the xboxdrv from Grumbel instead?

@raelgc
Copy link
Owner

raelgc commented Dec 20, 2014

The package I've created (ubuntu-xboxdrv) provides additional configurations, like a wrapper service, an entry on System Settings, etc. over xboxdrv package.

This error appears to be related to xboxdrv itself. So you need to report it to Grumbel, as he is the xboxdrv author.

@wazzubrad
Copy link
Author

Okay, thank you for the advice. I will do that.

@wazzubrad
Copy link
Author

I purged ubuntu-xboxdrv, removed the ppa, and then installed xboxdrv. The issue that I reported above does not present itself. Unfortunately, I don't have the ability to diagnose what is causing the original issue. Although, I would be willing to help in anyway that I can.

@raelgc raelgc reopened this Dec 22, 2014
@raelgc
Copy link
Owner

raelgc commented Dec 22, 2014

Hi @wazzubrad,

Thanks for investigating this.

So, keep, for now, only xboxdrv.

This is the command line the package is supposed to start xboxdrv (for 1 controller). Run as su or sudo:

xboxdrv --daemon --silent --dbus disabled --force-feedback --mimic-xpad --mimic-xpad-wireless --trigger-as-button

Can you face the same problem using this?

@wazzubrad
Copy link
Author

Yes, that immediately causes Kodi (xbmc) to go haywire. It's as if my remote is making continous key presses.

@raelgc
Copy link
Owner

raelgc commented Dec 22, 2014

As just this (as su or sudo)?

xboxdrv --daemon --silent --dbus disabled

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

2 participants