apache / incubator-heron

Apache Heron (Incubating) is a realtime, distributed, fault-tolerant stream processing engine from Twitter
https://heron.apache.org/
Apache License 2.0
3.65k stars 597 forks source link

python-3.8.10 protobuf 3.18.3 Segmentation fault: 11 #3864

Closed thinker0 closed 1 year ago

thinker0 commented 1 year ago

Describe the bug

heron cli python-3.8.10 and protobuf-3.18.3 Segmentation fault: 11

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior Changing the 3.18.3 version to 3.19.6 works fine.

Screenshots If applicable, add screenshots to help explain your problem.

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Python [72157]
Path:                  /Library/Frameworks/Python.framework/Versions/3.8/Resources/Python.app/Contents/MacOS/Python
Identifier:            org.python.python
Version:               3.8.10 (3.8.10)
Code Type:             X86-64 (Native)
Parent Process:        zsh [89078]
Responsible:           iTerm2 [488]
User ID:               502

Date/Time:             2022-12-29 17:38:55.3581 +0900
OS Version:            macOS 12.4 (21F79)
Report Version:        12
Bridge OS Version:     6.5 (19P5071)
Anonymous UUID:        3C36D018-7980-64FA-54A8-AB9E65570057

Time Awake Since Boot: 18000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       UNKNOWN_0xD at 0x0000000000000000
Exception Codes:       0x000000000000000d, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [72157]

