Bug 650716

Summary: Cflow generate coredump
Product: [Fedora] Fedora Reporter: Zdenek Kabelac <zkabelac>
Component: cflowAssignee: Terje Røsten <terje.rosten>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: terje.rosten
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cflow-1.4-1.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-22 08:23:04 UTC Type: ---
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
Full backtrace none

Description Zdenek Kabelac 2010-11-07 21:15:59 UTC
Created attachment 458512 [details]
Full backtrace

Description of problem:

Cflow often generates  coredump when processing lvm2 code (make cflow)
Core was generated by `/usr/bin/cflow -olvm.rxref --cpp=cc -E --symbol _ISbit:wrapper --symbol __attri'....

Looks like some NULL pointer is passed to vfprintf.



#0  0x00007f107367b612 in _IO_vfprintf_internal (s=<value optimized out>, format=<value optimized out>, ap=<value optimized out>)
    at vfprintf.c:1561
#1  0x00007f107372d27c in ___fprintf_chk (fp=0x22d78f0, flag=1, format=<value optimized out>) at fprintf_chk.c:37
#2  0x0000000000404077 in fprintf (sym=0x301a180, has_subtree=0) at /usr/include/bits/stdio2.h:98
#3  print_function_name (sym=0x301a180, has_subtree=0) at gnu.c:24
#4  0x000000000040425f in print_symbol (cmd=<value optimized out>, outfile=0x22d78f0, line=<value optimized out>, 
    data=<value optimized out>, handler_data=<value optimized out>) at gnu.c:51
#5  gnu_output_handler (cmd=<value optimized out>, outfile=0x22d78f0, line=<value optimized out>, data=<value optimized out>, 
    handler_data=<value optimized out>) at gnu.c:87
#6  0x000000000040577c in print_symbol (lev=1, last=0, sym=0x301a180) at output.c:166
#7  inverted_tree (lev=1, last=0, sym=0x301a180) at output.c:348
#8  0x00000000004057f1 in inverted_tree (lev=<value optimized out>, last=<value optimized out>, sym=0x2341bc0) at output.c:355
#9  0x0000000000405c79 in tree_output () at output.c:380
#10 output () at output.c:419
#11 0x00000000004049c1 in main (argc=-1, argv=0x7fff658bb750) at main.c:795




Version-Release number of selected component (if applicable):
cflow-1.3-1.fc13.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Terje Røsten 2010-11-07 21:42:43 UTC
Thanks for the report.

When did this start happening?

Comment 2 Fedora Update System 2011-10-12 16:42:35 UTC
cflow-1.4-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/cflow-1.4-1.fc15

Comment 3 Fedora Update System 2011-10-12 16:42:51 UTC
cflow-1.4-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/cflow-1.4-1.fc14

Comment 4 Fedora Update System 2011-10-12 16:43:08 UTC
cflow-1.4-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/cflow-1.4-1.fc16

Comment 5 Fedora Update System 2011-10-13 00:50:36 UTC
Package cflow-1.4-1.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cflow-1.4-1.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-14191
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2011-10-22 08:23:04 UTC
cflow-1.4-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2011-10-22 08:25:34 UTC
cflow-1.4-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2011-10-25 03:33:45 UTC
cflow-1.4-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.