Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-14529

[GLib][Ruby] Segfault when trying to create Decimal128DataType with wrong precision

    XMLWordPrintableJSON

Details

    Description

      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
      

      Attachments

        Issue Links

          Activity

            People

              kou Kouhei Sutou
              simpl1g Kanstantsin Ilchanka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m