Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
  • Sign in / Register
phosh
phosh
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 154
    • Issues 154
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 21
    • Merge Requests 21
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Librem5
  • phoshphosh
  • Issues
  • #422

Closed
Open
Opened Nov 10, 2020 by Oliver Smith@ollieparanoid
  • Report abuse
  • New issue
Report abuse New issue

phosh crashes with wlroots 0.12.0: error on 0 dimension without anchors

After upgrading from wlroots 0.11.0 to 0.12.0, phosh 0.5.1 will crash ~1 second after starting.

phoc version: 0.4.4

Log with G_MESSAGES_DEBUG=phoc-wlroots:

dbus-daemon[11709]: [session uid=10000 pid=11709] Successfully activated service 'ca.desrt.dconf'                            
(phoc:11711): phoc-wlroots-DEBUG: 19:49:22.111: [types/wlr_surface.c:666] New wlr_surface 0xffff82ed3280 (res 0xffff830e7400)
(phoc:11711): phoc-wlroots-DEBUG: 19:49:22.112: [types/wlr_surface.c:666] New wlr_surface 0xffff82ed3660 (res 0xffff830e7f40)
(phoc:11711): phoc-wlroots-DEBUG: 19:49:22.112: [types/wlr_layer_shell_v1.c:458] new layer_surface 0xffff82f4fe30 (res 0xffff8390ee20)
(phoc:11711): phoc-wlroots-DEBUG: 19:49:22.112: [../src/layer_shell.c:747] new layer surface: namespace phosh layer 2 anchor 13 size 0x32 margin 0,0,0,0
(phoc:11711): phoc-wlroots-DEBUG: 19:49:22.256: [types/wlr_surface.c:666] New wlr_surface 0xffff82e5e400 (res 0xffff83107640)                                                                                       (phoc:11711): phoc-wlroots-DEBUG: 19:49:22.256: [types/wlr_surface.c:666] New wlr_surface 0xffff82e5e810 (res 0xffff83107eb0)
(phoc:11711): phoc-wlroots-DEBUG: 19:49:22.256: [types/wlr_surface.c:666] New wlr_surface 0xffff82e5ec00 (res 0xffff82f47400)                                                                             
(phoc:11711): phoc-wlroots-DEBUG: 19:49:22.256: [types/wlr_surface.c:666] New wlr_surface 0xffff82e5efd0 (res 0xffff82f47880)             
(phoc:11711): phoc-wlroots-DEBUG: 19:49:22.256: [types/wlr_layer_shell_v1.c:458] new layer_surface 0xffff82f4ffc0 (res 0xffff82f47d00)
phoc-wlroots-INFO: 19:49:22.257: [wayland] error in client communication (pid 11773)
(phoc:11711): phoc-wlroots-DEBUG: 19:49:22.257: [../src/cursor.c:696] entered surface 0, lx: 100.000000, ly: 100.000000, sx: 0.000000, sy: 0.000000
Gdk-Message: 19:49:22.282: Error 71 (Protocol error) dispatching to Wayland display.  

I ran bisect and found this to be the breaking commit:

https://github.com/swaywm/wlroots/commit/8dec751a6d84335fb04288b8efab6dd5c90288d3

  • Discussion
  • Designs

The one place for your designs

To enable design management, you'll need to meet the requirements. If you need help, reach out to our support team for assistance.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: Librem5/phosh#422