Closed
Bug 869406
Opened 12 years ago
Closed 12 years ago
Crash in genrb at haveAliasData - Intermittent OSX "Segmentation fault: 11" while compiling ICU
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox24 fixed, firefox25 fixed, firefox26 fixed, firefox27 fixed, firefox-esr17 unaffected, firefox-esr24 fixed, b2g18 unaffected, b2g-v1.1hd unaffected, b2g-v1.2 fixed)
RESOLVED
FIXED
mozilla27
| Tracking | Status | |
|---|---|---|
| firefox24 | --- | fixed |
| firefox25 | --- | fixed |
| firefox26 | --- | fixed |
| firefox27 | --- | fixed |
| firefox-esr17 | --- | unaffected |
| firefox-esr24 | --- | fixed |
| b2g18 | --- | unaffected |
| b2g-v1.1hd | --- | unaffected |
| b2g-v1.2 | --- | fixed |
People
(Reporter: RyanVM, Assigned: glandium)
References
Details
(Keywords: intermittent-failure)
Attachments
(1 file)
|
1.68 KB,
patch
|
gps
:
review+
akeybl
:
approval-mozilla-aurora+
akeybl
:
approval-mozilla-beta+
akeybl
:
approval-mozilla-release+
akeybl
:
approval-mozilla-esr24+
|
Details | Diff | Splinter Review |
https://tbpl.mozilla.org/php/getParsedLog.php?id=22662396&tree=Mozilla-Inbound
OS X 10.7 mozilla-inbound build on 2013-05-06 19:39:38 PDT for push a28afac94104
slave: bld-lion-r5-002
DYLD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$DYLD_LIBRARY_PATH ../bin/genrb --usePoolBundle -k -R -i ./out/build/icudt50l -s /builds/slave/m-in-osx64-0000000000000000000/build/js/src/../../intl/icu/source/data/zone -d ./out/build/icudt50l/zone uz_Arab.txt
make[8]: *** [out/build/icudt50l/dayPeriods.res] Segmentation fault: 11
make[8]: *** Waiting for unfinished jobs....
make[7]: *** [all-recursive] Error 2
make[6]: *** [export] Error 2
make[5]: *** [default] Error 2
make[4]: *** [tier_js] Error 2
make[3]: *** [default] Error 2
make[2]: *** [realbuild] Error 2
make[1]: *** [realbuild] Error 2
make: *** [build] Error 2
Comment 1•12 years ago
|
||
If I'm reading this right, this is a segfault in a host tool that ICU builds and runs? If so this isn't actually a build config issue, it's just a bug in ICU.
| Reporter | ||
Comment 2•12 years ago
|
||
Comment 3•12 years ago
|
||
Comment 4•12 years ago
|
||
I get this occasionally as well - here's a Mac stack:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 genrb 0x0000000100152c60 haveAliasData(UErrorCode*) + 656 (ucnv_io.cpp:295)
1 genrb 0x0000000100153c85 ucnv_io_countKnownConverters_50 + 21 (ucnv_io.cpp:1094)
2 genrb 0x000000010013a815 initData + 21 (uinit.c:44)
3 genrb 0x000000010013a4d8 ucln_mutexedInit_50 + 88 (ucln_cmn.c:41)
4 genrb 0x000000010013a7f5 u_init_50 + 37 (uinit.c:58)
5 genrb 0x00000001000020bf main + 1391 (genrb.c:261)
6 genrb 0x00000001000016c4 start + 52
I guess we should file an upstream bug?
Flags: needinfo?(jwalden+bmo)
Summary: Intermittent OSX "Segmentation fault: 11" while compiling ICU → Crash in genrb at haveAliasData - Intermittent OSX "Segmentation fault: 11" while compiling ICU
Comment 5•12 years ago
|
||
I hit this twice today, once when building the JS shell and once when building Firefox.
| Assignee | ||
Comment 6•12 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #1)
> If I'm reading this right, this is a segfault in a host tool that ICU builds
> and runs? If so this isn't actually a build config issue, it's just a bug in
> ICU.
It's actually a very likely race condition in their build system. And it turns out we may not actually be enforcing -j1 on icu build as I'd expect.
| Assignee | ||
Comment 7•12 years ago
|
||
We were really using -j1 on windows, and kind of relying on $(GMAKE) making make ignore -jN because of how $(MAKE) is magic and how not using it can make it not pass flags to a child make. My guess is that this doesn't work properly on mac, and we're still doing parallel icu builds there. The logs suggest that very much, with the crashes refering to commands way before the last commands run for the icu build.
While touching that, only really enforce $(GMAKE) when running with pymake, so that the actually make running is used (no reason to switch to /another/ make if you have several installed ; i hit that problem when trying make 4.0).
Attachment #816173 -
Flags: review?(ted)
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Comment 8•12 years ago
|
||
Intl landed in Firefox 22 (supposedly via bug 769872), it'll be fantastic to backport this build tweak back to the branches because it causes intermittent issues with bisection through autoBisect for the fuzzers, along with build issues on TBPL.
status-b2g18:
--- → unaffected
status-firefox24:
--- → affected
status-firefox25:
--- → affected
status-firefox26:
--- → affected
status-firefox27:
--- → affected
status-firefox-esr17:
--- → unaffected
status-firefox-esr24:
--- → affected
Updated•12 years ago
|
Attachment #816173 -
Flags: review?(ted) → review+
| Assignee | ||
Comment 9•12 years ago
|
||
Comment 10•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Comment 11•12 years ago
|
||
Mike, do you mind nominating this for backport to the branches? This will help future builds of branch binaries. Thanks!
Flags: needinfo?(jwalden+bmo) → needinfo?(mh+mozilla)
| Assignee | ||
Comment 12•12 years ago
|
||
(In reply to Gary Kwong [:gkw] [:nth10sd] (still catching up on bugmail) from comment #11)
> Mike, do you mind nominating this for backport to the branches? This will
> help future builds of branch binaries. Thanks!
It's not needed, actually. ICU was only built on nightly builds. See http://hg.mozilla.org/releases/mozilla-aurora/file/75b0b968f3ed/configure.in#l9303
In fact, it wasn't even enabled on nightlies before 26 (m-r and m-b don't have the code linked above)
It is, however, enabled on standalone js builds, but I doubt it's going to be that much of a problem.
Flags: needinfo?(mh+mozilla)
Comment 13•12 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #12)
> It is, however, enabled on standalone js builds, but I doubt it's going to
> be that much of a problem.
autoBisect works on standalone js builds and this is precisely why I'd prefer for this to be on the branches.
Flags: needinfo?(mh+mozilla)
| Assignee | ||
Updated•12 years ago
|
Flags: needinfo?(mh+mozilla)
| Assignee | ||
Comment 14•12 years ago
|
||
Comment on attachment 816173 [details] [diff] [review]
Really enforce non-parallel build of ICU
[Approval Request Comment]
Bug caused by bug 724533
User impact if declined: see comment 8
Testing completed (on m-c, etc.): Landed on m-i a couple days ago.
Risk to taking this patch (and alternatives if risky): It doesn't affect firefox builds, as the feature it touches is only enabled on standalone js builds. Even for those, this is only a change in what is used to invoke its build system, which, in the worst case scenario, would blow up visibly on standalone js builds (as opposed to breaking the build in subtle hidden ways).
String or IDL/UUID changes made by this patch: None
Attachment #816173 -
Flags: approval-mozilla-release?
Attachment #816173 -
Flags: approval-mozilla-esr24?
Attachment #816173 -
Flags: approval-mozilla-beta?
Attachment #816173 -
Flags: approval-mozilla-aurora?
Comment 15•12 years ago
|
||
fwiw, not really needed on release branch I think, since the switchover is going to happen in ~2 weeks, we can live without it there.
Comment 16•12 years ago
|
||
Comment on attachment 816173 [details] [diff] [review]
Really enforce non-parallel build of ICU
Sounds like a promise of no risk :). We'll take it.
Attachment #816173 -
Flags: approval-mozilla-release?
Attachment #816173 -
Flags: approval-mozilla-release+
Attachment #816173 -
Flags: approval-mozilla-esr24?
Attachment #816173 -
Flags: approval-mozilla-esr24+
Attachment #816173 -
Flags: approval-mozilla-beta?
Attachment #816173 -
Flags: approval-mozilla-beta+
Attachment #816173 -
Flags: approval-mozilla-aurora?
Attachment #816173 -
Flags: approval-mozilla-aurora+
| Reporter | ||
Comment 17•12 years ago
|
||
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•