UnstableConsole Output

Started by upstream project "libnsgif" build number 1263
originally caused by:
 Started by upstream project "buildsystem" build number 1458
 originally caused by:
  Started by user Vincent Sanders
Building remotely on ciworker0 (x86_64-linux-gnu runner) in workspace /var/lib/jenkins/workspace/scan-build-libnsgif
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url git://git.netsurf-browser.org/libnsgif.git # timeout=10
Fetching upstream changes from git://git.netsurf-browser.org/libnsgif.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress git://git.netsurf-browser.org/libnsgif.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision e97bc7b86f19ace910a2c71025ad2d94a28a1d2e (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f e97bc7b86f19ace910a2c71025ad2d94a28a1d2e
 > git rev-list e97bc7b86f19ace910a2c71025ad2d94a28a1d2e # timeout=10
 > git tag -a -f -m Jenkins Build #201 jenkins-scan-build-libnsgif-201 # timeout=10
[scan-build-libnsgif] $ /bin/sh -xe /tmp/hudson4786875515731218989.sh
+ cc -dumpmachine
+ export HOST=x86_64-linux-gnu
+ bash -ex /var/lib/jenkins/artifacts-x86_64-linux-gnu/share/netsurf-buildsystem/citools/jenkins-build.sh static
+ '[' xx86_64-linux-gnu = x ']'
+ ARTIFACT_HOME=/var/lib/jenkins/artifacts-x86_64-linux-gnu
+ '[' x = x ']'
++ cc -dumpmachine
+ BUILD=x86_64-linux-gnu
+ TARGET_TEST=
+ TARGET_INSTALL=
+ TARGET_COVERAGE=
+ TARGET_STATIC=
+ TARGET_COVERITY=
+ TARGET_DOCS=
+ VARIANT=release
+ case "$1" in
+ TARGET_STATIC=x86_64-linux-gnu
+ VARIANT=debug
+ export CCACHE=
+ CCACHE=
+ case ${BUILD} in
+ MAKE=make
+ mkdir -p /var/lib/jenkins/artifacts-x86_64-linux-gnu
+ export PREFIX=/var/lib/jenkins/artifacts-x86_64-linux-gnu
+ PREFIX=/var/lib/jenkins/artifacts-x86_64-linux-gnu
+ export PKG_CONFIG_PATH=/var/lib/jenkins/artifacts-x86_64-linux-gnu/lib/pkgconfig
+ PKG_CONFIG_PATH=/var/lib/jenkins/artifacts-x86_64-linux-gnu/lib/pkgconfig
+ export LD_LIBRARY_PATH=:/var/lib/jenkins/artifacts-x86_64-linux-gnu/lib
+ LD_LIBRARY_PATH=:/var/lib/jenkins/artifacts-x86_64-linux-gnu/lib
+ export PATH=/bin:/usr/bin:/var/lib/jenkins/artifacts-x86_64-linux-gnu/bin
+ PATH=/bin:/usr/bin:/var/lib/jenkins/artifacts-x86_64-linux-gnu/bin
+ make Q= clean HOST=x86_64-linux-gnu VARIANT=debug
rm -f  
rm -f  gmon.out
rm -f  
rm -f  
rm -f  
rm -f  
rm -f  -r build/docs
rm -f  -r build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static
+ '[' xx86_64-linux-gnu = x ']'
+ '[' xx86_64-linux-gnu = xx86_64-linux-gnu ']'
+ rm -rf clangScanBuildReports
+ CFLAGS=-Wno-error
+ scan-build -o clangScanBuildReports -v -v --use-cc clang --use-analyzer=/usr/bin/clang make Q= VARIANT=debug
scan-build: Using '/usr/bin/clang' for static analysis
scan-build: Emitting reports for this run to '/var/lib/jenkins/workspace/scan-build-libnsgif/clangScanBuildReports/2024-03-02-113824-13191-1'.
mkdir -p build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static
mkdir -p build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage
touch  build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/stamp
 COMPILE: src/gif.c
/usr/share/clang/scan-build-7/bin/../libexec/ccc-analyzer -MMD -MP -DNSGIF_NAME=nsgif -DNSGIF_VERSION=1.0.0 -I/var/lib/jenkins/workspace/scan-build-libnsgif/include/ -I/var/lib/jenkins/workspace/scan-build-libnsgif/src -Wall -Wextra -W -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -pedantic -Werror -Wno-error -D_ALIGNED="__attribute__((aligned))" -DSTMTEXPR=1 -g -O0 -DDEBUG -std=c99  -o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_gif.o -c src/gif.c

