You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@madlib.apache.org by "Frank McQuillan (JIRA)" <ji...@apache.org> on 2019/05/02 19:16:00 UTC
[jira] [Updated] (MADLIB-1291) madlib.dist_jaccard abnormal for not
releasing the memory
[ https://issues.apache.org/jira/browse/MADLIB-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Frank McQuillan updated MADLIB-1291:
------------------------------------
Fix Version/s: (was: v1.12)
> madlib.dist_jaccard abnormal for not releasing the memory
> ---------------------------------------------------------
>
> Key: MADLIB-1291
> URL: https://issues.apache.org/jira/browse/MADLIB-1291
> Project: Apache MADlib
> Issue Type: Bug
> Components: Module: Linear-Algebra Functions
> Reporter: astronee jin
> Priority: Major
>
> the bug was found by: [http://www.wotung.com|http://www.wotung.com/] or [http://www.china-para.com|http://www.china-para.com/]
> when running the following test
> /usr/local/madlib/bin/madpack -s madlib -p hawq -c gpadmin@localhost:5432/postgres -t linalg install-check
> the programe will quit abnoramlly,
> the case fails even by manual inputing:
> postgres=# select madlib.dist_jaccard('\{1,-2,3}','\{4,-5,6}');
> server closed the connection unexpectedly
> This probably means the server terminated abnormally
> before or while processing the request.
> The connection to the server was lost. Attempting reset: Failed.
> after the Analysis, we think the servingp process received the abormal SIGNAL and quit, it's from abort() function. the client connection is lost too.
>
> when debugging into function Dist.Jaccard, the memory is not released explicitly, after add the following and recomplie:
>
> x_set.clear();
> y_set.clear();
>
> we can execute the following and not abormal from the function of distJaccard:
> postgres=# select madlib.dist_jaccard('\{1,-2,3}','\{4,-5,6}');
> dist_jaccard
> --------------
> 1
> (1 row)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)