You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Kanstantsin Ilchanka (Jira)" <ji...@apache.org> on 2021/11/01 08:43:00 UTC

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

Kanstantsin Ilchanka created ARROW-14529:
--------------------------------------------

             Summary: [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: Ruby
            Reporter: Kanstantsin Ilchanka


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



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