The default bug view has changed. See this FAQ.

Cannot run Windows jsshell nightlies: mozutil.dll missing

RESOLVED FIXED in mozilla11

Status

()

Core
Build Config
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: Ben Lerner, Assigned: Jon Buckley)

Tracking

7 Branch
mozilla11
x86_64
Windows 7
Points:
---
Bug Flags:
in-testsuite ?

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Build ID: 20110928134238

Steps to reproduce:

From bug 686305 comment 2, I tried downloading jsshell-win32.zip and jsshell-win64-x86_64.zip, tried extracting each of them into their own subdirectory, and tried running js.exe.  Neither one worked, and gave the error "the program can't start because mozutils.dll is missing from [my] computer.  Try reinstalling the program to fix this problem.".  What am I missing, and where can I find mozutils.dll if in fact I need it?
Needs a packaging fix:
http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/installer/packager.mk#92
Blocks: 677501
Assignee: nobody → david.humphrey
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
There are two options, really: either include mozutils.dll, or stop linking jsshell to it. Do we have a reason to specifically want jsshell to use jemalloc?
Note: with the landing of bug 414946, the same issue will hit mac, too. Whichever route we take, we can remove the #ifdef in packager.mk, zip will only complain about missing file, but won't fail (iirc its behaviour)
I suspect Spidermonkey hackers will in fact want a JS shell linked with jemalloc.
(Assignee)

Comment 5

5 years ago
Created attachment 577705 [details] [diff] [review]
Add mozutils library to jsshell distributable

I spoke to David, he's fine with me taking this bug.

This patch simply adds the mozutils library to the archive file containing jsshell.
Assignee: david.humphrey → jon
Attachment #577705 - Flags: review?(ted.mielczarek)
Attachment #577705 - Flags: review?(ted.mielczarek) → review+
(Assignee)

Comment 6

5 years ago
I built a try-server version at https://tbpl.mozilla.org/?tree=Try&rev=2b9b32464d81 and tested Linux, Mac OS X, and Windows jsshells and they all run without asking for mozutils
Keywords: checkin-needed
https://hg.mozilla.org/integration/mozilla-inbound/rev/af91b8af10dd
Flags: in-testsuite?
Keywords: checkin-needed
Target Milestone: --- → mozilla11
https://hg.mozilla.org/mozilla-central/rev/af91b8af10dd
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Duplicate of this bug: 703381

Comment 10

5 years ago
Try run for 2b9b32464d81 is complete.
Detailed breakdown of the results available here:
    https://tbpl.mozilla.org/?tree=Try&rev=2b9b32464d81
Results (out of 15 total builds):
    success: 13
    failure: 2
Builds available at http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/jon@jbuckley.ca-2b9b32464d81
You need to log in before you can comment on or make changes to this bug.