Closed
Bug 373304
Opened 18 years ago
Closed 18 years ago
MozillaBuild environment crashes with Cygwin heap errors
Categories
(Firefox Build System :: MozillaBuild, task)
Firefox Build System
MozillaBuild
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: wicked, Assigned: benjamin)
Details
Attachments
(1 file)
(deleted),
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
MozillaBuild tools like sh and make keep crashing with Cygwin heap errors at random times. I have tested with both 1.0 and 1.1RC installations. Simple attemtp to start MozillaBuild with following error:
AllocationBase 0x0, BaseAddress 0x715B0000, RegionSize 0x140000, State 0x10000 D:\mozilla-build\msys\bin\rxvt.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 6
Looks like this bug is reported at http://sourceforge.net/tracker/index.php?func=detail&aid=1050920&group_id=2435&atid=102435 which seems to fit my symptoms.
Even though the related bug is open, updating msys-1.0.dll to one from msysCORE-1.0.11-2007.01.19-1.tar.bz2 snapshot seems to fix these crashes for me. Unfortunately the patched make provided with MozillaBuild doesn't work with this DLL and the latest make snapshot from msys doesn't compile NSS correctly (it gets bitten by the bug 345482).
So I would think simplest fix for this would be to provide updated msys.dll and your patched make compiled against that DLL.
Assignee | ||
Comment 1•18 years ago
|
||
I have no clue how upgrading msys core required changes in the libiconv build, but patching the build system a little was easier than trying to figure out automake.
Assignee: nobody → benjamin
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #258314 -
Flags: review?(ted.mielczarek)
Comment 2•18 years ago
|
||
Comment on attachment 258314 [details] [diff] [review]
Upgrade msys core, build make from sources, and upgrade cvs to 1.11.22, rev. 1
>Index: libiconv-build.patch
>Index: make-msys.patch
I'm a little disturbed by the random build system changes. Does this stuff not actually build on their trunk? Given the chaotic state of MSYS right now, is this unavoidable? I'd be happier without these, but if your sanity is at stake then it's not critical.
>Index: packageit.py
>===================================================================
>+# The msysCORE package must patch that provided here.
This sentence doesn't make sense. Is that supposed to be "match"?
r=me
Attachment #258314 -
Flags: review?(ted.mielczarek) → review+
Assignee | ||
Comment 3•18 years ago
|
||
The libiconv patch is really weird, and I don't understand what the problem is, so patching is a lot easier.
The make patch is unavoidable. config-guess does not want to add support for the msys build environment (different than the mingw build environment). So anyone who builds autoconfed software will have to apply a similar patch.
Fixed on trunk, with a corrected sentence.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 4•17 years ago
|
||
Mass re-assign of MozillaBuild bugs into mozilla.org:MozillaBuild
Component: Build Config → MozillaBuild
Product: Core → mozilla.org
Version: Trunk → other
Updated•17 years ago
|
QA Contact: build-config → mozillabuild
Updated•2 years ago
|
Product: mozilla.org → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•