Summary: | Segfault on closing window | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Andreas Reis <andreas.reis> | ||||||||||||||
Component: | Server/General | Assignee: | Xorg Project Team <xorg-team> | ||||||||||||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||||||||||||
Severity: | major | ||||||||||||||||
Priority: | medium | CC: | michel, sarnex | ||||||||||||||
Version: | git | ||||||||||||||||
Hardware: | x86-64 (AMD64) | ||||||||||||||||
OS: | Linux (All) | ||||||||||||||||
Whiteboard: | |||||||||||||||||
i915 platform: | i915 features: | ||||||||||||||||
Attachments: |
|
Description
Andreas Reis
2017-05-07 10:46:28 UTC
Created attachment 131240 [details]
Xorg.0.log
Created attachment 131247 [details]
backtrace
Here is a better backtrace of this issue.
Comment on attachment 131247 [details]
backtrace
SIGPIPE is not a crash. Enter
handle SIGPIPE nostop noprint
at the gdb prompt to make gdb ignore it.
Created attachment 131251 [details]
better backtrace
Sorry about that, the SIGABRT BT is attached now.
Thanks. That's a different crash from the one in the attached log file. It looks like there might be memory corruption going on, so trying to reproduce the problem with Xorg running in valgrind might give more information. Created attachment 131252 [details]
valgrind
I've attached the log from valgrind.
Thanks,
Sarnex
Created attachment 131270 [details] [review] Only mark client as ready if !client->clientGone Does this patch fix the problem? Please attach the output of running the patched Xorg in valgrind either way. Created attachment 131278 [details]
valgrind with patch
Unfortunately, the patch doesn't work for me. I attached the valgrind log with the patch.
Been using the patch since yesterday, also still getting the crash. Commit d9e23ea4 (dix: Remove clients from input and output ready queues after closing) in the master branch references this bug report. ``` commit d9e23ea4228575344e3b4c0443cecc5eb75356e4 Author: Keith Packard <keithp@keithp.com> Date: Wed May 10 21:50:45 2017 -0700 dix: Remove clients from input and output ready queues after closing Delay removing the client from these two queues until all potential I/O has completed in case we mark the client as ready for reading or with pending output during the close operation. Bugzilla: https://bugs.freedesktop.org/100957 Signed-off-by: Keith Packard <keithp@keithp.com> Tested-by: Nick Sarnie <commendsarnex@gmail.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> ``` Should the status be updated somehow? Yeah, hasn't affected me since ages. Thanks for the report, fixed by the change referenced in comment 10. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.