Project

General

Profile

Bug #11274

Crash in elf.so during REQUIRED_PACKAGES target

Added by Michal Nowak about 2 months ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
PKG (Image Packaging System)
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

While generating REQUIRED_PACKAGES for guile 2.2.5 Python 2.7.16-2018.0.0.0 is terminated with SIGFPE (Arithmetic Exception).

$ /usr/bin/pkgdepend generate -m -d /export/home/newman/ws/oi-userland/components/library/guile/build/prototype/i386/mangled \
-d /export/home/newman/ws/oi-userland/components/library/guile/build/prototype/i386 \
-d /export/home/newman/ws/oi-userland/components/library/guile/build -d /export/home/newman/ws/oi-userland/components/library/guile \
-d guile-2.2.5 /export/home/newman/ws/oi-userland/components/library/guile/build/manifest-i386-guile.mangled \
> /export/home/newman/ws/oi-userland/components/library/guile/build/manifest-i386-guile.depend
Arithmetic Exception (core dumped)
$ mdb core.python2 
Loading modules: [ libc.so.1 libpython2.7.so.1.0 libnvpair.so.1 libumem.so.1 libuutil.so.1 libavl.so.1 libcmdutils.so.1 libproc.so.1 libsysevent.so.1 libtopo.so.1 ld.so.1 ]
> ::status
debugging core file of pkgdepend (64-bit) from build-userland
file: /usr/bin/amd64/isapython2.7
initial argv: /usr/bin/amd64/python2.7 /usr/bin/pkgdepend generate -m -d /export/home/newman/
threading model: native threads
status: process terminated by SIGFPE (Arithmetic Exception), addr=fffffd7fe5ad3bd0
> $C
fffffd7fffdfe850 elf.so`getdynamic+0x300()
fffffd7fffdfe950 elf.so`get_dynamic+0xcb()
fffffd7fffdfea80 libpython2.7.so.1.0`PyEval_EvalFrameExReal+0x660a()
fffffd7fffdfeaa0 libpython2.7.so.1.0`PyEval_EvalFrameEx+0x19()
fffffd7fffdfeb40 libpython2.7.so.1.0`PyEval_EvalCodeEx+0x866()
fffffd7fffdfec90 libpython2.7.so.1.0`PyEval_EvalFrameExReal+0x9493()
fffffd7fffdfecb0 libpython2.7.so.1.0`PyEval_EvalFrameEx+0x19()
fffffd7fffdfed50 libpython2.7.so.1.0`PyEval_EvalCodeEx+0x866()
fffffd7fffdfeea0 libpython2.7.so.1.0`PyEval_EvalFrameExReal+0x9493()
fffffd7fffdfeec0 libpython2.7.so.1.0`PyEval_EvalFrameEx+0x19()
fffffd7fffdfef60 libpython2.7.so.1.0`PyEval_EvalCodeEx+0x866()
fffffd7fffdff0b0 libpython2.7.so.1.0`PyEval_EvalFrameExReal+0x9493()
fffffd7fffdff0d0 libpython2.7.so.1.0`PyEval_EvalFrameEx+0x19()
fffffd7fffdff200 libpython2.7.so.1.0`PyEval_EvalFrameExReal+0x959e()
fffffd7fffdff220 libpython2.7.so.1.0`PyEval_EvalFrameEx+0x19()
fffffd7fffdff350 libpython2.7.so.1.0`PyEval_EvalFrameExReal+0x959e()
fffffd7fffdff370 libpython2.7.so.1.0`PyEval_EvalFrameEx+0x19()
fffffd7fffdff410 libpython2.7.so.1.0`PyEval_EvalCodeEx+0x866()
fffffd7fffdff440 libpython2.7.so.1.0`PyEval_EvalCode+0x19()
fffffd7fffdff490 libpython2.7.so.1.0`PyRun_FileExFlags+0x8b()
fffffd7fffdff520 libpython2.7.so.1.0`PyRun_SimpleFileExFlags+0xd9()
fffffd7fffdff620 libpython2.7.so.1.0`Py_Main+0xd30()
fffffd7fffdff650 _start_crt+0x83()
fffffd7fffdff660 _start+0x18()

History

#1

Updated by Michal Nowak about 2 months ago

  • Category changed from OI-Userland to PKG (Image Packaging System)
  • Subject changed from Python 2.7 terminated by SIGFPE (Arithmetic Exception) to Crash in elf.so during REQUIRED_PACKAGES target

Actually, the crash is in elf.so module, which belongs to pkg.

Also available in: Atom PDF