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

Vulkan is extremely unstable #3092

Open
Vichy97 opened this issue Dec 15, 2024 · 7 comments
Open

Vulkan is extremely unstable #3092

Vichy97 opened this issue Dec 15, 2024 · 7 comments
Labels
android more info needed Further information is requested Vulkan

Comments

@Vichy97
Copy link

Vichy97 commented Dec 15, 2024

MapLibre Android Version

11.7.0

Android SDK Version

Android 13

Device

Google Pixel 8 and simulator

What happened?

When using the Vulkan version of MapLibre, my app crashes constantly. Every 10 seconds or so even if I'm not on the screen with a map. The stack traces are very short but all are SIGSEGV crashes.

Crashed: null pointer dereference
SIGSEGV 0x0000000000000064

Steps to reproduce

Use Vulkan version of MapLibre

Renderer

No response

Relevant log output

Additional context

No response

@louwers louwers added more info needed Further information is requested Vulkan labels Dec 15, 2024
@louwers
Copy link
Collaborator

louwers commented Dec 15, 2024

Without reproduction steps we're unable to investigate the issue you are facing.

Please provide more details.

@Vichy97
Copy link
Author

Vichy97 commented Dec 16, 2024

Theres not really any more details to give. The logs only show what I posted. They don't give any kind of stacktrace.

@louwers
Copy link
Collaborator

louwers commented Dec 16, 2024

@Vichy97 Are you using a particular style?

Are you using a particular feature or API?

Can you try to reproduce it with a simple demo app and share that?

@Vichy97
Copy link
Author

Vichy97 commented Dec 16, 2024

It seems to happen with any style. Tried several. My map is using the location api and the scalebar plugin, but nothing unusual other than that. I am running it inside AndroidView within Compose. I'll try to make a minimal repro example.

@louwers
Copy link
Collaborator

louwers commented Dec 16, 2024

My guess would be an issue with the Scalebar plugin.

@Vichy97
Copy link
Author

Vichy97 commented Dec 16, 2024

Maybe but it's working fine without vulkan. I thought scalebar just rendered a normal android view based on output from the map. I would guess that's not causing native code crashes.

@louwers
Copy link
Collaborator

louwers commented Dec 16, 2024

Yes looks like it is not doing anything OpenGL ES related. But maybe it is hooking in some kind of callback that is not yet implemented for Vulkan yet.

Let's confirm it's indeed the plugin. Then we can look into this with a degugger to see what is going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android more info needed Further information is requested Vulkan
Projects
None yet
Development

No branches or pull requests

2 participants