[LOCATION]: /var/lib/jenkins/workspace/scan-build-libnsgif
'/usr/bin/clang' '-cc1' '-triple' 'x86_64-pc-linux-gnu' '-analyze' '-disable-free' '-disable-llvm-verifier' '-discard-value-names' '-main-file-name' 'gif.c' '-analyzer-store=region' '-analyzer-opt-analyze-nested-blocks' '-analyzer-eagerly-assume' '-analyzer-checker=core' '-analyzer-checker=apiModeling' '-analyzer-checker=unix' '-analyzer-checker=deadcode' '-analyzer-checker=security.insecureAPI.UncheckedReturn' '-analyzer-checker=security.insecureAPI.getpw' '-analyzer-checker=security.insecureAPI.gets' '-analyzer-checker=security.insecureAPI.mktemp' '-analyzer-checker=security.insecureAPI.mkstemp' '-analyzer-checker=security.insecureAPI.vfork' '-analyzer-checker=nullability.NullPassedToNonnull' '-analyzer-checker=nullability.NullReturnedFromNonnull' '-analyzer-output' 'plist' '-w' '-mrelocation-model' 'static' '-mthread-model' 'posix' '-mdisable-fp-elim' '-fmath-errno' '-masm-verbose' '-mconstructor-aliases' '-munwind-tables' '-fuse-init-array' '-target-cpu' 'x86-64' '-dwarf-column-info' '-debugger-tuning=gdb' '-resource-dir' '/usr/lib/llvm-7/lib/clang/7.0.1' '-D' 'NSGIF_NAME=nsgif' '-D' 'NSGIF_VERSION=1.0.0' '-I' '/var/lib/jenkins/workspace/scan-build-libnsgif/include/' '-I' '/var/lib/jenkins/workspace/scan-build-libnsgif/src' '-D' '_ALIGNED=__attribute__((aligned))' '-D' 'STMTEXPR=1' '-D' 'DEBUG' '-internal-isystem' '/usr/local/include' '-internal-isystem' '/usr/lib/llvm-7/lib/clang/7.0.1/include' '-internal-externc-isystem' '/usr/include/x86_64-linux-gnu' '-internal-externc-isystem' '/include' '-internal-externc-isystem' '/usr/include' '-O0' '-Wwrite-strings' '-Wno-error' '-std=c99' '-fconst-strings' '-fdebug-compilation-dir' '/var/lib/jenkins/workspace/scan-build-libnsgif' '-ferror-limit' '19' '-fmessage-length' '0' '-fobjc-runtime=gcc' '-fdiagnostics-show-option' '-analyzer-display-progress' '-analyzer-output=html' '-o' '/var/lib/jenkins/workspace/scan-build-libnsgif/clangScanBuildReports/2024-03-02-113824-13191-1' '-x' 'c' 'src/gif.c' '-faddrsig'
ANALYZE (Syntax): src/gif.c nsgif__error_from_lzw
ANALYZE (Syntax): src/gif.c nsgif__initialise_sprite
ANALYZE (Syntax): src/gif.c nsgif__bitmap_get
ANALYZE (Syntax): src/gif.c nsgif__bitmap_modified
ANALYZE (Syntax): src/gif.c nsgif__bitmap_set_opaque
ANALYZE (Syntax): src/gif.c nsgif__bitmap_get_opaque
ANALYZE (Syntax): src/gif.c nsgif__record_frame
ANALYZE (Syntax): src/gif.c nsgif__recover_frame
ANALYZE (Syntax): src/gif.c nsgif__deinterlace
ANALYZE (Syntax): src/gif.c nsgif__next_row
ANALYZE (Syntax): src/gif.c gif__clip
ANALYZE (Syntax): src/gif.c gif__jump_data
ANALYZE (Syntax): src/gif.c nsgif__decode_complex
ANALYZE (Syntax): src/gif.c nsgif__decode_simple
ANALYZE (Syntax): src/gif.c nsgif__decode
ANALYZE (Syntax): src/gif.c nsgif__restore_bg
ANALYZE (Syntax): src/gif.c nsgif__update_bitmap
ANALYZE (Syntax): src/gif.c nsgif__parse_extension_graphic_control
ANALYZE (Syntax): src/gif.c nsgif__app_ext_is_loop_count
ANALYZE (Syntax): src/gif.c nsgif__parse_extension_application
ANALYZE (Syntax): src/gif.c nsgif__parse_frame_extensions
ANALYZE (Syntax): src/gif.c nsgif__parse_image_descriptor
ANALYZE (Syntax): src/gif.c nsgif__colour_table_decode
ANALYZE (Syntax): src/gif.c nsgif__colour_table_extract
ANALYZE (Syntax): src/gif.c nsgif__parse_colour_table
ANALYZE (Syntax): src/gif.c nsgif__parse_image_data
ANALYZE (Syntax): src/gif.c nsgif__get_frame
ANALYZE (Syntax): src/gif.c nsgif__process_frame
ANALYZE (Syntax): src/gif.c nsgif_destroy
ANALYZE (Syntax): src/gif.c nsgif__host_is_little_endian
ANALYZE (Syntax): src/gif.c nsgif__bitmap_fmt_to_colour_layout
ANALYZE (Syntax): src/gif.c nsgif_create
ANALYZE (Syntax): src/gif.c nsgif_set_frame_delay_behaviour
ANALYZE (Syntax): src/gif.c nsgif__parse_header
ANALYZE (Syntax): src/gif.c nsgif__parse_logical_screen_descriptor
ANALYZE (Syntax): src/gif.c nsgif_data_scan
ANALYZE (Syntax): src/gif.c nsgif_data_complete
ANALYZE (Syntax): src/gif.c nsgif__redraw_rect_extend
ANALYZE (Syntax): src/gif.c nsgif__frame_next
ANALYZE (Syntax): src/gif.c nsgif__next_displayable_frame
ANALYZE (Syntax): src/gif.c nsgif__animation_complete
ANALYZE (Syntax): src/gif.c nsgif_reset
ANALYZE (Syntax): src/gif.c nsgif_frame_prepare
ANALYZE (Syntax): src/gif.c nsgif_frame_decode
ANALYZE (Syntax): src/gif.c nsgif_get_info
ANALYZE (Syntax): src/gif.c nsgif_get_frame_info
ANALYZE (Syntax): src/gif.c nsgif_global_palette
ANALYZE (Syntax): src/gif.c nsgif_local_palette
ANALYZE (Syntax): src/gif.c nsgif_strerror
ANALYZE (Syntax): src/gif.c nsgif_str_disposal
ANALYZE (Path,  Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsgif/include/nsgif.h nsgif_str_disposal
ANALYZE (Path,  Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsgif/include/nsgif.h nsgif_strerror
ANALYZE (Path,  Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsgif/include/nsgif.h nsgif_local_palette
ANALYZE (Path,  Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsgif/include/nsgif.h nsgif_global_palette
ANALYZE (Path,  Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsgif/include/nsgif.h nsgif_get_frame_info
ANALYZE (Path,  Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsgif/include/nsgif.h nsgif_get_info
ANALYZE (Path,  Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsgif/include/nsgif.h nsgif_frame_decode
ANALYZE (Path,  Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsgif/include/nsgif.h nsgif_frame_prepare
ANALYZE (Path,  Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsgif/include/nsgif.h nsgif_reset
ANALYZE (Path,  Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsgif/include/nsgif.h nsgif_data_complete
ANALYZE (Path,  Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsgif/include/nsgif.h nsgif_data_scan
ANALYZE (Path,  Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsgif/include/nsgif.h nsgif_set_frame_delay_behaviour
ANALYZE (Path,  Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsgif/include/nsgif.h nsgif_create
ANALYZE (Path,  Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsgif/include/nsgif.h nsgif_destroy
ANALYZE (Path,  Inline_Regular): src/gif.c nsgif__parse_extension_application
ANALYZE (Path,  Inline_Regular): src/gif.c nsgif__parse_extension_graphic_control
ANALYZE (Path,  Inline_Regular): src/gif.c nsgif__decode_simple
ANALYZE (Path,  Inline_Regular): src/gif.c nsgif__decode_complex
ANALYZE (Path,  Inline_Regular): src/gif.c nsgif__initialise_sprite
src/gif.c:1287:29: warning: Use of zero-allocated memory
                frame->info.local_palette = false;
                ~~~~~~~~~~~~~~~~~~~~~~~~~ ^
1 warning generated.
 COMPILE: src/lzw.c
/usr/share/clang/scan-build-7/bin/../libexec/ccc-analyzer -MMD -MP -DNSGIF_NAME=nsgif -DNSGIF_VERSION=1.0.0 -I/var/lib/jenkins/workspace/scan-build-libnsgif/include/ -I/var/lib/jenkins/workspace/scan-build-libnsgif/src -Wall -Wextra -W -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -pedantic -Werror -Wno-error -D_ALIGNED="__attribute__((aligned))" -DSTMTEXPR=1 -g -O0 -DDEBUG -std=c99  -o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_lzw.o -c src/lzw.c

[LOCATION]: /var/lib/jenkins/workspace/scan-build-libnsgif
'/usr/bin/clang' '-cc1' '-triple' 'x86_64-pc-linux-gnu' '-analyze' '-disable-free' '-disable-llvm-verifier' '-discard-value-names' '-main-file-name' 'lzw.c' '-analyzer-store=region' '-analyzer-opt-analyze-nested-blocks' '-analyzer-eagerly-assume' '-analyzer-checker=core' '-analyzer-checker=apiModeling' '-analyzer-checker=unix' '-analyzer-checker=deadcode' '-analyzer-checker=security.insecureAPI.UncheckedReturn' '-analyzer-checker=security.insecureAPI.getpw' '-analyzer-checker=security.insecureAPI.gets' '-analyzer-checker=security.insecureAPI.mktemp' '-analyzer-checker=security.insecureAPI.mkstemp' '-analyzer-checker=security.insecureAPI.vfork' '-analyzer-checker=nullability.NullPassedToNonnull' '-analyzer-checker=nullability.NullReturnedFromNonnull' '-analyzer-output' 'plist' '-w' '-mrelocation-model' 'static' '-mthread-model' 'posix' '-mdisable-fp-elim' '-fmath-errno' '-masm-verbose' '-mconstructor-aliases' '-munwind-tables' '-fuse-init-array' '-target-cpu' 'x86-64' '-dwarf-column-info' '-debugger-tuning=gdb' '-resource-dir' '/usr/lib/llvm-7/lib/clang/7.0.1' '-D' 'NSGIF_NAME=nsgif' '-D' 'NSGIF_VERSION=1.0.0' '-I' '/var/lib/jenkins/workspace/scan-build-libnsgif/include/' '-I' '/var/lib/jenkins/workspace/scan-build-libnsgif/src' '-D' '_ALIGNED=__attribute__((aligned))' '-D' 'STMTEXPR=1' '-D' 'DEBUG' '-internal-isystem' '/usr/local/include' '-internal-isystem' '/usr/lib/llvm-7/lib/clang/7.0.1/include' '-internal-externc-isystem' '/usr/include/x86_64-linux-gnu' '-internal-externc-isystem' '/include' '-internal-externc-isystem' '/usr/include' '-O0' '-Wwrite-strings' '-Wno-error' '-std=c99' '-fconst-strings' '-fdebug-compilation-dir' '/var/lib/jenkins/workspace/scan-build-libnsgif' '-ferror-limit' '19' '-fmessage-length' '0' '-fobjc-runtime=gcc' '-fdiagnostics-show-option' '-analyzer-display-progress' '-analyzer-output=html' '-o' '/var/lib/jenkins/workspace/scan-build-libnsgif/clangScanBuildReports/2024-03-02-113824-13191-1' '-x' 'c' 'src/lzw.c' '-faddrsig'
ANALYZE (Syntax): src/lzw.c lzw_context_create
ANALYZE (Syntax): src/lzw.c lzw_context_destroy
ANALYZE (Syntax): src/lzw.c lzw__block_advance
ANALYZE (Syntax): src/lzw.c lzw__read_code
ANALYZE (Syntax): src/lzw.c lzw__handle_clear
ANALYZE (Syntax): src/lzw.c lzw_decode_init
ANALYZE (Syntax): src/lzw.c lzw_decode_init_map
ANALYZE (Syntax): src/lzw.c lzw__table_add_entry
ANALYZE (Syntax): src/lzw.c lzw__decode
ANALYZE (Syntax): src/lzw.c lzw__write_fn
ANALYZE (Syntax): src/lzw.c lzw_decode
ANALYZE (Syntax): src/lzw.c lzw__map_write_fn
ANALYZE (Syntax): src/lzw.c lzw_decode_map
ANALYZE (Path,  Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsgif/src/lzw.h lzw_decode_map
ANALYZE (Path,  Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsgif/src/lzw.h lzw_decode
ANALYZE (Path,  Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsgif/src/lzw.h lzw_decode_init_map
ANALYZE (Path,  Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsgif/src/lzw.h lzw_context_destroy
ANALYZE (Path,  Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsgif/src/lzw.h lzw_context_create
      AR: build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/libnsgif.a
rm -f  build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/libnsgif.a
ar cru build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/libnsgif.a build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_gif.o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_lzw.o
ar: `u' modifier ignored since `D' is the default (see `U')
scan-build: 1 bug found.
scan-build: Run 'scan-view /var/lib/jenkins/workspace/scan-build-libnsgif/clangScanBuildReports/2024-03-02-113824-13191-1' to examine bug reports.
+ make Q= clean HOST=x86_64-linux-gnu VARIANT=debug
rm -f  
rm -f  gmon.out
rm -f  build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_gif.d build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_lzw.d
rm -f  
rm -f  
rm -f  build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_lzw.o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_gif.o
rm -f  -r build/docs
rm -f  -r build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static
+ '[' xx86_64-linux-gnu = x ']'
+ '[' xx86_64-linux-gnu = x ']'
Build step 'Console output (build log) parsing' changed build result to UNSTABLE
Publishing Clang scan-build results
Clang scan-build threshhold exceeded.
Finished: UNSTABLE