Opened 10 years ago

Closed 8 years ago

#2101 closed defect (invalid)

TracDeveloperPlugin should not allocate 1gb memory when using the Admin panel

Reported by: anonymous Owned by: Alec Thomas
Priority: normal Component: TracDeveloperPlugin
Severity: normal Keywords:
Cc: olle.jonsson+trachacks@… Trac Release: 0.11


I used the TracDeveloperPlugin. And it died on me.

I just got me a "Python(25983,0x19b1000) malloc: * vm_allocate(size=1124044800) failed (error code=3)"

hylje: a gig's memory allocation?
hylje: waht

Here is the tracd log snippet: - - [24/Oct/2007 20:51:03] "POST /oos/admin/general/plugin HTTP/1.1" 303 - - - [24/Oct/2007 20:51:04] "GET /oos/admin/general/plugin HTTP/1.1" 200 -
Python(25983,0x19b1000) malloc: *** vm_allocate(size=1124044800) failed (error code=3)
Python(25983,0x19b1000) malloc: *** error: can't allocate region
Python(25983,0x19b1000) malloc: *** set a breakpoint in szone_error to debug - - [24/Oct/2007 20:54:19] "GET /oos/admin/developer/plugins HTTP/1.1" 500 -
Exception happened during processing of request from ('', 57096)
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/", line 463, in process_request_thread
    self.finish_request(request, client_address)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/", line 521, in __init__
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/", line 316, in handle
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Trac-0.11dev_r6079-py2.5.egg/trac/web/", line 174, in handle_one_request
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Trac-0.11dev_r6079-py2.5.egg/trac/web/", line 87, in run
    response = application(self.environ, self._start_response)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Trac-0.11dev_r6079-py2.5.egg/trac/web/", line 57, in __call__
    return self.application(environ, start_response)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Trac-0.11dev_r6079-py2.5.egg/trac/web/", line 89, in __call__
    return self.application(environ, start_response)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Trac-0.11dev_r6079-py2.5.egg/trac/web/", line 450, in dispatch_request
    req.send_error(exc_info, status=500, env=env, data=data)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Trac-0.11dev_r6079-py2.5.egg/trac/web/", line 364, in send_error
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Trac-0.11dev_r6079-py2.5.egg/trac/web/", line 428, in write
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Trac-0.11dev_r6079-py2.5.egg/trac/web/", line 195, in _write
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/", line 370, in send_response
    self.send_header('Server', self.version_string())
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/", line 376, in send_header
    self.wfile.write("%s: %s\r\n" % (keyword, value))
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/", line 261, in write
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/", line 248, in flush
error: (32, 'Broken pipe')
---------------------------------------- - - [24/Oct/2007 20:55:14] "GET /oos/ HTTP/1.1" 200 -

My other plugins are

  • Trac 0.11dev-r6079
  • Bitten 0.6dev-r502
  • IniAdmin 0.2

Attachments (0)

Change History (3)

comment:1 Changed 10 years ago by olle.jonsson+trachacks@…

Oh, I wrote that as "anonymous" and my name is Olle. <olle.jonsson@…>

comment:2 Changed 10 years ago by Alec Thomas

I am unable to replicate this. Try and disable plugins until it works, which will at least narrow it down. Then try and insert debug statements into the developer plugin to track down what's causing it.

I also don't actually see TracDeveloperPlugin in the backtrace, which is a bit odd.

comment:3 Changed 8 years ago by anatoly techtonik

Cc: olle.jonsson+trachacks@… added; anonymous removed
Resolution: invalid
Status: newclosed

Closing as invalid. No evidence for over two years. Feel free to reopen with new investigation materials.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Alec Thomas.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.