Skip to content

Crash in Python27.dll #7

Description

@dryeo

After updating to Python3, the Mozilla mach script now crashes at the beginning.

Killed by SIGSEGV
pid=0x323f ppid=0x3227 tid=0x0001 slot=0x00da pri=0x0200 mc=0x0001 ps=0x0010
W:\USR\BIN\PYTHON2.7.EXE
cs:eip=0006:0000001e      ss:esp=b17b0280:1f380ba5      ebp=1cbc0053
 ds=0000      es=0000      fs=0012e954      gs=0000     efl=0012e994
eax=0012ea48 ebx=1ffc9d7c ecx=0012ea5c edx=0012ea80 edi=1cbb34e0 esi=0012ff6c
Creating 323F_01.TRP
 0:07.43 W:/USR/BIN/make.EXE -f client.mk MOZ_PARALLEL_BUILD=5 -s
 0:19.51 client.mk:202: y:/work/cc45-git/mozilla/obj-fb/.mozconfig.mk: No such file or directory
 0:32.26 Clobber not needed.
 1:06.71 Adding client.mk options from y:/work/cc45-git/mozilla/.mozconfig:
 1:06.71     MOZ_CO_PROJECT=browser
 1:06.71     AUTOCONF=autoconf213
 1:06.71     MOZ_MAKE_FLAGS=-j5
 1:06.71     MOZ_OBJDIR=y:/work/cc45-git/mozilla/obj-fb
 1:06.71     OBJDIR=y:/work/cc45-git/mozilla/obj-fb
 1:06.71     FOUND_MOZCONFIG=y:/work/cc45-git/mozilla/.mozconfig
 1:18.53 cd y:/work/cc45-git/mozilla/obj-fb
 1:18.53 Y:/work/cc45-git/mozilla/configure
 1:29.79 Adding configure options from y:/work/cc45-git/mozilla/.mozconfig

build completes to completion

96:01.44 Packaging quitter@mozilla.org.xpi...
96:04.27 105 compiler warnings present.
Error running mach:

    ['-l', 'build_mach_ff.log', 'build']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.

You should consider filing a bug for this issue.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

IOError: [Errno 32] Broken pipe

  File "Y:/work/cc45-git/mozilla/python/mozbuild/mozbuild/mach_commands.py", line 429, in build
    monitor.finish(record_usage=status==0)
  File "Y:/work/cc45-git/mozilla/python/mozbuild/mozbuild/controller/building.py", line 236, in finish
    self.resources.stop()
  File "Y:/work/cc45-git/mozilla/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py", line 281, in stop
    self._pipe.send(('terminate'))
Exception IOError: (32, 'Broken pipe') in <bound method SystemResourceMonitor.__del__ of <mozsystemmonitor.resourcemonitor.SystemResourceMonitor object at 0x2144c18c>> ignored

Usually at the end there is a message about how long the build took and how to look at resource usage and a suggestion to take the new binary for a test run using "mach run"

This should be reproducible on the Bitwise Mozilla tree by simply doing "sh mach build 2>&1 | tee mach.log" in the Mozilla root directory. The build will fail but the crash should happen. I believe it will use a default mozconfig but if needed I can supply one.
trp file hopefully attached

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions