You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Matthew Jacobs (JIRA)" <ji...@apache.org> on 2017/01/26 00:39:26 UTC

[jira] [Created] (KUDU-1851) Kudu python client crash on drop column

Matthew Jacobs created KUDU-1851:
------------------------------------

             Summary: Kudu python client crash on drop column
                 Key: KUDU-1851
                 URL: https://issues.apache.org/jira/browse/KUDU-1851
             Project: Kudu
          Issue Type: Bug
          Components: client
    Affects Versions: 1.2.0
         Environment: ubuntu 14.04, clean python env, installed 1.2 kudu client, pip install latest python kudu client
            Reporter: Matthew Jacobs
            Priority: Critical


Repro:
{code}
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)
{code}


{code}
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.
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)