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:29:00 UTC
[jira] [Resolved] (ARROW-14530) [GLib][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 resolved ARROW-14530.
----------------------------------
Fix Version/s: 7.0.0
Resolution: Fixed
Issue resolved by pull request 11587
[https://github.com/apache/arrow/pull/11587]
> [GLib][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: GLib, Ruby
> Reporter: Kanstantsin Ilchanka
> Assignee: Kouhei Sutou
> Priority: Major
> Labels: pull-request-available
> Fix For: 7.0.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> {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)