Closed
Bug 1022449
Opened 11 years ago
Closed 11 years ago
c-c Windows debug builds busted with "c:\PROGRA~2\MICROS~2.0\vc\include\typeinfo(157) : error C2504: 'exception' : base class undefined" and more
Categories
(Thunderbird :: Build Config, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: RyanVM, Unassigned)
References
Details
(Keywords: intermittent-failure)
My first guess is that this is related to Ehsan's recent clang-cl patches. Anyway, c-c is closed. Fun times.
https://tbpl.mozilla.org/php/getParsedLog.php?id=41328551&tree=Thunderbird-Trunk
TB WINNT 5.2 comm-central leak test build on 2014-06-08 19:16:42 PDT for push 4b8ed969933d
slave: b-2008-ix-0077
nsWinTraceMalloc.obj
c:\builds\moz2_slave\tb-c-cen-w32-d-000000000000000\build\mozilla\config\rules.mk:971:0$ mozbuild.action.cl main cl -FonsTraceMalloc.obj -c -DMOZ_NO_MOZALLOC -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DNO_NSPR_10_SUPPORT -Ic:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mozilla/tools/trace-malloc/lib -I. -I../../../dist/include -Ic:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/objdir-tb/mozilla/dist/include/nspr -Ic:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/objdir-tb/mozilla/dist/include/nss -I/c/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/objdir-tb/mozilla/dist/include -I/c/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mozilla/modules/zlib/src -MDd -FI ../../../dist/include/mozilla-config.h -DMOZILLA_CLIENT -TC -nologo -D_HAS_EXCEPTIONS=0 -W3 -Gy -wd4244 -wd4819 -we4553 -DDEBUG -DTRACING -Zi -O1 -Oi -Oy- -Fdgenerated.pdb c:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c
c:\builds\moz2_slave\tb-c-cen-w32-d-000000000000000\build\mozilla\config\rules.mk:1003:0$ mozbuild.action.cl main cl -FonsTypeInfo.obj -c -DMOZ_NO_MOZALLOC -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DNO_NSPR_10_SUPPORT -Ic:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mozilla/tools/trace-malloc/lib -I. -I../../../dist/include -Ic:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/objdir-tb/mozilla/dist/include/nspr -Ic:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/objdir-tb/mozilla/dist/include/nss -I/c/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/objdir-tb/mozilla/dist/include -I/c/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mozilla/modules/zlib/src -MDd -FI ../../../dist/include/mozilla-config.h -DMOZILLA_CLIENT -wd4099 -TP -nologo -D_HAS_EXCEPTIONS=0 -W3 -Gy -wd4251 -wd4244 -wd4345 -wd4351 -wd4482 -wd4800 -wd4819 -we4553 -GR- -DDEBUG -DTRACING -Zi -O1 -Oi -Oy- -Fdgenerated.pdb c:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mozilla/tools/trace-malloc/lib/nsTypeInfo.cpp
c:\builds\moz2_slave\tb-c-cen-w32-d-000000000000000\build\mozilla\config\rules.mk:1003:0$ mozbuild.action.cl main cl -FonsDebugHelpWin32.obj -c -DMOZ_NO_MOZALLOC -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DNO_NSPR_10_SUPPORT -Ic:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mozilla/tools/trace-malloc/lib -I. -I../../../dist/include -Ic:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/objdir-tb/mozilla/dist/include/nspr -Ic:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/objdir-tb/mozilla/dist/include/nss -I/c/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/objdir-tb/mozilla/dist/include -I/c/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mozilla/modules/zlib/src -MDd -FI ../../../dist/include/mozilla-config.h -DMOZILLA_CLIENT -wd4099 -TP -nologo -D_HAS_EXCEPTIONS=0 -W3 -Gy -wd4251 -wd4244 -wd4345 -wd4351 -wd4482 -wd4800 -wd4819 -we4553 -GR- -DDEBUG -DTRACING -Zi -O1 -Oi -Oy- -Fdgenerated.pdb c:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mozilla/tools/trace-malloc/lib/nsDebugHelpWin32.cpp
c:\builds\moz2_slave\tb-c-cen-w32-d-000000000000000\build\mozilla\config\rules.mk:1003:0$ mozbuild.action.cl main cl -FonsWinTraceMalloc.obj -c -DMOZ_NO_MOZALLOC -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DNO_NSPR_10_SUPPORT -Ic:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mozilla/tools/trace-malloc/lib -I. -I../../../dist/include -Ic:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/objdir-tb/mozilla/dist/include/nspr -Ic:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/objdir-tb/mozilla/dist/include/nss -I/c/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/objdir-tb/mozilla/dist/include -I/c/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mozilla/modules/zlib/src -MDd -FI ../../../dist/include/mozilla-config.h -DMOZILLA_CLIENT -wd4099 -TP -nologo -D_HAS_EXCEPTIONS=0 -W3 -Gy -wd4251 -wd4244 -wd4345 -wd4351 -wd4482 -wd4800 -wd4819 -we4553 -GR- -DDEBUG -DTRACING -Zi -O1 -Oi -Oy- -Fdgenerated.pdb c:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mozilla/tools/trace-malloc/lib/nsWinTraceMalloc.cpp
nsTypeInfo.cpp
c:\PROGRA~2\MICROS~2.0\vc\include\typeinfo(157) : error C2504: 'exception' : base class undefined
c:\PROGRA~2\MICROS~2.0\vc\include\typeinfo(161) : error C2614: 'std::bad_cast' : illegal member initialization: 'exception' is not a base or member
c:\PROGRA~2\MICROS~2.0\vc\include\typeinfo(178) : error C2504: 'exception' : base class undefined
c:\PROGRA~2\MICROS~2.0\vc\include\typeinfo(182) : error C2614: 'std::bad_typeid' : illegal member initialization: 'exception' is not a base or member
c:\builds\moz2_slave\tb-c-cen-w32-d-000000000000000\build\mozilla\config\rules.mk:1003:0: command 'mozbuild.action.cl main cl -FonsTypeInfo.obj -c -DMOZ_NO_MOZALLOC -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DNO_NSPR_10_SUPPORT -Ic:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mozilla/tools/trace-malloc/lib -I. -I../../../dist/include -Ic:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/objdir-tb/mozilla/dist/include/nspr -Ic:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/objdir-tb/mozilla/dist/include/nss -I/c/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/objdir-tb/mozilla/dist/include -I/c/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mozilla/modules/zlib/src -MDd -FI ../../../dist/include/mozilla-config.h -DMOZILLA_CLIENT -wd4099 -TP -nologo -D_HAS_EXCEPTIONS=0 -W3 -Gy -wd4251 -wd4244 -wd4345 -wd4351 -wd4482 -wd4800 -wd4819 -we4553 -GR- -DDEBUG -DTRACING -Zi -O1 -Oi -Oy- -Fdgenerated.pdb c:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mozilla/tools/trace-malloc/lib/nsTypeInfo.cpp' failed, return code 2
<tools_trace-malloc_lib.lib.desc>: Found error
Native command 'mozbuild.action.cl main' returned value '2'
Flags: needinfo?(ehsan)
| Reporter | ||
Updated•11 years ago
|
Summary: c-c Windows builds busted with "c:\PROGRA~2\MICROS~2.0\vc\include\typeinfo(157) : error C2504: 'exception' : base class undefined" and more → c-c Windows debug builds busted with "c:\PROGRA~2\MICROS~2.0\vc\include\typeinfo(157) : error C2504: 'exception' : base class undefined" and more
Comment 1•11 years ago
|
||
Looks like it is hitting it in the old trace-malloc code, that Firefox is no longer building & we're no longer using:
http://mxr.mozilla.org/comm-central/search?string=trace-malloc&find=.mozconfig
Hence, we should just stop building it.
I'll get a patch sorted later unless someone beats me to it.
Comment 2•11 years ago
|
||
Ported bug 1013014 to hopefully fix this, cset is here:
https://hg.mozilla.org/comm-central/rev/54d3f853c2f8
| Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 4•11 years ago
|
||
(In reply to Mark Banner (:standard8) from comment #2)
> Ported bug 1013014 to hopefully fix this, cset is here:
>
> https://hg.mozilla.org/comm-central/rev/54d3f853c2f8
I believe this has fixed it. There's packaging errors that I'm fixing elsewhere.
Flags: needinfo?(ehsan)
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 5•11 years ago
|
||
I saw this too late, sorry about that!
Mark, any idea what the underlying problem was? I suspect it's this hunk <https://hg.mozilla.org/mozilla-central/rev/57f5fad40670#l2.56> but I'm not sure.
Flags: needinfo?(standard8)
Comment 6•11 years ago
|
||
Sorry Ehsan, I didn't play around with it further, I was just fixing the bustage on TB (and seeing as we probably should have stopped building trace malloc a while ago, that was the simplest thing).
Flags: needinfo?(standard8)
Comment 7•11 years ago
|
||
That's OK. Nobody else seems to have hit anything similar to this yet...
Comment 8•11 years ago
|
||
Filed bug 1055675 for fixing the underlying issue.
You need to log in
before you can comment on or make changes to this bug.
Description
•