Skip to content

wf-dock crashes when monitor turns off and then it turns back on #271

@je-vv

Description

@je-vv

Using plain wayfire with plugins-extra and wf-shell with wf-panel and wf-dock. Versions:

  • wayfire 0.9.0
  • wayfire-plugins-extra 0.9.0
  • wf-config 0.9.0
  • wf-shell 0.9.0

Installed from AUR and running on artix gnu+linux. The full gdb log with backtrace at the end:

wf-dock_log.txt

From the error and part of the BT it seems the segafult is caused when trying to use a pointer which was already removed:

Thread 1 "wf-dock" received signal SIGSEGV, Segmentation fault.
WfToplevel::handle_output_leave (this=0x5555557a0910, output=<error reading variable: Cannot access memory at address 0x8>) at ../wf-shell-0.9.0/src/dock/toplevel.cpp:99
99          pimpl->handle_output_leave(output);
ESC[?2004hESC[?2004l^MESC[?2004h(gdb) bt
ESC[?2004l^M#0  WfToplevel::handle_output_leave (this=0x5555557a0910, output=Python Exception <class 'gdb.MemoryError'>: Cannot access memory at address 0x8
#1  WfDockApp::handle_output_removed (this=0x555555598fb0, output=0x0) at ../wf-shell-0.9.0/src/dock/dock-app.cpp:89

No idea why that might be and that originates from:

#59 0x000055555556228b in WfDockApp::create (argc=1, argv=0x7fffffffdf18) at ../wf-shell-0.9.0/src/dock/dock-app.cpp:137
#60 main (argc=1, argv=0x7fffffffdf18) at ../wf-shell-0.9.0/src/dock/dock-app.cpp:147

Greetings !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions