Skip to content

Conversation

@ShigeakiAsai
Copy link

Description

In Lakka RPi4.aarch64 using vulkan driver, retroarch takes Segmentation fault when 2nd times start cores after 1st time core is closed via retroarch menu.

In this case, retroarch video_display_server_destroy () calls current_display_server->destroy() function that is NULL pointer.
It needs to check not only "current_display_server( != NULL)" but also "current_display_server != &dispserv_null".
please refer libretro/Lakka-LibreELEC#2154

gl driver is not occured this issue.

Related Issues

libretro/Lakka-LibreELEC#2154

Related Pull Requests

Nothing now. I will create same modification patch to Lakka if it accepted, later.

Reviewers

I asked @gouchi ( and @zoltanvb ) about this issue via discord lakka channel.

Note.
This is my 1st Pull request. if this have any problem, please let me know.

Thanks
ASAI, Shigeaki

@ShigeakiAsai ShigeakiAsai force-pushed the add-check-also-dispserv_null-for-current_display_server-in-video_display_server_destroy branch from 651d4e1 to fc6cf8f Compare December 31, 2025 04:44
@ShigeakiAsai
Copy link
Author

I'm sorry I used old version code. I did update.
Please review this version.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant