Bug 502817

Summary: wayland-eglsurface.c:2562: wlEglDestroySurface: Assertion `wl_list_empty(&surface->ctx.streamImages)' failed
Product: [Applications] ghostwriter Reporter: Andrei Cherniaev <glscene2010>
Component: generalAssignee: megan.conkle
Status: REPORTED ---    
Severity: normal CC: fargher
Priority: NOR    
Version First Reported In: 25.03.80   
Target Milestone: ---   
Platform: Snap   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Andrei Cherniaev 2025-04-15 04:39:32 UTC
SUMMARY
ghostwriter --version
[     0.284 307811 ghostwriter ] INFO      Backup files will be stored in "/home/a/snap/ghostwriter/63/.local/share/ghostwriter/backups/"
[     0.297 307811 ghostwriter ] INFO      Using pandoc version 3.1.3
[     0.297 307811 ghostwriter ] WARNING   Command "multimarkdown" is not available.
[     0.298 307811 ghostwriter ] INFO      Using cmark version 0.30.2
ghostwriter 25.03.70

STEPS TO REPRODUCE
Just start
ghostwriter

OBSERVED RESULT
ghostwriter
[     0.278 985974 ghostwriter ] INFO      Backup files will be stored in "/home/a/snap/ghostwriter/63/.local/share/ghostwriter/backups/"
[     0.291 985974 ghostwriter ] INFO      Using pandoc version 3.1.3
[     0.292 985974 ghostwriter ] WARNING   Command "multimarkdown" is not available.
[     0.293 985974 ghostwriter ] INFO      Using cmark version 0.30.2
[     0.333 985974 ghostwriter ] INFO      Sandboxing disabled by user.
ghostwriter: ../src/wayland-eglsurface.c:2562: wlEglDestroySurface: Assertion `wl_list_empty(&surface->ctx.streamImages)' failed.
Aborted (core dumped)

EXPECTED RESULT
Successfully start ghostwriter

SOFTWARE/OS VERSIONS
Ubuntu 24.10
Linux Linux 6.11.0-21-generic #21-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 19 16:50:40 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Comment 1 Rob Fargher 2025-04-18 19:47:23 UTC
I am also seeing this same bug when I try to run Calibre's ebook viewer, viz:
rob@Hyla:/usr/calibre$ ./ebook-viewer 
ebook-viewer: ../src/wayland-eglsurface.c:2562: wlEglDestroySurface: Assertion `wl_list_empty(&surface->ctx.streamImages)' failed.
Aborted