From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: Cyrill Gorcunov <gorcunov@gmail.com>,
tml <tarantool-patches@dev.tarantool.org>
Subject: Re: [Tarantool-patches] [PATCH v8 3/4] box/cbox: implement cbox Lua module
Date: Thu, 12 Nov 2020 23:54:00 +0100 [thread overview]
Message-ID: <0b270751-29e7-38b1-ba3f-32ecfe793d85@tarantool.org> (raw)
In-Reply-To: <6572e8c8-b801-0db9-80c0-31bdaca89355@tarantool.org>
On 29.10.2020 23:15, Vladislav Shpilevoy wrote:
> Thanks for the patch!
>
> The module leaks somewhere. It never unloads the shared file. I
> tried this:
>
> cbox = require('cbox')
> f = cbox.func.load('function1.test_push')
> f()
> f = nil
> cbox.func.unload('function1.test_push')
> collectgarbage('collect')
>
> Then I use 'lsof -p' to see what files are loaded, and I see
> function1.dylib here. When I do all the same using _func space
> and box.func.call, the file is unloaded correctly.
>
> (function1.dylib I took from test/box/.)
This bug still is not fixed. You said
I'll try to repeat.
But the module is not unloaded on the same test above in v10.
next prev parent reply other threads:[~2020-11-12 22:54 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-14 13:35 [Tarantool-patches] [PATCH v8 0/4] box/cbox: implement cfunc " Cyrill Gorcunov
2020-10-14 13:35 ` [Tarantool-patches] [PATCH v8 1/4] box/func: factor out c function entry structure Cyrill Gorcunov
2020-10-29 22:15 ` Vladislav Shpilevoy
2020-10-30 9:51 ` Cyrill Gorcunov
2020-10-31 0:13 ` Vladislav Shpilevoy
2020-10-31 15:27 ` Cyrill Gorcunov
2020-10-14 13:35 ` [Tarantool-patches] [PATCH v8 2/4] module_cache: move module handling into own subsystem Cyrill Gorcunov
2020-10-29 22:15 ` Vladislav Shpilevoy
2020-10-30 10:15 ` Cyrill Gorcunov
2020-10-31 0:15 ` Vladislav Shpilevoy
2020-10-31 15:29 ` Cyrill Gorcunov
2020-10-14 13:35 ` [Tarantool-patches] [PATCH v8 3/4] box/cbox: implement cbox Lua module Cyrill Gorcunov
2020-10-29 22:15 ` Vladislav Shpilevoy
2020-10-30 12:51 ` Cyrill Gorcunov
2020-10-31 0:21 ` Vladislav Shpilevoy
2020-10-31 21:59 ` Cyrill Gorcunov
2020-11-01 8:26 ` Cyrill Gorcunov
2020-11-02 22:25 ` Vladislav Shpilevoy
2020-11-03 7:26 ` Cyrill Gorcunov
2020-11-12 22:54 ` Vladislav Shpilevoy [this message]
2020-11-13 18:30 ` Cyrill Gorcunov
2020-10-14 13:35 ` [Tarantool-patches] [PATCH v8 4/4] test: box/cfunc -- add simple module test Cyrill Gorcunov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0b270751-29e7-38b1-ba3f-32ecfe793d85@tarantool.org \
--to=v.shpilevoy@tarantool.org \
--cc=gorcunov@gmail.com \
--cc=tarantool-patches@dev.tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH v8 3/4] box/cbox: implement cbox Lua module' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox