webots: The process crashed some time after starting successfully

Describe the Bug After trying to go through the tutorial for creating the controller here I get a warning:

WARNING: e_p: The process crashed some time after starting successfully.
WARNING: 'e_p' controller crashed.

Steps to Reproduce Follow the tutorial for creating a new controller and use the same code in C++ or Python. The bug seems to happen when creating a Robot object.

System

  • Operating System: [Linux Ubuntu 18.04]
  • Graphics Card: [NVIDIA GeForce RTX 2070 8 GB.]

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 21 (11 by maintainers)

Most upvoted comments

In the mean time I upgraded to macOS 12.3.1, and it’s still crashing for me with Python 3.9 (from python.org):

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

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000010
Exception Codes:       0x0000000000000001, 0x0000000000000010
Exception Note:        EXC_CORPSE_NOTIFY

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

VM Region Info: 0x10 is not in any region.  Bytes before following region: 4301877232
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      100697000-100917000    [ 2560K] r-x/r-x SM=COW  ...R/*/python3.9

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   Python                        	       0x1017c78d0 _PyObject_GC_Alloc + 48
1   Python                        	       0x1017c7a65 _PyObject_GC_New + 21
2   Python                        	       0x1016b7053 PyDict_New + 67
3   _controller.so                	       0x1011af60f SWIG_Python_TypeCache() + 47
4   _controller.so                	       0x1011ad965 PyInit__controller + 21
5   python3.9                     	       0x1007f60f8 _PyImport_LoadDynamicModuleWithSpec + 632
6   python3.9                     	       0x1007f5994 _imp_create_dynamic + 308
7   python3.9                     	       0x100722337 cfunction_vectorcall_FASTCALL + 215
8   python3.9                     	       0x1007c7a29 _PyEval_EvalFrameDefault + 28153
9   python3.9                     	       0x1007cb763 _PyEval_EvalCode + 3091
10  python3.9                     	       0x1006e0420 _PyFunction_Vectorcall + 256
11  python3.9                     	       0x1007ca7ab call_function + 411
12  python3.9                     	       0x1007c760e _PyEval_EvalFrameDefault + 27102
13  python3.9                     	       0x1006e0515 function_code_fastcall + 229
14  python3.9                     	       0x1007ca7ab call_function + 411
15  python3.9                     	       0x1007c75f1 _PyEval_EvalFrameDefault + 27073
16  python3.9                     	       0x1006e0515 function_code_fastcall + 229
17  python3.9                     	       0x1007ca7ab call_function + 411
18  python3.9                     	       0x1007c76ad _PyEval_EvalFrameDefault + 27261
19  python3.9                     	       0x1006e0515 function_code_fastcall + 229
20  python3.9                     	       0x1007ca7ab call_function + 411
21  python3.9                     	       0x1007c76ad _PyEval_EvalFrameDefault + 27261
22  python3.9                     	       0x1006e0515 function_code_fastcall + 229
23  python3.9                     	       0x1007ca7ab call_function + 411
24  python3.9                     	       0x1007c76ad _PyEval_EvalFrameDefault + 27261
25  python3.9                     	       0x1006e0515 function_code_fastcall + 229
26  python3.9                     	       0x1006e1927 object_vacall + 471
27  python3.9                     	       0x1006e1b86 _PyObject_CallMethodIdObjArgs + 246
28  python3.9                     	       0x1007f4826 PyImport_ImportModuleLevelObject + 1350
29  python3.9                     	       0x1007c5f03 _PyEval_EvalFrameDefault + 21203
30  python3.9                     	       0x1007cb763 _PyEval_EvalCode + 3091
31  python3.9                     	       0x1007c0b60 PyEval_EvalCode + 64
32  python3.9                     	       0x1007bd9ba builtin_exec + 618
33  python3.9                     	       0x100722337 cfunction_vectorcall_FASTCALL + 215
34  python3.9                     	       0x1007c7a29 _PyEval_EvalFrameDefault + 28153
35  python3.9                     	       0x1007cb763 _PyEval_EvalCode + 3091
36  python3.9                     	       0x1006e0420 _PyFunction_Vectorcall + 256
37  python3.9                     	       0x1007ca7ab call_function + 411
38  python3.9                     	       0x1007c760e _PyEval_EvalFrameDefault + 27102
39  python3.9                     	       0x1006e0515 function_code_fastcall + 229
40  python3.9                     	       0x1007ca7ab call_function + 411
41  python3.9                     	       0x1007c75f1 _PyEval_EvalFrameDefault + 27073
42  python3.9                     	       0x1006e0515 function_code_fastcall + 229
43  python3.9                     	       0x1007ca7ab call_function + 411
44  python3.9                     	       0x1007c76ad _PyEval_EvalFrameDefault + 27261
45  python3.9                     	       0x1006e0515 function_code_fastcall + 229
46  python3.9                     	       0x1007ca7ab call_function + 411
47  python3.9                     	       0x1007c76ad _PyEval_EvalFrameDefault + 27261
48  python3.9                     	       0x1006e0515 function_code_fastcall + 229
49  python3.9                     	       0x1006e1927 object_vacall + 471
50  python3.9                     	       0x1006e1b86 _PyObject_CallMethodIdObjArgs + 246
51  python3.9                     	       0x1007f4826 PyImport_ImportModuleLevelObject + 1350
52  python3.9                     	       0x1007c5f03 _PyEval_EvalFrameDefault + 21203
53  python3.9                     	       0x1007cb763 _PyEval_EvalCode + 3091
54  python3.9                     	       0x1007c0b60 PyEval_EvalCode + 64
55  python3.9                     	       0x10081125d pyrun_file + 333
56  python3.9                     	       0x10080f32e PyRun_SimpleFileExFlags + 734
57  python3.9                     	       0x10082e7e3 Py_RunMain + 2067
58  python3.9                     	       0x10082ed13 pymain_main + 403
59  python3.9                     	       0x10082ed6b Py_BytesMain + 43
60  dyld                          	       0x10799251e start + 462```

Hi, yes the version is R2020a rev 1