From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1CE7B385829C; Sat, 16 Jul 2022 13:11:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1CE7B385829C From: "alex at zrythm dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/106325] New: `analyzer-null-dereference` gets thrown on a parameter on a function marked with `__attribute__((nonnull))` Date: Sat, 16 Jul 2022 13:11:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: 12.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alex at zrythm dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jul 2022 13:11:04 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106325 Bug ID: 106325 Summary: `analyzer-null-dereference` gets thrown on a parameter on a function marked with `__attribute__((nonnull))` Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: alex at zrythm dot org Target Milestone: --- Created attachment 53307 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D53307&action=3Dedit corresponding .i file (compressed) for the source file where analyzer produ= ces wrong output When building Zrythm with the analyzer turned on I get false positives for `analyzer-null-dereference` when compiling `src/gui/backend/arranger_object= .c` ``` ../src/gui/backend/arranger_object.c:1936:9: =E3=82=A8=E3=83=A9=E3=83=BC: d= ereference of NULL =E2=80=98self=E2=80=99 [CWE-476] [-Werror=3Danalyzer-null-dereference] 1936 | self->is_auditioner ? SAMPLE_PROCESSOR->tracklist : TRACKLIST; ``` `self` is a function parameter and the function is marked with `__attribute__((nonnull))` in the header (`inc/gui/backend/arranger_object.= h` so as far as the analyzer is concerned this variable cannot be NULL, so the warning/error is wrong. The value of `self` is never changed within the function either. Here is the relevant info from https://gcc.gnu.org/bugs/ (I also attached t= he .i file): ``` FAILED: src/libzrythm-lib.so.p/gui_backend_arranger_object.c.o=20 cc -Isrc/libzrythm-lib.so.p -Isrc -I../src -I. -I.. -Iinc -I../inc -Iext -I../ext -Iext/midilib -I../ext/midilib -Iext/whereami -I../ext/whereami -Iext/zix -I../ext/zix -Iext/weakjack -I../ext/weakjack -I../inc/plugins/lv2 -I../subprojects/libcyaml/include -Isubprojects/libaudec -I../subprojects/libaudec -Isubprojects/libaudec/inc -I../subprojects/libaudec/inc -I../subprojects/reproc/reproc/include -Isubprojects/reproc/__CMake_build -I../subprojects/reproc/__CMake_build -Isubprojects/reproc -I../subprojects/reproc -Isubprojects/libbacktrace -I/usr/include/libadwaita-1 -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib/graphene-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/libpanel-1 -I/usr/include/opus -I/usr/include/graphviz -I/usr/include/guile/2.2 -I/usr/include/carla -I/usr/include/carla/includes -I/usr/include/serd-0 -I/usr/include/sord-0 -I/usr/include/sratom-0 -I/usr/include/lilv-0 -I/usr/include/gtksourceview-5 -I/usr/include/libxml2 -I/usr/include/valgrind -I/home/alex/Documents/git/zrythm/build/subprojects/libbacktrace/dist/home/= alex/local/include -I/usr/include/json-glib-1.0 -fdiagnostics-color=3Dalways -D_FILE_OFFSET_BI= TS=3D64 -Wall -Winvalid-pch -Wextra -std=3Dgnu11 -O0 -g -DGLIB_VERSION_MIN_REQUIRED=3DGLIB_VERSION_2_66 -DGLIB_VERSION_MAX_ALLOWED=3DGLIB_VERSION_2_66 -DGDK_VERSION_MIN_REQUIRED=3DGDK_VERSION_4_6 -DGDK_VERSION_MAX_ALLOWED=3DGDK_VERSION_4_6 -Wno-bad-function-cast -Wno-old-style-declaration -Werror=3Dabsolute-value -Wformat=3D2 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-sequence-point -Wignored-qualifiers -Wno-cast-function-type -Walloca -fno-common -frecord-gcc-switches -march=3Dnative -mtune=3Dnative -ffast-math -fstrengt= h-reduce -fdata-sections -ffunction-sections -freciprocal-math -fsingle-precision-constant -msse -msse2 -mfpmath=3Dsse -fno-math-errno -fno-omit-frame-pointer -g3 '-DGETTEXT_PACKAGE=3D"zrythm"' -fPIC -pthread -mfpmath=3Dsse -msse -msse2 -DREAL_BUILD -D_REENTRANT -mfpmath=3Dsse -msse = -msse2 -mfpmath=3Dsse -msse -msse2 -mfpmath=3Dsse -msse -msse2 -Wformat=3D2 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-sequence-point -Wignored-qualifiers -Wno-cast-function-type -Walloca -fno-common '-DLV2_UI__Gtk4UI=3D"https://lv2plug.in/ns/extensions/ui#Gtk4UI"' -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED '-D__(x)=3Dx' -DG_LOG_USE_STRUCTURED=3D1 '-DG_LOG_DOMAIN=3D"zrythm"' -DREALTIME=3D '-DDEPRECATED_MSG(x)=3D__attribute__((deprecated(x)))' '-DOPTIMIZE(x)=3D__attribute__((optimize(#x)))' '-DOPTIMIZE_O0=3DOPTIMIZE(0= 0)' '-DOPTIMIZE_O1=3DOPTIMIZE(01)' '-DOPTIMIZE_O2=3DOPTIMIZE(02)' '-DOPTIMIZE_O3=3DOPTIMIZE(03)' '-DNONNULL_ARGS(...)=3D__attribute__((nonnull(__VA_ARGS__)))' '-DACCESS(...)=3D__attribute__((access(__VA_ARGS__)))' '-DACCESS_READ_ONLY(...)=3DACCESS(read_only,__VA_ARGS__)' -frecord-gcc-swit= ches '-DALWAYS_INLINE=3D__attribute__((always_inline))' '-DCOLD=3D__attribute__(= (cold))' '-DHOT=3D__attribute__((hot))' '-DPURE=3D__attribute__((pure))' '-DNONNULL=3D__attribute__((nonnull))' '-DRETURNS_NONNULL=3D__attribute__((returns_nonnull))' '-DSTACK_PROTECT=3D__attribute__((stack_protect))' '-DNO_STACK_PROTECTOR=3D__attribute__((no_stack_protector))' '-DWARN_UNUSED_RESULT=3D__attribute__((warn_unused_result))' '-DCONST=3D__attribute__((const))' '-DMALLOC=3D__attribute__((malloc))' -march=3Dnative -mtune=3Dnative -ffast-math -fstrength-reduce -DPIC -fdata-= sections -ffunction-sections -freciprocal-math -fsingle-precision-constant -msse -ms= se2 -mfpmath=3Dsse -fno-math-errno -fno-omit-frame-pointer -g3 -Werror=3Dformat= =3D2 -Werror=3Dformat-overflow -Werror=3Dformat-truncation -Werror=3Dclobbered -Werror=3Ddisabled-optimization -Werror=3Dfloat-equal -Werror=3Dlogical-op -Werror=3Dpointer-arith -Werror=3Denum-conversion -Werror=3Doverlength-stri= ngs -Werror=3Dstringop-truncation -Werror=3Dmissing-declarations -Werror=3Dint-to-pointer-cast -Werror=3Dshadow -Werror=3Dundef -Werror=3Dun= used -fstrict-aliasing -Wstrict-aliasing=3D2 -Werror=3Dstrict-aliasing -Wstrict-overflow=3D2 -fstrict-overflow -Werror=3Dduplicated-branches -Werror=3Dduplicated-cond -Werror=3Dnull-dereference -Werror=3Dinit-self -Werror=3Djump-misses-init -Werror=3Dmissing-prototypes -Werror=3Dnested-ex= terns -Werror=3Dwrite-strings -Werror=3Dsign-compare -Werror=3Ddiscarded-qualifie= rs -Werror=3Dfloat-conversion -Werror=3Dimplicit-function-declaration -Werror=3Duninitialized -Werror=3Dmaybe-uninitialized -Werror=3Dreturn-type -Werror=3Dint-conversion -Werror=3Dincompatible-pointer-types -Werror=3Dimp= licit-int -Werror=3Dmultistatement-macros -Werror=3Dswitch -Werror=3Doverflow -Werror=3Darray-bounds -Werror=3Denum-compare -Werror=3Dmisleading-indentat= ion -Werror=3Dint-in-bool-context -Werror=3Dtype-limits -Werror=3Ddeprecated-de= clarations -Werror=3Dendif-labels -Werror=3Dlogical-not-parentheses -Werror=3Dparenthe= ses -Werror=3Dcomment -Werror=3Dsizeof-pointer-div -Werror=3Dshift-count-overfl= ow -Werror=3Dfree-nonheap-object -fanalyzer -Werror=3Danalyzer-possible-null-dereference -Werror=3Danalyzer-malloc-leak -Werror=3Danalyzer-null-dereference -Werror=3Danalyzer-null-argument -v -sa= ve-temps -Werror=3Danalyzer-use-after-free -Werror=3Danalyzer-possible-null-argument -Werror=3Danalyzer-double-free -Werror=3Danalyzer-file-leak -Werror=3Dnonnu= ll -Werror=3Dnonnull-compare -Werror=3Doverride-init -Werror=3Dbool-compare -Werror=3Dtautological-compare -Werror=3Dunused-result -Werror=3Dinline -Werror=3Dduplicate-decl-specifier -Werror=3Dredundant-decls -Werror=3Dstrict-prototypes -Werror=3Dsizeof-array-argument -Werror=3Dlto-type-mismatch -Werror=3Dodr -Wsuggest-attribute=3Dpure -Wsuggest-attribute=3Dconst -Wsuggest-attribute=3Dnoreturn -Wsuggest-attribute=3Dformat -Wsuggest-attribute=3Dmalloc -Wsuggest-attribu= te=3Dcold -Werror=3Dsign-conversion -Werror=3Dimplicit-fallthrough -MD -MQ src/libzrythm-lib.so.p/gui_backend_arranger_object.c.o -MF src/libzrythm-lib.so.p/gui_backend_arranger_object.c.o.d -o src/libzrythm-lib.so.p/gui_backend_arranger_object.c.o -c ../src/gui/backend/arranger_object.c =E7=B5=84=E3=81=BF=E8=BE=BC=E3=81=BF spec =E3=82=92=E4=BD=BF=E7=94=A8=E3=81= =97=E3=81=A6=E3=81=84=E3=81=BE=E3=81=99=E3=80=82 COLLECT_GCC=3Dcc =E3=82=BF=E3=83=BC=E3=82=B2=E3=83=83=E3=83=88: x86_64-pc-linux-gnu configure =E8=A8=AD=E5=AE=9A: /build/gcc/src/gcc/configure --enable-languages=3Dc,c++,ada,fortran,go,lto,objc,obj-c++ --enable-bootstr= ap --prefix=3D/usr --libdir=3D/usr/lib --libexecdir=3D/usr/lib --mandir=3D/usr= /share/man --infodir=3D/usr/share/info --with-bugurl=3Dhttps://bugs.archlinux.org/ --with-linker-hash-style=3Dgnu --with-system-zlib --enable-__cxa_atexit --enable-cet=3Dauto --enable-checking=3Drelease --enable-clocale=3Dgnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=3Dposix --disable-libssp --disable-libstdcxx-pch --disable-werror --with-build-config=3Dbootstrap-lto --enable-link-serialization=3D1 =E3=82=B9=E3=83=AC=E3=83=83=E3=83=89=E3=83=A2=E3=83=87=E3=83=AB: posix =E3=82=B5=E3=83=9D=E3=83=BC=E3=83=88=E3=81=95=E3=82=8C=E3=81=A6=E3=81=84=E3= =82=8B LTO =E5=9C=A7=E7=B8=AE=E3=82=A2=E3=83=AB=E3=82=B4=E3=83=AA=E3=82=BA= =E3=83=A0: zlib zstd gcc =E3=83=90=E3=83=BC=E3=82=B8=E3=83=A7=E3=83=B3 12.1.0 (GCC)=20 COLLECT_GCC_OPTIONS=3D'-fdiagnostics-color=3Dalways' '-I' 'src/libzrythm-li= b.so.p' '-I' 'src' '-I' '../src' '-I' '.' '-I' '..' '-I' 'inc' '-I' '../inc' '-I' '= ext' '-I' '../ext' '-I' 'ext/midilib' '-I' '../ext/midilib' '-I' 'ext/whereami' = '-I' '../ext/whereami' '-I' 'ext/zix' '-I' '../ext/zix' '-I' 'ext/weakjack' '-I' '../ext/weakjack' '-I' '../inc/plugins/lv2' '-I' '../subprojects/libcyaml/include' '-I' 'subprojects/libaudec' '-I' '../subprojects/libaudec' '-I' 'subprojects/libaudec/inc' '-I' '../subprojects/libaudec/inc' '-I' '../subprojects/reproc/reproc/include' '= -I' 'subprojects/reproc/__CMake_build' '-I' '../subprojects/reproc/__CMake_buil= d' '-I' 'subprojects/reproc' '-I' '../subprojects/reproc' '-I' 'subprojects/libbacktrace' '-I' '/usr/include/libadwaita-1' '-I' '/usr/include/gtk-4.0' '-I' '/usr/include/pango-1.0' '-I' '/usr/include/glib-2.0' '-I' '/usr/lib/glib-2.0/include' '-I' '/usr/include/sysprof-4' '-I' '/usr/include/harfbuzz' '-I' '/usr/include/freetype2' '-I' '/usr/include/libpng16' '-I' '/usr/include/libmount' '-I' '/usr/include/blkid' '-I' '/usr/include/fribid= i' '-I' '/usr/include/cairo' '-I' '/usr/include/lzo' '-I' '/usr/include/pixman= -1' '-I' '/usr/include/gdk-pixbuf-2.0' '-I' '/usr/include/graphene-1.0' '-I' '/usr/lib/graphene-1.0/include' '-I' '/usr/include/gio-unix-2.0' '-I' '/usr/include/libpanel-1' '-I' '/usr/include/opus' '-I' '/usr/include/graph= viz' '-I' '/usr/include/guile/2.2' '-I' '/usr/include/carla' '-I' '/usr/include/carla/includes' '-I' '/usr/include/serd-0' '-I' '/usr/include/sord-0' '-I' '/usr/include/sratom-0' '-I' '/usr/include/lilv-= 0' '-I' '/usr/include/gtksourceview-5' '-I' '/usr/include/libxml2' '-I' '/usr/include/valgrind' '-I' '/home/alex/Documents/git/zrythm/build/subprojects/libbacktrace/dist/home/a= lex/local/include' '-I' '/usr/include/json-glib-1.0' '-D' '_FILE_OFFSET_BITS=3D64' '-Wall' '-Winvalid-pch' '-Wextra' '-std=3Dgnu11' '-O0' '-g' '-D' 'GLIB_VERSION_MIN_REQUIRED=3DGLIB_VERSION_2_66' '-D' 'GLIB_VERSION_MAX_ALLOWED=3DGLIB_VERSION_2_66' '-D' 'GDK_VERSION_MIN_REQUIRED=3DGDK_VERSION_4_6' '-D' 'GDK_VERSION_MAX_ALLOWED=3DGDK_VERSION_4_6' '-Wno-bad-function-cast' '-Wno-old-style-declaration' '-Werror=3Dabsolute-value' '-Wformat=3D2' '-mfpmath=3Dsse' '-g3' '-D' 'GETTEXT_PACKAGE=3D"zrythm"' '-fPIC' '-pthread' '-mfpmath=3Dsse' '-D' 'REAL_BUILD' '-D' '_REENTRANT' '-mfpmath=3Dsse' '-mfpmath=3Dsse' '-mfpmath=3Dsse' '-Wformat=3D2' '-Wno-missing-field-initia= lizers' '-Wno-unused-parameter' '-Wno-sequence-point' '-Wignored-qualifiers' '-Wno-cast-function-type' '-Walloca' '-fno-common' '-D' 'LV2_UI__Gtk4UI=3D"https://lv2plug.in/ns/extensions/ui#Gtk4UI"' '-D' 'GDK_DISABLE_DEPRECATED' '-D' 'GTK_DISABLE_DEPRECATED' '-D' '__(x)=3Dx' '-D' 'G_LOG_USE_STRUCTURED=3D1' '-D' 'G_LOG_DOMAIN=3D"zrythm"' '-D' 'REALTIME=3D= ' '-D' 'DEPRECATED_MSG(x)=3D__attribute__((deprecated(x)))' '-D' 'OPTIMIZE(x)=3D__attribute__((optimize(#x)))' '-D' 'OPTIMIZE_O0=3DOPTIMIZE(= 00)' '-D' 'OPTIMIZE_O1=3DOPTIMIZE(01)' '-D' 'OPTIMIZE_O2=3DOPTIMIZE(02)' '-D' 'OPTIMIZE_O3=3DOPTIMIZE(03)' '-D' 'NONNULL_ARGS(...)=3D__attribute__((nonnull(__VA_ARGS__)))' '-D' 'ACCESS(...)=3D__attribute__((access(__VA_ARGS__)))' '-D' 'ACCESS_READ_ONLY(...)=3DACCESS(read_only,__VA_ARGS__)' '-frecord-gcc-switc= hes' '-D' 'ALWAYS_INLINE=3D__attribute__((always_inline))' '-D' 'COLD=3D__attribute__((cold))' '-D' 'HOT=3D__attribute__((hot))' '-D' 'PURE=3D__attribute__((pure))' '-D' 'NONNULL=3D__attribute__((nonnull))' '-= D' 'RETURNS_NONNULL=3D__attribute__((returns_nonnull))' '-D' 'STACK_PROTECT=3D__attribute__((stack_protect))' '-D' 'NO_STACK_PROTECTOR=3D__attribute__((no_stack_protector))' '-D' 'WARN_UNUSED_RESULT=3D__attribute__((warn_unused_result))' '-D' 'CONST=3D__attribute__((const))' '-D' 'MALLOC=3D__attribute__((malloc))' '-march=3Dnative' '-mtune=3Dnative' '-ffast-math' '-D' 'PIC' '-fdata-sectio= ns' '-ffunction-sections' '-freciprocal-math' '-fsingle-precision-constant' '-m= sse' '-msse2' '-mfpmath=3Dsse' '-fno-math-errno' '-fno-omit-frame-pointer' '-g3' '-Werror=3Dformat=3D2' '-Werror=3Dformat-overflow' '-Werror=3Dformat-trunca= tion' '-Werror=3Dclobbered' '-Werror=3Ddisabled-optimization' '-Werror=3Dfloat-eq= ual' '-Werror=3Dlogical-op' '-Werror=3Dpointer-arith' '-Werror=3Denum-conversion' '-Werror=3Doverlength-strings' '-Werror=3Dstringop-truncation' '-Werror=3Dmissing-declarations' '-Werror=3Dint-to-pointer-cast' '-Werror= =3Dshadow' '-Werror=3Dundef' '-Werror=3Dunused' '-fstrict-aliasing' '-Wstrict-aliasing= =3D2' '-Werror=3Dstrict-aliasing' '-Wstrict-overflow=3D2' '-fstrict-overflow' '-Werror=3Dduplicated-branches' '-Werror=3Dduplicated-cond' '-Werror=3Dnull-dereference' '-Werror=3Dinit-self' '-Werror=3Djump-misses-i= nit' '-Werror=3Dmissing-prototypes' '-Werror=3Dnested-externs' '-Werror=3Dwrite-= strings' '-Werror=3Dsign-compare' '-Werror=3Ddiscarded-qualifiers' '-Werror=3Dfloat-conversion' '-Werror=3Dimplicit-function-declaration' '-Werror=3Duninitialized' '-Werror=3Dmaybe-uninitialized' '-Werror=3Dreturn= -type' '-Werror=3Dint-conversion' '-Werror=3Dincompatible-pointer-types' '-Werror=3Dimplicit-int' '-Werror=3Dmultistatement-macros' '-Werror=3Dswitc= h' '-Werror=3Doverflow' '-Werror=3Darray-bounds' '-Werror=3Denum-compare' '-Werror=3Dmisleading-indentation' '-Werror=3Dint-in-bool-context' '-Werror=3Dtype-limits' '-Werror=3Ddeprecated-declarations' '-Werror=3Dendi= f-labels' '-Werror=3Dlogical-not-parentheses' '-Werror=3Dparentheses' '-Werror=3Dcomm= ent' '-Werror=3Dsizeof-pointer-div' '-Werror=3Dshift-count-overflow' '-Werror=3Dfree-nonheap-object' '-fanalyzer' '-Werror=3Danalyzer-possible-null-dereference' '-Werror=3Danalyzer-malloc-l= eak' '-Werror=3Danalyzer-null-dereference' '-Werror=3Danalyzer-null-argument' '-= v' '-save-temps' '-Werror=3Danalyzer-use-after-free' '-Werror=3Danalyzer-possible-null-argument' '-Werror=3Danalyzer-double-free' '-Werror=3Danalyzer-file-leak' '-Werror=3Dnonnull' '-Werror=3Dnonnull-compa= re' '-Werror=3Doverride-init' '-Werror=3Dbool-compare' '-Werror=3Dtautological-= compare' '-Werror=3Dunused-result' '-Werror=3Dinline' '-Werror=3Dduplicate-decl-spec= ifier' '-Werror=3Dredundant-decls' '-Werror=3Dstrict-prototypes' '-Werror=3Dsizeof-array-argument' '-Werror=3Dlto-type-mismatch' '-Werror=3D= odr' '-Wsuggest-attribute=3Dpure' '-Wsuggest-attribute=3Dconst' '-Wsuggest-attribute=3Dnoreturn' '-Wsuggest-attribute=3Dformat' '-Wsuggest-attribute=3Dmalloc' '-Wsuggest-attribute=3Dcold' '-Werror=3Dsign-conversion' '-Werror=3Dimplicit-fallthrough' '-MD' '-MQ' 'src/libzrythm-lib.so.p/gui_backend_arranger_object.c.o' '-MF' 'src/libzrythm-lib.so.p/gui_backend_arranger_object.c.o.d' '-o' 'src/libzrythm-lib.so.p/gui_backend_arranger_object.c.o' '-c' '-dumpdir' 'src/libzrythm-lib.so.p/' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/cc1 -E -quiet -v -I src/libzrythm-lib.so.p -I src -I ../src -I . -I .. -I inc -I ../inc -I ext = -I ../ext -I ext/midilib -I ../ext/midilib -I ext/whereami -I ../ext/whereami = -I ext/zix -I ../ext/zix -I ext/weakjack -I ../ext/weakjack -I ../inc/plugins/= lv2 -I ../subprojects/libcyaml/include -I subprojects/libaudec -I ../subprojects/libaudec -I subprojects/libaudec/inc -I ../subprojects/libaudec/inc -I ../subprojects/reproc/reproc/include -I subprojects/reproc/__CMake_build -I ../subprojects/reproc/__CMake_build -I subprojects/reproc -I ../subprojects/reproc -I subprojects/libbacktrace -I /usr/include/libadwaita-1 -I /usr/include/gtk-4.0 -I /usr/include/pango-1.0= -I /usr/include/glib-2.0 -I /usr/lib/glib-2.0/include -I /usr/include/sysprof-= 4 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/libpng16 -I /usr/include/libmount -I /usr/include/blkid -I /usr/include/fribidi -I /usr/include/cairo -I /usr/include/lzo -I /usr/include/pixman-1 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/graphene-1.0 -I /usr/lib/graphene-1.0/include -I /usr/include/gio-unix-2.0 -I /usr/include/libpanel-1 -I /usr/include/opus -I /usr/include/graphviz -I /usr/include/guile/2.2 -I /usr/include/carla -I /usr/include/carla/includes= -I /usr/include/serd-0 -I /usr/include/sord-0 -I /usr/include/sratom-0 -I /usr/include/lilv-0 -I /usr/include/gtksourceview-5 -I /usr/include/libxml2= -I /usr/include/valgrind -I /home/alex/Documents/git/zrythm/build/subprojects/libbacktrace/dist/home/al= ex/local/include -I /usr/include/json-glib-1.0 -MD src/libzrythm-lib.so.p/gui_backend_arranger_object.c.d -MF src/libzrythm-lib.so.p/gui_backend_arranger_object.c.o.d -MQ src/libzrythm-lib.so.p/gui_backend_arranger_object.c.o -dD -D_REENTRANT -D _FILE_OFFSET_BITS=3D64 -D GLIB_VERSION_MIN_REQUIRED=3DGLIB_VERSION_2_66 -D GLIB_VERSION_MAX_ALLOWED=3DGLIB_VERSION_2_66 -D GDK_VERSION_MIN_REQUIRED=3DGDK_VERSION_4_6 -D GDK_VERSION_MAX_ALLOWED=3DGDK_VERSION_4_6 -D GETTEXT_PACKAGE=3D"zrythm" -D REAL_BUILD -D _REENTRANT -D LV2_UI__Gtk4UI=3D"https://lv2plug.in/ns/extensions/ui#Gtk4UI" -D GDK_DISABLE_DEPRECATED -D GTK_DISABLE_DEPRECATED -D __(x)=3Dx -D G_LOG_USE_STRUCTURED=3D1 -D G_LOG_DOMAIN=3D"zrythm" -D REALTIME=3D -D DEPRECATED_MSG(x)=3D__attribute__((deprecated(x))) -D OPTIMIZE(x)=3D__attribute__((optimize(#x))) -D OPTIMIZE_O0=3DOPTIMIZE(00) -D OPTIMIZE_O1=3DOPTIMIZE(01) -D OPTIMIZE_O2=3DOPTIMIZE(02) -D OPTIMIZE_O3=3DOPTIMIZE(03) -D NONNULL_ARGS(...)=3D__attribute__((nonnull(__VA_ARGS__))) -D ACCESS(...)=3D__attribute__((access(__VA_ARGS__))) -D ACCESS_READ_ONLY(...)=3DACCESS(read_only,__VA_ARGS__) -D ALWAYS_INLINE=3D__attribute__((always_inline)) -D COLD=3D__attribute__((col= d)) -D HOT=3D__attribute__((hot)) -D PURE=3D__attribute__((pure)) -D NONNULL=3D__attribute__((nonnull)) -D RETURNS_NONNULL=3D__attribute__((returns_nonnull)) -D STACK_PROTECT=3D__attribute__((stack_protect)) -D NO_STACK_PROTECTOR=3D__attribute__((no_stack_protector)) -D WARN_UNUSED_RESULT=3D__attribute__((warn_unused_result)) -D CONST=3D__attribute__((const)) -D MALLOC=3D__attribute__((malloc)) -D PIC ../src/gui/backend/arranger_object.c -march=3Dznver3 -mmmx -mpopcnt -msse -= msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -msse4a -mno-fma4 -mno-xop -m= fma -mno-avx512f -mbmi -mbmi2 -maes -mpclmul -mno-avx512vl -mno-avx512bw -mno-avx512dq -mno-avx512cd -mno-avx512er -mno-avx512pf -mno-avx512vbmi -mno-avx512ifma -mno-avx5124vnniw -mno-avx5124fmaps -mno-avx512vpopcntdq -mno-avx512vbmi2 -mno-gfni -mvpclmulqdq -mno-avx512vnni -mno-avx512bitalg -mno-avx512bf16 -mno-avx512vp2intersect -mno-3dnow -madx -mabm -mno-cldemote -mclflushopt -mclwb -mclzero -mcx16 -mno-enqcmd -mf16c -mfsgsbase -mfxsr -mno-hle -msahf -mno-lwp -mlzcnt -mmovbe -mno-movdir64b -mno-movdiri -mmwai= tx -mno-pconfig -mpku -mno-prefetchwt1 -mprfchw -mno-ptwrite -mrdpid -mrdrnd -mrdseed -mno-rtm -mno-serialize -mno-sgx -msha -mshstk -mno-tbm -mno-tsxld= trk -mvaes -mno-waitpkg -mwbnoinvd -mxsave -mxsavec -mxsaveopt -mxsaves -mno-amx-tile -mno-amx-int8 -mno-amx-bf16 -mno-uintr -mno-hreset -mno-kl -mno-widekl -mno-avxvnni -mno-avx512fp16 --param l1-cache-size=3D32 --param l1-cache-line-size=3D64 --param l2-cache-size=3D512 -mtune=3Dznver3 -mfpmat= h=3Dsse -mfpmath=3Dsse -mfpmath=3Dsse -mfpmath=3Dsse -mfpmath=3Dsse -msse -msse2 -m= fpmath=3Dsse -std=3Dgnu11 -Wall -Winvalid-pch -Wextra -Wno-bad-function-cast -Wno-old-style-declaration -Werror=3Dabsolute-value -Wformat=3D2 -Wformat= =3D2 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-sequence-point -Wignored-qualifiers -Wno-cast-function-type -Walloca -Werror=3Dformat=3D2 -Werror=3Dformat-overflow -Werror=3Dformat-truncation -Werror=3Dclobbered -Werror=3Ddisabled-optimization -Werror=3Dfloat-equal -Werror=3Dlogical-op -Werror=3Dpointer-arith -Werror=3Denum-conversion -Werror=3Doverlength-stri= ngs -Werror=3Dstringop-truncation -Werror=3Dmissing-declarations -Werror=3Dint-to-pointer-cast -Werror=3Dshadow -Werror=3Dundef -Werror=3Dun= used -Wstrict-aliasing=3D2 -Werror=3Dstrict-aliasing -Wstrict-overflow=3D2 -Werror=3Dduplicated-branches -Werror=3Dduplicated-cond -Werror=3Dnull-dere= ference -Werror=3Dinit-self -Werror=3Djump-misses-init -Werror=3Dmissing-prototypes -Werror=3Dnested-externs -Werror=3Dwrite-strings -Werror=3Dsign-compare -Werror=3Ddiscarded-qualifiers -Werror=3Dfloat-conversion -Werror=3Dimplicit-function-declaration -Werror=3Duninitialized -Werror=3Dmaybe-uninitialized -Werror=3Dreturn-type -Werror=3Dint-conversion -Werror=3Dincompatible-pointer-types -Werror=3Dimplicit-int -Werror=3Dmultistatement-macros -Werror=3Dswitch -Werror=3Doverflow -Werror=3Darray-bounds -Werror=3Denum-compare -Werror=3Dmisleading-indentat= ion -Werror=3Dint-in-bool-context -Werror=3Dtype-limits -Werror=3Ddeprecated-de= clarations -Werror=3Dendif-labels -Werror=3Dlogical-not-parentheses -Werror=3Dparenthe= ses -Werror=3Dcomment -Werror=3Dsizeof-pointer-div -Werror=3Dshift-count-overfl= ow -Werror=3Dfree-nonheap-object -Werror=3Danalyzer-possible-null-dereference -Werror=3Danalyzer-malloc-leak -Werror=3Danalyzer-null-dereference -Werror=3Danalyzer-null-argument -Werror=3Danalyzer-use-after-free -Werror=3Danalyzer-possible-null-argument -Werror=3Danalyzer-double-free -Werror=3Danalyzer-file-leak -Werror=3Dnonnull -Werror=3Dnonnull-compare -Werror=3Doverride-init -Werror=3Dbool-compare -Werror=3Dtautological-compa= re -Werror=3Dunused-result -Werror=3Dinline -Werror=3Dduplicate-decl-specifier -Werror=3Dredundant-decls -Werror=3Dstrict-prototypes -Werror=3Dsizeof-arra= y-argument -Werror=3Dlto-type-mismatch -Werror=3Dodr -Wsuggest-attribute=3Dpure -Wsuggest-attribute=3Dconst -Wsuggest-attribute=3Dnoreturn -Wsuggest-attribute=3Dformat -Wsuggest-attribute=3Dmalloc -Wsuggest-attribu= te=3Dcold -Werror=3Dsign-conversion -Werror=3Dimplicit-fallthrough -fdiagnostics-colo= r=3Dalways -fPIC -fno-common -frecord-gcc-switches -ffast-math -fdata-sections -ffunction-sections -freciprocal-math -fsingle-precision-constant -fno-math-errno -fno-omit-frame-pointer -fstrict-aliasing -fstrict-overflow -fanalyzer -g -g3 -g3 -fworking-directory -O0 -fpch-preprocess -o src/libzrythm-lib.so.p/gui_backend_arranger_object.c.i =E5=AD=98=E5=9C=A8=E3=81=97=E3=81=AA=E3=81=84=E3=83=87=E3=82=A3=E3=83=AC=E3= =82=AF=E3=83=88=E3=83=AA "/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../x86_64-pc-linux-gnu/in= clude" =E3=82=92=E7=84=A1=E8=A6=96=E3=81=97=E3=81=BE=E3=81=99 =E5=AD=98=E5=9C=A8=E3=81=97=E3=81=AA=E3=81=84=E3=83=87=E3=82=A3=E3=83=AC=E3= =82=AF=E3=83=88=E3=83=AA "../subprojects/reproc/__CMake_build" =E3=82=92=E7= =84=A1=E8=A6=96=E3=81=97=E3=81=BE=E3=81=99 #include "..." =E3=81=AE=E6=8E=A2=E7=B4=A2=E3=81=AF=E3=81=93=E3=81=93=E3=81= =8B=E3=82=89=E5=A7=8B=E3=81=BE=E3=82=8A=E3=81=BE=E3=81=99: #include <...> =E3=81=AE=E6=8E=A2=E7=B4=A2=E3=81=AF=E3=81=93=E3=81=93=E3=81= =8B=E3=82=89=E5=A7=8B=E3=81=BE=E3=82=8A=E3=81=BE=E3=81=99: src/libzrythm-lib.so.p src ../src . .. inc ../inc ext ../ext ext/midilib ../ext/midilib ext/whereami ../ext/whereami ext/zix ../ext/zix ext/weakjack ../ext/weakjack ../inc/plugins/lv2 ../subprojects/libcyaml/include subprojects/libaudec ../subprojects/libaudec subprojects/libaudec/inc ../subprojects/libaudec/inc ../subprojects/reproc/reproc/include subprojects/reproc/__CMake_build subprojects/reproc ../subprojects/reproc subprojects/libbacktrace /usr/include/libadwaita-1 /usr/include/gtk-4.0 /usr/include/pango-1.0 /usr/include/glib-2.0 /usr/lib/glib-2.0/include /usr/include/sysprof-4 /usr/include/harfbuzz /usr/include/freetype2 /usr/include/libpng16 /usr/include/libmount /usr/include/blkid /usr/include/fribidi /usr/include/cairo /usr/include/lzo /usr/include/pixman-1 /usr/include/gdk-pixbuf-2.0 /usr/include/graphene-1.0 /usr/lib/graphene-1.0/include /usr/include/gio-unix-2.0 /usr/include/libpanel-1 /usr/include/opus /usr/include/graphviz /usr/include/guile/2.2 /usr/include/carla /usr/include/carla/includes /usr/include/serd-0 /usr/include/sord-0 /usr/include/sratom-0 /usr/include/lilv-0 /usr/include/gtksourceview-5 /usr/include/libxml2 /usr/include/valgrind /home/alex/Documents/git/zrythm/build/subprojects/libbacktrace/dist/home/al= ex/local/include /usr/include/json-glib-1.0 /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include /usr/local/include /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include-fixed /usr/include =E6=8E=A2=E7=B4=A2=E3=83=AA=E3=82=B9=E3=83=88=E3=81=AE=E7=B5=82=E3=82=8F=E3= =82=8A=E3=81=A7=E3=81=99=E3=80=82 COLLECT_GCC_OPTIONS=3D'-fdiagnostics-color=3Dalways' '-I' 'src/libzrythm-li= b.so.p' '-I' 'src' '-I' '../src' '-I' '.' '-I' '..' '-I' 'inc' '-I' '../inc' '-I' '= ext' '-I' '../ext' '-I' 'ext/midilib' '-I' '../ext/midilib' '-I' 'ext/whereami' = '-I' '../ext/whereami' '-I' 'ext/zix' '-I' '../ext/zix' '-I' 'ext/weakjack' '-I' '../ext/weakjack' '-I' '../inc/plugins/lv2' '-I' '../subprojects/libcyaml/include' '-I' 'subprojects/libaudec' '-I' '../subprojects/libaudec' '-I' 'subprojects/libaudec/inc' '-I' '../subprojects/libaudec/inc' '-I' '../subprojects/reproc/reproc/include' '= -I' 'subprojects/reproc/__CMake_build' '-I' '../subprojects/reproc/__CMake_buil= d' '-I' 'subprojects/reproc' '-I' '../subprojects/reproc' '-I' 'subprojects/libbacktrace' '-I' '/usr/include/libadwaita-1' '-I' '/usr/include/gtk-4.0' '-I' '/usr/include/pango-1.0' '-I' '/usr/include/glib-2.0' '-I' '/usr/lib/glib-2.0/include' '-I' '/usr/include/sysprof-4' '-I' '/usr/include/harfbuzz' '-I' '/usr/include/freetype2' '-I' '/usr/include/libpng16' '-I' '/usr/include/libmount' '-I' '/usr/include/blkid' '-I' '/usr/include/fribid= i' '-I' '/usr/include/cairo' '-I' '/usr/include/lzo' '-I' '/usr/include/pixman= -1' '-I' '/usr/include/gdk-pixbuf-2.0' '-I' '/usr/include/graphene-1.0' '-I' '/usr/lib/graphene-1.0/include' '-I' '/usr/include/gio-unix-2.0' '-I' '/usr/include/libpanel-1' '-I' '/usr/include/opus' '-I' '/usr/include/graph= viz' '-I' '/usr/include/guile/2.2' '-I' '/usr/include/carla' '-I' '/usr/include/carla/includes' '-I' '/usr/include/serd-0' '-I' '/usr/include/sord-0' '-I' '/usr/include/sratom-0' '-I' '/usr/include/lilv-= 0' '-I' '/usr/include/gtksourceview-5' '-I' '/usr/include/libxml2' '-I' '/usr/include/valgrind' '-I' '/home/alex/Documents/git/zrythm/build/subprojects/libbacktrace/dist/home/a= lex/local/include' '-I' '/usr/include/json-glib-1.0' '-D' '_FILE_OFFSET_BITS=3D64' '-Wall' '-Winvalid-pch' '-Wextra' '-std=3Dgnu11' '-O0' '-g' '-D' 'GLIB_VERSION_MIN_REQUIRED=3DGLIB_VERSION_2_66' '-D' 'GLIB_VERSION_MAX_ALLOWED=3DGLIB_VERSION_2_66' '-D' 'GDK_VERSION_MIN_REQUIRED=3DGDK_VERSION_4_6' '-D' 'GDK_VERSION_MAX_ALLOWED=3DGDK_VERSION_4_6' '-Wno-bad-function-cast' '-Wno-old-style-declaration' '-Werror=3Dabsolute-value' '-Wformat=3D2' '-mfpmath=3Dsse' '-g3' '-D' 'GETTEXT_PACKAGE=3D"zrythm"' '-fPIC' '-pthread' '-mfpmath=3Dsse' '-D' 'REAL_BUILD' '-D' '_REENTRANT' '-mfpmath=3Dsse' '-mfpmath=3Dsse' '-mfpmath=3Dsse' '-Wformat=3D2' '-Wno-missing-field-initia= lizers' '-Wno-unused-parameter' '-Wno-sequence-point' '-Wignored-qualifiers' '-Wno-cast-function-type' '-Walloca' '-fno-common' '-D' 'LV2_UI__Gtk4UI=3D"https://lv2plug.in/ns/extensions/ui#Gtk4UI"' '-D' 'GDK_DISABLE_DEPRECATED' '-D' 'GTK_DISABLE_DEPRECATED' '-D' '__(x)=3Dx' '-D' 'G_LOG_USE_STRUCTURED=3D1' '-D' 'G_LOG_DOMAIN=3D"zrythm"' '-D' 'REALTIME=3D= ' '-D' 'DEPRECATED_MSG(x)=3D__attribute__((deprecated(x)))' '-D' 'OPTIMIZE(x)=3D__attribute__((optimize(#x)))' '-D' 'OPTIMIZE_O0=3DOPTIMIZE(= 00)' '-D' 'OPTIMIZE_O1=3DOPTIMIZE(01)' '-D' 'OPTIMIZE_O2=3DOPTIMIZE(02)' '-D' 'OPTIMIZE_O3=3DOPTIMIZE(03)' '-D' 'NONNULL_ARGS(...)=3D__attribute__((nonnull(__VA_ARGS__)))' '-D' 'ACCESS(...)=3D__attribute__((access(__VA_ARGS__)))' '-D' 'ACCESS_READ_ONLY(...)=3DACCESS(read_only,__VA_ARGS__)' '-frecord-gcc-switc= hes' '-D' 'ALWAYS_INLINE=3D__attribute__((always_inline))' '-D' 'COLD=3D__attribute__((cold))' '-D' 'HOT=3D__attribute__((hot))' '-D' 'PURE=3D__attribute__((pure))' '-D' 'NONNULL=3D__attribute__((nonnull))' '-= D' 'RETURNS_NONNULL=3D__attribute__((returns_nonnull))' '-D' 'STACK_PROTECT=3D__attribute__((stack_protect))' '-D' 'NO_STACK_PROTECTOR=3D__attribute__((no_stack_protector))' '-D' 'WARN_UNUSED_RESULT=3D__attribute__((warn_unused_result))' '-D' 'CONST=3D__attribute__((const))' '-D' 'MALLOC=3D__attribute__((malloc))' '-march=3Dnative' '-mtune=3Dnative' '-ffast-math' '-D' 'PIC' '-fdata-sectio= ns' '-ffunction-sections' '-freciprocal-math' '-fsingle-precision-constant' '-m= sse' '-msse2' '-mfpmath=3Dsse' '-fno-math-errno' '-fno-omit-frame-pointer' '-g3' '-Werror=3Dformat=3D2' '-Werror=3Dformat-overflow' '-Werror=3Dformat-trunca= tion' '-Werror=3Dclobbered' '-Werror=3Ddisabled-optimization' '-Werror=3Dfloat-eq= ual' '-Werror=3Dlogical-op' '-Werror=3Dpointer-arith' '-Werror=3Denum-conversion' '-Werror=3Doverlength-strings' '-Werror=3Dstringop-truncation' '-Werror=3Dmissing-declarations' '-Werror=3Dint-to-pointer-cast' '-Werror= =3Dshadow' '-Werror=3Dundef' '-Werror=3Dunused' '-fstrict-aliasing' '-Wstrict-aliasing= =3D2' '-Werror=3Dstrict-aliasing' '-Wstrict-overflow=3D2' '-fstrict-overflow' '-Werror=3Dduplicated-branches' '-Werror=3Dduplicated-cond' '-Werror=3Dnull-dereference' '-Werror=3Dinit-self' '-Werror=3Djump-misses-i= nit' '-Werror=3Dmissing-prototypes' '-Werror=3Dnested-externs' '-Werror=3Dwrite-= strings' '-Werror=3Dsign-compare' '-Werror=3Ddiscarded-qualifiers' '-Werror=3Dfloat-conversion' '-Werror=3Dimplicit-function-declaration' '-Werror=3Duninitialized' '-Werror=3Dmaybe-uninitialized' '-Werror=3Dreturn= -type' '-Werror=3Dint-conversion' '-Werror=3Dincompatible-pointer-types' '-Werror=3Dimplicit-int' '-Werror=3Dmultistatement-macros' '-Werror=3Dswitc= h' '-Werror=3Doverflow' '-Werror=3Darray-bounds' '-Werror=3Denum-compare' '-Werror=3Dmisleading-indentation' '-Werror=3Dint-in-bool-context' '-Werror=3Dtype-limits' '-Werror=3Ddeprecated-declarations' '-Werror=3Dendi= f-labels' '-Werror=3Dlogical-not-parentheses' '-Werror=3Dparentheses' '-Werror=3Dcomm= ent' '-Werror=3Dsizeof-pointer-div' '-Werror=3Dshift-count-overflow' '-Werror=3Dfree-nonheap-object' '-fanalyzer' '-Werror=3Danalyzer-possible-null-dereference' '-Werror=3Danalyzer-malloc-l= eak' '-Werror=3Danalyzer-null-dereference' '-Werror=3Danalyzer-null-argument' '-= v' '-save-temps' '-Werror=3Danalyzer-use-after-free' '-Werror=3Danalyzer-possible-null-argument' '-Werror=3Danalyzer-double-free' '-Werror=3Danalyzer-file-leak' '-Werror=3Dnonnull' '-Werror=3Dnonnull-compa= re' '-Werror=3Doverride-init' '-Werror=3Dbool-compare' '-Werror=3Dtautological-= compare' '-Werror=3Dunused-result' '-Werror=3Dinline' '-Werror=3Dduplicate-decl-spec= ifier' '-Werror=3Dredundant-decls' '-Werror=3Dstrict-prototypes' '-Werror=3Dsizeof-array-argument' '-Werror=3Dlto-type-mismatch' '-Werror=3D= odr' '-Wsuggest-attribute=3Dpure' '-Wsuggest-attribute=3Dconst' '-Wsuggest-attribute=3Dnoreturn' '-Wsuggest-attribute=3Dformat' '-Wsuggest-attribute=3Dmalloc' '-Wsuggest-attribute=3Dcold' '-Werror=3Dsign-conversion' '-Werror=3Dimplicit-fallthrough' '-MD' '-MQ' 'src/libzrythm-lib.so.p/gui_backend_arranger_object.c.o' '-MF' 'src/libzrythm-lib.so.p/gui_backend_arranger_object.c.o.d' '-o' 'src/libzrythm-lib.so.p/gui_backend_arranger_object.c.o' '-c' '-dumpdir' 'src/libzrythm-lib.so.p/' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/cc1 -fpreprocessed src/libzrythm-lib.so.p/gui_backend_arranger_object.c.i -march=3Dznver3 -mmmx -mpopcnt -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -msse4a -mno-fma4 -mno-xop -mfma -mno-avx512f -mbmi -mbmi2 -maes -mpclmul -mno-avx5= 12vl -mno-avx512bw -mno-avx512dq -mno-avx512cd -mno-avx512er -mno-avx512pf -mno-avx512vbmi -mno-avx512ifma -mno-avx5124vnniw -mno-avx5124fmaps -mno-avx512vpopcntdq -mno-avx512vbmi2 -mno-gfni -mvpclmulqdq -mno-avx512vnni -mno-avx512bitalg -mno-avx512bf16 -mno-avx512vp2intersect -mno-3dnow -madx -mabm -mno-cldemote -mclflushopt -mclwb -mclzero -mcx16 -mno-enqcmd -mf16c -mfsgsbase -mfxsr -mno-hle -msahf -mno-lwp -mlzcnt -mmovbe -mno-movdir64b -mno-movdiri -mmwaitx -mno-pconfig -mpku -mno-prefetchwt1 -mprfchw -mno-ptw= rite -mrdpid -mrdrnd -mrdseed -mno-rtm -mno-serialize -mno-sgx -msha -mshstk -mno-tbm -mno-tsxldtrk -mvaes -mno-waitpkg -mwbnoinvd -mxsave -mxsavec -mxsaveopt -mxsaves -mno-amx-tile -mno-amx-int8 -mno-amx-bf16 -mno-uintr -mno-hreset -mno-kl -mno-widekl -mno-avxvnni -mno-avx512fp16 --param l1-cache-size=3D32 --param l1-cache-line-size=3D64 --param l2-cache-size=3D= 512 -mtune=3Dznver3 -quiet -dumpdir src/libzrythm-lib.so.p/ -dumpbase gui_backend_arranger_object.c.c -dumpbase-ext .c -mfpmath=3Dsse -mfpmath=3D= sse -mfpmath=3Dsse -mfpmath=3Dsse -mfpmath=3Dsse -msse -msse2 -mfpmath=3Dsse -g= -g3 -g3 -O0 -Wall -Winvalid-pch -Wextra -Wno-bad-function-cast -Wno-old-style-declarati= on -Werror=3Dabsolute-value -Wformat=3D2 -Wformat=3D2 -Wno-missing-field-initi= alizers -Wno-unused-parameter -Wno-sequence-point -Wignored-qualifiers -Wno-cast-function-type -Walloca -Werror=3Dformat=3D2 -Werror=3Dformat-over= flow -Werror=3Dformat-truncation -Werror=3Dclobbered -Werror=3Ddisabled-optimiza= tion -Werror=3Dfloat-equal -Werror=3Dlogical-op -Werror=3Dpointer-arith -Werror=3Denum-conversion -Werror=3Doverlength-strings -Werror=3Dstringop-t= runcation -Werror=3Dmissing-declarations -Werror=3Dint-to-pointer-cast -Werror=3Dshad= ow -Werror=3Dundef -Werror=3Dunused -Wstrict-aliasing=3D2 -Werror=3Dstrict-ali= asing -Wstrict-overflow=3D2 -Werror=3Dduplicated-branches -Werror=3Dduplicated-co= nd -Werror=3Dnull-dereference -Werror=3Dinit-self -Werror=3Djump-misses-init -Werror=3Dmissing-prototypes -Werror=3Dnested-externs -Werror=3Dwrite-strin= gs -Werror=3Dsign-compare -Werror=3Ddiscarded-qualifiers -Werror=3Dfloat-conve= rsion -Werror=3Dimplicit-function-declaration -Werror=3Duninitialized -Werror=3Dmaybe-uninitialized -Werror=3Dreturn-type -Werror=3Dint-conversion -Werror=3Dincompatible-pointer-types -Werror=3Dimplicit-int -Werror=3Dmultistatement-macros -Werror=3Dswitch -Werror=3Doverflow -Werror=3Darray-bounds -Werror=3Denum-compare -Werror=3Dmisleading-indentat= ion -Werror=3Dint-in-bool-context -Werror=3Dtype-limits -Werror=3Ddeprecated-de= clarations -Werror=3Dendif-labels -Werror=3Dlogical-not-parentheses -Werror=3Dparenthe= ses -Werror=3Dcomment -Werror=3Dsizeof-pointer-div -Werror=3Dshift-count-overfl= ow -Werror=3Dfree-nonheap-object -Werror=3Danalyzer-possible-null-dereference -Werror=3Danalyzer-malloc-leak -Werror=3Danalyzer-null-dereference -Werror=3Danalyzer-null-argument -Werror=3Danalyzer-use-after-free -Werror=3Danalyzer-possible-null-argument -Werror=3Danalyzer-double-free -Werror=3Danalyzer-file-leak -Werror=3Dnonnull -Werror=3Dnonnull-compare -Werror=3Doverride-init -Werror=3Dbool-compare -Werror=3Dtautological-compa= re -Werror=3Dunused-result -Werror=3Dinline -Werror=3Dduplicate-decl-specifier -Werror=3Dredundant-decls -Werror=3Dstrict-prototypes -Werror=3Dsizeof-arra= y-argument -Werror=3Dlto-type-mismatch -Werror=3Dodr -Wsuggest-attribute=3Dpure -Wsuggest-attribute=3Dconst -Wsuggest-attribute=3Dnoreturn -Wsuggest-attribute=3Dformat -Wsuggest-attribute=3Dmalloc -Wsuggest-attribu= te=3Dcold -Werror=3Dsign-conversion -Werror=3Dimplicit-fallthrough -std=3Dgnu11 -vers= ion -fdiagnostics-color=3Dalways -fPIC -fno-common -frecord-gcc-switches -ffast= -math -fdata-sections -ffunction-sections -freciprocal-math -fsingle-precision-constant -fno-math-errno -fno-omit-frame-pointer -fstrict-aliasing -fstrict-overflow -fanalyzer -o src/libzrythm-lib.so.p/gui_backend_arranger_object.c.s GNU C11 (GCC) version 12.1.0 (x86_64-pc-linux-gnu) compiled by GNU C version 12.1.0, GMP version 6.2.1, MPFR version 4.1.0-p13, MPC version 1.2.1, isl version isl-0.25-GMP GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 GNU C11 (GCC) version 12.1.0 (x86_64-pc-linux-gnu) compiled by GNU C version 12.1.0, GMP version 6.2.1, MPFR version 4.1.0-p13, MPC version 1.2.1, isl version isl-0.25-GMP GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 Compiler executable checksum: 3e6a47a96552b6758214eb71bda8ede7 ../src/gui/backend/arranger_object.c: =E9=96=A2=E6=95=B0 =E2=80=98arranger_= object_get_track=E2=80=99 =E5=86=85: ../src/gui/backend/arranger_object.c:1936:9: =E3=82=A8=E3=83=A9=E3=83=BC: d= ereference of NULL =E2=80=98self=E2=80=99 [CWE-476] [-Werror=3Danalyzer-null-dereference] 1936 | self->is_auditioner ? SAMPLE_PROCESSOR->tracklist : TRACKLIST; | ~~~~^~~~~~~~~~~~~~~ =E2=80=98arranger_object_unsplit=E2=80=99: event 1 | |../src/gui/backend/arranger_object.c:3021:1: | 3021 | arranger_object_unsplit ( | | ^~~~~~~~~~~~~~~~~~~~~~~ | | | | | (1) entry to =E2=80=98arranger_object_unsplit=E2=80=99 | =E2=80=98arranger_object_unsplit=E2=80=99: event 2 | |../src/gui/backend/arranger_object.c:3043:10: | 3043 | *obj =3D arranger_object_clone (r1); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (2) calling =E2=80=98arranger_object_clone=E2=80=99 f= rom =E2=80=98arranger_object_unsplit=E2=80=99 | +--> =E2=80=98arranger_object_clone=E2=80=99: events 3-6 | |../src/gui/backend/arranger_object.c:2568:1: | 2568 | arranger_object_clone (const ArrangerObject * self) | | ^~~~~~~~~~~~~~~~~~~~~ | | | | | (3) entry to =E2=80=98arranger_object_clone=E2=80=99 | 2569 | { | 2570 | g_return_val_if_fail (self, NULL); | | ~ ~~~~~~=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | | | |=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | | | | (5) ...to here=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 (6) =E2=80=98r1=E2=80=99 is NULL | | (4) following =E2=80=98false=E2=80=99 branch = (when =E2=80=98self=E2=80=99 is NULL)... | <------+ | =E2=80=98arranger_object_unsplit=E2=80=99: events 7-8 | |../src/gui/backend/arranger_object.c:3043:10: | 3043 | *obj =3D arranger_object_clone (r1); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (7) returning to =E2=80=98arranger_object_unsplit=E2= =80=99 from =E2=80=98arranger_object_clone=E2=80=99 |...... | 3047 | arranger_object_end_pos_setter (*obj, &r2->end_pos); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (8) calling =E2=80=98arranger_object_end_pos_setter=E2=80=99= from =E2=80=98arranger_object_unsplit=E2=80=99 | +--> =E2=80=98arranger_object_end_pos_setter=E2=80=99: events 9-10 | |../src/gui/backend/arranger_object.c:1752:1: | 1752 | arranger_object_end_pos_setter ( | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (9) entry to =E2=80=98arranger_object_end_pos_setter=E2= =80=99 |...... | 1756 | arranger_object_set_position ( | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (10) calling =E2=80=98arranger_object_set_position=E2= =80=99 from =E2=80=98arranger_object_end_pos_setter=E2=80=99 | 1757 | self, pos, ARRANGER_OBJECT_POSITION_TYPE_END, F_VALIDATE); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | +--> =E2=80=98arranger_object_set_position=E2=80=99: events 11-13 | |../src/gui/backend/arranger_object.c:675:1: | 675 | arranger_object_set_position ( | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (11) entry to =E2=80=98arranger_object_set_posit= ion=E2=80=99 |...... | 681 | g_return_if_fail (self && pos); | | ~=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 | | | | | | | (13) ...to = here | | (12) following =E2=80=98false=E2=80=99= branch (when =E2=80=98self=E2=80=99 is NULL)... | <------+ | =E2=80=98arranger_object_end_pos_setter=E2=80=99: event 14 | |../src/gui/backend/arranger_object.c:1756:3: | 1756 | arranger_object_set_position ( | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (14) returning to =E2=80=98arranger_object_end_pos_se= tter=E2=80=99 from =E2=80=98arranger_object_set_position=E2=80=99 | 1757 | self, pos, ARRANGER_OBJECT_POSITION_TYPE_END, F_VALIDATE); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | <------+ | =E2=80=98arranger_object_unsplit=E2=80=99: events 15-19 | |../src/gui/backend/arranger_object.c:3047:3: | 3047 | arranger_object_end_pos_setter (*obj, &r2->end_pos); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (15) returning to =E2=80=98arranger_object_unsplit=E2=80=99 = from =E2=80=98arranger_object_end_pos_setter=E2=80=99 |...... | 3056 | switch (r1->type) | | ~~~~~~ ~~~~~~~~ | | | | | | | (16) state of =E2=80=98INIT_VAL(r1_80(D))=E2=80=99= : =E2=80=98null=E2=80=99 -> =E2=80=98stop=E2=80=99 (NULL origin) | | (17) following =E2=80=98case 2:=E2=80=99 branch... | 3057 | { | 3058 | case ARRANGER_OBJECT_TYPE_REGION: | | ~~~~ | | | | | (18) ...to here |...... | 3061 | AutomationTrack * at =3D NULL; | | ~~ | | | | | (19) =E2=80=98r1=E2=80=99 is NULL | =E2=80=98arranger_object_unsplit=E2=80=99: events 20-23 | |../src/gui/backend/arranger_object.c:3062:12: | 3062 | if (r1_region->id.type =3D=3D REGION_TYPE_AUTOMATION) | | ^ | | | | | (20) following =E2=80=98false=E2=80=99 branch... |...... | 3066 | track_add_region ( | | ~~~~~~~~~~~~~~~~~~ | | | | | (21) ...to here | | (22) state of =E2=80=98INIT_VAL(r1_80(D))=E2=80=99: = =E2=80=98null=E2=80=99 -> =E2=80=98stop=E2=80=99 (NULL origin) | | (23) calling =E2=80=98arranger_object_get_track=E2=80= =99 from =E2=80=98arranger_object_unsplit=E2=80=99 | 3067 | arranger_object_get_track (r1), (ZRegion *) *obj, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 3068 | at, ((ZRegion *) r1)->id.lane_pos, F_GEN_NAME, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 3069 | fire_events); | | ~~~~~~~~~~~~ | +--> =E2=80=98arranger_object_get_track=E2=80=99: events 24-25 | |../src/gui/backend/arranger_object.c:1930:1: | 1930 | arranger_object_get_track (const ArrangerObject * const self) | | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (24) entry to =E2=80=98arranger_object_get_track=E2=80= =99 | 1931 | { | 1932 | g_return_val_if_fail (IS_ARRANGER_OBJECT (self), NULL= ); | | ~ | | | | | (25) following =E2=80=98true=E2=80=99 branch.= .. | =E2=80=98arranger_object_get_track=E2=80=99: event 26 | |cc1: | (26): ...to here | =E2=80=98arranger_object_get_track=E2=80=99: event 27 | |../src/gui/backend/arranger_object.c:1934:11: | 1934 | Track * track =3D NULL; | | ^~~~~ | | | | | (27) =E2=80=98self=E2=80=99 is NULL | =E2=80=98arranger_object_get_track=E2=80=99: event 28 | |../src/gui/backend/arranger_object.c:1936:9: | 1936 | self->is_auditioner ? SAMPLE_PROCESSOR->tracklist : TRACKLIST; | | ~~~~^~~~~~~~~~~~~~~ | | | | | (28) dereference of NULL =E2=80=98self=E2=80=99 | ../src/gui/backend/arranger_object.c: =E9=96=A2=E6=95=B0 =E2=80=98arranger_= object_unsplit=E2=80=99 =E5=86=85: ../src/gui/backend/arranger_object.c:3056:13: =E3=82=A8=E3=83=A9=E3=83=BC: = dereference of NULL =E2=80=98r1=E2=80=99 [CWE-476] [-Werror=3Danalyzer-null-dereference] 3056 | switch (r1->type) | ~~^~~~~~ =E2=80=98arranger_object_unsplit=E2=80=99: event 1 | |../src/gui/backend/arranger_object.c:3021:1: | 3021 | arranger_object_unsplit ( | | ^~~~~~~~~~~~~~~~~~~~~~~ | | | | | (1) entry to =E2=80=98arranger_object_unsplit=E2=80=99 | =E2=80=98arranger_object_unsplit=E2=80=99: event 2 | |../src/gui/backend/arranger_object.c:3043:10: | 3043 | *obj =3D arranger_object_clone (r1); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (2) calling =E2=80=98arranger_object_clone=E2=80=99 f= rom =E2=80=98arranger_object_unsplit=E2=80=99 | +--> =E2=80=98arranger_object_clone=E2=80=99: events 3-6 | |../src/gui/backend/arranger_object.c:2568:1: | 2568 | arranger_object_clone (const ArrangerObject * self) | | ^~~~~~~~~~~~~~~~~~~~~ | | | | | (3) entry to =E2=80=98arranger_object_clone=E2=80=99 | 2569 | { | 2570 | g_return_val_if_fail (self, NULL); | | ~ ~~~~~~=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | | | |=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | | | | (5) ...to here=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 (6) =E2=80=98r1=E2=80=99 is NULL | | (4) following =E2=80=98false=E2=80=99 branch = (when =E2=80=98self=E2=80=99 is NULL)... | <------+ | =E2=80=98arranger_object_unsplit=E2=80=99: events 7-8 | |../src/gui/backend/arranger_object.c:3043:10: | 3043 | *obj =3D arranger_object_clone (r1); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (7) returning to =E2=80=98arranger_object_unsplit=E2= =80=99 from =E2=80=98arranger_object_clone=E2=80=99 |...... | 3047 | arranger_object_end_pos_setter (*obj, &r2->end_pos); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (8) calling =E2=80=98arranger_object_end_pos_setter=E2=80=99= from =E2=80=98arranger_object_unsplit=E2=80=99 | +--> =E2=80=98arranger_object_end_pos_setter=E2=80=99: events 9-10 | |../src/gui/backend/arranger_object.c:1752:1: | 1752 | arranger_object_end_pos_setter ( | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (9) entry to =E2=80=98arranger_object_end_pos_setter=E2= =80=99 |...... | 1756 | arranger_object_set_position ( | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (10) calling =E2=80=98arranger_object_set_position=E2= =80=99 from =E2=80=98arranger_object_end_pos_setter=E2=80=99 | 1757 | self, pos, ARRANGER_OBJECT_POSITION_TYPE_END, F_VALIDATE); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | +--> =E2=80=98arranger_object_set_position=E2=80=99: events 11-13 | |../src/gui/backend/arranger_object.c:675:1: | 675 | arranger_object_set_position ( | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (11) entry to =E2=80=98arranger_object_set_posit= ion=E2=80=99 |...... | 681 | g_return_if_fail (self && pos); | | ~=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 | | | | | | | (13) ...to = here | | (12) following =E2=80=98false=E2=80=99= branch (when =E2=80=98self=E2=80=99 is NULL)... | <------+ | =E2=80=98arranger_object_end_pos_setter=E2=80=99: event 14 | |../src/gui/backend/arranger_object.c:1756:3: | 1756 | arranger_object_set_position ( | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (14) returning to =E2=80=98arranger_object_end_pos_se= tter=E2=80=99 from =E2=80=98arranger_object_set_position=E2=80=99 | 1757 | self, pos, ARRANGER_OBJECT_POSITION_TYPE_END, F_VALIDATE); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | <------+ | =E2=80=98arranger_object_unsplit=E2=80=99: events 15-16 | |../src/gui/backend/arranger_object.c:3047:3: | 3047 | arranger_object_end_pos_setter (*obj, &r2->end_pos); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (15) returning to =E2=80=98arranger_object_unsplit=E2=80=99 = from =E2=80=98arranger_object_end_pos_setter=E2=80=99 |...... | 3056 | switch (r1->type) | | ~~~~~~~~ | | | | | (16) dereference of NULL =E2=80=98r1=E2=80=99 | ../src/gui/backend/arranger_object.c:3066:9: =E3=82=A8=E3=83=A9=E3=83=BC: u= se of NULL =E2=80=98r1=E2=80=99 where non-null expected [CWE-476] [-Werror=3Danalyzer-null-argument] 3066 | track_add_region ( | ^~~~~~~~~~~~~~~~~~ 3067 | arranger_object_get_track (r1), (ZRegion *) *obj, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3068 | at, ((ZRegion *) r1)->id.lane_pos, F_GEN_NAME, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3069 | fire_events); | ~~~~~~~~~~~~ =E2=80=98arranger_object_unsplit=E2=80=99: event 1 | |../src/gui/backend/arranger_object.c:3021:1: | 3021 | arranger_object_unsplit ( | | ^~~~~~~~~~~~~~~~~~~~~~~ | | | | | (1) entry to =E2=80=98arranger_object_unsplit=E2=80=99 | =E2=80=98arranger_object_unsplit=E2=80=99: event 2 | |../src/gui/backend/arranger_object.c:3043:10: | 3043 | *obj =3D arranger_object_clone (r1); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (2) calling =E2=80=98arranger_object_clone=E2=80=99 f= rom =E2=80=98arranger_object_unsplit=E2=80=99 | +--> =E2=80=98arranger_object_clone=E2=80=99: events 3-6 | |../src/gui/backend/arranger_object.c:2568:1: | 2568 | arranger_object_clone (const ArrangerObject * self) | | ^~~~~~~~~~~~~~~~~~~~~ | | | | | (3) entry to =E2=80=98arranger_object_clone=E2=80=99 | 2569 | { | 2570 | g_return_val_if_fail (self, NULL); | | ~ ~~~~~~=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | | | |=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | | | | (5) ...to here=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 (6) =E2=80=98r1=E2=80=99 is NULL | | (4) following =E2=80=98false=E2=80=99 branch = (when =E2=80=98self=E2=80=99 is NULL)... | <------+ | =E2=80=98arranger_object_unsplit=E2=80=99: events 7-8 | |../src/gui/backend/arranger_object.c:3043:10: | 3043 | *obj =3D arranger_object_clone (r1); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (7) returning to =E2=80=98arranger_object_unsplit=E2= =80=99 from =E2=80=98arranger_object_clone=E2=80=99 |...... | 3047 | arranger_object_end_pos_setter (*obj, &r2->end_pos); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (8) calling =E2=80=98arranger_object_end_pos_setter=E2=80=99= from =E2=80=98arranger_object_unsplit=E2=80=99 | +--> =E2=80=98arranger_object_end_pos_setter=E2=80=99: events 9-10 | |../src/gui/backend/arranger_object.c:1752:1: | 1752 | arranger_object_end_pos_setter ( | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (9) entry to =E2=80=98arranger_object_end_pos_setter=E2= =80=99 |...... | 1756 | arranger_object_set_position ( | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (10) calling =E2=80=98arranger_object_set_position=E2= =80=99 from =E2=80=98arranger_object_end_pos_setter=E2=80=99 | 1757 | self, pos, ARRANGER_OBJECT_POSITION_TYPE_END, F_VALIDATE); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | +--> =E2=80=98arranger_object_set_position=E2=80=99: events 11-13 | |../src/gui/backend/arranger_object.c:675:1: | 675 | arranger_object_set_position ( | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (11) entry to =E2=80=98arranger_object_set_posit= ion=E2=80=99 |...... | 681 | g_return_if_fail (self && pos); | | ~=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 | | | | | | | (13) ...to = here | | (12) following =E2=80=98false=E2=80=99= branch (when =E2=80=98self=E2=80=99 is NULL)... | <------+ | =E2=80=98arranger_object_end_pos_setter=E2=80=99: event 14 | |../src/gui/backend/arranger_object.c:1756:3: | 1756 | arranger_object_set_position ( | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (14) returning to =E2=80=98arranger_object_end_pos_se= tter=E2=80=99 from =E2=80=98arranger_object_set_position=E2=80=99 | 1757 | self, pos, ARRANGER_OBJECT_POSITION_TYPE_END, F_VALIDATE); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | <------+ | =E2=80=98arranger_object_unsplit=E2=80=99: events 15-19 | |../src/gui/backend/arranger_object.c:3047:3: | 3047 | arranger_object_end_pos_setter (*obj, &r2->end_pos); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (15) returning to =E2=80=98arranger_object_unsplit=E2=80=99 = from =E2=80=98arranger_object_end_pos_setter=E2=80=99 |...... | 3056 | switch (r1->type) | | ~~~~~~ ~~~~~~~~ | | | | | | | (16) state of =E2=80=98INIT_VAL(r1_80(D))=E2=80=99= : =E2=80=98null=E2=80=99 -> =E2=80=98stop=E2=80=99 (NULL origin) | | (17) following =E2=80=98case 2:=E2=80=99 branch... | 3057 | { | 3058 | case ARRANGER_OBJECT_TYPE_REGION: | | ~~~~ | | | | | (18) ...to here |...... | 3061 | AutomationTrack * at =3D NULL; | | ~~ | | | | | (19) =E2=80=98r1=E2=80=99 is NULL | =E2=80=98arranger_object_unsplit=E2=80=99: events 20-22 | |../src/gui/backend/arranger_object.c:3062:12: | 3062 | if (r1_region->id.type =3D=3D REGION_TYPE_AUTOMATION) | | ^ | | | | | (20) following =E2=80=98false=E2=80=99 branch... |...... | 3066 | track_add_region ( | | ~~~~~~~~~~~~~~~~~~ | | | | | (21) ...to here | | (22) argument 1 (=E2=80=98r1=E2=80=99) NULL where non-= null expected | 3067 | arranger_object_get_track (r1), (ZRegion *) *obj, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 3068 | at, ((ZRegion *) r1)->id.lane_pos, F_GEN_NAME, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 3069 | fire_events); | | ~~~~~~~~~~~~ | ../src/gui/backend/arranger_object.c:1930:1: =E5=82=99=E8=80=83: argument 1= of =E2=80=98arranger_object_get_track=E2=80=99 must be non-null 1930 | arranger_object_get_track (const ArrangerObject * const self) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/gui/backend/arranger_object.c:3092:3: =E3=82=A8=E3=83=A9=E3=83=BC: u= se of NULL =E2=80=98r1=E2=80=99 where non-null expected [CWE-476] [-Werror=3Danalyzer-null-argument] 3092 | arranger_selections_remove_object (sel, r1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ =E2=80=98arranger_object_unsplit=E2=80=99: event 1 | |../src/gui/backend/arranger_object.c:3021:1: | 3021 | arranger_object_unsplit ( | | ^~~~~~~~~~~~~~~~~~~~~~~ | | | | | (1) entry to =E2=80=98arranger_object_unsplit=E2=80=99 | =E2=80=98arranger_object_unsplit=E2=80=99: event 2 | |../src/gui/backend/arranger_object.c:3043:10: | 3043 | *obj =3D arranger_object_clone (r1); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (2) calling =E2=80=98arranger_object_clone=E2=80=99 f= rom =E2=80=98arranger_object_unsplit=E2=80=99 | +--> =E2=80=98arranger_object_clone=E2=80=99: events 3-6 | |../src/gui/backend/arranger_object.c:2568:1: | 2568 | arranger_object_clone (const ArrangerObject * self) | | ^~~~~~~~~~~~~~~~~~~~~ | | | | | (3) entry to =E2=80=98arranger_object_clone=E2=80=99 | 2569 | { | 2570 | g_return_val_if_fail (self, NULL); | | ~ ~~~~~~=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | | | |=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | | | | (5) ...to here=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 (6) =E2=80=98r1=E2=80=99 is NULL | | (4) following =E2=80=98false=E2=80=99 branch = (when =E2=80=98self=E2=80=99 is NULL)... | <------+ | =E2=80=98arranger_object_unsplit=E2=80=99: events 7-8 | |../src/gui/backend/arranger_object.c:3043:10: | 3043 | *obj =3D arranger_object_clone (r1); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (7) returning to =E2=80=98arranger_object_unsplit=E2= =80=99 from =E2=80=98arranger_object_clone=E2=80=99 |...... | 3047 | arranger_object_end_pos_setter (*obj, &r2->end_pos); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (8) calling =E2=80=98arranger_object_end_pos_setter=E2=80=99= from =E2=80=98arranger_object_unsplit=E2=80=99 | +--> =E2=80=98arranger_object_end_pos_setter=E2=80=99: events 9-10 | |../src/gui/backend/arranger_object.c:1752:1: | 1752 | arranger_object_end_pos_setter ( | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (9) entry to =E2=80=98arranger_object_end_pos_setter=E2= =80=99 |...... | 1756 | arranger_object_set_position ( | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (10) calling =E2=80=98arranger_object_set_position=E2= =80=99 from =E2=80=98arranger_object_end_pos_setter=E2=80=99 | 1757 | self, pos, ARRANGER_OBJECT_POSITION_TYPE_END, F_VALIDATE); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | +--> =E2=80=98arranger_object_set_position=E2=80=99: events 11-13 | |../src/gui/backend/arranger_object.c:675:1: | 675 | arranger_object_set_position ( | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (11) entry to =E2=80=98arranger_object_set_posit= ion=E2=80=99 |...... | 681 | g_return_if_fail (self && pos); | | ~=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 | | | | | | | (13) ...to = here | | (12) following =E2=80=98false=E2=80=99= branch (when =E2=80=98self=E2=80=99 is NULL)... | <------+ | =E2=80=98arranger_object_end_pos_setter=E2=80=99: event 14 | |../src/gui/backend/arranger_object.c:1756:3: | 1756 | arranger_object_set_position ( | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (14) returning to =E2=80=98arranger_object_end_pos_se= tter=E2=80=99 from =E2=80=98arranger_object_set_position=E2=80=99 | 1757 | self, pos, ARRANGER_OBJECT_POSITION_TYPE_END, F_VALIDATE); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | <------+ | =E2=80=98arranger_object_unsplit=E2=80=99: events 15-19 | |../src/gui/backend/arranger_object.c:3047:3: | 3047 | arranger_object_end_pos_setter (*obj, &r2->end_pos); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (15) returning to =E2=80=98arranger_object_unsplit=E2=80=99 = from =E2=80=98arranger_object_end_pos_setter=E2=80=99 |...... | 3056 | switch (r1->type) | | ~~~~~~ ~~~~~~~~ | | | | | | | (16) state of =E2=80=98INIT_VAL(r1_80(D))=E2=80=99= : =E2=80=98null=E2=80=99 -> =E2=80=98stop=E2=80=99 (NULL origin) | | (17) following =E2=80=98case 2:=E2=80=99 branch... | 3057 | { | 3058 | case ARRANGER_OBJECT_TYPE_REGION: | | ~~~~ | | | | | (18) ...to here |...... | 3061 | AutomationTrack * at =3D NULL; | | ~~ | | | | | (19) =E2=80=98r1=E2=80=99 is NULL | =E2=80=98arranger_object_unsplit=E2=80=99: events 20-21 | |../src/gui/backend/arranger_object.c:3066:9: | 3066 | track_add_region ( | | ^~~~~~~~~~~~~~~~~~ | | | | | (20) state of =E2=80=98INIT_VAL(r1_80(D))=E2=80=99: = =E2=80=98null=E2=80=99 -> =E2=80=98stop=E2=80=99 (NULL origin) | | (21) calling =E2=80=98arranger_object_get_track=E2=80= =99 from =E2=80=98arranger_object_unsplit=E2=80=99 | 3067 | arranger_object_get_track (r1), (ZRegion *) *obj, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 3068 | at, ((ZRegion *) r1)->id.lane_pos, F_GEN_NAME, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 3069 | fire_events); | | ~~~~~~~~~~~~ | +--> =E2=80=98arranger_object_get_track=E2=80=99: events 22-23 | |../src/gui/backend/arranger_object.c:1930:1: | 1930 | arranger_object_get_track (const ArrangerObject * const self) | | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (22) entry to =E2=80=98arranger_object_get_track=E2=80= =99 | 1931 | { | 1932 | g_return_val_if_fail (IS_ARRANGER_OBJECT (self), NULL= ); | |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 | | |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 (23) =E2=80=98r1=E2=80=99 is NULL | <------+ | =E2=80=98arranger_object_unsplit=E2=80=99: events 24-27 | |../src/gui/backend/arranger_object.c:3066:9: | 3066 | track_add_region ( | | ^~~~~~~~~~~~~~~~~~ | | | | | (24) returning to =E2=80=98arranger_object_unsplit=E2= =80=99 from =E2=80=98arranger_object_get_track=E2=80=99 | 3067 | arranger_object_get_track (r1), (ZRegion *) *obj, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 3068 | at, ((ZRegion *) r1)->id.lane_pos, F_GEN_NAME, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 3069 | fire_events); | | ~~~~~~~~~~~~ |...... | 3091 | g_return_if_fail (sel); | | ~ | | | | | (25) following =E2=80=98true=E2=80=99 branch (when = =E2=80=98sel=E2=80=99 is non-NULL)... | 3092 | arranger_selections_remove_object (sel, r1); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (26) ...to here | | (27) argument 2 (=E2=80=98r1=E2=80=99) NULL where non-null e= xpected | =E6=AC=A1=E3=81=AE=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB=E3=81=8B=E3=82=89=E8= =AA=AD=E3=81=BF=E8=BE=BC=E3=81=BF: ../inc/gui/backend/automation_selection= s.h:30, =E6=AC=A1=E3=81=8B=E3=82=89=E8=AA=AD=E3=81=BF=E8=BE=BC=E3=81=BF: = ../src/gui/backend/arranger_object.c:16: ../inc/gui/backend/arranger_selections.h:407:1: =E5=82=99=E8=80=83: argumen= t 2 of =E2=80=98arranger_selections_remove_object=E2=80=99 must be non-null 407 | arranger_selections_remove_object ( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: =E3=81=84=E3=81=8F=E3=81=A4=E3=81=8B=E3=81=AE=E8=AD=A6=E5=91=8A=E3=81= =AF=E3=82=A8=E3=83=A9=E3=83=BC=E3=81=A8=E3=81=97=E3=81=A6=E5=8F=96=E3=82=8A= =E6=89=B1=E3=82=8F=E3=82=8C=E3=81=BE=E3=81=99 ninja: build stopped: subcommand failed. ```=