Bug 11766 - Test failure on AIX 7.1.3, python coredumps before running the tests
Summary: Test failure on AIX 7.1.3, python coredumps before running the tests
Status: RESOLVED INVALID
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Test infrastructure (show other bugs)
Version: 4.3.5
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Jelmer Vernooij
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-01 19:51 UTC by Guillaume Xavier Taillon (mail address dead)
Modified: 2018-12-21 13:16 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Xavier Taillon (mail address dead) 2016-03-01 19:51:34 UTC
Test failure on AIX 7.1.3, python coredumps before running the tests
AIX Version: 7100-03-05-1524
XLC Version: 13.01.0003.0000
Samba Version: 4.3.5

> make test
test: running (/usr/bin/perl /usr/src/samba-4.3.5/selftest/selftest.pl --target=samba3 --prefix=./st --srcdir=/usr/src/samba-4.3.5 --exclude=/usr/src/samba-4.3.5/selftest/skip --t
estlist="/usr/local/python-2.7.11/bin/python /usr/src/samba-4.3.5/selftest/tests.py|" --testlist="/usr/local/python-2.7.11/bin/python /usr/src/samba-4.3.5/source3/selftest/tests.p
y|" --testlist="/usr/local/python-2.7.11/bin/python /usr/src/samba-4.3.5/source4/selftest/tests.py|"  --exclude=/usr/src/samba-4.3.5/selftest/slow --nss_wrapper_so_path=/usr/src/s
amba-4.3.5/bin/default/lib/nss_wrapper/libnss-wrapper.so --resolv_wrapper_so_path=/usr/src/samba-4.3.5/bin/default/lib/resolv_wrapper/libresolv-wrapper.so --socket_wrapper_so_path
=/usr/src/samba-4.3.5/bin/default/lib/socket_wrapper/libsocket-wrapper.so --uid_wrapper_so_path=/usr/src/samba-4.3.5/bin/default/lib/uid_wrapper/libuid-wrapper.so --use-dns-faking
 --socket-wrapper  && touch ./st/st_done) | /usr/local/python-2.7.11/bin/python -u /usr/src/samba-4.3.5/selftest/filter-subunit --expected-failures=/usr/src/samba-4.3.5/selftest/k
nownfail --flapping=/usr/src/samba-4.3.5/selftest/flapping | tee ./st/subunit | /usr/local/python-2.7.11/bin/python -u /usr/src/samba-4.3.5/selftest/format-subunit --prefix=./st -
-immediate
TOP 10 slowest tests
ERROR: test failed with exit code -4
make: 1254-004 The error code from the last command is 252.


Stop.

A "core" file is created in the current directory.

Opening it with dbx reveals a bad instruction/call stack corruption in python.
> dbx ($which python2.7) core
[using memory image in core]
reading symbolic information ...

Illegal instruction (illegal opcode) in . at 0x0 ($t1)
(dbx) where
.() at 0x0
ceval.PyEval_GetGlobals() at 0xda9f2a50
import.PyImport_Import() at 0xda9475bc
import.PyImport_ImportModule() at 0xda947ce8
pytalloc_GetObjectType(), line 87 in "pytalloc_util.c"
initparam(), line 535 in "pyparam.c"
importdl._PyImport_LoadDynamicModule() at 0x10120460
import.IPRA.$load_module() at 0x1011adac
import.IPRA.$import_submodule() at 0x1011892c
import.IPRA.$load_next@AF92_27() at 0x1011ffe0
import.IPRA.$load_next() at 0x10119278
import.IPRA.$import_module_level() at 0x10118714
import.PyImport_ImportModuleLevel() at 0x1011ddf0
bltinmodule.builtin___import__() at 0x1019e6dc
methodobject.PyCFunction_Call() at 0x1010bde4
abstract.PyObject_Call() at 0x10099f84
ceval.PyEval_CallObjectWithKeywords() at 0x100c0ce4
ceval.PyEval_EvalFrameEx() at 0x100bc360
ceval.PyEval_EvalCodeEx() at 0x100b7c64
ceval.PyEval_EvalCode() at 0x100b82ec
import.PyImport_ExecCodeModuleEx() at 0x1011e4dc
import.IPRA.$load_source_module() at 0x1011b238
import.IPRA.$load_module() at 0x1011ad54
import.IPRA.$load_package() at 0x10119c98
import.IPRA.$load_module() at 0x1011add8
import.IPRA.$import_submodule() at 0x1011892c
import.IPRA.$load_next@AF92_27() at 0x1011ffe0
import.IPRA.$load_next() at 0x10119278
import.IPRA.$import_module_level() at 0x1011839c
import.PyImport_ImportModuleLevel() at 0x1011ddf0
bltinmodule.builtin___import__() at 0x1019e6dc
methodobject.PyCFunction_Call() at 0x1010bde4
abstract.PyObject_Call() at 0x10099f84
ceval.PyEval_CallObjectWithKeywords() at 0x100c0ce4
ceval.PyEval_EvalFrameEx() at 0x100bc360
ceval.PyEval_EvalCodeEx() at 0x100b7c64
ceval.PyEval_EvalCode() at 0x100b82ec
import.PyImport_ExecCodeModuleEx() at 0x1011e4dc
import.IPRA.$load_source_module() at 0x1011b238
import.IPRA.$load_module() at 0x1011ad54
import.IPRA.$import_submodule() at 0x1011892c
import.IPRA.$load_next@AF92_27() at 0x1011ffe0
import.IPRA.$load_next() at 0x10119278
import.IPRA.$import_module_level() at 0x1011839c
import.PyImport_ImportModuleLevel() at 0x1011ddf0
bltinmodule.builtin___import__() at 0x1019e6dc
methodobject.PyCFunction_Call() at 0x1010bde4
abstract.PyObject_Call() at 0x10099f84
ceval.PyEval_CallObjectWithKeywords() at 0x100c0ce4
ceval.PyEval_EvalFrameEx() at 0x100bc360
ceval.PyEval_EvalCodeEx() at 0x100b7c64
ceval.PyEval_EvalCode() at 0x100b82ec
pythonrun.IPRA.$run_mod() at 0x100671bc
pythonrun.Py_Exit.PyRun_FileExFlags() at 0x1006866c
pythonrun.Py_Exit.PyRun_SimpleFileExFlags() at 0x10069628
pythonrun.Py_Exit.PyRun_AnyFileExFlags() at 0x10069924
Py_Main() at 0x1000115c
python.main() at 0x1000048c
Comment 1 Björn Jacke 2018-12-21 13:16:13 UTC
this is not a samba bug