Created: (MODPYTHON-234) SystemError: bad argument to
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Mod-Python > Created: (MODPYTHON-234) SystemError: bad argument to




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Created: (MODPYTHON-234) SystemError: bad argument to  
Graham Dumpleton (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-29-07 06:13 AM

SystemError: bad argument to internal function
----------------------------------------------

Key: MODPYTHON-234
URL: https://issues.apache.org/jira/browse/MODPYTHON-234
Project: mod_python
Issue Type: Bug
Components: core
Affects Versions: 3.3.1, 3.2.10
Reporter: Graham Dumpleton


As raised in thread:

http://www.modpython.org/pipermail/...une/023795.html

when req.read() is called, on rare occasions it can generate the error:

05 18:33:49 2007] [error] [client 200.155.85.225] SystemError: Objec
ts/stringobject.c:3515: bad argument to internal function,

It is speculated that this is caused by an invalid value being supplied to _
PyString_Resize() with code associated with req.read(). In particular, most 
likely being supplied a negative value for size.

This issues possibly relates to problems with how mod_python makes use of co
ntent length and what request_rec says in respect of remaining amount of dat
a as described in MODPYTHON-212.

Further highlights how the code for req.read(), req.readline() and req.readl
ines() has to be completely revised and overhauled to simply read whatever i
s available rather than trusting content length.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:12 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register