Opened 10 years ago

Last modified 9 years ago

#45247 new defect

python2{6,7} memory leak due to db46

Reported by: Schamschula (Marius Schamschula) Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), cooljeanius (Eric Gallager), petrrr
Port: python27 python26

Description

http://bugs.python.org/issue22534 points out a situation, where the MacPorts build of python27 which depends on Berkeley db version 4.6, causes a memory leak. The solution is to build against Berkeley db 4.7 instead. The attached patch makes this change.

Attachments (2)

Portfile-python27.diff (1.0 KB) - added by Schamschula (Marius Schamschula) 10 years ago.
python26-db48.patch (7.4 KB) - added by larryv (Lawrence Velázquez) 10 years ago.
use db48 with python26

Download all attachments as: .zip

Change History (11)

comment:1 Changed 10 years ago by neverpanic (Clemens Lang)

Any reason why we're not going for db48 right away?

comment:2 in reply to:  1 Changed 10 years ago by Schamschula (Marius Schamschula)

Replying to cal@…:

Any reason why we're not going for db48 right away?

Nope. So I bumped it in the diff file.

Changed 10 years ago by Schamschula (Marius Schamschula)

Attachment: Portfile-python27.diff added

comment:3 Changed 10 years ago by jyrkiwahlstedt

Resolution: fixed
Status: newclosed

done in r126081

comment:4 Changed 10 years ago by larryv (Lawrence Velázquez)

Does this affect python26 also?

Changed 10 years ago by larryv (Lawrence Velázquez)

Attachment: python26-db48.patch added

use db48 with python26

comment:5 in reply to:  4 Changed 10 years ago by larryv (Lawrence Velázquez)

Cc: mcalhoun@… added
Port: python26 added
Resolution: fixed
Status: closedreopened
Summary: python27 memory leak due to db46python2{6,7} memory leak due to db46

It does. Here’s a patch to fix that.

Not going to bother with 2.4 and 2.5.

comment:6 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:7 Changed 9 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:8 Changed 9 years ago by petrrr

Owner: changed from macports-tickets@… to jwa@…
Status: reopenednew

This is probably solved. Assigning to maintainer of python27 for review.

comment:9 Changed 9 years ago by petrrr

Cc: jwa@… removed
Note: See TracTickets for help on using tickets.