Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1851

Kudu python client crash on drop column

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.3.0
    • Component/s: python
    • Labels:
      None
    • Environment:
      ubuntu 14.04, clean python env, installed 1.2 kudu client, pip install latest python kudu client

      Description

      Repro:

      In [12]: table = client.table("impala::default.t")
      
      In [15]: ta = kudu.client.TableAlterer(table)
      
      In [16]: ta.drop_column("int_col")
      Segmentation fault (core dumped)
      
      Registers:
       rax            0x291def0       43114224
       rbx            0x0     0
       rcx            0x7fb527ba2760  140416032319328
       rdx            0x7fb522a34678  140415946933880
       rsi            0x7fb527ba2778  140416032319352
       rdi            0x2871140       42406208
       rbp            0x7ffe9c3bf310  0x7ffe9c3bf310
       rsp            0x7ffe9c3bf2c0  0x7ffe9c3bf2c0
       r8             0x3     3
       r9             0x7fb52331f5c8  140415956284872
       r10            0x1     1
       r11            0x7fb5233585a0  140415956518304
       r12            0x2924750       43140944
       r13            0x7ffe9c3bf340  140731519595328
       r14            0x7fb522a34660  140415946933856
       r15            0x7fb521bc80d0  140415931810000
       rip            0x7fb522a8c19a  0x7fb522a8c19a <kudu::client::KuduTableAlterer::DropColumn(std::string const&)+90>
       eflags         0x10202 [ IF RF ]
       cs             0x33    51
       ss             0x2b    43
       ds             0x0     0
       es             0x0     0
       fs             0x0     0
       gs             0x0     0
      SegvAnalysis:
       Segfault happened at: 0x7fb522a8c19a <_ZN4kudu6client16KuduTableAlterer10DropColumnERKSs+90>:  mov    (%rbx),%rcx
       PC (0x7fb522a8c19a) ok
       source "(%rbx)" (0x00000000) not located in a known VMA region (needed readable region)!
       destination "%rcx" ok
      SegvReason: reading NULL VMA
      SourcePackage: ipython
      Stacktrace:
       #0  0x00007fb522a8c19a in kudu::client::KuduTableAlterer::DropColumn(std::string const&) () from /usr/lib/libkudu_client.so.0
       No symbol table info available.
       #1  0x00007fb5230adb37 in __pyx_pf_4kudu_6client_12TableAlterer_10drop_column (__pyx_v_name=<optimized out>, __pyx_v_self=0x7fb521c6f780) at kudu/client.cpp:30938
               __pyx_t_2 = 0x0
               __pyx_t_4 = 0x0
               __pyx_r = 0x0
               __pyx_t_1 = 0x0
               __pyx_t_3 = 0x0
               __pyx_t_5 = {
                 static npos = <optimized out>, 
                 _M_dataplus = {
                   <std::allocator<char>> = {
                     <__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, 
                   members of std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider: 
                   _M_p = 0x2926f38 "int_col"
                 }
               }
       #2  __pyx_pw_4kudu_6client_12TableAlterer_11drop_column (__pyx_v_self=0x7fb521c6f780, __pyx_v_name=<optimized out>) at kudu/client.cpp:30867
               __pyx_r = 0x0
       #3  0x000000000052457c in PyEval_EvalFrameEx ()
       No symbol table info available.
       #4  0x0000000000555551 in PyEval_EvalCodeEx ()
       No symbol table info available.
       #5  0x00000000005b41e2 in PyEval_EvalCode ()
       No symbol table info available.
       #6  0x000000000052835a in PyEval_EvalFrameEx ()
       No symbol table info available.
       #7  0x0000000000555551 in PyEval_EvalCodeEx ()
       No symbol table info available.
       #8  0x0000000000525560 in PyEval_EvalFrameEx ()
       No symbol table info available.
       #9  0x0000000000555551 in PyEval_EvalCodeEx ()
       No symbol table info available.
       #10 0x0000000000524338 in PyEval_EvalFrameEx ()
       No symbol table info available.
       #11 0x0000000000555551 in PyEval_EvalCodeEx ()
       No symbol table info available.
       #12 0x0000000000524338 in PyEval_EvalFrameEx ()
       No symbol table info available.
       #13 0x0000000000555551 in PyEval_EvalCodeEx ()
       No symbol table info available.
       #14 0x0000000000524338 in PyEval_EvalFrameEx ()
       No symbol table info available.
       #15 0x0000000000555551 in PyEval_EvalCodeEx ()
       No symbol table info available.
       #16 0x0000000000524338 in PyEval_EvalFrameEx ()
       No symbol table info available.
      

        Attachments

          Activity

            People

            • Assignee:
              jtbirdsell Jordan Birdsell
              Reporter:
              mjacobs Matthew Jacobs
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: