Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the FFI CPAN distribution.

Report information
The Basics
Id: 8446
Status: resolved
Priority: 0/
Queue: FFI

People
Owner: Nobody in particular
Requestors: vnosov [...] stonefly.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Memory leak
Perl application failed to deallocate memory that was used by structure if pointer to the structure was used as an argument by C function from FFI library. Attachement has test suit that exposes this problem. Problem was exposed when FFI version 1.01 was used with Perl v5.8.2 built for i686-linux-64int on system: Linux storageconcentrator.stonefly.com 2.4.18-10sfn-4 #2 Mon May 24 16:19:34 PDT 2004 i686 unknown. Problem was exposed in cases when structure was allocated by function "make_struct" from module C::Include and when the same structure was allocated by module Convert::Binary::C.
Download test.tgz
application/x-gzip-compressed 2.7k

Message body not shown because it is not plain text.

Subject: [cpan #8446]
Date: Mon, 15 Nov 2004 09:21:46 -0800
From: "Viktor Nosov" <vnosov [...] stoneflynetworks.com>
To: <bug-FFI [...] rt.cpan.org>
RT-Send-Cc:
Hi, The same problem with FFI library 1.01 was exposed with perl, v5.8.2 built for i686-linux-64int on system with the next standard Linux distribution: Linux chris-123 2.4.21-20.EL.c0smp #1 SMP Thu Sep 9 01:53:25 EDT 2004 i686 i686 i386 GNU/Linux Viktor Nosov. Show quoted text
-----Original Message----- From: FFI [mailto:bug-FFI@rt.cpan.org] Sent: Monday, November 15, 2004 8:44 AM To: Viktor Nosov Subject: [cpan #8446] AutoReply: Memory leak Greetings, This message has been automatically generated in response to your bug report about FFI, a summary of which appears below. There is no need to reply to this message right now. Your bug in FFI has been assigned an ID of [cpan #8446]. Please include the string: [cpan #8446] in the subject line of all future correspondence about this issue. To do so, you may reply to this message. Thank you, bug-FFI@rt.cpan.org ------------------------------------------------------------------------- Perl application failed to deallocate memory that was used by structure if pointer to the structure was used as an argument by C function from FFI library. Attachement has test suit that exposes this problem. Problem was exposed when FFI version 1.01 was used with Perl v5.8.2 built for i686-linux-64int on system: Linux storageconcentrator.stonefly.com 2.4.18-10sfn-4 #2 Mon May 24 16:19:34 PDT 2004 i686 unknown. Problem was exposed in cases when structure was allocated by function "make_struct" from module C::Include and when the same structure was allocated by module Convert::Binary::C.
If this is still an issue for you, please reopen the ticket here: https://github.com/plicease/FFI/issues I am the new maintainer and will be tracking issues there hence forth.