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

Error in GUI with Android Nougat 7.0 #1009

Closed
fivefeet8 opened this Issue Feb 14, 2017 · 9 comments

Comments

Projects
None yet
6 participants
@fivefeet8

fivefeet8 commented Feb 14, 2017

The emulator will throw an error message when in the GUI.

@AbandonedCart

This comment has been minimized.

Contributor

AbandonedCart commented May 4, 2017

Can you provide a log of the error? Or even the error message content?

@AbandonedCart

This comment has been minimized.

Contributor

AbandonedCart commented May 16, 2017

To quote the developers at VideoLan:

The fact that some Google engineer on a whim decided to arbitrarily
break user space for no good reason by forbidding relocations is
absolutely ridiculous and it affects many other software projects
(such as FFmpeg/libav) as well.

So yeah, this is going to take a little bit to resolve.

@mattmon

This comment has been minimized.

mattmon commented Aug 6, 2017

This issue prevents Reicast from running on all newer android devices, including the recent update to nVidia shield.

Google blog post suggest the command scanelf -qT libdc.so which outputs:

libdc.so: (memory/data?) [0x80BA34] in (optimized out: previous libwebsocket_service) [0x809D70] libdc.so: (memory/data?) [0x80BA38] in (optimized out: previous libwebsocket_service) [0x809D70] libdc.so

So maybe building without webui will resolve this?

#913

@mattmon

This comment has been minimized.

mattmon commented Aug 6, 2017

I rebuilt the apk without webui and with -fpic cppflag.

TEXTREL related to webui seem to be gone, but now have some others.

The command scanelf -qT libdc.so outputs:
libdc.so: (memory/data?) [0x7FB234] in (optimized out: previous Java_com_reicast_emulator_emu_JNIdc_cheatdisk) [0x189F0] libdc.so: (memory/data?) [0x7FB238] in (optimized out: previous Java_com_reicast_emulator_emu_JNIdc_cheatdisk) [0x189F0] libdc.so

I tried commenting out the 'cheatdisk' code, but to no effect.

This is about as far as I can take it, hopefully helpful to someone more familiar with the code.

Here's the resulting APK - totally untested
reicast-debug.apk.zip

@Luca1991

This comment has been minimized.

Contributor

Luca1991 commented Aug 6, 2017

@mattmon I received an email this morning regarding the possibility that CloudVMU is causing textrel, but I can't find the full message here on GitHub. Have you removed it?

Anyway I have to fix the CloudVMU stuff... Dropbox deprecated the API I was using, so I need to update it. I haven't the time yet, sorry :( I'll try this week if I'll find some free time.

@mattmon

This comment has been minimized.

mattmon commented Aug 6, 2017

@Luca1991

After actually looking at the code, I don't think Cloud VMU has anything to do with it.
Sorry for the confusion!

Thanks for making such a cool feature, would love to see it updated for Gdrive compatibility :)

@skmp

This comment has been minimized.

Member

skmp commented Mar 27, 2018

This should be fixed in 3b35e63

@AbandonedCart

This comment has been minimized.

Contributor

AbandonedCart commented Mar 28, 2018

@skmp I still get a warning, but I have not come across a complete crash on Studio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment