Closed Bug 1762302 Opened 2 years ago Closed 2 years ago

Perma Windows MinGW [tier 2] /builds/worker/checkouts/gecko/toolkit/crashreporter/breakpad-client/windows/crash_generation/temporary_stack.cc:65:56: error: no viable conversion from 'const (lambda at /builds/worker/checkouts/gecko/toolkit/crashreporter/br

Categories

(Toolkit :: Crash Reporting, defect, P5)

defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox-esr91 --- unaffected
firefox98 --- unaffected
firefox99 --- unaffected
firefox100 --- fixed

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Filed by: mlaza [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=372857770&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/LG4GmZlhQEy1HUBzrKzLCQ/runs/0/artifacts/public/logs/live_backing.log


[task 2022-03-30T18:43:21.434Z] 18:43:21     INFO -  tools/profiler/shared-libraries-win32.o
[task 2022-03-30T18:43:21.435Z] 18:43:21     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/tools/profiler'
[task 2022-03-30T18:43:21.471Z] 18:43:21     INFO -  gmake[4]: Entering directory '/builds/worker/workspace/obj-build/toolkit/crashreporter/breakpad-windows-libxul'
[task 2022-03-30T18:43:21.475Z] 18:43:21     INFO -  /builds/worker/fetches/sccache/sccache /builds/worker/fetches/clang/bin/i686-w64-mingw32-clang++ -std=gnu++17 -o temporary_stack.o -c  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -ftrivial-auto-var-init=pattern -DDEBUG=1 -DUNICODE -DUNICODE_ -DBREAKPAD_NO_TERMINATE_THREAD -DWINAPI_NO_BUNDLED_LIBRARIES -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API -I/builds/worker/checkouts/gecko/toolkit/crashreporter/breakpad-windows-libxul -I/builds/worker/workspace/obj-build/toolkit/crashreporter/breakpad-windows-libxul -I/builds/worker/checkouts/gecko/toolkit/crashreporter/breakpad-client -I/builds/worker/checkouts/gecko/toolkit/crashreporter/google-breakpad/src -I/builds/worker/workspace/obj-build/dist/include -I/builds/worker/workspace/obj-build/dist/include/nspr -I/builds/worker/workspace/obj-build/dist/include/nss -DMOZILLA_CLIENT -include /builds/worker/workspace/obj-build/mozilla-config.h -Qunused-arguments -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wdeprecated-this-capture -Wempty-body -Wformat-type-confusion -Wignored-qualifiers -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wno-error=tautological-type-limit-compare -Wunreachable-code -Wunreachable-code-return -Wunused-but-set-parameter -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wno-range-loop-analysis -Wc++2a-compat -Wcomma -Wenum-compare-conditional -Wimplicit-fallthrough -Wstring-conversion -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wno-error=free-nonheap-object -Wno-error=return-std-move -Wno-error=atomic-alignment -Wno-error=deprecated-copy -Wno-unknown-pragmas -Wno-unused-function -Wno-conversion-null -Wno-switch -Wno-enum-compare -Wno-gnu-zero-variadic-macro-arguments -Wno-psabi -Wthread-safety -Wno-unknown-warning-option -fno-sized-deallocation -fno-aligned-new -fms-extensions -fcrash-diagnostics-dir=/builds/worker/artifacts -D_HAS_EXCEPTIONS=0 -fno-exceptions -Wno-incompatible-ms-struct -mstackrealign -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pipe -g -gcodeview -O2 -fno-omit-frame-pointer -funwind-tables -fno-strict-aliasing  -MD -MP -MF .deps/temporary_stack.o.pp   /builds/worker/checkouts/gecko/toolkit/crashreporter/breakpad-client/windows/crash_generation/temporary_stack.cc
[task 2022-03-30T18:43:21.476Z] 18:43:21    ERROR -  /builds/worker/checkouts/gecko/toolkit/crashreporter/breakpad-client/windows/crash_generation/temporary_stack.cc:65:56: error: no viable conversion from 'const (lambda at /builds/worker/checkouts/gecko/toolkit/crashreporter/breakpad-client/windows/crash_generation/temporary_stack.cc:57:24)' to 'LPFIBER_START_ROUTINE' (aka 'void (*)(void *) __attribute__((stdcall))')
[task 2022-03-30T18:43:21.476Z] 18:43:21     INFO -        0, reserved_stack_size, FIBER_FLAG_FLOAT_SWITCH, adaptor, &args);
[task 2022-03-30T18:43:21.476Z] 18:43:21     INFO -                                                         ^~~~~~~
[task 2022-03-30T18:43:21.477Z] 18:43:21     INFO -  /builds/worker/checkouts/gecko/toolkit/crashreporter/breakpad-client/windows/crash_generation/temporary_stack.cc:57:24: note: candidate function
[task 2022-03-30T18:43:21.477Z] 18:43:21     INFO -    auto const adaptor = [](void* v) {
[task 2022-03-30T18:43:21.477Z] 18:43:21     INFO -                         ^
[task 2022-03-30T18:43:21.478Z] 18:43:21     INFO -  /builds/worker/fetches/clang/bin/../i686-w64-mingw32/include/winbase.h:1192:133: note: passing argument to parameter 'lpStartAddress' here
[task 2022-03-30T18:43:21.478Z] 18:43:21     INFO -    WINBASEAPI LPVOID WINAPI CreateFiberEx (SIZE_T dwStackCommitSize, SIZE_T dwStackReserveSize, DWORD dwFlags, LPFIBER_START_ROUTINE lpStartAddress, LPVOID lpParameter);
[task 2022-03-30T18:43:21.479Z] 18:43:21     INFO -                                                                                                                                      ^
[task 2022-03-30T18:43:21.479Z] 18:43:21     INFO -  1 error generated.
[task 2022-03-30T18:43:21.479Z] 18:43:21    ERROR -  gmake[4]: *** [/builds/worker/checkouts/gecko/config/rules.mk:658: temporary_stack.o] Error 1
[task 2022-03-30T18:43:21.479Z] 18:43:21     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/toolkit/crashreporter/breakpad-windows-libxul'
[task 2022-03-30T18:43:21.479Z] 18:43:21     INFO -  gmake[4]: *** Waiting for unfinished jobs....

:rkraesig, since you are the author of the regressor, bug 1758654, could you take a look?
For more information, please visit auto_nag documentation.

Flags: needinfo?(rkraesig)

i686-w64-mingw32-clang++ doesn't seem to be performing the stateless-lambda-to-function-pointer conversion for some reason. This is probably not intermittent.

And of course this didn't show up on mach try fuzzy -q cppunit. Looks like it's revert time again. :|

Flags: needinfo?(rkraesig)
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Has Regression Range: --- → yes

Set release status flags based on info from the regressing bug 1758654

You need to log in before you can comment on or make changes to this bug.