[ 
https://issues.apache.org/jira/browse/ARROW-3466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16643070#comment-16643070
 ] 

Antoine Pitrou commented on ARROW-3466:
---------------------------------------

Ok, I can confirm the crash locally with protobuf 3.6.1, working with protobuf 
3.6.0.
Here is the gdb backtrace for {{python -c "import pyarrow, tensorflow"}}:

{code}
(gdb) bt
#0  __GI___pthread_mutex_lock (mutex=0x18) at ../nptl/pthread_mutex_lock.c:65
#1  0x00007fffb8a867a5 in google::protobuf::internal::OnShutdownRun(void 
(*)(void const*), void const*) ()
   from 
/home/antoine/miniconda3/envs/ttt/lib/python3.6/site-packages/google/protobuf/pyext/../../../../../libprotobuf.so.17
#2  0x00007fffb8a98d79 in google::protobuf::internal::InitProtobufDefaults() ()
   from 
/home/antoine/miniconda3/envs/ttt/lib/python3.6/site-packages/google/protobuf/pyext/../../../../../libprotobuf.so.17
#3  0x00007fffb8a98f8f in 
google::protobuf::internal::InitSCCImpl(google::protobuf::internal::SCCInfoBase*)
 ()
   from 
/home/antoine/miniconda3/envs/ttt/lib/python3.6/site-packages/google/protobuf/pyext/../../../../../libprotobuf.so.17
#4  0x00007fffb8aab819 in 
protobuf_google_2fprotobuf_2fany_2eproto::AddDescriptorsImpl() ()
   from 
/home/antoine/miniconda3/envs/ttt/lib/python3.6/site-packages/google/protobuf/pyext/../../../../../libprotobuf.so.17
#5  0x00007ffff7688827 in __pthread_once_slow (once_control=0x7fffb8e3dcf8 
<protobuf_google_2fprotobuf_2fany_2eproto::AddDescriptors()::once>, 
    init_routine=0x7fffc2fdffe1 <std::__once_proxy()>) at pthread_once.c:116
#6  0x00007fffb8aac472 in void std::call_once<void (&)()>(std::once_flag&, void 
(&)()) ()
   from 
/home/antoine/miniconda3/envs/ttt/lib/python3.6/site-packages/google/protobuf/pyext/../../../../../libprotobuf.so.17
#7  0x00007ffff7de5733 in call_init (env=0x69c590, argv=0x7fffffffd9f8, argc=3, 
l=<optimized out>) at dl-init.c:72
#8  _dl_init (main_map=main_map@entry=0xf168c0, argc=3, argv=0x7fffffffd9f8, 
env=0x69c590) at dl-init.c:119
#9  0x00007ffff7dea1ff in dl_open_worker (a=a@entry=0x7fffffff4e50) at 
dl-open.c:522
#10 0x00007ffff6a422df in __GI__dl_catch_exception (exception=0x7fffffff4e30, 
operate=0x7ffff7de9dc0 <dl_open_worker>, args=0x7fffffff4e50)
    at dl-error-skeleton.c:196
#11 0x00007ffff7de97ca in _dl_open (
    file=0x7fffb9321eb0 
"/home/antoine/miniconda3/envs/ttt/lib/python3.6/site-packages/google/protobuf/pyext/_message.cpython-36m-x86_64-linux-gnu.so",
 
    mode=-2147483646, caller_dlopen=0x7ffff7a51191 
<_PyImport_FindSharedFuncptr+417>, nsid=<optimized out>, argc=3, 
argv=<optimized out>, env=0x69c590)
    at dl-open.c:605
#12 0x00007ffff7475f96 in dlopen_doit (a=a@entry=0x7fffffff5080) at dlopen.c:66
#13 0x00007ffff6a422df in __GI__dl_catch_exception 
(exception=exception@entry=0x7fffffff5020, operate=0x7ffff7475f40 
<dlopen_doit>, args=0x7fffffff5080)
    at dl-error-skeleton.c:196
#14 0x00007ffff6a4236f in __GI__dl_catch_error (objname=0x6960b0, 
errstring=0x6960b8, mallocedp=0x6960a8, operate=<optimized out>, 
args=<optimized out>)
    at dl-error-skeleton.c:215
#15 0x00007ffff7476735 in _dlerror_run (operate=operate@entry=0x7ffff7475f40 
<dlopen_doit>, args=args@entry=0x7fffffff5080) at dlerror.c:162
#16 0x00007ffff7476051 in __dlopen (
    file=file@entry=0x7fffb9321eb0 
"/home/antoine/miniconda3/envs/ttt/lib/python3.6/site-packages/google/protobuf/pyext/_message.cpython-36m-x86_64-linux-gnu.so",
 mode=<optimized out>) at dlopen.c:87
#17 0x00007ffff7a51191 in _PyImport_FindSharedFuncptr 
(prefix=prefix@entry=0x7ffff7ada746 "PyInit", 
    shortname=shortname@entry=0x7fffb92b8080 "_message", 
    pathname=pathname@entry=0x7fffb9321eb0 
"/home/antoine/miniconda3/envs/ttt/lib/python3.6/site-packages/google/protobuf/pyext/_message.cpython-36m-x86_64-linux-gnu.so",
 fp=fp@entry=0x0) at ./Python/dynload_shlib.c:95
#18 0x00007ffff7a230bf in _PyImport_LoadDynamicModuleWithSpec 
(spec=spec@entry=0x7fffb92afac8, fp=fp@entry=0x0) at ./Python/importdl.c:129
[...]
{code}


> [CI] Python coverage crash on Travis-CI
> ---------------------------------------
>
>                 Key: ARROW-3466
>                 URL: https://issues.apache.org/jira/browse/ARROW-3466
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Continuous Integration, Python
>            Reporter: Antoine Pitrou
>            Priority: Critical
>
> We're getting crashes on Travis-CI recently when running the Python test 
> suite with coverage enabled. There is no specific output or traceback 
> unfortunately. Example at 
> https://travis-ci.org/apache/arrow/jobs/438624063#L3571



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to