Python Error while using 'rostopic list'

asked 2016-03-24 21:37:46 -0500

pbarile gravatar image

updated 2016-03-25 04:26:01 -0500

gvdhoorn gravatar image

I've successfully installed ROS & Gazebo using Homebrew and following the Wiki instructions on my Mac, running Yosemite 10.10.5. Both of these execute ok. But when I try to run rostopic list I'm getting this Python error:

Philips-MBP:install_isolated philipbarile$ rostopic list
Fatal Python error: PyThreadState_Get: no current thread
Abort trap: 6

Any help with a solution would be greatly appreciated.

Below is a full error dump when it crashes. Thanks, Phil

Process:               Python [649]
Path:                  /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Identifier:            Python
Version:               2.7.11 (2.7.11)
Code Type:             X86-64 (Native)
Parent Process:        bash [362]
Responsible:           Terminal [359]
User ID:               501

Date/Time:             2016-03-22 22:11:52.769 -0400
OS Version:            Mac OS X 10.10.5 (14F1605)
Report Version:        11
Anonymous UUID:        29CC205B-E456-E202-B22F-2566432FB5DD


Time Awake Since Boot: 1900 seconds

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

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff9719b286 __pthread_kill + 10
1   libsystem_c.dylib               0x00007fff9cf369ab abort + 129
2   org.python.python               0x0000000105e372a3 Py_FatalError + 49
3   org.python.python               0x0000000105e36785 PyThreadState_Get + 28
4   org.python.python               0x0000000105e33522 Py_InitModule4_64 + 62
5   _roslz4.so                      0x0000000105d8c5a3 init_roslz4 + 83
6   org.python.python               0x0000000105104f61 _PyImport_LoadDynamicModule + 140
7   org.python.python               0x0000000105103c04 import_submodule + 285
8   org.python.python               0x000000010510377f load_next + 266
9   org.python.python               0x00000001051028f7 PyImport_ImportModuleLevel + 1147
10  org.python.python               0x00000001050e228c builtin___import__ + 135
11  org.python.python               0x000000010506a7d5 PyObject_Call + 100
12  org.python.python               0x00000001050f1d9a PyEval_CallObjectWithKeywords + 175
13  org.python.python               0x00000001050ec9da PyEval_EvalFrameEx + 22401
14  org.python.python               0x00000001050e704e PyEval_EvalCodeEx + 1611
15  org.python.python               0x00000001050e69fd PyEval_EvalCode + 54
16  org.python.python               0x000000010510132e PyImport_ExecCodeModuleEx + 248
17  org.python.python               0x000000010510419d load_source_module + 1103
18  org.python.python               0x000000010510443a load_package + 303
19  org.python.python               0x0000000105103c04 import_submodule + 285
20  org.python.python               0x00000001051037c1 load_next + 332
21  org.python.python               0x00000001051028f7 PyImport_ImportModuleLevel + 1147
22  org.python.python               0x00000001050e228c builtin___import__ + 135
23  org.python.python               0x000000010506a7d5 PyObject_Call + 100
24  org.python.python               0x00000001050f1d9a PyEval_CallObjectWithKeywords + 175
25  org.python.python               0x00000001050ec9da PyEval_EvalFrameEx + 22401
26  org.python.python               0x00000001050e704e PyEval_EvalCodeEx + 1611
27  org.python.python               0x00000001050e69fd PyEval_EvalCode + 54
28  org.python.python               0x000000010510132e PyImport_ExecCodeModuleEx + 248
29  org.python.python               0x000000010510419d load_source_module + 1103
30  org.python.python               0x0000000105103c04 import_submodule + 285
31  org.python.python               0x000000010510377f load_next + 266
32  org.python.python               0x00000001051028f7 PyImport_ImportModuleLevel + 1147
33  org.python.python               0x00000001050e228c builtin___import__ + 135
34  org.python.python               0x000000010506a7d5 PyObject_Call + 100
35  org.python.python               0x00000001050f1d9a PyEval_CallObjectWithKeywords + 175
36  org.python.python               0x00000001050ec9da PyEval_EvalFrameEx + 22401
37  org.python.python               0x00000001050e704e PyEval_EvalCodeEx + 1611
38  org.python.python               0x00000001050e69fd PyEval_EvalCode + 54
39  org.python.python               0x000000010510132e PyImport_ExecCodeModuleEx + 248
40  org.python.python               0x000000010510419d load_source_module + 1103
41  org.python.python               0x000000010510443a load_package + 303
42  org.python.python               0x0000000105103c04 import_submodule + 285
43  org.python.python               0x00000001051037c1 load_next + 332
44  org.python.python               0x00000001051028f7 PyImport_ImportModuleLevel + 1147
45  org.python.python               0x00000001050e228c builtin___import__ + 135
46  org ...
(more)
edit retag flag offensive close merge delete

Comments

gvdhoorn gravatar image gvdhoorn  ( 2016-03-25 04:22:41 -0500 )edit

Thanks for the help! I tried to follow the instructions on the link you supplied but was somewhat confused on some of the parameters used in the commands i.e. what is the <problematic_formula> Anyway, I decided to go ahead and start over running ROS under Ubuntu on my Mac using Oracle's VirtualBox

pbarile gravatar image pbarile  ( 2016-03-26 10:15:06 -0500 )edit