-
Notifications
You must be signed in to change notification settings - Fork 120
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
Can't load games since latest Commit #43
Comments
Can we get back trace? some sort of log? |
Can you give me instructions how to? It seems I can't make alogcat work
|
I don't know, sorry :( |
I have a log here: |
@RetroD just post the log here on github... |
I am not @RetroD, but I came here via this thread and they posted their logs in that forum, so I'm including it in this issue for them. |
Looks like it's @dankcushions and @alexis-puska multitap stuff crashing. |
seems that way! not sure how to interpret that log. line numbers seem impossible. is there a way of getting a debug build on android? i don't have one these systems :( |
hi all, |
@alexis-puska I have always used controls with analog sticks. |
What device are you used ? raspberry pi ? |
I have tested it on Nvidia Shield Portable and Shield TV I tried using the shield portable controller, shield tv controller, and the xbox 360 controller. I was looking for the multitap option but I can't find it anywhere. Under what menu should it be? |
Also, if you want me to test a core for you, I could do it. I am rooted on the shield portable so if you compiled a new rearmed core I can copy it over and try it for you |
can you check in your configuration files if you find theses line :
When i make the multitap support, i don't have add theses line in configuration file, retroarch added this in file at the first launch with the new library. Can you check in your libretro config files. |
Do you mean in the 'retroarch-core-options.cfg' file? There is only one line for rearmed: I also checked the 'retroarch.cfg' file, but there is nothing with rearmed in it. Are these the files you mean? It's the only ones that exist. The rest is the gamepad autoconfig files By the way, the android core revision it says here is r22 |
it's wird because when you launch retroarch with the pcsx-rearmed core, all configuration missing in the configuration files is automatically created and added in the end of configuration file. In the menu of retroarch -> quick menu did you see the pcsx_rearmed option for set the pad type (standard/analog) multitap option ? |
Quick menu as far as I can tell is only available once you start a game. |
By the way, I used a nightly build and got the core with the updater in retroarch. is that correct or do I need to download the core manually from somewhere? |
So, does nobody care about fixing this? Isn't arbitrary for users to only download the latest version of each core and not a "stable build"? |
I tried to debug this. When I ran a debug build via gdb i got the same issue we fixed with this hack: https://github.com/libretro/pcsx_rearmed/blob/master/frontend/plugin.c#L71
but i got it with PADreadPort1 (a crazy high pad_index caused a segfault). I repeated the fix there, and it works, but then if i enable multitap 1 and also pad 1 to analog mode, i get this crash:
i think we want to properly fix the first issue first, as i think there's some bug that's causing other issues, and those hack fixes are hiding the problem maybe. it shouldn't be crashing in the dynarec!! |
I get a similar issue when I 'fix' the PADreadPort1 like it's done in PADreadPort2. |
in my dev, i change the data structure to stock the keystate of the pad. i thinks the value is cause by the dynarec, it recompile the code in the same time of execution, is the memory allocation for the pad take much space, i don't know if in the dynarec this memory space is fixed. this sources code is very big, complicated and in high level of programmation. i take a look today but i don't thinks that i found were is the bug today... i thinks that i need some help from other dev. |
@alexis-puska what are you having problems with? I've read your latest commits and as far as I can see everything looks fine. Haven't tested the code yet |
I don't have a problem with the code i have commit because i used some controller whitout analogique sticks. som poeple on the net have some trouble with analogi sticks and configuration -> segmentation fault. I have found this bug before i start my dev. if we have a doncifuration for retroarch without analogique axis configured, and if we start pcsx_rearmed with analog pad options in the game menu, this may crash. i have made the multitap support for myself becaus i'm a big fan, my girlfriend and my friend of crash team racing, we are frustrated to play only in 2 players on raspberry pi with retropie. |
Debuging session with @Kekun in Montpellier to suppress the segmentation fault on starting of retroarch. |
Hello @alexis-puska, glad to hear you guys fixed the problem! Here's what Valgrind shows: https://paste.gnome.org/pp61i0jqy |
tested and works for me! i think this can be closed now :) thanks so much to @alexis-puska and @Kekun! |
I'm using a GT-I9082 with android 4.2.2 .
Ever since the lastest commit, pcsx-rearmed crashes whenever it loads a game (for the record, all my games are in Pbp)
The text was updated successfully, but these errors were encountered: