Bug 1529570
Summary: | Gfapi segfaults when used in multiple threads | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Chris Holcombe <xfactor973> |
Component: | libgfapi | Assignee: | bugs <bugs> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | mainline | CC: | bugs, fw, jthottan, moagrawa, ndevos, rkavunga, skoduri |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-02-25 04:20:16 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: |
Description
Chris Holcombe
2017-12-28 18:07:21 UTC
Thanks Chris. I can reproduce the crashes on Fedora 27 with the steps you provided. # dnf install rust cargo glusterfs-server It does not consistently crash for me, but surely 1 out of 30 times. The stack traces look a little different though, this one is the most common that I encountered after running the reproducer a couple of times. #0 0x00007f7251cdf69b in raise () from /lib64/libc.so.6 #1 0x00007f7251ce13b1 in abort () from /lib64/libc.so.6 #2 0x00007f7251d29a87 in __libc_message () from /lib64/libc.so.6 #3 0x00007f7251d30e8e in malloc_printerr () from /lib64/libc.so.6 #4 0x00007f7251d32989 in _int_free () from /lib64/libc.so.6 #5 0x00007f7251d3b2ee in free () from /lib64/libc.so.6 #6 0x00007f72528d7611 in priv_glfs_free_from_ctx (fs=<optimized out>) at glfs.c:865 #7 0x00007f72528d7fa8 in pub_glfs_fini (fs=0x7f7244000bf0) at glfs.c:1295 I'm not sure when I have time to look into this further, maybe Poornima gets to is before me? That's interesting. What version of gfapi comes with fedora 27? I was using 3.12 on centos. I figured with rust maybe I was pushing gfapi harder than usual? It's super easy to spin up threads and punish the library :) Release 3.12 has been EOLd and this bug was still found to be in the NEW state, hence moving the version to mainline, to triage the same and take appropriate actions. Hi, I am not able to reproduce it on latest master, It seems the issue is no longer valid for now. Please reopen it if you face the issue again. Thanks, Mohit Agrawal |