VM Region Info: 0 is not in any region.  Bytes before following region: 4445896704
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      108ff0000-108ff4000    [   16K] r-x/r-x SM=COW  .../MacOS/Python

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   _message.cpython-38-darwin.so          0x10b34a04e google::protobuf::python::message_meta::New(_typeobject*, _object*, _object*) + 750
1   Python                                 0x10984299c type_call + 44
2   Python                                 0x1097ec326 _PyObject_MakeTpCall + 374
3   Python                                 0x1098cdc0c call_function + 652
4   Python                                 0x1098ca19c _PyEval_EvalFrameDefault + 30364
5   Python                                 0x1098ceb54 _PyEval_EvalCodeWithName + 3268
6   Python                                 0x1098c2a60 PyEval_EvalCode + 48
7   Python                                 0x1098bfe8a builtin_exec + 618
8   Python                                 0x10982c471 cfunction_vectorcall_FASTCALL + 177
9   Python                                 0x1097ec674 PyVectorcall_Call + 100
10  Python                                 0x1098ca6c0 _PyEval_EvalFrameDefault + 31680
11  Python                                 0x1098ceb54 _PyEval_EvalCodeWithName + 3268
12  Python                                 0x1097ece5d _PyFunction_Vectorcall + 253
13  Python                                 0x1098cdae2 call_function + 354
14  Python                                 0x1098ca19c _PyEval_EvalFrameDefault + 30364
15  Python                                 0x1097eccdd function_code_fastcall + 237
16  Python                                 0x1098cdae2 call_function + 354
17  Python                                 0x1098ca17f _PyEval_EvalFrameDefault + 30335
18  Python                                 0x1097eccdd function_code_fastcall + 237
19  Python                                 0x1098cdae2 call_function + 354
20  Python                                 0x1098ca250 _PyEval_EvalFrameDefault + 30544
21  Python                                 0x1097eccdd function_code_fastcall + 237
22  Python                                 0x1098cdae2 call_function + 354
23  Python                                 0x1098ca250 _PyEval_EvalFrameDefault + 30544
24  Python                                 0x1097eccdd function_code_fastcall + 237
25  Python                                 0x1097ee6f5 object_vacall + 437
26  Python                                 0x1097ee923 _PyObject_CallMethodIdObjArgs + 227
27  Python                                 0x1098f9109 PyImport_ImportModuleLevelObject + 1785
28  Python                                 0x1098bef69 builtin___import__ + 137
29  Python                                 0x1097ec8da cfunction_call_varargs + 122
30  Python                                 0x1098ca6c0 _PyEval_EvalFrameDefault + 31680
31  Python                                 0x1098ceb54 _PyEval_EvalCodeWithName + 3268
32  Python                                 0x1097ece5d _PyFunction_Vectorcall + 253
33  Python                                 0x1098cdae2 call_function + 354
34  Python                                 0x1098ca250 _PyEval_EvalFrameDefault + 30544
35  Python                                 0x1098ceb54 _PyEval_EvalCodeWithName + 3268
36  Python                                 0x1097ece5d _PyFunction_Vectorcall + 253
37  Python                                 0x1097ee6f5 object_vacall + 437
38  Python                                 0x1097ee923 _PyObject_CallMethodIdObjArgs + 227
39  Python                                 0x1098f923f PyImport_ImportModuleLevelObject + 2095
40  Python                                 0x1098c879d _PyEval_EvalFrameDefault + 23709
41  Python                                 0x1098ceb54 _PyEval_EvalCodeWithName + 3268
42  Python                                 0x1098c2a60 PyEval_EvalCode + 48
43  Python                                 0x1098bfe8a builtin_exec + 618
44  Python                                 0x10982c471 cfunction_vectorcall_FASTCALL + 177
45  Python                                 0x1097ec674 PyVectorcall_Call + 100
46  Python                                 0x1098ca6c0 _PyEval_EvalFrameDefault + 31680
47  Python                                 0x1098ceb54 _PyEval_EvalCodeWithName + 3268
48  Python                                 0x1097ece5d _PyFunction_Vectorcall + 253
49  Python                                 0x1098cdae2 call_function + 354
50  Python                                 0x1098ca19c _PyEval_EvalFrameDefault + 30364
51  Python                                 0x1097eccdd function_code_fastcall + 237
52  Python                                 0x1098cdae2 call_function + 354
53  Python                                 0x1098ca17f _PyEval_EvalFrameDefault + 30335
54  Python                                 0x1097eccdd function_code_fastcall + 237
55  Python                                 0x1098cdae2 call_function + 354
56  Python                                 0x1098ca250 _PyEval_EvalFrameDefault + 30544
57  Python                                 0x1097eccdd function_code_fastcall + 237
58  Python                                 0x1098cdae2 call_function + 354
59  Python                                 0x1098ca250 _PyEval_EvalFrameDefault + 30544
60  Python                                 0x1097eccdd function_code_fastcall + 237
61  Python                                 0x1097ee6f5 object_vacall + 437
62  Python                                 0x1097ee923 _PyObject_CallMethodIdObjArgs + 227
63  Python                                 0x1098f9109 PyImport_ImportModuleLevelObject + 1785
64  Python                                 0x1098bef69 builtin___import__ + 137
65  Python                                 0x1097ec8da cfunction_call_varargs + 122
66  Python                                 0x1098ca6c0 _PyEval_EvalFrameDefault + 31680
67  Python                                 0x1098ceb54 _PyEval_EvalCodeWithName + 3268
68  Python                                 0x1097ece5d _PyFunction_Vectorcall + 253
69  Python                                 0x1098cdae2 call_function + 354
70  Python                                 0x1098ca250 _PyEval_EvalFrameDefault + 30544
71  Python                                 0x1098ceb54 _PyEval_EvalCodeWithName + 3268
72  Python                                 0x1097ece5d _PyFunction_Vectorcall + 253
73  Python                                 0x1097ee6f5 object_vacall + 437
74  Python                                 0x1097ee923 _PyObject_CallMethodIdObjArgs + 227
75  Python                                 0x1098f923f PyImport_ImportModuleLevelObject + 2095
76  Python                                 0x1098c879d _PyEval_EvalFrameDefault + 23709
77  Python                                 0x1098ceb54 _PyEval_EvalCodeWithName + 3268
78  Python                                 0x1098c2a60 PyEval_EvalCode + 48
79  Python                                 0x1098bfe8a builtin_exec + 618
80  Python                                 0x10982c471 cfunction_vectorcall_FASTCALL + 177
81  Python                                 0x1098cdae2 call_function + 354
82  Python                                 0x1098ca250 _PyEval_EvalFrameDefault + 30544
83  Python                                 0x1098ceb54 _PyEval_EvalCodeWithName + 3268
84  Python                                 0x1097ece5d _PyFunction_Vectorcall + 253
85  Python                                 0x1098cdae2 call_function + 354
86  Python                                 0x1098ca250 _PyEval_EvalFrameDefault + 30544
87  Python                                 0x1098ceb54 _PyEval_EvalCodeWithName + 3268
88  Python                                 0x1097ece5d _PyFunction_Vectorcall + 253
89  Python                                 0x1098cdae2 call_function + 354
90  Python                                 0x1098ca250 _PyEval_EvalFrameDefault + 30544
91  Python                                 0x1098ceb54 _PyEval_EvalCodeWithName + 3268
92  Python                                 0x1097ece5d _PyFunction_Vectorcall + 253
93  Python                                 0x1098cdae2 call_function + 354
94  Python                                 0x1098ca314 _PyEval_EvalFrameDefault + 30740
95  Python                                 0x1097eccdd function_code_fastcall + 237
96  Python                                 0x1098cdae2 call_function + 354
97  Python                                 0x1098ca17f _PyEval_EvalFrameDefault + 30335
98  Python                                 0x1097eccdd function_code_fastcall + 237
99  Python                                 0x1098cdae2 call_function + 354
100 Python                                 0x1098ca17f _PyEval_EvalFrameDefault + 30335
101 Python                                 0x1097eccdd function_code_fastcall + 237
102 Python                                 0x1097ef722 method_vectorcall + 322
103 Python                                 0x1097ec674 PyVectorcall_Call + 100
104 Python                                 0x1098ca4fd _PyEval_EvalFrameDefault + 31229
105 Python                                 0x1098ceb54 _PyEval_EvalCodeWithName + 3268
106 Python                                 0x1097ece5d _PyFunction_Vectorcall + 253
107 Python                                 0x1097ef7ad method_vectorcall + 461
108 Python                                 0x1097ec674 PyVectorcall_Call + 100
109 Python                                 0x1098ca4fd _PyEval_EvalFrameDefault + 31229
110 Python                                 0x1098ceb54 _PyEval_EvalCodeWithName + 3268
111 Python                                 0x1097ece5d _PyFunction_Vectorcall + 253
112 Python                                 0x1098cdae2 call_function + 354
113 Python                                 0x1098ca17f _PyEval_EvalFrameDefault + 30335
114 Python                                 0x1097eccdd function_code_fastcall + 237
115 Python                                 0x1098cdae2 call_function + 354
116 Python                                 0x1098ca17f _PyEval_EvalFrameDefault + 30335
117 Python                                 0x1097eccdd function_code_fastcall + 237
118 Python                                 0x1098cdae2 call_function + 354
119 Python                                 0x1098ca250 _PyEval_EvalFrameDefault + 30544
120 Python                                 0x1098ceb54 _PyEval_EvalCodeWithName + 3268
121 Python                                 0x1098c2a60 PyEval_EvalCode + 48
122 Python                                 0x1098bfe8a builtin_exec + 618
123 Python                                 0x10982c471 cfunction_vectorcall_FASTCALL + 177
124 Python                                 0x1098cdae2 call_function + 354
125 Python                                 0x1098ca250 _PyEval_EvalFrameDefault + 30544
126 Python                                 0x1098ceb54 _PyEval_EvalCodeWithName + 3268
127 Python                                 0x1097ece5d _PyFunction_Vectorcall + 253
128 Python                                 0x1098cdae2 call_function + 354
129 Python                                 0x1098ca250 _PyEval_EvalFrameDefault + 30544
130 Python                                 0x1098ceb54 _PyEval_EvalCodeWithName + 3268
131 Python                                 0x1097ece5d _PyFunction_Vectorcall + 253
132 Python                                 0x1097ec674 PyVectorcall_Call + 100
133 Python                                 0x1099336a0 pymain_run_module + 192
134 Python                                 0x109932d88 Py_RunMain + 1416
135 Python                                 0x109933573 pymain_main + 403
136 Python                                 0x1099335cb Py_BytesMain + 43
137 dyld                                   0x113d7551e start + 462

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x000000010adc1830  rbx: 0x00007f858208ae48  rcx: 0x000000010adc1000  rdx: 0x000000010adc1850
  rdi: 0x000000010b499900  rsi: 0x00020e0000000002  rbp: 0x00007ff7b6f09320  rsp: 0x00007ff7b6f09280
   r8: 0x0b24dd6b471c6ccd   r9: 0x0000000081f6f5e4  r10: 0x000000010adfd690  r11: 0x0000000000000007
  r12: 0x0000000000000048  r13: 0x000000010adc1830  r14: 0x0000000000000000  r15: 0x00007f8581f6f500
  rip: 0x000000010b34a04e  rfl: 0x0000000000010206  cr2: 0x000000010b33ea40

