You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Krisztian Szucs (Jira)" <ji...@apache.org> on 2022/07/29 16:18:00 UTC

[jira] [Resolved] (ARROW-17246) [Packaging][deb][RPM] Don't use system jemalloc

     [ https://issues.apache.org/jira/browse/ARROW-17246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krisztian Szucs resolved ARROW-17246.
-------------------------------------
    Resolution: Fixed

Issue resolved by pull request 13739
[https://github.com/apache/arrow/pull/13739]

> [Packaging][deb][RPM] Don't use system jemalloc
> -----------------------------------------------
>
>                 Key: ARROW-17246
>                 URL: https://issues.apache.org/jira/browse/ARROW-17246
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Packaging
>            Reporter: Kouhei Sutou
>            Assignee: Kouhei Sutou
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 9.0.0
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Because system jemalloc can't be used with {{dlopen()}}. If system jemalloc can't used with {{dlopen()}}, our shared libraried can't be loaded as bindings of script languages such as Ruby:
> {noformat}
> + ruby -r gi -e 'p GI.load('\''Arrow'\'')'
> (null)-WARNING **: Failed to load shared library 'libarrow-glib.so.900' referenced by the typelib: /lib64/libjemalloc.so.2: cannot allocate memory in static TLS block
> {noformat}
> This is caused because system jemalloc isn't built with {{--disable-initial-exec-tls}}. See also:
> * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951704
> * https://github.com/jemalloc/jemalloc/issues/1237



--
This message was sent by Atlassian Jira
(v8.20.10#820010)