popen2/zlib bug in Python 1.5.2/Solaris !

Andreas Jung ajung at sz-sb.de
Wed Jun 23 02:08:22 EDT 1999


Subject: Some zlib/popen bugs in 1.5.2/Solaris !

After the change from 1.5.2b2 to 1.5.2 I encountered serveral problems
in the official release. The test suite fails in the test_zlib and
the test_popen2 module.

Traceback from test_zlib:

(gdb) run
Starting program: /ojs/home/ojs/src/Python-1.5.2/python Lib/test/test_zlib.py
warning: Unable to find dynamic linker breakpoint function.
warning: GDB will be unable to debug shared library initializers
warning: and track explicitly loaded dynamic code.
0xe5c1a120 0x43b6aa94
0xbd602f7 0xbd602f7
expecting Bad compression level
expecting Invalid initialization option
expecting Invalid initialization option
normal compression/decompression succeeded
compress/decompression obj succeeded
decompress with init options succeeded
decompressobj with init options succeeded

Program received signal SIGBUS, Bus error.
0xef5c63bc in t_delete ()
(gdb) bt
#0  0xef5c63bc in t_delete ()
#1  0xef5c6080 in realfree ()
#2  0xef5c687c in cleanfree ()
#3  0xef5c5ccc in realloc ()
#4  0x4b0b4 in _PyString_Resize (pv=0xeffff228, newsize=3850) at stringobject.c:607
#5  0x87268 in PyZlib_flush (self=0x104620, args=0x8000) at ./zlibmodule.c:618
#6  0x54700 in call_builtin (func=0x1129f8, arg=0xe6070, kw=0x0) at ceval.c:2359
#7  0x545cc in PyEval_CallObjectWithKeywords (func=0x1129f8, arg=0xe6070, kw=0x0) at ceval.c:2324
#8  0x53018 in eval_code2 (co=0x110520, globals=0x0, locals=0x70, args=0x0, argcount=1124856, kws=0xffffffff, kwcount=0, 
    defs=0x0, defcount=0, owner=0x0) at ceval.c:1654
#9  0x50924 in PyEval_EvalCode (co=0x110520, globals=0xf1a98, locals=0xf1a98) at ceval.c:324
#10 0x3210c in run_node (n=0xf4fb0, filename=0x110520 "", globals=0xf1a98, locals=0xf1a98) at pythonrun.c:887
#11 0x320bc in run_err_node (n=0xf4fb0, filename=0x110520 "", globals=0xf1a98, locals=0xf1a98) at pythonrun.c:872
#12 0x32090 in PyRun_File (fp=0xe36e0, filename=0xeffffa0e "Lib/test/test_zlib.py", start=257, globals=0xf1a98, locals=0xf1a98)
    at pythonrun.c:860
#13 0x3159c in PyRun_SimpleFile (fp=0xe36e0, filename=0xeffffa0e "Lib/test/test_zlib.py") at pythonrun.c:570
#14 0x31178 in PyRun_AnyFile (fp=0xe36e0, filename=0xeffffa0e "Lib/test/test_zlib.py") at pythonrun.c:451
#15 0x21c9c in Py_Main (argc=2, argv=0xeffff8bc) at main.c:287
#16 0x216bc in main (argc=2, argv=0xeffff8bc) at python.c:12
(gdb) 



test_popen2:

bonnie@/ojs/home/ojs/src/Python-1.5.2(90)%  ./python Lib/test/test_popen2.py
testing popen2...
testing popen3...
Traceback (innermost last):
  File "Lib/test/test_popen2.py", line 16, in ?
    main()
  File "Lib/test/test_popen2.py", line 14, in main
    popen2._test()
  File "./Lib/popen2.py", line 95, in _test
    assert not _active
AssertionError

All tests are reproduceable using egcs-1.1.2 and egcs-2.95 under Solaris 2.6.

Any idea ?

Thanks,
Andreas



-- 
                                _\\|//_
                               (' O-O ')
------------------------------ooO-(_)-Ooo--------------------------------------
   Andreas Jung, Saarbrücker Zeitung Verlag und Druckerei GmbH
   Saarbrücker Daten-Innovations-Center
   Gutenbergstr. 11-23, D-66103 Saarbrücken, Germany
   Phone: +49-(0)681-502-1528, Fax: +49-(0)681-502-1509
   Email: ajung at sz-sb.de (PGP key available)
-------------------------------------------------------------------------------




More information about the Python-list mailing list