Issue567892
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2002-06-12 08:21 by kazriko, last changed 2022-04-10 16:05 by admin. This issue is now closed.
Messages (3) | |||
---|---|---|---|
msg11171 - (view) | Author: Keith Thomson (kazriko) | Date: 2002-06-12 08:21 | |
I recently downloaded Python 2.2.1 onto my Playstation 2 with a linux kit installed. It uses a mipsel architecture, (mips endian-little) with a Linux 2.2.1 kernel (retrofitted with many backported stuff from later versions) and a glibc 2.2.2 i believe, also custom modified by SCEI. Python compiled perfectly the first time, and installed flawlessly. On a whim, I decided to run python's testing suite. (make test) The first pass crashed with this error. test_re make: *** [test] Segmentation fault i moved this test out of the folder to see if there were any other errors, and got the same one for test_sre. After moving these two tests, i got the following results, including the lines from the failing tests. test test_descr failed -- x=2, y=1 test test_linuxaudiodev failed -- (16, 'Device or resource busy', '/dev/dsp') test test_userdict failed -- test failed 3 tests failed: test_descr test_linuxaudiodev test_userdict 18 tests skipped: test_al test_cd test_cl test_curses test_dl test_gl test_imgfile test_largefile test_minidom test_nis test_ntpath test_pyexpat test_sax test_socket_ssl test_socketserver test_sunaudiodev test_winreg test_winsound 3 skips unexpected on linux2: test_minidom test_pyexpat test_sax The linuxaudiodev actually gave me two different errors, no other audio programs were running at the time, so i'm suspecting a ps2sd bug on that one. but the other four tests I have not tried to isolate yet. I'll keep at it, Would welcome any recommendations on places to look to diagnose these problems. This is probably a very-low priority thing, as PS2Linux is still a bit of a beta test thing, it would be nice if i could isolate this down to some bugs in ps2linux's libraries, so that we could fix them without mucking up the python code with ps2 stuff. |
|||
msg11172 - (view) | Author: Michael Hudson (mwh) | Date: 2002-06-12 09:31 | |
Logged In: YES user_id=6656 Some tips: (1) don't worry about test_linuxaudiodev. I'm not sure it's a lost cause, but... (2) the test_re stuff is probably the consequence of a small stack size. try running ulimit -s 8192 before running the test suite. (3) the other test failures are a bit odd. do you feel like digging some more? "test_userdict failed -- test failed" isn't terribly informative... |
|||
msg11173 - (view) | Author: Keith Thomson (kazriko) | Date: 2002-06-13 05:11 | |
Logged In: YES user_id=346680 I attempted to use the ulimit command and change the stack size maximum, but it still failed when doing the full test suite. (even tried several different stack sizes) however, running the test individually with this line ./python Lib/test/regrtest.py -g test_re.py worked perfectly, as did the sre version. I ran test_descr outside of the testing framework, and it crashed on the following test.. Testing classic comparisons... (base = __main__.classic) Traceback (most recent call last): File "./Lib/test/test_descr.py", line 2906, in ? test_main() File "./Lib/test/test_descr.py", line 2884, in test_main classic_comparisons() File "./Lib/test/test_descr.py", line 2193, in classic_comparisons verify(cmp(x, c[y]) == cmp(x, y), "x=%d, y=%d" % (x, y)) File "./Lib/test/test_support.py", line 118, in verify raise TestFailed(reason) test_support.TestFailed: x=2, y=1 similarly, test_userdict gave this traceback when it crashed. ./python ./Lib/test/test_userdict.py Traceback (most recent call last): File "./Lib/test/test_userdict.py", line 33, in ? verify(cmp(a, b) == cmp(len(a), len(b))) File "./Lib/test/test_support.py", line 118, in verify raise TestFailed(reason) These might be failing for the same reason? For information's sake, here's the linuxaudio traceback. [kazrikna@rikku Python-2.2.1] $ ./python ./Lib/test/test_linuxaudiodev.py Traceback (most recent call last): File "./Lib/test/test_linuxaudiodev.py", line 89, in ? test() File "./Lib/test/test_linuxaudiodev.py", line 86, in test play_sound_file(findfile('audiotest.au')) File "./Lib/test/test_linuxaudiodev.py", line 42, in play_sound_file a.bufsize() linuxaudiodev.error: (22, 'Invalid argument') |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-10 16:05:24 | admin | set | github: 36732 |
2002-06-12 08:21:40 | kazriko | create |