Skip to content

Two PHP scenarios segfault during compilation #15

@joerenzullo

Description

@joerenzullo

The two PHP scenarios I encountered this error on were 2011-04-30-9c285fddbb-93f65cdeac and 2011-02-19-356b619487-a3a5157286.

The same failure message appeared on both a desktop and a server; the only difference in the error message was the number of cores used by make.

It's unrelated to the other PHP issue that resulted from the AUFS symlink problem - both systems are using overlay2 as a storage driver.

Error message below - any advice you can provide would be much appreciated!

-Joe

/bin/sh: line 1: 13775 Segmentation fault (core dumped) if test -x "/experiment/src/sapi/cli/php"; then /experiment/src/build/shtool echo -n -- "/experiment/src/sapi/cli/php -n"; if test "x" != "x"; then /experiment/src/build/shtool echo -n -- " -d extension_dir=/experiment/src/modules"; for i in bz2 zlib phar; do if test -f "/experiment/src/modules/$i.la"; then . /experiment/src/modules/$i.la; /experiment/src/build/shtool echo -n -- " -d extension=$dlname"; fi; done; fi; else /experiment/src/build/shtool echo -n -- "/experiment/src/sapi/cli/php"; fi; -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d phar.readonly=0 -d 'safe_mode=0' /experiment/src/ext/phar/build_precommand.php > ext/phar/phar.php

make: *** [ext/phar/phar.php] Error 139

Traceback (most recent call last):
File "/experiment/prepare.py", line 81, in

cmd('cd /experiment/src && make -j{}'.format(multiprocessing.cpu_count()))

File "/experiment/prepare.py", line 45, in cmd

subprocess.check_call(cmd, shell=True)

File "/usr/lib/python2.7/subprocess.py", line 540, in check_call

raise CalledProcessError(retcode, cmd)

subprocess.CalledProcessError
: Command 'cd /experiment/src && make -j4' returned non-zero exit status 2

Traceback (most recent call last):
File "/home/joe/.local/bin/bugzoo", line 11, in
sys.exit(main())
File "/home/joe/.local/lib/python3.6/site-packages/bugzoo/cli/init.py", line 541, in main
args.func(args)
File "/home/joe/.local/lib/python3.6/site-packages/bugzoo/cli/init.py", line 489, in
cmd.set_defaults(func=lambda args: build_bug(rbox, args.bug, args.force))
File "/home/joe/.local/lib/python3.6/site-packages/bugzoo/cli/init.py", line 103, in build_bug
rbox.bugs.build(bug, force=force)
File "/home/joe/.local/lib/python3.6/site-packages/bugzoo/mgr/bug.py", line 82, in build
quiet=quiet)
File "/home/joe/.local/lib/python3.6/site-packages/bugzoo/mgr/build.py", line 124, in build
raise ImageBuildFailed(name, log)
bugzoo.exceptions.ImageBuildFailed: failed to build Docker image: squareslab/manybugs:php-2011-04-30-9c285fddbb-93f65cdeac

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