Bug 1536481

Summary: fusioninventory-agent segfaults when running SNMP
Product: [Fedora] Fedora EPEL Reporter: Laurent Blume <blumel>
Component: fusioninventory-agentAssignee: marianne <marianne>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: el6CC: fedora, marianne, perl-devel
Target Milestone: ---   
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: 2018-10-05 08:39:31 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 Flags
Fusion Inventory agent log none

Description Laurent Blume 2018-01-19 13:56:15 UTC
Created attachment 1383409 [details]
Fusion Inventory agent log

Description of problem:

Multiple segfaults appear in the system logs when the FusionInventory agent runs SNMP operations (SNMP discovery, SNMP inventory). The operations still yield results, and there's no obvious error returned in the logs.

Jan 19 09:12:42 server kernel: fusioninventory[31355] general protection ip:7f42230a4829 sp:7ffda30bcc60 error:0 in libcrypto.so.1.0.1e[7f4222f7d000+1ba000]
Jan 19 09:12:43 server kernel: fusioninventory[3066]: segfault at 7f422b8ea588 ip 00007f422b8ea588 sp 00007ffda30bd728 error 15 in libc-2.12.so[7f422b8ea000+2000]
Jan 19 09:56:01 server kernel: fusioninventory[11240]: segfault at 7f422b8ea588 ip 00007f422b8ea588 sp 00007ffda30bd728 error 15 in libc-2.12.so[7f422b8ea000+2000]


Version-Release number of selected component (if applicable):
fusioninventory-agent-2.3.21-4.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Run an SNMP discovery
2. Run an SNMP inventory for a host
3. Check system logs for segfaults

Actual results:
Multiple segfaults

Expected results:
No segfaults should happen

Additional info:
Attaching the log

Comment 1 Johan Cwiklinski 2018-10-05 05:46:53 UTC
Hi,

Issue has been reported upstream:
https://github.com/fusioninventory/fusioninventory-agent/issues/571

Maybe should you work with upstream directly to get issue fixed. If a patch is made, I'll integrate it.

Comment 2 Johan Cwiklinski 2018-10-05 06:23:58 UTC
Hi again,

Upstream has requested additional informations:
https://github.com/fusioninventory/fusioninventory-agent/issues/571#issuecomment-427258434

Comment 3 Johan Cwiklinski 2018-10-05 08:39:31 UTC
No longer reproducible issue, closing. If it happens again and you can provide aditional data, see upstream issue ;)