Skip to content

CI demo#1

Open
gollub wants to merge 2 commits into
nickbroon:masterfrom
gollub:wip/ci-demo
Open

CI demo#1
gollub wants to merge 2 commits into
nickbroon:masterfrom
gollub:wip/ci-demo

Conversation

@gollub
Copy link
Copy Markdown

@gollub gollub commented Jun 4, 2020

No description provided.

nickbroon pushed a commit that referenced this pull request Apr 28, 2021
A preliminary 'baseline' test of SIP data set #1 with no NAT configured.
VRVDR-54421
nickbroon pushed a commit that referenced this pull request Apr 28, 2021
Tests SIP data set #1 with SNAT configured.
VRVDR-54421
nickbroon pushed a commit that referenced this pull request Apr 28, 2021
Tests SIP data set #1 with DNAT configured.
VRVDR-54421
nickbroon pushed a commit that referenced this pull request Apr 28, 2021
se_sen field in struct session may be NULL in two cases for newly
created sessions not yet added to sentry hash list, or after sesssion
removed from sentry hash list during reclaim in session gc.

This causes the following segmentaion fault infrequently.

[Current thread is 1 (Thread 0x7ff5c3fff700 (LWP 30235))]
 #0  0x000055ce31a8978d in csync_get_session_from_init_sentry (
    cse=<synthetic pointer>, cs=<synthetic pointer>, sp=0x7ff5f004ef36)
    at ../src/npf/csync/csync_session_unpack.c:38
 #1  csync_session_unpack_update (csu=0x7ff5f004ef2e)
    at ../src/npf/csync/csync_session_unpack.c:71
 #2  csync_unpack_session (size=<optimized out>, msg=0x7ff5f004ef26)
    at ../src/npf/csync/csync_session_unpack.c:421
 #3  csync_recv_session_update (frame=<optimized out>)
    at ../src/npf/csync/csync_session_unpack.c:501
 #4  0x000055ce31b2d57d in csync_restore_sessions (n=<optimized out>,
    flist=<optimized out>) at ../src/csync/csync_transfer.c:218
 #5  csync_pull_batch (info=0x7ff58400b880) at
../src/csync/csync_transfer.c:506
 #6  csync_xfer_backup (pipe=0x7ff58400b8e0, arg=0x7ff58400b880)
    at ../src/csync/csync_transfer.c:301
 #7  0x00007ff6629618d3 in ?? () from
/usr/lib/x86_64-linux-gnu/libczmq.so.4
 #8  0x00007ff6611ad4a4 in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
 danos#9  0x00007ff660eefd0f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Fixed by doing a safe derefernce and checking for NULL.

VRVDR-54586
nickbroon pushed a commit that referenced this pull request Apr 29, 2021
Extract the block of code that assigns a new public address and port block
to a new subscriber.  This new function is only used when a new subscriber
and protocol are seen.  For example, if port-block size was 512 then this
new function would be called for the first session, but not for the
subsequent 511 sessions.  This is just moving of code.  There is no
functional change.
VRVDR-54775
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant