Bug 950237 - qperf segfaults
Summary: qperf segfaults
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: qperf
Version: 19
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Doug Ledford
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-09 22:03 UTC by Michele Baldessari
Modified: 2013-08-02 03:40 UTC (History)
3 users (show)

Fixed In Version: qperf-0.4.9-1.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-02 03:20:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michele Baldessari 2013-04-09 22:03:53 UTC
Description of problem:
Was trying to run a qperf across a 10Gb infiniband link.
On the server I simply launch qperf and on the client "qperf 192.168.0.1 tcp_bw"

Backtrace:
(gdb) bt full
#0  0x0000003434c47de8 in _IO_vfprintf_internal (s=<optimized out>, format=<optimized out>, format@entry=0x40e6de " %s", ap=ap@entry=0x7fffffffe158)
    at vfprintf.c:1615
        len = <optimized out>
        string_malloced = <optimized out>
        step0_jumps = {0, 2790, 2603, 2693, 7863, 9388, 4787, 5068, 8073, 3720, 3843, 9001, 5550, 5650, -8605, -8558, -4840, -4825, -5076, -4433, -355, 
          -6251, -4131, -3719, 1739, -9219, -4736, 9091, 5650, 4962}
        space = 0
        is_short = 0
        use_outdigits = 0
        step1_jumps = {0, 0, 0, 0, 0, 0, 0, 0, 0, 3720, 3843, 9001, 5550, 5650, -8605, -8558, -4840, -4825, -5076, -4433, -355, -6251, -4131, -3719, 1739, 
          -9219, -4736, 9091, 5650, 0}
        group = 0
        prec = -1
        step2_jumps = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3843, 9001, 5550, 5650, -8605, -8558, -4840, -4825, -5076, -4433, -355, -6251, -4131, -3719, 1739, 
          -9219, -4736, 9091, 5650, 0}
        string = <optimized out>
        left = 0
        is_long_double = 0
        width = 0
        step3a_jumps = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8901, 0, 0, 0, -8605, -8558, -4840, -4825, -5076, 0, 0, 0, 0, -3719, 0, 0, 0, 0, 0, 0}
        alt = 0
        showsign = 0
        is_long = 0
        is_char = 0
        pad = 32 ' '
        step3b_jumps = {0 <repeats 11 times>, 5550, 0, 0, -8605, -8558, -4840, -4825, -5076, -4433, -355, -6251, -4131, -3719, 1739, -9219, -4736, 0, 0, 0}
        step4_jumps = {0 <repeats 14 times>, -8605, -8558, -4840, -4825, -5076, -4433, -355, -6251, -4131, -3719, 1739, -9219, -4736, 0, 0, 0}
        is_negative = <optimized out>
        number = <optimized out>
        base = <optimized out>
        the_arg = {pa_wchar = 0 L'\000', pa_int = 0, pa_long_int = 0, pa_long_long_int = 0, pa_u_int = 0, pa_u_long_int = 0, pa_u_long_long_int = 0, 
          pa_double = 0, pa_long_double = <invalid float value>, pa_string = 0x0, pa_wstring = 0x0, pa_pointer = 0x0, pa_user = 0x0}
        spec = 115 's'
        _buffer = {__routine = 0x3434c68fb0 <__funlockfile>, __arg = 0x3434fb2280 <_IO_2_1_stdout_>, __canceltype = 0, __prev = 0x0}
        _avail = <optimized out>
        thousands_sep = 0x0
        grouping = 0xffffffffffffffff <Address 0xffffffffffffffff out of bounds>
        done = 1
        f = 0x40e6e0 "s"
        lead_str_end = 0x40e6df "%s"
        end_of_spec = <optimized out>
        work_buffer = "\000\336\377\377\377\177\000\000\000\000\000\000\000\000\000\000\300\335\377\005\000\000\000\000\377\377\377\377\377\377\377\377p\000\000\000\000\000\000\000\300\335\377\377\377\177\000\000\270\017b\000\000\000\000\000\260\017b\000\000\000\000\000\b", '\000' <repeats 15 times>, "\016\000\000\000\000\000\000\000\200", '\000' <repeats 39 times>, "cpu  741 0 628 88737 1070 38 82 0 0 0\ncpu0 143 0 196 21774 659 14 18 0 0 0\ncpu1 193 0 134 22267 \177\003", '\000' <repeats 22 times>"\240, \037\000\000\377\377", '\000' <repeats 42 times>"\240, \336\377\377\377\177\000\000\000\000\000\000\000\000\000\000"...
        workstart = 0x0
        workend = 0x7fffffffe108 "\334C@"
        ap_save = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fffffffe240, reg_save_area = 0x7fffffffe170}}
        nspecs_done = 0
        save_errno = 0
        readonly_format = 0
        args_malloced = 0x0
        specs = <optimized out>
        specs_malloced = false
        jump_table = "\001\000\000\004\000\016\000\006\000\000\a\002\000\003\t\000\005\b\b\b\b\b\b\b\b\b\000\000\000\000\000\000\000\032\000\031\000\023\023\023\000\035\000\000\f\000\000\000\000\000\000\025\000\000\000\000\022\000\r\000\000\000\000\000\000\032\000\024\017\023\023\023\n\017\034\000\v\030\027\021\026\f\000\025\033\020\000\000\022\000\r"
#1  0x0000003434d08041 in ___printf_chk (flag=flag@entry=1, format=format@entry=0x40e6de " %s") at printf_chk.c:36
        _IO_acquire_lock_file = 0x3434fb2280 <_IO_2_1_stdout_>
        ap = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fffffffe240, reg_save_area = 0x7fffffffe170}}
        done = <optimized out>
#2  0x0000000000405e5d in printf (__fmt=0x40e6de " %s") at /usr/include/bits/stdio2.h:104
No locals.
#3  place_show () at qperf.c:2596
        n = 0
        show = 0x61e5a0 <ShowTable>
        i = 0
        nameLen = 2
        dataLen = 3
        unitLen = <optimized out>
#4  client (test=<optimized out>) at qperf.c:1490
No locals.
#5  do_loop (loop=<optimized out>, test=test@entry=0x61c4c0 <Tests+192>) at qperf.c:772
No locals.
#6  0x0000000000402b4f in do_args (args=0x7fffffffe5b8) at qperf.c:745
        test = 0x61c4c0 <Tests+192>
        arg = 0x7fffffffe82e "tcp_bw"
        isClient = 1
        testSpecified = <optimized out>
#7  main (argc=<optimized out>, argv=<optimized out>) at qperf.c:600
No locals.


Version-Release number of selected component (if applicable):
Happens (obviously) on both and qperf-0.4.6-8.fc18.x86_64
and qperf-0.4.6-8.fc19.x86_64

How reproducible:
100%

Steps to Reproduce:
1. qperf on server (link is 10Gb infiniband)
2. qperf server tcp_bw 
3.

Comment 1 Doug Ledford 2013-07-17 23:06:48 UTC
This appears to be resolved in the latest upstream release (0.4.9).

Comment 2 Fedora Update System 2013-07-17 23:07:58 UTC
qperf-0.4.9-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/qperf-0.4.9-1.fc19

Comment 3 Fedora Update System 2013-07-17 23:08:12 UTC
qperf-0.4.9-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/qperf-0.4.9-1.fc18

Comment 4 Fedora Update System 2013-07-20 09:40:23 UTC
Package qperf-0.4.9-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing qperf-0.4.9-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-13260/qperf-0.4.9-1.fc19
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-08-02 03:20:30 UTC
qperf-0.4.9-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-08-02 03:40:08 UTC
qperf-0.4.9-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.