Your message dated Thu, 22 Apr 2010 01:45:53 +0200
with message-id <[email protected]>
and subject line Re: Bug#575911: python3.1: segmentation fault when empty 
directory `encodings' present in PYTHONPATH
has caused the Debian Bug report #575911,
regarding python3.1: segmentation fault when empty directory `encodings' 
present in PYTHONPATH
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
575911: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=575911
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3.1
Version: 3.1.2-1
Severity: normal

If an empty (without __init__.py) directory is found somewhere in
$PYTHONPATH, python3 segfaults.

$ mkdir /tmp/encodings
$ PYTHONPATH=/tmp python3
Segmentation fault

See the attachment for gdb backtrace (with python3-dbg).



-- System Information:
Debian Release: 5.0.2
  APT prefers testing
  APT policy: (900, 'testing'), (900, 'stable'), (400, 'jaunty'), (300, 
'unstable'), (100, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30.5screewee (PREEMPT)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python3.1 depends on:
ii  libbz2-1.0                1.0.5-1        high-quality block-sorting file co
ii  libc6                     2.9-18         GNU C Library: Shared libraries
ii  libdb4.8                  4.8.26-1       Berkeley v4.8 Database Libraries [
ii  libncursesw5              5.7+20100313-1 shared libraries for terminal hand
ii  libreadline6              6.0-5          GNU readline and history libraries
ii  libsqlite3-0              3.6.23-1       SQLite 3 shared library
ii  mime-support              3.44-1         MIME files 'mime.types' & 'mailcap
ii  python3.1-minimal         3.1.2-1        A minimal subset of the Python lan

python3.1 recommends no packages.

Versions of packages python3.1 suggests:
ii  binutils                      2.19.1-1   The GNU assembler, linker and bina
pn  python3.1-doc                 <none>     (no description available)
pn  python3.1-profiler            <none>     (no description available)

-- no debconf information

-- 
 -----------------------------------------------------------
| Radovan GarabĂ­k http://kassiopeia.juls.savba.sk/~garabik/ |
| __..--^^^--..__    garabik @ kassiopeia.juls.savba.sk     |
 -----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!
Starting program: /usr/bin/python3 
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
get_filter (category=<value optimized out>, message=<ImportWarning at remote 
0xb7b164b4>, 
    filename=<value optimized out>, lineno=1, module=u'sys', registry={}, 
sourceline=
    <unknown at remote 0x0>) at ../Python/_warnings.c:119
119     ../Python/_warnings.c: No such file or directory.
        in ../Python/_warnings.c
(gdb) bt
#0  get_filter (category=<value optimized out>, message=
    <ImportWarning at remote 0xb7b164b4>, filename=<value optimized out>, 
lineno=1, module=
    u'sys', registry={}, sourceline=<unknown at remote 0x0>) at 
../Python/_warnings.c:119
#1  warn_explicit (category=<value optimized out>, message=
    <ImportWarning at remote 0xb7b164b4>, filename=<value optimized out>, 
lineno=1, module=
    u'sys', registry={}, sourceline=<unknown at remote 0x0>) at 
../Python/_warnings.c:352
#2  0x0808aea2 in do_warn (message=<value optimized out>, category=<value 
optimized out>, 
    stack_level=<value optimized out>) at ../Python/_warnings.c:604
#3  0x0808b230 in PyErr_WarnEx (category=<type at remote 0x8298ce0>, text=
    0xbfff8efb "Not importing directory '/tmp/ahoj/encodings': missing 
__init__.py", 
    stack_level=1) at ../Python/_warnings.c:727
#4  0x080a2daa in find_module (fullname=<value optimized out>, 
    subname=<value optimized out>, path=<value optimized out>, buf=<value 
optimized out>, 
    buflen=4097, p_fp=0xbfffaf90, p_loader=0xbfffaf94) at 
../Python/import.c:1468
#5  0x080a5571 in import_submodule (mod=None, subname=<value optimized out>, 
fullname=
    0xbfffc02b "encodings") at ../Python/import.c:2614
#6  0x080a5685 in load_next (mod=None, altmod=<value optimized out>, 
    p_name=<value optimized out>, buf=0xbfffc02b "encodings", 
p_buflen=0xbfffc024)
    at ../Python/import.c:2429
#7  0x080a5d26 in import_module_level (name=0x0, globals=
    {u'__builtins__': <module at remote 0xb7afe12c>}, locals=<value optimized 
out>, 
    fromlist=[u'__doc__'], level=0) at ../Python/import.c:2146
#8  0x080a6a87 in PyImport_ImportModuleLevel (name=0xb7b17730 "encodings", 
globals=
    {u'__builtins__': <module at remote 0xb7afe12c>}, locals=
    {u'__builtins__': <module at remote 0xb7afe12c>}, fromlist=[u'__doc__'], 
level=0)
    at ../Python/import.c:2197
#9  0x0808e9cf in builtin___import__ (self=<module at remote 0xb7afe12c>, args=
    (u'encodings', {u'__builtins__': <module at remote 0xb7afe12c>}, 
{u'__builtins__': <module at remote 0xb7afe12c>}, [u'__doc__'], 0L), 
kwds=<unknown at remote 0x0>)
    at ../Python/bltinmodule.c:181
#10 0x081481ba in PyObject_Call (func=<builtin_function_or_method at remote 
0xb7afe1cc>, 
    arg=
    (u'encodings', {u'__builtins__': <module at remote 0xb7afe12c>}, 
{u'__builtins__': <module at remote 0xb7afe12c>}, [u'__doc__'], 0L), 
kw=<unknown at remote 0x0>)
    at ../Objects/abstract.c:2160
#11 0x08148af2 in call_function_tail (callable=
    <builtin_function_or_method at remote 0xb7afe1cc>, args=
    (u'encodings', {u'__builtins__': <module at remote 0xb7afe12c>}, 
{u'__builtins__': <module at remote 0xb7afe12c>}, [u'__doc__'], 0L)) at 
../Objects/abstract.c:2192
#12 0x08148daf in PyObject_CallFunction (callable=
    <builtin_function_or_method at remote 0xb7afe1cc>, format=0x81a0498 "OOOOi")
    at ../Objects/abstract.c:2216
#13 0x080a6b84 in PyImport_Import (module_name=u'encodings') at 
../Python/import.c:2804
#14 0x080a6d32 in PyImport_ImportModule (name=0x819ee18 "encodings")
    at ../Python/import.c:2057
#15 0x0809cb09 in _PyCodecRegistry_Init () at ../Python/codecs.c:1054
#16 0x0809cded in _PyCodec_Lookup (encoding=0xb7b2cd4c "UTF-8") at 
../Python/codecs.c:110
#17 0x080b0685 in get_codeset (install_sigs=1) at ../Python/pythonrun.c:147
#18 Py_InitializeEx (install_sigs=1) at ../Python/pythonrun.c:274
#19 0x080b0a22 in Py_Initialize () at ../Python/pythonrun.c:311
#20 0x080beed6 in Py_Main (argc=1, argv=0x82ba008) at ../Modules/main.c:483
#21 0x0806019c in main (argc=1, argv=0xbffff4a4) at ../Modules/python.c:152

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Version: 3.1.2-2

I was unable to reproduce this with the just uploaded 3.1.2-2.

On 30.03.2010 13:36, Radovan Garabik wrote:
Package: python3.1
Version: 3.1.2-1
Severity: normal

If an empty (without __init__.py) directory is found somewhere in
$PYTHONPATH, python3 segfaults.

$ mkdir /tmp/encodings
$ PYTHONPATH=/tmp python3
Segmentation fault


--- End Message ---

Reply via email to