ubuntu_xboxdrv icon indicating copy to clipboard operation
ubuntu_xboxdrv copied to clipboard

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

Open wazzubrad opened this issue 10 years ago • 8 comments

(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 <[email protected]>
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 ()

wazzubrad avatar Dec 17 '14 23:12 wazzubrad

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 avatar Dec 18 '14 00:12 raelgc

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?

wazzubrad avatar Dec 20 '14 17:12 wazzubrad

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.

raelgc avatar Dec 20 '14 17:12 raelgc

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

wazzubrad avatar Dec 20 '14 17:12 wazzubrad

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.

wazzubrad avatar Dec 22 '14 17:12 wazzubrad

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?

raelgc avatar Dec 22 '14 17:12 raelgc

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

wazzubrad avatar Dec 22 '14 17:12 wazzubrad

As just this (as su or sudo)?

xboxdrv --daemon --silent --dbus disabled

raelgc avatar Dec 22 '14 17:12 raelgc