Bug#909689: asterisk: autopkgtest regression

Bernhard Schmidt berni at debian.org
Mon Nov 5 22:33:43 GMT 2018


Hi,

> 
> this is where asterisk is actually segfaulting (not during the
> testsuite, but when collecting the results). I haven't managed to pull
> the backtrace from the autopkgtest worker yet.

Backtrace:

#0  ___fprintf_chk (fp=fp at entry=0x0, flag=flag at entry=1,
format=format at entry=0x555981d58a08 "\t\t<testcase time=\"%u.%u\"
classname=\"%s\" name=\"%s\"%s>\n")
    at fprintf_chk.c:30
        _IO_acquire_lock_file = 0x0
        ap = {{gp_offset = 2202655248, fp_offset = 21849,
overflow_arg_area = 0x7fac1e6721c8, reg_save_area = 0x555981dae8b0
<test_result2str>}}
        done = <optimized out>
#1  0x0000555981cf8ae1 in fprintf (__fmt=0x555981d58a08 "\t\t<testcase
time=\"%u.%u\" classname=\"%s\" name=\"%s\"%s>\n", __stream=0x0)
    at /usr/include/x86_64-linux-gnu/bits/stdio2.h:97
No locals.
#2  test_xml_entry (test=test at entry=0x55598349da10, f=f at entry=0x0) at
test.c:335
        test_cat = 0x7fac380057d9 "apps.app_gosub"
        next_cat = <optimized out>
        test_name = 0x7fac27fc216f "gosub application"
        category = <optimized out>
#3  0x0000555981cfa013 in test_generate_results
(xml_path=xml_path at entry=0x0,
    txt_path=txt_path at entry=0x7fac3801b24a
"/tmp/autopkgtest.Be0rXk/build.Ign/real-tree/debian/tests/testmods/output/results.txt",
category=0x0, name=0x0) at test.c:574
        f_xml = <optimized out>
        f_txt = <optimized out>
        res = <optimized out>
        test = 0x55598349da10
        __PRETTY_FUNCTION__ = "test_generate_results"
#4  0x0000555981cfa527 in test_generate_results (txt_path=0x7fac3801b24a
"/tmp/autopkgtest.Be0rXk/build.Ign/real-tree/debian/tests/testmods/output/results.txt",

    xml_path=0x0, category=0x0, name=0x0) at ./include/asterisk/strings.h:67
        f_txt = 0x0
        test = 0x0
        mode = TEST_ALL
        f_xml = 0x0
        res = 0
        mode = <optimized out>
        f_xml = <optimized out>
        f_txt = <optimized out>
        res = <optimized out>
        test = <optimized out>
        __PRETTY_FUNCTION__ = "test_generate_results"
#5  test_cli_generate_results (e=<optimized out>, cmd=<optimized out>,
a=0x7fac1e6722e0) at test.c:1047
        option = {0x555981d3a92d "xml", 0x555981d3cd2a "txt", 0x0}
        file = 0x7fac3801b24a
"/tmp/autopkgtest.Be0rXk/build.Ign/real-tree/debian/tests/testmods/output/results.txt"
        type = <optimized out>
        isxml = 0
        res = 0
        buf = <optimized out>
        time = {tv_sec = 1541457075, tv_usec = <optimized out>}

Bernhard



More information about the Pkg-voip-maintainers mailing list