Edgewall Software

Ticket #249 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

possible svn_pool leak in trac.real_main

Reported by: anonymous Owned by: jonas
Priority: normal Milestone: 0.7
Component: general Version: 0.6.1
Severity: major Keywords:
Cc:

Description

At the end of trac.real_main the svn_pool is destroyed and the repo connection is shut down. If module.run throws an exception, isn't this going to get skipped? I don't know Python that well, so maybe it gets cleaned up as the variables are popped of the call stack or something.

Attachments

Change History

Changed 5 years ago by jonas

  • status changed from new to assigned
  • version changed from devel to 0.6.1
  • milestone set to 0.6.2

Yeah, this is something that's been fixed in trunk. using a try: finally: block. I guess this change should be backported into 0.6-stable.

Changed 5 years ago by jonas

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in [420].

Changed 5 years ago by daniel

  • milestone changed from 0.6.2 to 0.7

Add/Change #249 (possible svn_pool leak in trac.real_main)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.