See <https://jenkins.osmocom.org/jenkins/job/osmocom-coverity/479/display/redirect>
------------------------------------------
[...truncated 1.28 MB...]
from gsm_04_11.c:47:
gsm_04_11.c: In function ‘gsm411_trans_init’:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:91:7:
error: null pointer dereference [-Werror=null-dereference]
if (log_check_level(ss, level)) {\
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:74:2:
note: in expansion of macro ‘LOGPSRCC’
LOGPSRCC(ss, level, caller_file, caller_line, 0, fmt, ##args)
^~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:47:2:
note: in expansion of macro ‘LOGPSRC’
LOGPSRC(ss, level, NULL, 0, fmt, ## args)
^~~~~~~
../../include/osmocom/msc/transaction.h:20:2: note: in expansion of macro ‘LOGP’
LOGP(subsys, level, \
^~~~
../../include/osmocom/msc/transaction.h:30:7: note: in expansion of macro ‘LOG_TRANS_CAT’
LOG_TRANS_CAT(trans, (trans)->log_subsys, level, fmt, ##args)
^~~~~~~~~~~~~
gsm_04_11.c:1009:3: note: in expansion of macro ‘LOG_TRANS’
LOG_TRANS(trans, LOGL_ERROR, "No memory for transaction\n");
^~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:95:5:
error: null pointer dereference [-Werror=null-dereference]
logp2(ss, level, __FILE__, __LINE__, cont, fmt, ##args); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:74:2:
note: in expansion of macro ‘LOGPSRCC’
LOGPSRCC(ss, level, caller_file, caller_line, 0, fmt, ##args)
^~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:47:2:
note: in expansion of macro ‘LOGPSRC’
LOGPSRC(ss, level, NULL, 0, fmt, ## args)
^~~~~~~
../../include/osmocom/msc/transaction.h:20:2: note: in expansion of macro ‘LOGP’
LOGP(subsys, level, \
^~~~
../../include/osmocom/msc/transaction.h:30:7: note: in expansion of macro ‘LOG_TRANS_CAT’
LOG_TRANS_CAT(trans, (trans)->log_subsys, level, fmt, ##args)
^~~~~~~~~~~~~
gsm_04_11.c:1009:3: note: in expansion of macro ‘LOG_TRANS’
LOG_TRANS(trans, LOGL_ERROR, "No memory for transaction\n");
^~~~~~~~~
gsm_04_11.c: In function ‘gsm411_alloc_mt_trans’:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:91:7:
error: null pointer dereference [-Werror=null-dereference]
if (log_check_level(ss, level)) {\
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:74:2:
note: in expansion of macro ‘LOGPSRCC’
LOGPSRCC(ss, level, caller_file, caller_line, 0, fmt, ##args)
^~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:47:2:
note: in expansion of macro ‘LOGPSRC’
LOGPSRC(ss, level, NULL, 0, fmt, ## args)
^~~~~~~
../../include/osmocom/msc/transaction.h:20:2: note: in expansion of macro ‘LOGP’
LOGP(subsys, level, \
^~~~
../../include/osmocom/msc/transaction.h:30:7: note: in expansion of macro ‘LOG_TRANS_CAT’
LOG_TRANS_CAT(trans, (trans)->log_subsys, level, fmt, ##args)
^~~~~~~~~~~~~
gsm_04_11.c:1069:3: note: in expansion of macro ‘LOG_TRANS’
LOG_TRANS(trans, LOGL_ERROR, "No available transaction IDs\n");
^~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:95:5:
error: null pointer dereference [-Werror=null-dereference]
logp2(ss, level, __FILE__, __LINE__, cont, fmt, ##args); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:74:2:
note: in expansion of macro ‘LOGPSRCC’
LOGPSRCC(ss, level, caller_file, caller_line, 0, fmt, ##args)
^~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:47:2:
note: in expansion of macro ‘LOGPSRC’
LOGPSRC(ss, level, NULL, 0, fmt, ## args)
^~~~~~~
../../include/osmocom/msc/transaction.h:20:2: note: in expansion of macro ‘LOGP’
LOGP(subsys, level, \
^~~~
../../include/osmocom/msc/transaction.h:30:7: note: in expansion of macro ‘LOG_TRANS_CAT’
LOG_TRANS_CAT(trans, (trans)->log_subsys, level, fmt, ##args)
^~~~~~~~~~~~~
gsm_04_11.c:1069:3: note: in expansion of macro ‘LOG_TRANS’
LOG_TRANS(trans, LOGL_ERROR, "No available transaction IDs\n");
^~~~~~~~~
In file included from
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/mgcp_client/mgcp_common.h:45:0,
from
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/mgcp_client/mgcp_client.h:6,
from ../../include/osmocom/msc/gsm_data.h:16,
from ../../include/osmocom/msc/gsm_subscriber.h:10,
from gsm_09_11.c:43:
gsm_09_11.c: In function ‘gsm0911_rcv_nc_ss’:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:91:7:
error: null pointer dereference [-Werror=null-dereference]
if (log_check_level(ss, level)) {\
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:74:2:
note: in expansion of macro ‘LOGPSRCC’
LOGPSRCC(ss, level, caller_file, caller_line, 0, fmt, ##args)
^~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:47:2:
note: in expansion of macro ‘LOGPSRC’
LOGPSRC(ss, level, NULL, 0, fmt, ## args)
^~~~~~~
../../include/osmocom/msc/transaction.h:20:2: note: in expansion of macro ‘LOGP’
LOGP(subsys, level, \
^~~~
../../include/osmocom/msc/transaction.h:30:7: note: in expansion of macro ‘LOG_TRANS_CAT’
LOG_TRANS_CAT(trans, (trans)->log_subsys, level, fmt, ##args)
^~~~~~~~~~~~~
gsm_09_11.c:138:4: note: in expansion of macro ‘LOG_TRANS’
LOG_TRANS(trans, LOGL_ERROR, "Rx wrong SS/USSD message type for new transaction:
%s\n",
^~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:95:5:
error: null pointer dereference [-Werror=null-dereference]
logp2(ss, level, __FILE__, __LINE__, cont, fmt, ##args); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:74:2:
note: in expansion of macro ‘LOGPSRCC’
LOGPSRCC(ss, level, caller_file, caller_line, 0, fmt, ##args)
^~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:47:2:
note: in expansion of macro ‘LOGPSRC’
LOGPSRC(ss, level, NULL, 0, fmt, ## args)
^~~~~~~
../../include/osmocom/msc/transaction.h:20:2: note: in expansion of macro ‘LOGP’
LOGP(subsys, level, \
^~~~
../../include/osmocom/msc/transaction.h:30:7: note: in expansion of macro ‘LOG_TRANS_CAT’
LOG_TRANS_CAT(trans, (trans)->log_subsys, level, fmt, ##args)
^~~~~~~~~~~~~
gsm_09_11.c:138:4: note: in expansion of macro ‘LOG_TRANS’
LOG_TRANS(trans, LOGL_ERROR, "Rx wrong SS/USSD message type for new transaction:
%s\n",
^~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:91:7:
error: null pointer dereference [-Werror=null-dereference]
if (log_check_level(ss, level)) {\
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:74:2:
note: in expansion of macro ‘LOGPSRCC’
LOGPSRCC(ss, level, caller_file, caller_line, 0, fmt, ##args)
^~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:47:2:
note: in expansion of macro ‘LOGPSRC’
LOGPSRC(ss, level, NULL, 0, fmt, ## args)
^~~~~~~
../../include/osmocom/msc/transaction.h:20:2: note: in expansion of macro ‘LOGP’
LOGP(subsys, level, \
^~~~
../../include/osmocom/msc/transaction.h:30:7: note: in expansion of macro ‘LOG_TRANS_CAT’
LOG_TRANS_CAT(trans, (trans)->log_subsys, level, fmt, ##args)
^~~~~~~~~~~~~
gsm_09_11.c:148:4: note: in expansion of macro ‘LOG_TRANS’
LOG_TRANS(trans, LOGL_ERROR, " -> No memory for trans\n");
^~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:95:5:
error: null pointer dereference [-Werror=null-dereference]
logp2(ss, level, __FILE__, __LINE__, cont, fmt, ##args); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:74:2:
note: in expansion of macro ‘LOGPSRCC’
LOGPSRCC(ss, level, caller_file, caller_line, 0, fmt, ##args)
^~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:47:2:
note: in expansion of macro ‘LOGPSRC’
LOGPSRC(ss, level, NULL, 0, fmt, ## args)
^~~~~~~
../../include/osmocom/msc/transaction.h:20:2: note: in expansion of macro ‘LOGP’
LOGP(subsys, level, \
^~~~
../../include/osmocom/msc/transaction.h:30:7: note: in expansion of macro ‘LOG_TRANS_CAT’
LOG_TRANS_CAT(trans, (trans)->log_subsys, level, fmt, ##args)
^~~~~~~~~~~~~
gsm_09_11.c:148:4: note: in expansion of macro ‘LOG_TRANS’
LOG_TRANS(trans, LOGL_ERROR, " -> No memory for trans\n");
^~~~~~~~~
gsm_09_11.c: In function ‘gsm0911_gsup_rx’:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:91:7:
error: null pointer dereference [-Werror=null-dereference]
if (log_check_level(ss, level)) {\
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:74:2:
note: in expansion of macro ‘LOGPSRCC’
LOGPSRCC(ss, level, caller_file, caller_line, 0, fmt, ##args)
^~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:47:2:
note: in expansion of macro ‘LOGPSRC’
LOGPSRC(ss, level, NULL, 0, fmt, ## args)
^~~~~~~
../../include/osmocom/msc/transaction.h:20:2: note: in expansion of macro ‘LOGP’
LOGP(subsys, level, \
^~~~
../../include/osmocom/msc/transaction.h:30:7: note: in expansion of macro ‘LOG_TRANS_CAT’
LOG_TRANS_CAT(trans, (trans)->log_subsys, level, fmt, ##args)
^~~~~~~~~~~~~
gsm_09_11.c:325:3: note: in expansion of macro ‘LOG_TRANS’
LOG_TRANS(trans, LOGL_ERROR, " -> No memory for trans\n");
^~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:95:5:
error: null pointer dereference [-Werror=null-dereference]
logp2(ss, level, __FILE__, __LINE__, cont, fmt, ##args); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:74:2:
note: in expansion of macro ‘LOGPSRCC’
LOGPSRCC(ss, level, caller_file, caller_line, 0, fmt, ##args)
^~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:47:2:
note: in expansion of macro ‘LOGPSRC’
LOGPSRC(ss, level, NULL, 0, fmt, ## args)
^~~~~~~
../../include/osmocom/msc/transaction.h:20:2: note: in expansion of macro ‘LOGP’
LOGP(subsys, level, \
^~~~
../../include/osmocom/msc/transaction.h:30:7: note: in expansion of macro ‘LOG_TRANS_CAT’
LOG_TRANS_CAT(trans, (trans)->log_subsys, level, fmt, ##args)
^~~~~~~~~~~~~
gsm_09_11.c:325:3: note: in expansion of macro ‘LOG_TRANS’
LOG_TRANS(trans, LOGL_ERROR, " -> No memory for trans\n");
^~~~~~~~~
gsm_04_11.c: In function ‘gsm0411_rcv_sms’:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:91:7:
error: null pointer dereference [-Werror=null-dereference]
if (log_check_level(ss, level)) {\
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:74:2:
note: in expansion of macro ‘LOGPSRCC’
LOGPSRCC(ss, level, caller_file, caller_line, 0, fmt, ##args)
^~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:47:2:
note: in expansion of macro ‘LOGPSRC’
LOGPSRC(ss, level, NULL, 0, fmt, ## args)
^~~~~~~
../../include/osmocom/msc/transaction.h:20:2: note: in expansion of macro ‘LOGP’
LOGP(subsys, level, \
^~~~
../../include/osmocom/msc/transaction.h:30:7: note: in expansion of macro ‘LOG_TRANS_CAT’
LOG_TRANS_CAT(trans, (trans)->log_subsys, level, fmt, ##args)
^~~~~~~~~~~~~
gsm_04_11.c:1224:3: note: in expansion of macro ‘LOG_TRANS’
LOG_TRANS(trans, LOGL_ERROR, "trans_id=%x allocated by us but known "
^~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:95:5:
error: null pointer dereference [-Werror=null-dereference]
logp2(ss, level, __FILE__, __LINE__, cont, fmt, ##args); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:74:2:
note: in expansion of macro ‘LOGPSRCC’
LOGPSRCC(ss, level, caller_file, caller_line, 0, fmt, ##args)
^~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/logging.h:47:2:
note: in expansion of macro ‘LOGPSRC’
LOGPSRC(ss, level, NULL, 0, fmt, ## args)
^~~~~~~
../../include/osmocom/msc/transaction.h:20:2: note: in expansion of macro ‘LOGP’
LOGP(subsys, level, \
^~~~
../../include/osmocom/msc/transaction.h:30:7: note: in expansion of macro ‘LOG_TRANS_CAT’
LOG_TRANS_CAT(trans, (trans)->log_subsys, level, fmt, ##args)
^~~~~~~~~~~~~
gsm_04_11.c:1224:3: note: in expansion of macro ‘LOG_TRANS’
LOG_TRANS(trans, LOGL_ERROR, "trans_id=%x allocated by us but known "
^~~~~~~~~
cc1: some warnings being treated as errors
Makefile:534: recipe for target 'gsm_04_11.o' failed
make[3]: *** [gsm_04_11.o] Error 1
cc1: some warnings being treated as errors
Makefile:534: recipe for target 'gsm_09_11.o' failed
make[3]: *** [gsm_09_11.o] Error 1
make[3]: Leaving directory
'/home/osmocom-build/osmo-ci/coverity/source-Osmocom/osmo-msc/src/libmsc'
Makefile:422: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
'/home/osmocom-build/osmo-ci/coverity/source-Osmocom/osmo-msc/src'
Makefile:462: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
'/home/osmocom-build/osmo-ci/coverity/source-Osmocom/osmo-msc'
Makefile:394: recipe for target 'all' failed
make: *** [all] Error 2
[WARNING] Build command ./build_Osmocom.sh exited with code 2. Please verify that the
build completed successfully.
Emitted 2192 C/C++ compilation units (100%) successfully
2192 C/C++ compilation units (100%) are ready for analysis
For more details, please look at:
/home/osmocom-build/osmo-ci/coverity/source-Osmocom/cov-int/build-log.txt
Build step 'Execute shell' marked build as failure