Skip to content

Assertion when setting proxy.config.ssl.max_record_size=-1 #2705

@zwoop

Description

@zwoop
(gdb) bt full
#0  0x00007ffff59111f7 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
        resultvar = 0
        pid = 26435
        selftid = 26442
#1  0x00007ffff59128e8 in __GI_abort () at abort.c:90
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0, 0, 0, 0, 0, 0, 140737352171520, 46912505899232, 5864063237428, 46912505899424, 46912623357424, 46912505899424, 6375826, 46912631844480, 46912505892864, 5864063237368}}, sa_flags = 1432878388, sa_restorer = 0x2aaaab3fe9a0}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007ffff7b4a5c9 in ink_abort (message_format=0x7ffff7b9bc80 "%s:%d: failed assertion `%s`") at ink_error.cc:99
        ap = <error reading variable ap (Cannot access memory at address 0xffffffffffffffc0)>
#3  0x00007ffff7b43674 in _ink_assert (expression=0xdff2a0 "r != 0", file=0xdfed40 "UnixNetVConnection.cc", line=472) at ink_assert.cc:37
No locals.
#4  0x0000000000b3a232 in write_to_net_io (nh=0x7ffff0ee83f0, vc=0x2aaab2c18800, thread=0x7ffff0ee4800) at UnixNetVConnection.cc:472
        s = 0x2aaab2c189a0
        mutex = 0x62a000004cd0
        lock = {m = {m_ptr = 0x2aaab2402df0}, lock_acquired = true}
        __FUNCTION__ = "write_to_net_io"
        ntodo = 9223372036849953872
        buf = @0x2aaab2c189c8: {name = 0x0, mbuf = 0x2aaab2606090, entry = 0x2aaab26060f8}
        towrite = 36037
        signalled = 0
        needs = 0
        total_written = 0
        r = 0
#5  0x0000000000b39813 in write_to_net (nh=0x7ffff0ee83f0, vc=0x2aaab2c18800, thread=0x7ffff0ee4800) at UnixNetVConnection.cc:359
        mutex = 0x62a000004cd0
#6  0x0000000000b23212 in NetHandler::process_ready_list (this=0x7ffff0ee83f0) at UnixNet.cc:413
        vc = 0x2aaab2c18800
#7  0x0000000000b242a5 in NetHandler::waitForActivity (this=0x7ffff0ee83f0, timeout=60000000) at UnixNet.cc:523
        epd = 0x2aaab2c18a60
        lock = {m = {m_ptr = 0x62a000004870}, locked_p = true}
        __FUNCTION__ = "waitForActivity"
        p = 0x7ffff0ee8510
        pd = 0x7ffff088f800
        vc = 0x2aaab2c18800
#8  0x0000000000b903f7 in EThread::execute_regular (this=0x7ffff0ee4800) at UnixEThread.cc:232
        done_one = false
        sleep_time = 60000000
        e = 0x0
        NegativeQueue = {<DLL<Event, Event::Link_link>> = {head = 0x0}, tail = 0x0}
        next_time = 1508878607537980050
#9  0x0000000000b90677 in EThread::execute (this=0x7ffff0ee4800) at UnixEThread.cc:262
        __FUNCTION__ = "execute"
#10 0x0000000000b8db08 in spawn_thread_internal (a=0x6080000090a0) at Thread.cc:91
        p = 0x6080000090a0
#11 0x00007ffff63b4e25 in start_thread (arg=0x2aaaab3ff700) at pthread_create.c:308
        __res = <optimized out>
        pd = 0x2aaaab3ff700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {46912505902848, -4675559604569876457, 0, 140737488347456, 46912505902848, 106102872117408, -1564924797787154409, 4675579984661207063}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
#12 0x00007ffff59d434d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
No locals.

@oknet thoughts? This might also be related / similar to the old Jira: https://issues.apache.org/jira/browse/TS-4424

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions