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/01 22:05:00 UTC

[jira] [Assigned] (ARROW-14530) [Ruby] Segfault when trying to create Decimal128 with comma

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

Kouhei Sutou reassigned ARROW-14530:
------------------------------------

    Assignee: Kouhei Sutou

> [Ruby] Segfault when trying to create Decimal128 with comma
> -----------------------------------------------------------
>
>                 Key: ARROW-14530
>                 URL: https://issues.apache.org/jira/browse/ARROW-14530
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Ruby
>            Reporter: Kanstantsin Ilchanka
>            Assignee: Kouhei Sutou
>            Priority: Major
>
> {code:java}
> Arrow::Decimal128.new('2,2')
> /tmp/apache-arrow-20211019-6348-1ltpz75/apache-arrow-5.0.0/cpp/src/arrow/result.cc:28: ValueOrDie called on an error: Invalid: The string '2,2' is not a valid decimal number
> 0   libarrow.500.dylib                  0x00000001099718e2 _ZN5arrow4util7CerrLogD2Ev + 204
> 1   libarrow.500.dylib                  0x0000000109971808 _ZN5arrow4util7CerrLogD0Ev + 14
> 2   libarrow.500.dylib                  0x00000001099717b0 _ZN5arrow4util8ArrowLogD1Ev + 34
> 3   libarrow.500.dylib                  0x00000001098c6dcf _ZN5arrow8internal14DieWithMessageERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 111
> 4   libarrow.500.dylib                  0x00000001098c6e7e _ZN5arrow8internal17InvalidValueOrDieERKNS_6StatusE + 146
> 5   libarrow.500.dylib                  0x000000010995af91 _ZN5arrow10Decimal128C1ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 93
> 6   libarrow-glib.500.dylib             0x00000001054d73a5 _Z25garrow_decimal_new_stringIN5arrow10Decimal128EEPN16DecimalConverterIT_E10GArrowTypeEPKc + 181
> 7   libffi.8.dylib                      0x0000000105166d8a ffi_call_unix64 + 82
> 8   ???                                 0x00007ffeee29b9a8 0x0 + 140732894132648
> {code}



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