Bug 877903
| Summary: | Crash while running SSL unit test | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Vijay Bellur <vbellur> | ||||
| Component: | transport | Assignee: | Jeff Darcy <jdarcy> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | mainline | CC: | gluster-bugs, jdarcy, manu | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | glusterfs-3.4.0 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-07-24 17:37:41 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Vijay Bellur
2012-11-19 08:28:08 UTC
This might be the same thing that Emmanuel Dreyfus reported on NetBSD a while ago. Unfortunately, I'm still having trouble getting it to happen on my machines - probably because it's some sort of race that only happens on slow hardware. I'll keep trying. (In reply to comment #1) > This might be the same thing that Emmanuel Dreyfus reported on NetBSD a > while ago. Unfortunately, I'm still having trouble getting it to happen on > my machines - probably because it's some sort of race that only happens on > slow hardware. I'll keep trying. FWIW, the crash was seen on a VM. Not sure if the slowness there is inducing this race. OK, I can reproduce this by making ssl_setup_connection fail (e.g. by trying to make an SSL connection to a non-SSL server). What happens is that ssl_setup_connection frees priv->ssl_ssl, but then the caller (in this case socket_poller) frees it again. Now I need to figure out why Krishnan's change causes ssl_setup_connection to fail. CHANGE: http://review.gluster.org/4208 (socket: fix double-free when ssl_setup_connection fails) merged in master by Vijay Bellur (vbellur) Verified with 3.4.0qa4 |