You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Kouhei Sutou (Jira)" <ji...@apache.org> on 2021/11/02 20:28:01 UTC

[jira] [Updated] (ARROW-14529) [GLib][Ruby] Segfault when trying to create Decimal128DataType with wrong precision

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

Kouhei Sutou updated ARROW-14529:
---------------------------------
    Summary: [GLib][Ruby] Segfault when trying to create Decimal128DataType with wrong precision  (was: [Ruby] Segfault when trying to create Decimal128DataType with wrong precision)

> [GLib][Ruby] Segfault when trying to create Decimal128DataType with wrong precision
> -----------------------------------------------------------------------------------
>
>                 Key: ARROW-14529
>                 URL: https://issues.apache.org/jira/browse/ARROW-14529
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: GLib, Ruby
>            Reporter: Kanstantsin Ilchanka
>            Assignee: Kouhei Sutou
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 7.0.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> {code:java}
> Arrow::Decimal128DataType.new(50, 48)
>  /tmp/apache-arrow-20211019-6348-1ltpz75/apache-arrow-5.0.0/cpp/src/arrow/type.cc:813:  Check failed: (precision) <= (kMaxPrecision) 
>  0   libarrow.500.dylib                  0x000000011170b8e2 _ZN5arrow4util7CerrLogD2Ev + 204
>  1   libarrow.500.dylib                  0x000000011170b808 _ZN5arrow4util7CerrLogD0Ev + 14
>  2   libarrow.500.dylib                  0x000000011170b7b0 _ZN5arrow4util8ArrowLogD1Ev + 34
>  3   libarrow.500.dylib                  0x00000001116a7eba _ZN5arrow14Decimal128TypeC2Eii + 176
>  4   libarrow.500.dylib                  0x00000001116b21bc _ZN5arrow10decimal128Eii + 78
>  5   libarrow-glib.500.dylib             0x000000011147eb68 garrow_decimal128_data_type_new + 24
>  6   libffi.8.dylib                      0x0000000111122d8a ffi_call_unix64 + 82
>  7   ???                                 0x00007ffee21c3818 0x0 + 140732691920920
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)