Closed Bug 762956 Opened 12 years ago Closed 12 years ago

building QA Notice: CrossProcessMutex_unimplemented.cpp:75:10: converting to non-pointer type 'mozilla::CrossProcessMutexHandle' from NULL

Categories

(Firefox :: Untriaged, defect)

13 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 784776

People

(Reporter: mirraz1, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0
Build ID: 20120607002113

Steps to reproduce:

QA Notice:
mozilla-release/ipc/glue/CrossProcessMutex_unimplemented.cpp:75:10: warning: converting to non-pointer type 'mozilla::CrossProcessMutexHandle' from NULL
Need clarification on where this happens. Can you give reproduction steps here?
I built firefox for my Gentoo:
# USE="-* alsa crashreporter custom-optimization dbus ipc jit libnotify minimal pgo startup-notification webm wifi" LINGUAS="ru" emerge -v =www-client/firefox-13.0

Here is about:buildconfig :

Build platform
target
x86_64-pc-linux-gnu

Build tools
Compiler 	Version 	Compiler flags:

x86_64-pc-linux-gnu-gcc 	gcc version 4.5.3 (Gentoo 4.5.3-r2 p1.2, pie-0.4.7) 	-Wall -W -Wno-unused -Wpointer-arith -Wdeclaration-after-statement -Wcast-align -W -march=native -pipe -mno-avx -fno-strict-aliasing -ffunction-sections -fdata-sections -pthread -pipe -DNDEBUG -DTRIMMED -g -fprofile-use -fprofile-correction -Wcoverage-mismatch -O2 -fomit-frame-pointer

x86_64-pc-linux-gnu-g++ 	gcc version 4.5.3 (Gentoo 4.5.3-r2 p1.2, pie-0.4.7) 	-fno-rtti -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -march=native -pipe -mno-avx -fno-exceptions -fno-strict-aliasing -std=gnu++0x -ffunction-sections -fdata-sections -pthread -pipe -DNDEBUG -DTRIMMED -g -fprofile-use -fprofile-correction -Wcoverage-mismatch -O2 -fomit-frame-pointer

Configure arguments

--enable-application=browser --enable-optimize=-O2 --with-system-jpeg --with-system-zlib --enable-pango --enable-svg --enable-system-cairo --disable-installer --disable-pedantic --disable-updater --disable-strip --disable-strip-libs --disable-install-strip --enable-single-profile --disable-profilesharing --disable-profilelocking --enable-default-toolkit=cairo-gtk2 --enable-official-branding --enable-ogg --enable-wave --enable-crashreporter --enable-dbus --disable-debug --disable-tests --disable-debugger-info-modules --enable-ipc --enable-libnotify --enable-startup-notification --disable-system-sqlite --enable-necko-wifi --enable-webm --with-system-libvpx=/usr --enable-tracejit --with-system-nspr --with-nspr-prefix=/usr --with-system-nss --with-nss-prefix=/usr --x-includes=/usr/include --x-libraries=/usr/lib64 --with-system-libevent=/usr --enable-system-hunspell --disable-gnomevfs --disable-gnomeui --enable-gio --enable-storage --enable-places --enable-places_bookmarks --enable-oji --enable-mathml --disable-mochitest --prefix=/usr --libdir=/usr/lib64 --disable-gconf --disable-mailnews --enable-canvas --enable-safe-browsing --with-system-png --enable-system-ffi --with-default-mozilla-five-home=/usr/lib64/firefox --target=x86_64-pc-linux-gnu --disable-system-sqlite --enable-methodjit --enable-tracejit --enable-extensions=default
I can confirm this bug.
Message:
QA Notice: Package triggers severe warnings which indicate that it may exhibit random runtime failures.
/var/tmp/portage/www-client/firefox-13.0/work/mozilla-release/ipc/glue/CrossProcessMutex_unimplemented.cpp:75:10: warning: converting to non-pointer type  mozilla::CrossProcessMutexHandle' from NULL

/var/tmp/portage/www-client/firefox-13.0/work/mozilla-release/ipc/glue/CrossProcessMutex_unimplemented.cpp:75:10: warning: converting to non-pointer type 'mozilla::CrossProcessMutexHandle' from NULL


I use Gentoo on the Build Platform:
x86_64-pc-linux-gnu
USE-Flags="alsa crashreporter dbus ipc jit libnotify minimal pgo startup-notification webm wifi"

GCC-Version: x86_64-pc-linux-gnu-gcc gcc version 4.5.3 (Gentoo 4.5.3-r2 p1.2, pie-0.4.7) 
Compiler flags gcc:
-Wall -W -Wno-unused -Wpointer-arith -Wdeclaration-after-statement -Wcast-align -W -pipe -mno-avx -fno-strict-aliasing -ffunction-sections -fdata-sections -pthread -pipe -DNDEBUG -DTRIMMED -g -fprofile-use -fprofile-correction -Wcoverage-mismatch -O3 -fomit-frame-pointer

G++-Version: x86_64-pc-linux-gnu-g++ gcc version 4.5.3 (Gentoo 4.5.3-r2 p1.2, pie-0.4.7) 
Compiler flags g++:
-fno-rtti -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pipe -mno-avx -fno-exceptions -fno-strict-aliasing -std=gnu++0x -ffunction-sections -fdata-sections -pthread -pipe -DNDEBUG -DTRIMMED -g -fprofile-use -fprofile-correction -Wcoverage-mismatch -O3 -fomit-frame-pointer 

Configure arguments:
--enable-application=browser --enable-optimize --with-system-jpeg --with-system-zlib --enable-pango --enable-svg --enable-system-cairo --disable-installer --disable-pedantic --disable-updater --disable-strip --disable-strip-libs --disable-install-strip --enable-single-profile --disable-profilesharing --disable-profilelocking --enable-default-toolkit=cairo-gtk2 --enable-official-branding --enable-ogg --enable-wave --enable-crashreporter --enable-dbus --disable-debug --disable-tests --disable-debugger-info-modules --enable-ipc --enable-libnotify --enable-startup-notification --disable-system-sqlite --enable-necko-wifi --enable-webm --with-system-libvpx=/usr --enable-tracejit --with-system-nspr --with-nspr-prefix=/usr --with-system-nss --with-nss-prefix=/usr --x-includes=/usr/include --x-libraries=/usr/lib64 --with-system-libevent=/usr --enable-system-hunspell --disable-gnomevfs --disable-gnomeui --enable-gio --enable-storage --enable-places --enable-places_bookmarks --enable-oji --enable-mathml --disable-mochitest --prefix=/usr --libdir=/usr/lib64 --disable-gconf --disable-mailnews --enable-canvas --enable-safe-browsing --with-system-png --enable-system-ffi --with-default-mozilla-five-home=/usr/lib64/firefox --target=x86_64-pc-linux-gnu --disable-system-sqlite --enable-methodjit --enable-tracejit --enable-extensions=default
firefox-16.0.2

QA Notice: Package triggers severe warnings which indicate that it may exhibit random runtime failures.
mozilla-release/ipc/glue/CrossProcessMutex_unimplemented.cpp:43:10: warning: converting to non-pointer type 'mozilla::CrossProcessMutexHandle' from NULL
mozilla-release/gfx/layers/opengl/ImageLayerOGL.cpp:991:21: warning: converting to non-pointer type 'mozilla::gl::SharedTextureHandle' from NULL
Thanks for the report, but please be a little less cryptic. Not everyone knows that Gentoo labels build warnings "QA Notice".

CrossProcessMutex_unimplemented.cpp was fixed to use 0 instead of NULL in 784776.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.