Issue 614564
Created on 2002-09-25 18:43 by surreality, last changed 2002-09-25 18:43 by surreality.
msg373 |
Author: [hidden] (surreality) |
Date: 2002-09-25 18:43 |
|
while trying to setup roundup for my project, the
runtest script segfaults:
surreality@usw-pr-shell1:/home/groups/p/pe/penes/roundup-0.5.0b2$
python2 ./run_tests
packing up templates in roundup/templates/classic
Segmentation fault
surreality@usw-pr-shell1:/home/groups/p/pe/penes/roundup-0.5.0b2$
python2.1 ./run_tests
bash: python2.1: command not found
surreality@usw-pr-shell1:/home/groups/p/pe/penes/roundup-0.5.0b2$
python2.2 ./run_tests
packing up templates in roundup/templates/classic
Segmentation fault
|
msg374 |
Author: [hidden] (surreality) |
Date: 2002-09-25 19:19 |
|
Logged In: YES
user_id=180654
occurs with 0.4.4 as well:
surreality@usw-pr-shell1:/home/groups/p/pe/penes/roundup-0.4.4$
python2 run_tests
Segmentation fault
|
msg375 |
Author: [hidden] (richard) |
Date: 2002-09-25 21:41 |
|
Logged In: YES
user_id=6405
Sounds like you have a buggy python installation. Try importing these
modules in a normal python session: socket, bsddb, anydbm, bsddb3,
metakit, sqlite, re
|
msg376 |
Author: [hidden] (surreality) |
Date: 2002-09-25 21:51 |
|
Logged In: YES
user_id=180654
Not my installation. sourceforge's.
All of those modules import fine except bsddb3, metakit and
sqlite. However, if it were a module import problem, why
would it segfault instead of reporting that the modules
couldn't be found?
|
msg377 |
Author: [hidden] (richard) |
Date: 2002-09-25 21:55 |
|
Logged In: YES
user_id=6405
Could you run python with the "-v" and re-run the tests please? We
need to find out which module is broken.
Roundup uses standard python modules (unless you have metakit,
sqlite or bsddb3 installed, which you don't). That means there's a
problem with one of those modules. That you don't see a single test "."
means to me that we're failing on importing modules, so the "python
-v" will tell us which module it's failing on.
|
msg378 |
Author: [hidden] (surreality) |
Date: 2002-09-25 22:01 |
|
Logged In: YES
user_id=180654
Here you go:
surreality@usw-pr-shell1:~$ python2 -v
# /usr/lib/python2.2/site.pyc matches /usr/lib/python2.2/site.py
import site # precompiled from /usr/lib/python2.2/site.pyc
# /usr/lib/python2.2/os.pyc matches /usr/lib/python2.2/os.py
import os # precompiled from /usr/lib/python2.2/os.pyc
import posix # builtin
# /usr/lib/python2.2/posixpath.pyc matches
/usr/lib/python2.2/posixpath.py
import posixpath # precompiled from
/usr/lib/python2.2/posixpath.pyc
# /usr/lib/python2.2/stat.pyc matches /usr/lib/python2.2/stat.py
import stat # precompiled from /usr/lib/python2.2/stat.pyc
# /usr/lib/python2.2/UserDict.pyc matches
/usr/lib/python2.2/UserDict.py
import UserDict # precompiled from
/usr/lib/python2.2/UserDict.pyc
Python 2.2 (#1, Apr 12 2002, 15:29:57)
[GCC 2.96 20000731 (Red Hat Linux 7.2 2.96-109)] on linux2
Type "help", "copyright", "credits" or "license" for more
information.
dlopen("/usr/lib/python2.2/lib-dynload/readline.so", 2);
import readline # dynamically loaded from
/usr/lib/python2.2/lib-dynload/readline.so
>>> import socket
# /usr/lib/python2.2/socket.pyc matches
/usr/lib/python2.2/socket.py
import socket # precompiled from /usr/lib/python2.2/socket.pyc
dlopen("/usr/lib/python2.2/lib-dynload/_socketmodule.so", 2);
import _socket # dynamically loaded from
/usr/lib/python2.2/lib-dynload/_socketmodule.so
>>> import bsddb
dlopen("/usr/lib/python2.2/lib-dynload/bsddbmodule.so", 2);
import bsddb # dynamically loaded from
/usr/lib/python2.2/lib-dynload/bsddbmodule.so
>>> import anydbm
# /usr/lib/python2.2/anydbm.pyc matches
/usr/lib/python2.2/anydbm.py
import anydbm # precompiled from /usr/lib/python2.2/anydbm.pyc
# /usr/lib/python2.2/dbhash.pyc matches
/usr/lib/python2.2/dbhash.py
import dbhash # precompiled from /usr/lib/python2.2/dbhash.pyc
dlopen("/usr/lib/python2.2/lib-dynload/gdbmmodule.so", 2);
import gdbm # dynamically loaded from
/usr/lib/python2.2/lib-dynload/gdbmmodule.so
# /usr/lib/python2.2/dumbdbm.pyc matches
/usr/lib/python2.2/dumbdbm.py
import dumbdbm # precompiled from /usr/lib/python2.2/dumbdbm.pyc
>>> import re
# /usr/lib/python2.2/re.pyc matches /usr/lib/python2.2/re.py
import re # precompiled from /usr/lib/python2.2/re.pyc
# /usr/lib/python2.2/sre.pyc matches /usr/lib/python2.2/sre.py
import sre # precompiled from /usr/lib/python2.2/sre.pyc
# /usr/lib/python2.2/sre_compile.pyc matches
/usr/lib/python2.2/sre_compile.py
import sre_compile # precompiled from
/usr/lib/python2.2/sre_compile.pyc
import _sre # builtin
# /usr/lib/python2.2/sre_constants.pyc matches
/usr/lib/python2.2/sre_constants.py
import sre_constants # precompiled from
/usr/lib/python2.2/sre_constants.pyc
# /usr/lib/python2.2/sre_parse.pyc matches
/usr/lib/python2.2/sre_parse.py
import sre_parse # precompiled from
/usr/lib/python2.2/sre_parse.pyc
# /usr/lib/python2.2/string.pyc matches
/usr/lib/python2.2/string.py
import string # precompiled from /usr/lib/python2.2/string.pyc
dlopen("/usr/lib/python2.2/lib-dynload/strop.so", 2);
import strop # dynamically loaded from
/usr/lib/python2.2/lib-dynload/strop.so
# /usr/lib/python2.2/copy_reg.pyc matches
/usr/lib/python2.2/copy_reg.py
import copy_reg # precompiled from
/usr/lib/python2.2/copy_reg.pyc
# /usr/lib/python2.2/types.pyc matches
/usr/lib/python2.2/types.py
import types # precompiled from /usr/lib/python2.2/types.pyc
# /usr/lib/python2.2/__future__.pyc matches
/usr/lib/python2.2/__future__.py
import __future__ # precompiled from
/usr/lib/python2.2/__future__.pyc
>>>
Apologies for the formatting. I wish sf.net's trackers
allowed for e-mail responses. =/
|
msg379 |
Author: [hidden] (richard) |
Date: 2002-09-25 22:04 |
|
Logged In: YES
user_id=6405
Sorry, I meant run the tests with "python2 -v run_tests".
Yeah, I'll be replacing the sucky sf tracker with a roundup tracker
after 0.5 goes final.
|
msg380 |
Author: [hidden] (surreality) |
Date: 2002-09-25 22:10 |
|
Logged In: YES
user_id=180654
surreality@usw-pr-shell1:/home/groups/p/pe/penes/roundup-0.4.4$
python2 -v run_tests
# /usr/lib/python2.2/site.pyc matches /usr/lib/python2.2/site.py
import site # precompiled from /usr/lib/python2.2/site.pyc
# /usr/lib/python2.2/os.pyc matches /usr/lib/python2.2/os.py
import os # precompiled from /usr/lib/python2.2/os.pyc
import posix # builtin
# /usr/lib/python2.2/posixpath.pyc matches
/usr/lib/python2.2/posixpath.py
import posixpath # precompiled from
/usr/lib/python2.2/posixpath.pyc
# /usr/lib/python2.2/stat.pyc matches /usr/lib/python2.2/stat.py
import stat # precompiled from /usr/lib/python2.2/stat.pyc
# /usr/lib/python2.2/UserDict.pyc matches
/usr/lib/python2.2/UserDict.py
import UserDict # precompiled from
/usr/lib/python2.2/UserDict.pyc
Python 2.2 (#1, Apr 12 2002, 15:29:57)
[GCC 2.96 20000731 (Red Hat Linux 7.2 2.96-109)] on linux2
Type "help", "copyright", "credits" or "license" for more
information.
import roundup # directory roundup
# roundup/__init__.pyc matches roundup/__init__.py
import roundup # precompiled from roundup/__init__.pyc
import roundup.templates # directory roundup/templates
# roundup/templates/__init__.pyc matches
roundup/templates/__init__.py
import roundup.templates # precompiled from
roundup/templates/__init__.pyc
import roundup.templates.classic # directory
roundup/templates/classic
# roundup/templates/classic/__init__.pyc matches
roundup/templates/classic/__init__.py
import roundup.templates.classic # precompiled from
roundup/templates/classic/__init__.pyc
# roundup/templates/classic/instance_config.pyc matches
roundup/templates/classic/instance_config.py
import roundup.templates.classic.instance_config #
precompiled from roundup/templates/classic/instance_config.pyc
# roundup/templates/classic/dbinit.pyc matches
roundup/templates/classic/dbinit.py
import roundup.templates.classic.dbinit # precompiled from
roundup/templates/classic/dbinit.pyc
# roundup/roundupdb.pyc matches roundup/roundupdb.py
import roundup.roundupdb # precompiled from
roundup/roundupdb.pyc
# /usr/lib/python2.2/re.pyc matches /usr/lib/python2.2/re.py
import re # precompiled from /usr/lib/python2.2/re.pyc
# /usr/lib/python2.2/sre.pyc matches /usr/lib/python2.2/sre.py
import sre # precompiled from /usr/lib/python2.2/sre.pyc
# /usr/lib/python2.2/sre_compile.pyc matches
/usr/lib/python2.2/sre_compile.py
import sre_compile # precompiled from
/usr/lib/python2.2/sre_compile.pyc
import _sre # builtin
# /usr/lib/python2.2/sre_constants.pyc matches
/usr/lib/python2.2/sre_constants.py
import sre_constants # precompiled from
/usr/lib/python2.2/sre_constants.pyc
# /usr/lib/python2.2/sre_parse.pyc matches
/usr/lib/python2.2/sre_parse.py
import sre_parse # precompiled from
/usr/lib/python2.2/sre_parse.pyc
# /usr/lib/python2.2/string.pyc matches
/usr/lib/python2.2/string.py
import string # precompiled from /usr/lib/python2.2/string.pyc
dlopen("/usr/lib/python2.2/lib-dynload/strop.so", 2);
import strop # dynamically loaded from
/usr/lib/python2.2/lib-dynload/strop.so
# /usr/lib/python2.2/copy_reg.pyc matches
/usr/lib/python2.2/copy_reg.py
import copy_reg # precompiled from
/usr/lib/python2.2/copy_reg.pyc
# /usr/lib/python2.2/types.pyc matches
/usr/lib/python2.2/types.py
import types # precompiled from /usr/lib/python2.2/types.pyc
# /usr/lib/python2.2/__future__.pyc matches
/usr/lib/python2.2/__future__.py
import __future__ # precompiled from
/usr/lib/python2.2/__future__.pyc
# /usr/lib/python2.2/smtplib.pyc matches
/usr/lib/python2.2/smtplib.py
import smtplib # precompiled from /usr/lib/python2.2/smtplib.pyc
# /usr/lib/python2.2/socket.pyc matches
/usr/lib/python2.2/socket.py
import socket # precompiled from /usr/lib/python2.2/socket.pyc
dlopen("/usr/lib/python2.2/lib-dynload/_socketmodule.so", 2);
import _socket # dynamically loaded from
/usr/lib/python2.2/lib-dynload/_socketmodule.so
# /usr/lib/python2.2/rfc822.pyc matches
/usr/lib/python2.2/rfc822.py
import rfc822 # precompiled from /usr/lib/python2.2/rfc822.pyc
dlopen("/usr/lib/python2.2/lib-dynload/timemodule.so", 2);
import time # dynamically loaded from
/usr/lib/python2.2/lib-dynload/timemodule.so
# /usr/lib/python2.2/base64.pyc matches
/usr/lib/python2.2/base64.py
import base64 # precompiled from /usr/lib/python2.2/base64.pyc
dlopen("/usr/lib/python2.2/lib-dynload/binascii.so", 2);
import binascii # dynamically loaded from
/usr/lib/python2.2/lib-dynload/binascii.so
# /usr/lib/python2.2/hmac.pyc matches /usr/lib/python2.2/hmac.py
import hmac # precompiled from /usr/lib/python2.2/hmac.pyc
# /usr/lib/python2.2/copy.pyc matches /usr/lib/python2.2/copy.py
import copy # precompiled from /usr/lib/python2.2/copy.pyc
# /usr/lib/python2.2/random.pyc matches
/usr/lib/python2.2/random.py
import random # precompiled from /usr/lib/python2.2/random.pyc
dlopen("/usr/lib/python2.2/lib-dynload/mathmodule.so", 2);
import math # dynamically loaded from
/usr/lib/python2.2/lib-dynload/mathmodule.so
Segmentation fault
|
msg381 |
Author: [hidden] (richard) |
Date: 2002-09-25 22:12 |
|
Logged In: YES
user_id=6405
There you have it:
>>> import random
Segmentation fault
Please file a bug report against with sourceforge.
|
msg382 |
Author: [hidden] (richard) |
Date: 2002-09-25 22:13 |
|
Logged In: YES
user_id=6405
(and thanks for tracking the problem down, sorry there's no
immediate solution)
|
|
Date |
User |
Action |
Args |
2002-09-25 18:43:13 | surreality | create | |
|