https://bugzilla.novell.com/show_bug.cgi?id=675927 https://bugzilla.novell.com/show_bug.cgi?id=675927#c0 Summary: python segfaults on openSUSE 11.4 when used with mod_python Classification: openSUSE Product: openSUSE 11.4 Version: RC 2 Platform: x86-64 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Development AssignedTo: jmatejek@novell.com ReportedBy: ug@novell.com QAContact: qa@suse.de CC: coolo@novell.com Found By: --- Blocker: --- I have written a simple test.py file on openSUSE 11.4: from mod_python import apache def handler(req): req.content_type = 'text/plain' req.write("Hello World!") return apache.OK and configured apache to run it. That leads to a segfault in python in _warning.c 449 Python wants to throw a deprecated warning text and while doing that, it crashes. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff7f72700 (LWP 8625)] 0x00007ffff30dda6a in setup_context (message=0x7ffff8523360, category=0x7ffff33ea6c0, stack_level=1) at Python/_warnings.c:449 449 PyFrameObject *f = PyThreadState_GET()->frame; (gdb) bt #0 0x00007ffff30dda6a in setup_context (message=0x7ffff8523360, category=0x7ffff33ea6c0, stack_level=1) at Python/_warnings.c:449 #1 do_warn (message=0x7ffff8523360, category=0x7ffff33ea6c0, stack_level=1) at Python/_warnings.c:593 #2 0x00007ffff30dde9d in PyErr_WarnEx (category=0x7ffff33ea6c0, text=<value optimized out>, stack_level=1) at Python/_warnings.c:719 #3 0x00007ffff30b9a06 in PyCObject_FromVoidPtr (cobj=0x7ffff85f0620, destr=0) at Objects/cobject.c:25 #4 0x00007ffff3143b5b in save_interpreter (name=0x7ffff8383b40 "vbox-ug.suse.de", istate=0x7ffff84c2110) at mod_python.c:185 #5 0x00007ffff3143d6d in get_interpreter (name=0x7ffff8383b40 "vbox-ug.suse.de") at mod_python.c:261 #6 0x00007ffff314792f in python_handler (req=0x7ffff8572370, phase=0x7ffff318dc9c "PythonHandler") at mod_python.c:1628 #7 0x00007ffff7fd8a18 in ?? () #8 0x00007ffff8572370 in ?? () #9 0x00007ffff832f1e0 in ?? () #10 0x0000000000000000 in ?? () -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.