Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#38960 - [pcsx2] OnePAD crashes program when gamepad is plugged in

Attached to Project: Community Packages
Opened by Tim Van den Langenbergh (tmtvl) - Tuesday, 18 February 2014, 21:54 GMT
Last edited by Maxime Gauduin (Alucryd) - Friday, 21 February 2014, 08:42 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When setup for OnePAD is clicked while gamepad is plugged in, the process is killed without any message in the terminal.
Error message according to gdb:
Program received signal SIGSEGV, Segmentation fault.
0xf7255216 in __strlen_sse2_bsf () from /usr/lib32/libc.so.6

Additional info:
* package version(s)
* config and/or log files etc.
I am using the latest versions straight from the Arch package database.

Steps to reproduce:
Run PCSX2 with a gamepad plugged in.
Choose the default OnePAD plugin for the gamepad (if not yet) and click Configure...

I have reported this on the official forums, and they told me to ask the maintainer for a debug package that contains debug symbol (I have used abs and added the '!strip' and 'debug' options to the PKGBUILD and installed that).

I'm new to this, so sorry if I've done something wrong.
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Friday, 21 February 2014, 08:42 GMT
Reason for closing:  Fixed
Additional comments about closing:  pcsx2 1.2.2-2
Comment by Maxime Gauduin (Alucryd) - Wednesday, 19 February 2014, 16:06 GMT
To get a meaningful backtrace, you will also need to rebuild the relevant libraries with debug symbols in them. I'd say onepad is based on SDL1 or SDL2 like most input plugins out there, ldd lists SDL2 so that's probably it.

One thing you can also try is build pcsx2 without SDL2, remove 'sdl2' from the depends array, and set SDL2_API to 'FALSE' in the cmake line. If SDL2 is the culprit, I'll ship pcsx2 built against SDL1.

Just so I know, what gamepad are you trying to use? I can try with a 360 controller and an older Saitek gamepad later today.
Comment by Maxime Gauduin (Alucryd) - Wednesday, 19 February 2014, 17:00 GMT
Okay, so both my gamepads make it crash. Building against SDL1 solves the issue. I'll push a new build to [community] ASAP, will switch back to SDL2 when it's more refined.
Comment by Maxime Gauduin (Alucryd) - Wednesday, 19 February 2014, 17:21 GMT
pcsx2 1.2.2-2 is up, can you try now?
Comment by Tim Van den Langenbergh (tmtvl) - Friday, 21 February 2014, 00:01 GMT
Working fine now, thanks!

Also, sorry for the slow response, my ISP was unhappy with my usage.
Comment by Maxime Gauduin (Alucryd) - Friday, 21 February 2014, 08:42 GMT
No problem, closing the task :)

Loading...