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

[mir:wayland] Intermittent crash #3457

Open
AlanGriffiths opened this issue Jul 2, 2024 · 1 comment
Open

[mir:wayland] Intermittent crash #3457

AlanGriffiths opened this issue Jul 2, 2024 · 1 comment
Assignees
Labels

Comments

@AlanGriffiths
Copy link
Collaborator

This is after [mir:wayland] Fix handling of display unplug/replug and originally mentioned in the comments there. Before that PR failures even attempting this scenario always failed. The failure is intermittent (I can sometimes run continuous tests for hours without seeing it).

Test environment: a system running Miriway

Here are the incantations I used (both over ssh from another laptop, for ease of use):

while cmake-build-debug/bin/miral-app -demo-server -terminal glmark2-wayland --wayland-host=wayland-0; do :; done

And, in a separate shell:

while cp ~/.config/miriway-shell.display{~disabled,}; sleep 2; cp ~/.config/miriway-shell.display{~enabled,}; sleep 5; do :; done

Clearly, the ~{en,dis}abled configs need to exist and match your system

Expected: the nested server runs continuously
Actual: occasional crashes of the nested server. The failure takes many forms:

terminate called after throwing an instance of 'boost::wrapexcept<std::system_error>'
  what():  Failed to create EGL surface: EGL_BAD_DISPLAY (0x3008)
Fatal glibc error: pthread_mutex_lock.c:94 (___pthread_mutex_lock): assertion failed: mutex->__data.__owner == 0
[conditionals] fragment-steps=0:vertex-steps=5:malloc(): unsorted double linked list corrupted
!!! Fatal signal received. Attempting cleanup, but deadlock may occur
Mir fatal error: Unsupported attempt to continue after a fatal signal: SIGABRT

But these are all suggestive of some form of corrupt or unsynchronized state

@AlanGriffiths AlanGriffiths self-assigned this Jul 2, 2024
@AlanGriffiths
Copy link
Collaborator Author

Neither ub- nor address- sanitizer runs show anything interesting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant