open5gs / open5gs

Open5GS is a C-language Open Source implementation for 5G Core and EPC, i.e. the core network of LTE/NR network (Release-17)
https://open5gs.org
GNU Affero General Public License v3.0
1.77k stars 736 forks source link

valgrind: Invalid read of size 1 in log_content() ogs-log.c #1400

Closed pespin closed 1 year ago

pespin commented 2 years ago

Seen in open5gs-smfd around startup:

==7== Invalid read of size 1
==7==    at 0x483BC94: strlen (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==7==    by 0x53A5F75: __vfprintf_internal (vfprintf-internal.c:1688)
==7==    by 0x53B79C5: __vsnprintf_internal (vsnprintf.c:114)
==7==    by 0x485A15A: ogs_vsnprintf (ogs-strings.c:77)
==7==    by 0x485A30B: ogs_vslprintf (ogs-strings.c:106)
==7==    by 0x485EDB1: log_content (ogs-log.c:595)
==7==    by 0x485DFCF: ogs_log_vprintf (ogs-log.c:412)
==7==    by 0x485E3EB: ogs_log_printf (ogs-log.c:468)
==7==    by 0x48B8CD8: check_multi_info (client.c:472)
==7==    by 0x48B9648: event_cb (client.c:585)
==7==    by 0x487D838: epoll_process (ogs-epoll.c:251)
==7==    by 0x1135CF: smf_main (init.c:144)
==7==    by 0x486614E: thread_worker (ogs-thread.c:67)
==7==    by 0x5320EA6: start_thread (pthread_create.c:477)
==7==    by 0x5437DEE: clone (clone.S:95)
==7==  Address 0x1672dcbc is 0 bytes after a block of size 268 alloc'd
==7==    at 0x483877F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==7==    by 0x52E6ECB: ??? (in /usr/lib/x86_64-linux-gnu/libtalloc.so.2.3.1)
==7==    by 0x52E7AF7: _talloc_memdup (in /usr/lib/x86_64-linux-gnu/libtalloc.so.2.3.1)
==7==    by 0x485A620: ogs_talloc_memdup (ogs-strings.c:184)
==7==    by 0x48B8B34: check_multi_info (client.c:464)
==7==    by 0x48B9648: event_cb (client.c:585)
==7==    by 0x487D838: epoll_process (ogs-epoll.c:251)
==7==    by 0x1135CF: smf_main (init.c:144)
==7==    by 0x486614E: thread_worker (ogs-thread.c:67)
==7==    by 0x5320EA6: start_thread (pthread_create.c:477)
==7==    by 0x5437DEE: clone (clone.S:95)
==7==

Running valgrind the following way: "valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes

acetcom commented 2 years ago

@pespin

In my test, there is no Invalid read size of 1.

$ cat /etc/issue
Ubuntu 20.04.4 LTS \n \l
$ git clone https://github.com/open5gs/open5gs
$ cd open5gs
$ meson build --prefix=`pwd`/install
The Meson build system
Version: 0.53.2
Source dir: /home/acetcom/Documents/git/open5gs
Build dir: /home/acetcom/Documents/git/open5gs/build
Build type: native build
Project name: open5gs
Project version: 2.4.4
C compiler for the host machine: cc (gcc 9.3.0 "cc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0")
C linker for the host machine: cc ld.bfd 2.34
C++ compiler for the host machine: c++ (gcc 9.3.0 "c++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0")
C++ linker for the host machine: c++ ld.bfd 2.34
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program git found: YES (/usr/bin/git)
Program python3 found: YES (/usr/bin/python3)
Program /usr/bin/python3 found: YES (/usr/bin/python3)
Compiler for C supports arguments -Wextra: YES 
Compiler for C supports arguments -Wlogical-op: YES 
Compiler for C supports arguments -Werror=missing-include-dirs: YES 
Compiler for C supports arguments -Werror=pointer-arith: YES 
Compiler for C supports arguments -Werror=init-self: YES 
Compiler for C supports arguments -Wfloat-equal: YES 
Compiler for C supports arguments -Wsuggest-attribute=noreturn: YES 
Compiler for C supports arguments -Werror=missing-prototypes: YES 
Compiler for C supports arguments -Werror=missing-declarations: YES 
Compiler for C supports arguments -Werror=implicit-function-declaration: YES 
Compiler for C supports arguments -Werror=return-type: YES 
Compiler for C supports arguments -Werror=incompatible-pointer-types: YES 
Compiler for C supports arguments -Werror=format=2: YES 
Compiler for C supports arguments -Wstrict-prototypes: YES 
Compiler for C supports arguments -Wredundant-decls: YES 
Compiler for C supports arguments -Wimplicit-fallthrough=5: YES 
Compiler for C supports arguments -Wendif-labels: YES 
Compiler for C supports arguments -Wstrict-aliasing=3: YES 
Compiler for C supports arguments -Wwrite-strings: YES 
Compiler for C supports arguments -Werror=overflow: YES 
Compiler for C supports arguments -Werror=shift-count-overflow: YES 
Compiler for C supports arguments -Werror=shift-overflow=2: YES 
Compiler for C supports arguments -Wdate-time: YES 
Compiler for C supports arguments -Wnested-externs: YES 
Compiler for C supports arguments -Wunused: YES 
Compiler for C supports arguments -Wduplicated-branches: YES 
Compiler for C supports arguments -Wmisleading-indentation: YES 
Compiler for C supports arguments -Wno-sign-compare -Wsign-compare: YES 
Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter: YES 
Compiler for C supports arguments -ffast-math: YES 
Compiler for C supports arguments -fdiagnostics-show-option: YES 
Compiler for C supports arguments -fstack-protector: YES 
Compiler for C supports arguments -fstack-protector-strong: YES 
Compiler for C supports arguments --param=ssp-buffer-size=4: YES 
meson.build:108: WARNING: Consider using the built-in warning_level option instead of using "-Wextra".
Configuring sample.yaml using configuration
Configuring 310014.yaml using configuration
Configuring csfb.yaml using configuration
Configuring volte.yaml using configuration
Configuring vonr.yaml using configuration
Configuring slice.yaml using configuration
Configuring srslte.yaml using configuration
Configuring non3gpp.yaml using configuration
Program /usr/bin/python3 found: YES (/usr/bin/python3)
Configuring mme.yaml using configuration
Configuring sgwc.yaml using configuration
Configuring sgwu.yaml using configuration
Configuring smf.yaml using configuration
Configuring amf.yaml using configuration
Configuring upf.yaml using configuration
Configuring hss.yaml using configuration
Configuring pcrf.yaml using configuration
Configuring nrf.yaml using configuration
Configuring ausf.yaml using configuration
Configuring udm.yaml using configuration
Configuring udr.yaml using configuration
Configuring pcf.yaml using configuration
Configuring nssf.yaml using configuration
Configuring bsf.yaml using configuration
Program /usr/bin/python3 found: YES (/usr/bin/python3)
Configuring mme.conf using configuration
Configuring hss.conf using configuration
Configuring smf.conf using configuration
Configuring pcrf.conf using configuration
Configuring cacert.pem using configuration
Configuring mme.cert.pem using configuration
Configuring mme.key.pem using configuration
Configuring hss.cert.pem using configuration
Configuring hss.key.pem using configuration
Configuring smf.cert.pem using configuration
Configuring smf.key.pem using configuration
Configuring pcrf.cert.pem using configuration
Configuring pcrf.key.pem using configuration
Configuring open5gs-mmed.service using configuration
Configuring open5gs-sgwcd.service using configuration
Configuring open5gs-smfd.service using configuration
Configuring open5gs-amfd.service using configuration
Configuring open5gs-sgwud.service using configuration
Configuring open5gs-upfd.service using configuration
Configuring open5gs-hssd.service using configuration
Configuring open5gs-pcrfd.service using configuration
Configuring open5gs-nrfd.service using configuration
Configuring open5gs-ausfd.service using configuration
Configuring open5gs-udmd.service using configuration
Configuring open5gs-pcfd.service using configuration
Configuring open5gs-nssfd.service using configuration
Configuring open5gs-bsfd.service using configuration
Configuring open5gs-udrd.service using configuration
Configuring 99-open5gs.netdev using configuration
Configuring 99-open5gs.network using configuration
Configuring open5gs using configuration
Configuring open5gs.conf using configuration
Has header "arpa/inet.h" : YES 
Has header "ctype.h" : YES 
Has header "errno.h" : YES 
Has header "execinfo.h" : YES 
Has header "fcntl.h" : YES 
Has header "ifaddrs.h" : YES 
Has header "netdb.h" : YES 
Has header "pthread.h" : YES 
Has header "signal.h" : YES 
Has header "stdarg.h" : YES 
Has header "stddef.h" : YES 
Has header "stdio.h" : YES 
Has header "stdint.h" : YES 
Has header "stdbool.h" : YES 
Has header "stdlib.h" : YES 
Has header "string.h" : YES 
Has header "strings.h" : YES 
Has header "time.h" : YES 
Has header "sys/time.h" : YES 
Has header "unistd.h" : YES 
Has header "net/if.h" : YES 
Has header "netinet/in.h" : YES 
Has header "netinet/in_systm.h" : YES 
Has header "netinet/udp.h" : YES 
Has header "netinet/tcp.h" : YES 
Has header "sys/ioctl.h" : YES 
Has header "sys/param.h" : YES 
Has header "sys/random.h" : YES 
Has header "sys/socket.h" : YES 
Has header "sys/stat.h" : YES 
Has header "limits.h" : YES 
Has header "sys/syslimits.h" : NO 
Has header "sys/types.h" : YES 
Has header "sys/wait.h" : YES 
Has header "sys/uio.h" : YES 
Checking for function "arc4random" : NO 
Checking for function "arc4random_buf" : NO 
Checking for function "getrandom" : YES 
Checking for function "localtime_r" : YES 
Checking for function "getifaddrs" : YES 
Checking for function "getenv" : YES 
Checking for function "putenv" : YES 
Checking for function "setenv" : YES 
Checking for function "unsetenv" : YES 
Checking for function "strerror_r" : YES 
Checking for function "sigaction" : YES 
Checking for function "sigwait" : YES 
Checking for function "sigsuspend" : YES 
Checking for function "eventfd" : YES 
Checking for function "kqueue" : NO 
Checking for function "epoll_ctl" : YES 
Run-time dependency threads found: YES
Header <pthread.h> has symbol "pthread_barrier_wait" : YES 
Header <signal.h> has symbol "sys_siglist" : YES 
Checking if "strerror_r() returns char *" compiles: YES 
Library execinfo found: NO
Checking for function "backtrace" : YES 
Checking if "clock_gettime()" links: YES 
Checking if "eventfd(2) system call" links: YES 
Library socket found: NO
Checking if "socket()" links: YES 
Configuring core-config-private.h using configuration
Configuring core-config.h using configuration
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Run-time dependency talloc found: YES 2.3.1
Compiler for C supports arguments -Wno-shift-negative-value -Wshift-negative-value: YES 
Compiler for C supports arguments -Wno-unused-but-set-variable -Wunused-but-set-variable: YES 
Compiler for C supports arguments -Wno-unknown-warning-option -Wunknown-warning-option: NO 
Compiler for C supports arguments -Wno-missing-prototypes -Wmissing-prototypes: YES 
Compiler for C supports arguments -Wno-missing-declarations -Wmissing-declarations: YES 
Compiler for C supports arguments -Wno-discarded-qualifiers -Wdiscarded-qualifiers: YES 
Compiler for C supports arguments -Wno-redundant-decls -Wredundant-decls: YES 
Compiler for C supports arguments -Wno-shift-overflow -Wshift-overflow: YES 
Compiler for C supports arguments -Wno-float-equal -Wfloat-equal: YES 
Compiler for C supports arguments -Wno-implicit-fallthrough -Wimplicit-fallthrough: YES 
Compiler for C supports arguments -Wno-incompatible-pointer-types-discards-qualifiers -Wincompatible-pointer-types-discards-qualifiers: NO 
Compiler for C supports arguments -Wno-format-nonliteral -Wformat-nonliteral: YES 
Compiler for C supports arguments -Wno-cpp -Wcpp: YES 
Run-time dependency yaml-0.1 found: YES 0.2.2
Has header "netinet/sctp.h" : YES 
Library sctp found: YES
Configuring sctp-config.h using configuration
Run-time dependency libmongoc-1.0 found: YES 1.16.1

|Executing subproject freeDiameter method meson 
|
|Project name: freediameter
|Project version: 1.5.0
|C compiler for the host machine: cc (gcc 9.3.0 "cc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0")
|C linker for the host machine: cc ld.bfd 2.34
|Program flex found: YES (/usr/bin/flex)
|Program bison found: YES (/usr/bin/bison)
|Compiler for C supports arguments -Werror: YES 
|Compiler for C supports arguments -Wno-unused-variable -Wunused-variable: YES 
|Compiler for C supports arguments -Wno-unused-but-set-variable -Wunused-but-set-variable: YES 
|Compiler for C supports arguments -Wno-maybe-uninitialized -Wmaybe-uninitialized: YES 
|Compiler for C supports arguments -Wno-format-truncation -Wformat-truncation: YES 
|Compiler for C supports arguments -Wno-stringop-truncation -Wstringop-truncation: YES 
|Has header "malloc.h" : YES 
|Has header "signalent.h" : NO 
|Checking for function "strndup" : YES 
|Checking for function "getopt_long" : YES 
|Checking for function "getifaddrs" : YES (cached)
|Header <netinet/in.h> has symbol "ntohll" : NO 
|Header <netdb.h> has symbol "AI_ADDRCONFIG" : YES 
|Dependency threads found: YES unknown (cached)
|Header <pthread.h> has symbol "pthread_barrier_wait" : YES (cached)
|Checking if "clock_gettime()" links: YES (cached)
|Checking if "dlopen() and dlsym() in system libraries" links: NO 
|Checking if "dlopen() and dlsym() in libdl" links: YES 
|Library dl found: YES
|Library gcrypt found: YES
|Library idn found: YES
|Library gnutls found: YES
|Checking for function "gnutls_hash" : YES 
|Checking for function "gnutls_transport_set_vec_push_function" : YES 
|Checking for function "gnutls_x509_trust_list_verify_crt" : YES 
|Checking for function "gnutls_handshake_set_timeout" : YES 
|Library sctp found: YES
|Checking if "sctp_connectx() accepts 4 arguments" compiles: YES 
|Configuring freeDiameter-host.h using configuration
|Configuring version.h using configuration
|Build targets in project: 17
|Subproject freeDiameter finished.

Compiler for C supports arguments -Wno-missing-prototypes -Wmissing-prototypes: YES 
Compiler for C supports arguments -Wno-missing-declarations -Wmissing-declarations: YES 
Compiler for C supports arguments -Wno-discarded-qualifiers -Wdiscarded-qualifiers: YES 
Compiler for C supports arguments -Wno-incompatible-pointer-types -Wincompatible-pointer-types: YES 
Compiler for C supports arguments -Wno-strict-prototypes -Wstrict-prototypes: YES 
Compiler for C supports arguments -w: YES 
Compiler for C supports arguments -std=gnu99: YES 
Has header "netinet/ip.h" : YES 
Has header "netinet/ip6.h" : YES 
Has header "netinet/udp.h" : YES (cached)
Has header "netinet/tcp.h" : YES (cached)
Configuring pfcp-config.h using configuration
Compiler for C supports arguments -Wno-strict-prototypes -Wstrict-prototypes: YES 
Compiler for C supports arguments -Wno-missing-prototypes -Wmissing-prototypes: YES 
Compiler for C supports arguments -Wno-missing-declarations -Wmissing-declarations: YES 
Compiler for C supports arguments -Wno-unused-variable -Wunused-variable: YES 
Compiler for C supports arguments -Wno-unused-label -Wunused-label: YES 
Compiler for C supports arguments -Wno-float-equal -Wfloat-equal: YES 
Library gnutls found: YES
Run-time dependency libnghttp2 found: YES 1.40.0
Run-time dependency libmicrohttpd found: YES 0.9.66
Run-time dependency libcurl found: YES 7.68.0
Configuring version.h using configuration
Has header "ifaddrs.h" : YES (cached)
Has header "net/ethernet.h" : YES 
Has header "net/if.h" : YES (cached)
Has header "net/if_dl.h" : NO 
Has header "netinet/in.h" : YES (cached)
Has header "netinet/ip.h" : YES (cached)
Has header "netinet/ip6.h" : YES (cached)
Has header "netinet/ip_icmp.h" : YES 
Has header "netinet/icmp6.h" : YES 
Has header "sys/ioctl.h" : YES (cached)
Has header "sys/socket.h" : YES (cached)
Configuring upf-config.h using configuration
Run-time dependency libtins found: YES 4.0
Has header "net/if.h" : YES (cached)
Has header "netinet/ip.h" : YES (cached)
Has header "netinet/ip6.h" : YES (cached)
Has header "netinet/ip_icmp.h" : YES (cached)
Has header "netinet/icmp6.h" : YES (cached)
Configuring smf-config.h using configuration
Configuring open5gs-dbctl using configuration
Compiler for C supports arguments -Wno-missing-prototypes -Wmissing-prototypes: YES 
Compiler for C supports arguments -Wno-missing-declarations -Wmissing-declarations: YES 
Compiler for C supports arguments -Wno-discarded-qualifiers -Wdiscarded-qualifiers: YES 
Compiler for C supports arguments -Wno-incompatible-pointer-types -Wincompatible-pointer-types: YES 
Compiler for C supports arguments -Wno-unused-variable -Wunused-variable: YES 
Compiler for C supports arguments -Wno-deprecated-declarations -Wdeprecated-declarations: YES 
Configuring test-config-private.h using configuration
Message: 
        prefix:                       /home/acetcom/Documents/git/open5gs/install
        libdir:                       /home/acetcom/Documents/git/open5gs/install/lib/x86_64-linux-gnu
        bindir:                       /home/acetcom/Documents/git/open5gs/install/bin
        sysconfdir:                   /home/acetcom/Documents/git/open5gs/install/etc
        localstatedir:                /home/acetcom/Documents/git/open5gs/install/var
        source code location:         /home/acetcom/Documents/git/open5gs
        compiler:                     gcc
        debugging support:            debug

Build targets in project: 89

open5gs 2.4.4

  Subprojects
    freeDiameter: YES

Found ninja-1.10.0 at /usr/bin/ninja
$ cd build
$ ninja install
$ valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes ./src/smf/open5gs-smfd
==38011== Memcheck, a memory error detector
==38011== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==38011== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
==38011== Command: ./src/smf/open5gs-smfd
==38011== 
Open5GS daemon v2.4.4-42-ged3444e

03/03 20:43:34.592: [app] INFO: Configuration: '/home/acetcom/Documents/git/open5gs/install/etc/open5gs/smf.yaml' (../lib/app/ogs-init.c:129)
03/03 20:43:34.623: [app] INFO: File Logging: '/home/acetcom/Documents/git/open5gs/install/var/log/open5gs/smf.log' (../lib/app/ogs-init.c:132)
==38011== Conditional jump or move depends on uninitialised value(s)
==38011==    at 0x5711501: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.27.0)
==38011==    by 0x571188F: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.27.0)
==38011==    by 0x57217CE: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.27.0)
==38011==    by 0x574A8AA: gnutls_x509_crt_get_dn_by_oid (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.27.0)
==38011==    by 0x56D6E71: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.27.0)
==38011==    by 0x56D7584: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.27.0)
==38011==    by 0x56D8C05: gnutls_certificate_set_x509_key_file2 (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.27.0)
==38011==    by 0x50DFE3C: fddparse (fdd.y:643)
==38011==    by 0x50E5203: fd_conf_parse (config.c:281)
==38011==    by 0x50E8E3B: fd_core_parseconf_int (core.c:245)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== Conditional jump or move depends on uninitialised value(s)
==38011==    at 0x5711501: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.27.0)
==38011==    by 0x571188F: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.27.0)
==38011==    by 0x5720C8F: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.27.0)
==38011==    by 0x57210E1: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.27.0)
==38011==    by 0x57212D5: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.27.0)
==38011==    by 0x50E4C88: fd_conf_print_details_func (config.c:219)
==38011==    by 0x574789B: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.27.0)
==38011==    by 0x57489E6: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.27.0)
==38011==    by 0x5758A4F: gnutls_x509_trust_list_verify_crt2 (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.27.0)
==38011==    by 0x57591F8: gnutls_x509_trust_list_verify_crt (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.27.0)
==38011==    by 0x50E64E8: fd_conf_parse (config.c:446)
==38011==    by 0x50E8E3B: fd_core_parseconf_int (core.c:245)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
03/03 20:43:38.637: [gtp] INFO: gtp_server() [127.0.0.4]:2123 (../lib/gtp/path.c:30)
03/03 20:43:38.639: [gtp] INFO: gtp_server() [::1]:2123 (../lib/gtp/path.c:30)
03/03 20:43:38.641: [gtp] INFO: gtp_server() [127.0.0.4]:2152 (../lib/gtp/path.c:30)
03/03 20:43:38.642: [gtp] INFO: gtp_server() [::1]:2152 (../lib/gtp/path.c:30)
03/03 20:43:38.722: [pfcp] INFO: pfcp_server() [127.0.0.4]:8805 (../lib/pfcp/path.c:30)
03/03 20:43:38.723: [pfcp] INFO: pfcp_server() [::1]:8805 (../lib/pfcp/path.c:30)
03/03 20:43:38.726: [pfcp] INFO: ogs_pfcp_connect() [127.0.0.7]:8805 (../lib/pfcp/path.c:59)
03/03 20:43:38.749: [sbi] INFO: nghttp2_server() [127.0.0.4]:7777 (../lib/sbi/nghttp2-server.c:144)
03/03 20:43:38.896: [sbi] WARNING: [7] Failed to connect to ::1 port 7777: Connection refused (../lib/sbi/client.c:484)
03/03 20:43:38.904: [app] INFO: SMF initialize...done (../src/smf/app.c:31)
^C03/03 20:43:40.824: [app] INFO: SIGINT received (../src/main.c:53)
03/03 20:43:40.826: [app] INFO: Open5GS daemon terminating... (../src/main.c:226)
03/03 20:43:41.145: [app] INFO: SMF terminate...done (../src/smf/app.c:39)
==38011== 
==38011== FILE DESCRIPTORS: 3 open at exit.
==38011== Open file descriptor 2: /dev/pts/0
==38011==    <inherited from parent>
==38011== 
==38011== Open file descriptor 1: /dev/pts/0
==38011==    <inherited from parent>
==38011== 
==38011== Open file descriptor 0: /dev/pts/0
==38011==    <inherited from parent>
==38011== 
==38011== 
==38011== HEAP SUMMARY:
==38011==     in use at exit: 25,659 bytes in 52 blocks
==38011==   total heap usage: 11,555 allocs, 11,503 frees, 277,641,076 bytes allocated
==38011== 
==38011== 3 bytes in 1 blocks are definitely lost in loss record 1 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x51A3EC7: os0dup_int (ostr.c:46)
==38011==    by 0x517A442: init_object_data (dictionary.c:187)
==38011==    by 0x518362A: fd_dict_new (dictionary.c:1592)
==38011==    by 0x50AB469: ogs_dict_gx_entry (dict.c:153)
==38011==    by 0x50ADACF: ogs_diam_gx_init (message.c:96)
==38011==    by 0x14C61E: smf_gx_init (gx-path.c:1289)
==38011==    by 0x1429BD: smf_fd_init (fd-path.c:38)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 5 bytes in 1 blocks are still reachable in loss record 2 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x542250E: strdup (strdup.c:42)
==38011==    by 0x5190EA1: fd_log_threadname (log.c:185)
==38011==    by 0x50E8703: fd_core_initialize (core.c:186)
==38011==    by 0x50C37FC: ogs_diam_init (init.c:41)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 8 bytes in 1 blocks are still reachable in loss record 3 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x50DC625: fddalloc (fdd.l.yy.c:2708)
==38011==    by 0x50DC0C7: fddensure_buffer_stack (fdd.l.yy.c:2406)
==38011==    by 0x50D9729: fddlex (fdd.l.yy.c:1317)
==38011==    by 0x50DD756: fddparse (fdd.tab.c:1561)
==38011==    by 0x50E5203: fd_conf_parse (config.c:281)
==38011==    by 0x50E8E3B: fd_core_parseconf_int (core.c:245)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 10 bytes in 2 blocks are definitely lost in loss record 4 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x51A3EC7: os0dup_int (ostr.c:46)
==38011==    by 0x517A4EF: init_object_data (dictionary.c:198)
==38011==    by 0x518362A: fd_dict_new (dictionary.c:1592)
==38011==    by 0x1C268F0E: ???
==38011==    by 0x1C2710E5: ???
==38011==    by 0x50F8145: fd_ext_load (extensions.c:205)
==38011==    by 0x50E8F9C: fd_core_parseconf_int (core.c:251)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 14 bytes in 1 blocks are definitely lost in loss record 5 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x51A3EC7: os0dup_int (ostr.c:46)
==38011==    by 0x517A52C: init_object_data (dictionary.c:206)
==38011==    by 0x518362A: fd_dict_new (dictionary.c:1592)
==38011==    by 0x1C264035: ???
==38011==    by 0x1C2710E5: ???
==38011==    by 0x50F8145: fd_ext_load (extensions.c:205)
==38011==    by 0x50E8F9C: fd_core_parseconf_int (core.c:251)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 15 bytes in 1 blocks are definitely lost in loss record 6 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x51A3EC7: os0dup_int (ostr.c:46)
==38011==    by 0x517A52C: init_object_data (dictionary.c:206)
==38011==    by 0x518362A: fd_dict_new (dictionary.c:1592)
==38011==    by 0x1C26CA02: ???
==38011==    by 0x1C2710E5: ???
==38011==    by 0x50F8145: fd_ext_load (extensions.c:205)
==38011==    by 0x50E8F9C: fd_core_parseconf_int (core.c:251)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 15 bytes in 1 blocks are definitely lost in loss record 7 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x51A3EC7: os0dup_int (ostr.c:46)
==38011==    by 0x517A52C: init_object_data (dictionary.c:206)
==38011==    by 0x518362A: fd_dict_new (dictionary.c:1592)
==38011==    by 0x1C26CB15: ???
==38011==    by 0x1C2710E5: ???
==38011==    by 0x50F8145: fd_ext_load (extensions.c:205)
==38011==    by 0x50E8F9C: fd_core_parseconf_int (core.c:251)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 16 bytes in 1 blocks are definitely lost in loss record 8 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x51A3EC7: os0dup_int (ostr.c:46)
==38011==    by 0x517A52C: init_object_data (dictionary.c:206)
==38011==    by 0x518362A: fd_dict_new (dictionary.c:1592)
==38011==    by 0x531BE3D: ???
==38011==    by 0x531C578: ???
==38011==    by 0x50F8145: fd_ext_load (extensions.c:205)
==38011==    by 0x50E8F9C: fd_core_parseconf_int (core.c:251)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 17 bytes in 1 blocks are definitely lost in loss record 9 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x51A3EC7: os0dup_int (ostr.c:46)
==38011==    by 0x517A52C: init_object_data (dictionary.c:206)
==38011==    by 0x518362A: fd_dict_new (dictionary.c:1592)
==38011==    by 0x1C26CC28: ???
==38011==    by 0x1C2710E5: ???
==38011==    by 0x50F8145: fd_ext_load (extensions.c:205)
==38011==    by 0x50E8F9C: fd_core_parseconf_int (core.c:251)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 18 bytes in 1 blocks are definitely lost in loss record 10 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x51A3EC7: os0dup_int (ostr.c:46)
==38011==    by 0x517A52C: init_object_data (dictionary.c:206)
==38011==    by 0x518362A: fd_dict_new (dictionary.c:1592)
==38011==    by 0x1C26414A: ???
==38011==    by 0x1C2710E5: ???
==38011==    by 0x50F8145: fd_ext_load (extensions.c:205)
==38011==    by 0x50E8F9C: fd_core_parseconf_int (core.c:251)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 18 bytes in 1 blocks are definitely lost in loss record 11 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x51A3EC7: os0dup_int (ostr.c:46)
==38011==    by 0x517A52C: init_object_data (dictionary.c:206)
==38011==    by 0x518362A: fd_dict_new (dictionary.c:1592)
==38011==    by 0x1C26BC98: ???
==38011==    by 0x1C2710E5: ???
==38011==    by 0x50F8145: fd_ext_load (extensions.c:205)
==38011==    by 0x50E8F9C: fd_core_parseconf_int (core.c:251)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 19 bytes in 1 blocks are definitely lost in loss record 12 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x51A3EC7: os0dup_int (ostr.c:46)
==38011==    by 0x517A52C: init_object_data (dictionary.c:206)
==38011==    by 0x518362A: fd_dict_new (dictionary.c:1592)
==38011==    by 0x1C264265: ???
==38011==    by 0x1C2710E5: ???
==38011==    by 0x50F8145: fd_ext_load (extensions.c:205)
==38011==    by 0x50E8F9C: fd_core_parseconf_int (core.c:251)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 20 bytes in 1 blocks are definitely lost in loss record 13 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x51A3EC7: os0dup_int (ostr.c:46)
==38011==    by 0x517A52C: init_object_data (dictionary.c:206)
==38011==    by 0x518362A: fd_dict_new (dictionary.c:1592)
==38011==    by 0x531B520: ???
==38011==    by 0x531C578: ???
==38011==    by 0x50F8145: fd_ext_load (extensions.c:205)
==38011==    by 0x50E8F9C: fd_core_parseconf_int (core.c:251)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 20 bytes in 1 blocks are definitely lost in loss record 14 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x51A3EC7: os0dup_int (ostr.c:46)
==38011==    by 0x517A52C: init_object_data (dictionary.c:206)
==38011==    by 0x518362A: fd_dict_new (dictionary.c:1592)
==38011==    by 0x531B777: ???
==38011==    by 0x531C578: ???
==38011==    by 0x50F8145: fd_ext_load (extensions.c:205)
==38011==    by 0x50E8F9C: fd_core_parseconf_int (core.c:251)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 22 bytes in 1 blocks are definitely lost in loss record 15 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x51A3EC7: os0dup_int (ostr.c:46)
==38011==    by 0x517A52C: init_object_data (dictionary.c:206)
==38011==    by 0x518362A: fd_dict_new (dictionary.c:1592)
==38011==    by 0x531BCC6: ???
==38011==    by 0x531C578: ???
==38011==    by 0x50F8145: fd_ext_load (extensions.c:205)
==38011==    by 0x50E8F9C: fd_core_parseconf_int (core.c:251)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 23 bytes in 1 blocks are definitely lost in loss record 16 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x51A3EC7: os0dup_int (ostr.c:46)
==38011==    by 0x517A52C: init_object_data (dictionary.c:206)
==38011==    by 0x518362A: fd_dict_new (dictionary.c:1592)
==38011==    by 0x531B620: ???
==38011==    by 0x531C578: ???
==38011==    by 0x50F8145: fd_ext_load (extensions.c:205)
==38011==    by 0x50E8F9C: fd_core_parseconf_int (core.c:251)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 24 bytes in 1 blocks are definitely lost in loss record 17 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x51A3EC7: os0dup_int (ostr.c:46)
==38011==    by 0x517A52C: init_object_data (dictionary.c:206)
==38011==    by 0x518362A: fd_dict_new (dictionary.c:1592)
==38011==    by 0x1C26B84C: ???
==38011==    by 0x1C2710E5: ???
==38011==    by 0x50F8145: fd_ext_load (extensions.c:205)
==38011==    by 0x50E8F9C: fd_core_parseconf_int (core.c:251)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 25 bytes in 1 blocks are definitely lost in loss record 18 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x51A3EC7: os0dup_int (ostr.c:46)
==38011==    by 0x517A52C: init_object_data (dictionary.c:206)
==38011==    by 0x518362A: fd_dict_new (dictionary.c:1592)
==38011==    by 0x1C26B95F: ???
==38011==    by 0x1C2710E5: ???
==38011==    by 0x50F8145: fd_ext_load (extensions.c:205)
==38011==    by 0x50E8F9C: fd_core_parseconf_int (core.c:251)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 25 bytes in 1 blocks are definitely lost in loss record 19 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x51A3EC7: os0dup_int (ostr.c:46)
==38011==    by 0x517A52C: init_object_data (dictionary.c:206)
==38011==    by 0x518362A: fd_dict_new (dictionary.c:1592)
==38011==    by 0x1C26BA72: ???
==38011==    by 0x1C2710E5: ???
==38011==    by 0x50F8145: fd_ext_load (extensions.c:205)
==38011==    by 0x50E8F9C: fd_core_parseconf_int (core.c:251)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 26 bytes in 1 blocks are definitely lost in loss record 20 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x51A3EC7: os0dup_int (ostr.c:46)
==38011==    by 0x517A52C: init_object_data (dictionary.c:206)
==38011==    by 0x518362A: fd_dict_new (dictionary.c:1592)
==38011==    by 0x1C26BB85: ???
==38011==    by 0x1C2710E5: ???
==38011==    by 0x50F8145: fd_ext_load (extensions.c:205)
==38011==    by 0x50E8F9C: fd_core_parseconf_int (core.c:251)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 34 bytes in 2 blocks are definitely lost in loss record 21 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x51A3EC7: os0dup_int (ostr.c:46)
==38011==    by 0x517A4EF: init_object_data (dictionary.c:198)
==38011==    by 0x518362A: fd_dict_new (dictionary.c:1592)
==38011==    by 0x1C2692F9: ???
==38011==    by 0x1C2710E5: ???
==38011==    by 0x50F8145: fd_ext_load (extensions.c:205)
==38011==    by 0x50E8F9C: fd_core_parseconf_int (core.c:251)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 64 bytes in 1 blocks are still reachable in loss record 22 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x50DC625: fddalloc (fdd.l.yy.c:2708)
==38011==    by 0x50DBC3C: fdd_create_buffer (fdd.l.yy.c:2246)
==38011==    by 0x50D9756: fddlex (fdd.l.yy.c:1319)
==38011==    by 0x50DD756: fddparse (fdd.tab.c:1561)
==38011==    by 0x50E5203: fd_conf_parse (config.c:281)
==38011==    by 0x50E8E3B: fd_core_parseconf_int (core.c:245)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 72 bytes in 24 blocks are definitely lost in loss record 23 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x51A3EC7: os0dup_int (ostr.c:46)
==38011==    by 0x517A4EF: init_object_data (dictionary.c:198)
==38011==    by 0x518362A: fd_dict_new (dictionary.c:1592)
==38011==    by 0x1C264616: ???
==38011==    by 0x1C2710E5: ???
==38011==    by 0x50F8145: fd_ext_load (extensions.c:205)
==38011==    by 0x50E8F9C: fd_core_parseconf_int (core.c:251)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 96 bytes in 1 blocks are definitely lost in loss record 24 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x53302CD: talloc_enable_null_tracking (in /usr/lib/x86_64-linux-gnu/libtalloc.so.2.3.1)
==38011==    by 0x48691B6: ogs_mem_init (ogs-memory.c:37)
==38011==    by 0x4881830: ogs_core_initialize (ogs-core.c:43)
==38011==    by 0x4851E31: ogs_app_initialize (ogs-init.c:40)
==38011==    by 0x114669: main (main.c:205)
==38011== 
==38011== 472 bytes in 1 blocks are possibly lost in loss record 25 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x50F92D3: fd_hook_register (hooks.c:124)
==38011==    by 0x530B1D4: ???
==38011==    by 0x530B71D: ???
==38011==    by 0x50F8145: fd_ext_load (extensions.c:205)
==38011==    by 0x50E8F9C: fd_core_parseconf_int (core.c:251)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 8,192 bytes in 1 blocks are definitely lost in loss record 26 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x574FD36: gnutls_x509_crt_list_import2 (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.27.0)
==38011==    by 0x50E00E0: fddparse (fdd.y:672)
==38011==    by 0x50E5203: fd_conf_parse (config.c:281)
==38011==    by 0x50E8E3B: fd_core_parseconf_int (core.c:245)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== 16,386 bytes in 1 blocks are still reachable in loss record 27 of 27
==38011==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==38011==    by 0x50DC625: fddalloc (fdd.l.yy.c:2708)
==38011==    by 0x50DBC71: fdd_create_buffer (fdd.l.yy.c:2255)
==38011==    by 0x50D9756: fddlex (fdd.l.yy.c:1319)
==38011==    by 0x50DD756: fddparse (fdd.tab.c:1561)
==38011==    by 0x50E5203: fd_conf_parse (config.c:281)
==38011==    by 0x50E8E3B: fd_core_parseconf_int (core.c:245)
==38011==    by 0x50E95D5: fd_core_parseconf (core.c:282)
==38011==    by 0x50C3865: ogs_diam_init (init.c:49)
==38011==    by 0x142950: smf_fd_init (fd-path.c:34)
==38011==    by 0x114A1F: smf_initialize (init.c:67)
==38011==    by 0x113DFD: app_initialize (app.c:26)
==38011==    by 0x1146E2: main (main.c:214)
==38011== 
==38011== LEAK SUMMARY:
==38011==    definitely lost: 8,724 bytes in 47 blocks
==38011==    indirectly lost: 0 bytes in 0 blocks
==38011==      possibly lost: 472 bytes in 1 blocks
==38011==    still reachable: 16,463 bytes in 4 blocks
==38011==         suppressed: 0 bytes in 0 blocks
==38011== 
==38011== Use --track-origins=yes to see where uninitialised values come from
==38011== For lists of detected and suppressed errors, rerun with: -s
==38011== ERROR SUMMARY: 39 errors from 25 contexts (suppressed: 0 from 0
github-actions[bot] commented 1 year ago

This issue has been closed automatically due to lack of activity. This has been done to try and reduce the amount of noise. Please do not comment any further. The Open5GS Team may choose to re-open this issue if necessary.