! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfwm4 SEGV when window is destroyed just after its creation
Status:
RESOLVED: MOVED

Comments

Description Marek Marczykowski 2013-11-15 03:55:57 CET
Created attachment 5234 
Proposed patch, suitable for 4.6, 4.8, 4.10 and perhaps later

"Client" object is still queued for drawing frame, while the window is destroyed. If that happens quickly, "Client" object would be freed by clientUnframe, before drawing the frame for the first time.

This bug is rather old, but still happens in 4.10.0. Perhaps related to #10365. And exactly the same as https://bugzilla.redhat.com/show_bug.cgi?id=879696

Stacktrace:
#0  0x00007fb807921a38 in __strchr_sse42 () from /lib64/libc.so.6
#1  0x000000000041f7a3 in frameDrawWin (c=c@entry=0x1669780) at frame.c:964
#2  0x0000000000420f7e in update_frame_idle_cb (data=0x1669780) at frame.c:1224
#3  0x00007fb809072a55 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#4  0x00007fb809072d88 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#5  0x00007fb809073182 in g_main_loop_run () from /lib64/libglib-2.0.so.0
#6  0x00007fb80b1acfd7 in gtk_main () from /lib64/libgtk-x11-2.0.so.0
#7  0x000000000040b773 in main (argc=1, argv=0x7fffc0142d48) at main.c:627
Comment 1 Git Bot editbugs 2020-05-29 11:58:10 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/137.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #10489

Reported by:
Marek Marczykowski
Reported on: 2013-11-15
Last modified on: 2020-05-29

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Version:
4.10.0

Attachments

Additional information