You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/08/03 15:40:13 UTC

DO NOT REPLY [Bug 35995] New: - Using Timer in mod_python gives Apache.exe has generated errors message

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35995>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35995

           Summary: Using Timer in mod_python gives Apache.exe has generated
                    errors message
           Product: Apache httpd-2.0
           Version: 2.0.54
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other Modules
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: paul.hide@gmail.com


The following piece of code executed using mod_python.publisher causes an error
message to appear.
#mod python publisher test file
import threading

def timedhi(req):
    req.write('start timer v1.1')
    t = threading.Timer(5.0, hi, args=[req])
    t.start()
    
def hi(req):
    req.write('Timed hi')

The message is: Apache.exe has generated errors and will be closed by windows.
On 'some' occasions this gives rise to an entry in the application event log.
Here is the summary of one such message:
The application, , generated an application error The error occurred on
08/03/2005 @ 12:40:11.531 The exception generated was c0000005 at address
6EEC76B6 (apr_palloc) 

Paul Hide

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org