[Bug 675927] New: python segfaults on openSUSE 11.4 when used with mod_python
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.
https://bugzilla.novell.com/show_bug.cgi?id=675927 https://bugzilla.novell.com/show_bug.cgi?id=675927#c Jan Matejek <jmatejek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P1 - Urgent Status|NEW |ASSIGNED -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=675927 https://bugzilla.novell.com/show_bug.cgi?id=675927#c1 Jan Matejek <jmatejek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 - Urgent |P5 - None Status|ASSIGNED |NEW AssignedTo|jmatejek@novell.com |draht@novell.com --- Comment #1 from Jan Matejek <jmatejek@novell.com> 2011-03-01 17:01:00 UTC --- fedora bug + patch: https://bugzilla.redhat.com/show_bug.cgi?id=640432 reassigning to mod_python maintainer (unless that's me, in which case i'll get to it) also, Uwe, apparently mod_python is a dead project now and development continues with mod_wsgi, maybe you would want to switch? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=675927 https://bugzilla.novell.com/show_bug.cgi?id=675927#c2 --- Comment #2 from Uwe Gansert <ug@novell.com> 2011-03-01 17:09:12 UTC --- the problem is cobbler_web, which is using mod_python. I just used that little python script to reproduce the problem without cobbler. I hope they'll port cobbler to mod_wsgi soon but for openSUSE 11.4 it would be nice to fix that in mod_python. Roman, do you think we can fix that for openSUSE 11.4 in mod_python with the fedora patch? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=675927 https://bugzilla.novell.com/show_bug.cgi?id=675927#c3 Roman Drahtmueller <draht@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #3 from Roman Drahtmueller <draht@novell.com> 2011-03-01 17:30:48 UTC --- I would think so. The patch looks sane, at first glance. It is really new to me that I own this package. Someone must have transferred it to me, as it shows apache2-mod_*. :) Building packages, hope to be able to submit later. R. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=675927 https://bugzilla.novell.com/show_bug.cgi?id=675927#c4 Roman Drahtmueller <draht@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |coolo@novell.com AssignedTo|draht@novell.com |coolo@novell.com --- Comment #4 from Roman Drahtmueller <draht@novell.com> 2011-03-01 18:01:29 UTC --- Package submitted from home:draht:branches:openSUSE:11.4:Update:Test/apache2-mod_python to openSUSE:11.4:Update:Test. Coolo, for which use of this package is it too late? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=675927 https://bugzilla.novell.com/show_bug.cgi?id=675927#c7 Roman Drahtmueller <draht@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aj@novell.com InfoProvider|coolo@novell.com |maintenance@opensuse.org --- Comment #7 from Roman Drahtmueller <draht@novell.com> 2011-03-02 13:57:34 UTC --- Apache:Modules/apache2-mod_python updated and submitted from there to openSUSE:Factory . add aj@ to Cc, assigned to maintenance@opensuse.org for first update, if no more attempt is started for release candidate/GM of 11.4. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=675927 https://bugzilla.novell.com/show_bug.cgi?id=675927#c8 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|coolo@novell.com |draht@novell.com --- Comment #8 from Stephan Kulow <coolo@novell.com> 2011-03-03 14:00:31 CET --- I don't do maintenance updates -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=675927 https://bugzilla.novell.com/show_bug.cgi?id=675927#c9 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:39160:moderat | |e --- Comment #9 from Swamp Workflow Management <swamp@suse.com> 2011-03-03 18:02:12 UTC --- The SWAMPID for this issue is 39160. This issue was rated as moderate. Please submit fixed packages until 2011-03-17. Also create a patchinfo file using this link: https://swamp.suse.de/webswamp/wf/39160 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=675927 https://bugzilla.novell.com/show_bug.cgi?id=675927#c10 Christian Dengler <cdengler@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED CC| |cdengler@novell.com InfoProvider|maintenance@opensuse.org | --- Comment #10 from Christian Dengler <cdengler@novell.com> 2011-03-03 18:03:01 UTC --- Update started. Be so kind and submit the fixed sources and a PATCHINFO ;-) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=675927 https://bugzilla.novell.com/show_bug.cgi?id=675927#c11 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:39160:moderat |maint:running:39160:moderat |e |e maint:released:11.4:39178 --- Comment #11 from Swamp Workflow Management <swamp@suse.com> 2011-03-08 12:31:25 UTC --- Update released for: apache2-mod_python, apache2-mod_python-debuginfo, apache2-mod_python-debugsource Products: openSUSE 11.4 (debug, i586, x86_64) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=675927 https://bugzilla.novell.com/show_bug.cgi?id=675927#c Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:39160:moderat |. |e maint:released:11.4:39178 | -- 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.
participants (1)
-
bugzilla_noreply@novell.com