mate-desktop / marco

MATE default window manager
https://mate-desktop.org
GNU General Public License v2.0
195 stars 86 forks source link

Firefox closing triggers marco crash #661

Open planet4589 opened 3 years ago

planet4589 commented 3 years ago

Expected behaviour Firefox dies, but marco should be fine

Actual behaviour marco segvs and has to be restarted. Details: windows lose decorations/menus, mouse focus is nowhere and cannot be regained (but can move cursor still). Have to ctrl-alt-f1 to get terminal to restart marco

Steps to reproduce the behaviour Close firefox, or wait for firefox to crash (as it often does). The first triggers the behaviour about 30% of the time, the second 100% of the time.

MATE general version Mint 20.1 install Mate 1.24.0

Package version 1.24.0

Linux Distribution Mint 20.1

Link to bugreport of your Distribution (requirement)

https://forums.linuxmint.com/viewtopic.php?f=206&t=340169

rbuj commented 3 years ago

Please, check the logs to see whether there are any traces of the segfault in order to provide more information.

$ journalctl -p 3 -xb --no-pager
planet4589 commented 3 years ago

Attached crash1.txt

planet4589 commented 3 years ago

Sorry, I didn't mean to close the issue, dunno how that happened

rbuj commented 3 years ago

Don't worry about it.

Everything indicates that there is a null point deference in meta_frame_calc_borders, after freeing memory, the pointer is not NULL. We will have to review the destructive methods.

planet4589 commented 3 years ago

Thanks, I appreciate you looking into it.