Logical CPU:     6
Error Code:      0x00000000 
Trap Number:     13

Thread 0 instruction stream:
  bf 80 03 00 00 48 83 07-01 48 8b 75 b0 4c 89 fa  .....H...H.u.L..
  e8 3b 25 00 00 85 c0 0f-88 68 02 00 00 48 8b 4d  .;%......h...H.M
  b0 83 79 04 00 7e 75 45-31 e4 31 d2 48 89 55 a8  ..y..~uE1.1.H.U.
  48 8b 59 28 4a 8d 3c 23-e8 03 4a ff ff 49 89 c5  H.Y(J.<#..J..I..
  48 85 c0 0f 84 3c 02 00-00 4a 8b 74 23 08[f6]06  H....<...J.t#... <==
  01 75 06 48 83 c6 01 eb-04 48 8b 76 10 4c 89 ff  .u.H.....H.v.L..
  4c 89 ea e8 02 bc 11 00-41 89 c6 49 83 45 00 ff  L.......A..I.E..
  75 08 4c 89 ef e8 b0 bc-11 00 45 85 f6 0f 88 02  u.L.......E.....
  02 00 00 48 8b 55 a8 48-83 c2 01 48 8b 4d b0 48  ...H.U.H...H.M.H
  63 41 04 49 83 c4 48 48-39 c2 7c 90 83 79 74 00  cA.I..HH9.|..yt.
  0f 8e 64 01 00 00 45 31-e4 4c 8b 71 40 4b 8d 1c  ..d...E1.L.q@K..
  e4 49 8d 3c de e8 46 8c-fe ff 48 85 c0 0f 84 c2  .I.<..F...H.....

Binary Images:
       0x10b331000 -        0x10b490fff _message.cpython-38-darwin.so (*) <363de008-99fd-3d23-bd74-a48cba7a849c> /Users/USER/*/_message.cpython-38-darwin.so
       0x1097ca000 -        0x109a19fff org.python.python (3.8.10, (c) 2001-2019 Python Software Foundation.) <70430122-7408-3d45-851c-4239248ce8f6> /Library/Frameworks/Python.framework/Versions/3.8/Python
       0x113d70000 -        0x113ddbfff dyld (*) <b70ce1ec-b902-3852-8268-05de00bfa8d5> /usr/lib/dyld

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 6
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=535.2M resident=0K(0%) swapped_out_or_unallocated=535.2M(100%)
Writable regions: Total=1.5G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.5G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                    8K        1 
MALLOC                           257.2M       33 
MALLOC guard page                   24K        5 
MALLOC_MEDIUM (reserved)         840.0M        7         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
ObjC additional data                15K        1 
STACK GUARD                          4K        1 
Stack                             16.0M        1 
VM_ALLOCATE                       17.8M       73 
__DATA                            2859K      156 
__DATA_CONST                      5942K      117 
__DATA_DIRTY                       209K       50 
__LINKEDIT                       446.4M       43 
__TEXT                            88.9M      167 
__UNICODE                          592K        1 
dyld private memory               1024K        1 
shared memory                       12K        2 
===========                     =======  ======= 
TOTAL                              2.0G      660 
TOTAL, minus reserved VM space   836.6M      660 

Operating System

Additional context SIG 11 in some environments.