Hi,
The Python statement "from gnuradio import gr" crashes the Python process
with "Fatal Python error: PyThreadState_Get: no current thread" (mac OS
10.12.1, GNU Radio 3.7.10.1 using Mac Ports, full log is attached).

I tried following the cleanup process detailed in
https://github.com/metacollin/homebrew-gnuradio/issues/47,
which caused me to remove the GR modules foo, baz and ieee802_11, such that
in a 2nd execution of that script it doesn't find anything.
Tried reinstalling GNU Radio with "sudo port -f uninstall gnuradio; sudo
port -t install gnuradio" but still no luck.
Process:               Python [44413]
Path:                  
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Identifier:            Python
Version:               2.7.10 (2.7.10)
Code Type:             X86-64 (Native)
Parent Process:        fish [528]
Responsible:           Python [44413]
User ID:               501

PlugIn Path:             
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python
PlugIn Identifier:       org.python.python
PlugIn Version:          2.7.12, [c] 2001-2016 Python Software Foundation. 
(2.7.12)

Date/Time:             2016-11-21 14:40:53.268 +0200
OS Version:            Mac OS X 10.12.1 (16B2555)
Report Version:        12
Anonymous UUID:        7FCC52F4-B5AD-E6C0-5A17-8D6F5AEEE2BA

Sleep/Wake UUID:       BCBAECE1-3F0E-4B80-BF6D-A408157ED236

Time Awake Since Boot: 61000 seconds
Time Since Wake:       1800 seconds

System Integrity Protection: enabled

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

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

Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fffa68a1dda __pthread_kill + 10
1   libsystem_pthread.dylib         0x00007fffa698d787 pthread_kill + 90
2   libsystem_c.dylib               0x00007fffa6807420 abort + 129
3   org.python.python               0x0000000109c573f1 Py_FatalError + 49
4   org.python.python               0x0000000109c567ac PyThreadState_Get + 28
5   org.python.python               0x0000000109c5257e Py_InitModule4_64 + 62
6   _runtime_swig.so                0x00000001099bf211 init_runtime_swig + 629
7   org.python.python               0x00000001095b7190 
_PyImport_LoadDynamicModule + 140
8   org.python.python               0x00000001095b5e8c 0x10951c000 + 630412
9   org.python.python               0x00000001095b5a60 0x10951c000 + 629344
10  org.python.python               0x00000001095b4c70 
PyImport_ImportModuleLevel + 1185
11  org.python.python               0x000000010959a066 0x10951c000 + 516198
12  org.python.python               0x00000001095a2534 PyEval_EvalFrameEx + 
14624
13  org.python.python               0x000000010959ea1e PyEval_EvalCodeEx + 1617
14  org.python.python               0x00000001095a5442 0x10951c000 + 562242
15  org.python.python               0x00000001095a1eae PyEval_EvalFrameEx + 
12954
16  org.python.python               0x00000001095a54d5 0x10951c000 + 562389
17  org.python.python               0x00000001095a1eae PyEval_EvalFrameEx + 
12954
18  org.python.python               0x000000010959ea1e PyEval_EvalCodeEx + 1617
19  org.python.python               0x000000010959e3c7 PyEval_EvalCode + 48
20  org.python.python               0x00000001095b371d 
PyImport_ExecCodeModuleEx + 241
21  org.python.python               0x00000001095b6427 0x10951c000 + 631847
22  org.python.python               0x00000001095b5e8c 0x10951c000 + 630412
23  org.python.python               0x00000001095b5a60 0x10951c000 + 629344
24  org.python.python               0x00000001095b4c38 
PyImport_ImportModuleLevel + 1129
25  org.python.python               0x000000010959a066 0x10951c000 + 516198
26  org.python.python               0x000000010952675b PyObject_Call + 99
27  org.python.python               0x00000001095a4e1b 
PyEval_CallObjectWithKeywords + 165
28  org.python.python               0x00000001095a0c6f PyEval_EvalFrameEx + 8283
29  org.python.python               0x000000010959ea1e PyEval_EvalCodeEx + 1617
30  org.python.python               0x000000010959e3c7 PyEval_EvalCode + 48
31  org.python.python               0x00000001095b371d 
PyImport_ExecCodeModuleEx + 241
32  org.python.python               0x00000001095b6427 0x10951c000 + 631847
33  org.python.python               0x00000001095b66af 0x10951c000 + 632495
34  org.python.python               0x00000001095b5e8c 0x10951c000 + 630412
35  org.python.python               0x00000001095b5cc2 0x10951c000 + 629954
36  org.python.python               0x00000001095b4d0c 
PyImport_ImportModuleLevel + 1341
37  org.python.python               0x000000010959a066 0x10951c000 + 516198
38  org.python.python               0x000000010952675b PyObject_Call + 99
39  org.python.python               0x00000001095a4e1b 
PyEval_CallObjectWithKeywords + 165
40  org.python.python               0x00000001095a0c6f PyEval_EvalFrameEx + 8283
41  org.python.python               0x000000010959ea1e PyEval_EvalCodeEx + 1617
42  org.python.python               0x000000010959e3c7 PyEval_EvalCode + 48
43  org.python.python               0x00000001095be63d 0x10951c000 + 665149
44  org.python.python               0x00000001095be7fa PyRun_StringFlags + 109
45  org.python.python               0x00000001095be74e PyRun_SimpleStringFlags 
+ 69
46  org.python.python               0x00000001095cf886 Py_Main + 2258
47  libdyld.dylib                   0x00007fffa6773255 start + 1

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x00007fff566e7d48  
rdx: 0x0000000000000000
  rdi: 0x0000000000000307  rsi: 0x0000000000000006  rbp: 0x00007fff566e7d70  
rsp: 0x00007fff566e7d48
   r8: 0x0000000000000040   r9: 0x00007fffaf477040  r10: 0x0000000008000000  
r11: 0x0000000000000206
  r12: 0x00007fabcd804400  r13: 0x0000000109aa1e38  r14: 0x00007fffaf4933c0  
r15: 0x0000000000000000
  rip: 0x00007fffa68a1dda  rfl: 0x0000000000000206  cr2: 0x00007fffa698b48b
  
Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133


Binary Images:
       0x109516000 -        0x109516fff  org.python.python (2.7.10 - 2.7.10) 
<599D1781-E4DA-397A-9311-E670ED5E1DAB> 
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
       0x10951c000 -        0x10960dfff  org.python.python (2.7.10 - 2.7.10) 
<9A7B981D-B190-38FF-A861-770007B7FCD9> 
/System/Library/Frameworks/Python.framework/Versions/2.7/Python
       0x109769000 -        0x10976afff  _locale.so (97) 
<CAE3E779-7512-337F-96AA-FA0C6FC9A6C8> 
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_locale.so
       0x10976f000 -        0x109771fff +libboost_system-mt.dylib (0) 
<ED86ABC8-84C1-3508-9362-6E2AB9295F0D> /opt/local/lib/libboost_system-mt.dylib
       0x109776000 -        0x109778fff +libboost_chrono-mt.dylib (0) 
<C4B20466-FEBD-3B5C-80F3-E86584B5E863> /opt/local/lib/libboost_chrono-mt.dylib
       0x10977e000 -        0x1097bb287  dyld (421.2) 
<13A9466A-2576-3ABB-AD9D-D6BC16439B8F> /usr/lib/dyld
       0x1099b9000 -        0x109b0dff3 +_runtime_swig.so (0) 
<33756E61-6C61-33CA-B929-1877B36C6380> 
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/gr/_runtime_swig.so
       0x109b77000 -        0x109cb1fff +org.python.python (2.7.12, [c] 
2001-2016 Python Software Foundation. - 2.7.12) 
<46884AF3-8723-3B6C-9F97-F5EAD025F5E6> 
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python
       0x109d94000 -        0x109e02ff7 +libgnuradio-runtime.3.7.10.1.dylib (0) 
<6EF29378-AC7C-3F20-BE56-99B1D71A2EDB> 
/opt/local/lib/libgnuradio-runtime.3.7.10.1.dylib
       0x109e5c000 -        0x109e79fff +liblog4cpp.5.dylib (0) 
<B0DB0354-DE40-3654-ABFA-D123B4811ADB> /opt/local/lib/liblog4cpp.5.dylib
       0x109e98000 -        0x109ec9ffb +libgnuradio-pmt.3.7.10.1.dylib (0) 
<033E8687-C0A3-3FC1-93C1-3B6D6A374F45> 
/opt/local/lib/libgnuradio-pmt.3.7.10.1.dylib
       0x109eef000 -        0x109f7fff7 +libvolk.1.3.dylib (0) 
<4A05A971-7F81-328C-8CCB-6AA056327105> /opt/local/lib/libvolk.1.3.dylib
       0x10a02d000 -        0x10a031fff +libboost_date_time-mt.dylib (0) 
<BD287B22-EE37-3A1D-9249-8BB46389ECF9> 
/opt/local/lib/libboost_date_time-mt.dylib
       0x10a040000 -        0x10a074fff +libboost_program_options-mt.dylib (0) 
<2E935CBA-E26F-3563-82DD-55B36E9A5A9A> 
/opt/local/lib/libboost_program_options-mt.dylib
       0x10a0d0000 -        0x10a0deff7 +libboost_filesystem-mt.dylib (0) 
<85C65F2C-FCB4-38F0-9CD4-431BF243B211> 
/opt/local/lib/libboost_filesystem-mt.dylib
       0x10a0f0000 -        0x10a1a3ff7 +libboost_regex-mt.dylib (0) 
<FBDD7CE8-8101-30D1-A28A-97E215E51B3B> /opt/local/lib/libboost_regex-mt.dylib
       0x10a239000 -        0x10a245ff7 +libboost_thread-mt.dylib (0) 
<A6B93F03-1583-326B-A986-DAC5A729045A> /opt/local/lib/libboost_thread-mt.dylib
       0x10a25c000 -        0x10a25dfff +libboost_atomic-mt.dylib (0) 
<C913ECE4-2FE8-33B8-8975-76F0816AB209> /opt/local/lib/libboost_atomic-mt.dylib
       0x10a260000 -        0x10bb15fff +libicudata.55.dylib (0) 
<9FFCD5FF-B765-3360-B471-74096FE4F813> /opt/local/lib/libicudata.55.dylib
       0x10bb17000 -        0x10bc5fff7 +libicui18n.55.dylib (0) 
<7C35B5BA-5E1A-362D-8A04-5BFE8154BA24> /opt/local/lib/libicui18n.55.dylib
       0x10bd34000 -        0x10be25ff7 +libicuuc.55.dylib (0) 
<E7A1BC55-C98F-3CB9-B25C-78F5D707F6AD> /opt/local/lib/libicuuc.55.dylib
       0x10be89000 -        0x10bee3ff3 +liborc-0.4.0.dylib (0) 
<299D0C06-50DB-3157-A5BB-3AE6CA53A293> /opt/local/lib/liborc-0.4.0.dylib
    0x7fff91621000 -     0x7fff91abaff7  com.apple.CoreFoundation (6.9 - 
1348.15) <C25C6FB8-E934-349C-952C-26CF913BAC33> 
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fffa4f9e000 -     0x7fffa4f9fff3  libDiagnosticMessagesClient.dylib 
(102) <422911A4-E273-3E88-BFC4-DF6470E48242> 
/usr/lib/libDiagnosticMessagesClient.dylib
    0x7fffa51dc000 -     0x7fffa51ddff3  libSystem.B.dylib (1238) 
<CFC3669C-FB44-3A51-8815-1E84A168F3C5> /usr/lib/libSystem.B.dylib
    0x7fffa52ed000 -     0x7fffa52edff3  libauto.dylib (187) 
<5BBF6A00-CC76-389D-84E7-CA88EDADE683> /usr/lib/libauto.dylib
    0x7fffa530e000 -     0x7fffa5364ff7  libc++.1.dylib (307.4) 
<BEE86868-F831-384C-919E-2B286ACFE87C> /usr/lib/libc++.1.dylib
    0x7fffa5365000 -     0x7fffa538ffff  libc++abi.dylib (307.2) 
<1CEF8ABB-7E6D-3C2F-8E0A-E7884478DD23> /usr/lib/libc++abi.dylib
    0x7fffa58cb000 -     0x7fffa5af0fff  libicucore.A.dylib (57132.0.1) 
<C8176937-9271-3F0E-829D-F3BBB9DD44B5> /usr/lib/libicucore.A.dylib
    0x7fffa5e80000 -     0x7fffa6250d97  libobjc.A.dylib (706) 
<F9AFE665-A3A2-3285-9495-19803A565861> /usr/lib/libobjc.A.dylib
    0x7fffa6677000 -     0x7fffa6688ff3  libz.1.dylib (67) 
<46E3FFA2-4328-327A-8D34-A03E20BFFB8E> /usr/lib/libz.1.dylib
    0x7fffa6697000 -     0x7fffa669bff7  libcache.dylib (79) 
<84E55656-FDA9-3B29-9E4F-BE31B2C0AA3C> /usr/lib/system/libcache.dylib
    0x7fffa669c000 -     0x7fffa66a6fff  libcommonCrypto.dylib (60092.20.1) 
<31040F10-5E57-3B9C-8D5B-33AD87D1BEE8> /usr/lib/system/libcommonCrypto.dylib
    0x7fffa66a7000 -     0x7fffa66aefff  libcompiler_rt.dylib (62) 
<486BDE52-81B4-3446-BD72-23977CAE556F> /usr/lib/system/libcompiler_rt.dylib
    0x7fffa66af000 -     0x7fffa66b7fff  libcopyfile.dylib (138) 
<0DA49B77-56EC-362D-98FF-FA78CFD986D6> /usr/lib/system/libcopyfile.dylib
    0x7fffa66b8000 -     0x7fffa673afdb  libcorecrypto.dylib (442.20.2) 
<2684CC01-087E-33E2-8219-AAA3BBD9BFD7> /usr/lib/system/libcorecrypto.dylib
    0x7fffa673b000 -     0x7fffa676dfff  libdispatch.dylib (703.20.1) 
<877B505D-826C-3246-84F7-0F850636039E> /usr/lib/system/libdispatch.dylib
    0x7fffa676e000 -     0x7fffa6773ff3  libdyld.dylib (421.2) 
<7BFA3476-6210-3BCB-8CE8-9B952F87BD84> /usr/lib/system/libdyld.dylib
    0x7fffa6774000 -     0x7fffa6774ffb  libkeymgr.dylib (28) 
<09CD7CA6-46D2-3A9F-B9F1-7C4CA5CA0D68> /usr/lib/system/libkeymgr.dylib
    0x7fffa6782000 -     0x7fffa6782fff  liblaunch.dylib (972.20.3) 
<7AB2E2EA-8B47-3420-87CE-5EE18A4EEE49> /usr/lib/system/liblaunch.dylib
    0x7fffa6783000 -     0x7fffa6788fff  libmacho.dylib (894) 
<1EAE5ADD-490C-3B1F-9F97-447BA8E0E90F> /usr/lib/system/libmacho.dylib
    0x7fffa6789000 -     0x7fffa678bff3  libquarantine.dylib (85) 
<F3E47D7C-8776-327C-9426-DD7DEB30DBDD> /usr/lib/system/libquarantine.dylib
    0x7fffa678c000 -     0x7fffa678dffb  libremovefile.dylib (45) 
<C4FC07FF-ED86-382E-B06F-33C34718080C> /usr/lib/system/libremovefile.dylib
    0x7fffa678e000 -     0x7fffa67a6ff7  libsystem_asl.dylib (349.1.1) 
<F0987490-8427-367F-B302-A05A7D61FEBF> /usr/lib/system/libsystem_asl.dylib
    0x7fffa67a7000 -     0x7fffa67a7ff7  libsystem_blocks.dylib (67) 
<B8C3701D-5A91-3D35-999D-2DC8D5393525> /usr/lib/system/libsystem_blocks.dylib
    0x7fffa67a8000 -     0x7fffa6835fef  libsystem_c.dylib (1158.20.4) 
<5F9531F5-EDA3-3D25-A827-3E0FD6B392BA> /usr/lib/system/libsystem_c.dylib
    0x7fffa6836000 -     0x7fffa6839ffb  libsystem_configuration.dylib 
(888.20.5) <CDC55FCB-C1FC-350D-A919-5DBCFC835B63> 
/usr/lib/system/libsystem_configuration.dylib
    0x7fffa683a000 -     0x7fffa683dfff  libsystem_coreservices.dylib (41.2) 
<5DE691C6-7EE6-3210-895D-9EA3ECBC09B4> 
/usr/lib/system/libsystem_coreservices.dylib
    0x7fffa683e000 -     0x7fffa6856ffb  libsystem_coretls.dylib (121.1.1) 
<8F7E9B12-400D-3276-A9C5-4546B0258554> /usr/lib/system/libsystem_coretls.dylib
    0x7fffa6857000 -     0x7fffa685dfff  libsystem_dnssd.dylib (765.20.4) 
<28E52C39-DF10-340F-A3EC-C0119AF6361F> /usr/lib/system/libsystem_dnssd.dylib
    0x7fffa685e000 -     0x7fffa6887fff  libsystem_info.dylib (503) 
<C686B834-5E7D-382C-AF6E-44AB78EE83E2> /usr/lib/system/libsystem_info.dylib
    0x7fffa6888000 -     0x7fffa68aaff7  libsystem_kernel.dylib (3789.21.3) 
<EC53F92A-0DFA-3027-A220-414A01F17B2E> /usr/lib/system/libsystem_kernel.dylib
    0x7fffa68ab000 -     0x7fffa68f2fe7  libsystem_m.dylib (3121.4) 
<7F86C291-B105-31C1-9923-90EBAB22B73F> /usr/lib/system/libsystem_m.dylib
    0x7fffa68f3000 -     0x7fffa6911ff7  libsystem_malloc.dylib (116) 
<F9840080-4C2C-3F3B-8087-7C738F12A1C7> /usr/lib/system/libsystem_malloc.dylib
    0x7fffa6912000 -     0x7fffa6969ff3  libsystem_network.dylib (856.20.4) 
<2BAFB24F-999C-3148-BDD8-F28E05F716F7> /usr/lib/system/libsystem_network.dylib
    0x7fffa696a000 -     0x7fffa6973ff3  libsystem_networkextension.dylib 
(563.20.3) <971DD3AD-D17A-32FF-95DE-0A5A979E68AE> 
/usr/lib/system/libsystem_networkextension.dylib
    0x7fffa6974000 -     0x7fffa697dff3  libsystem_notify.dylib (165.20.1) 
<EAD023A2-AD3F-31C8-9489-274B9A42DA61> /usr/lib/system/libsystem_notify.dylib
    0x7fffa697e000 -     0x7fffa6986fe7  libsystem_platform.dylib (126.1.2) 
<2F2D6A81-C36C-353D-B27B-A6643A32375E> /usr/lib/system/libsystem_platform.dylib
    0x7fffa6987000 -     0x7fffa6991ff7  libsystem_pthread.dylib (218.20.1) 
<46375095-4731-3034-9D87-396DE95FC697> /usr/lib/system/libsystem_pthread.dylib
    0x7fffa6992000 -     0x7fffa6995ff7  libsystem_sandbox.dylib (592.21.2) 
<2D42A2BF-A7AF-352A-A821-D8F6E85A63AC> /usr/lib/system/libsystem_sandbox.dylib
    0x7fffa6996000 -     0x7fffa6997fff  libsystem_secinit.dylib (24) 
<A54B8FEF-E792-3C54-8E0B-E80A376662F2> /usr/lib/system/libsystem_secinit.dylib
    0x7fffa6998000 -     0x7fffa699ffff  libsystem_symptoms.dylib (532.1.1) 
<8FB7CA37-79EF-3651-B5B9-B5E1E0947067> /usr/lib/system/libsystem_symptoms.dylib
    0x7fffa69a0000 -     0x7fffa69c0ff7  libsystem_trace.dylib (518.20.8) 
<C029B910-A65F-35F6-B194-B933B454EAB4> /usr/lib/system/libsystem_trace.dylib
    0x7fffa69c1000 -     0x7fffa69c6ffb  libunwind.dylib (35.3) 
<9F7C2AD8-A9A7-3DE4-828D-B0F0F166AAA0> /usr/lib/system/libunwind.dylib
    0x7fffa69c7000 -     0x7fffa69f0ff7  libxpc.dylib (972.20.3) 
<85EB25FD-218F-38EE-9E69-391CC8EBE6C5> /usr/lib/system/libxpc.dylib

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: 38111
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=163.5M resident=0K(0%) 
swapped_out_or_unallocated=163.5M(100%)
Writable regions: Total=47.0M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) 
unallocated=47.0M(100%)
 
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                    8K        2 
MALLOC                            36.4M       10 
MALLOC guard page                   16K        4 
STACK GUARD                       56.0M        2 
Stack                             8192K        2 
VM_ALLOCATE                       2308K        4 
__DATA                            4356K       70 
__LINKEDIT                       115.6M       24 
__TEXT                            47.9M       66 
__UNICODE                          556K        2 
shared memory                       12K        4 
===========                     =======  ======= 
TOTAL                            271.0M      179 

Model: MacBookPro11,1, BootROM MBP111.0138.B17, 2 processors, Intel Core i5, 
2.4 GHz, 8 GB, SMC 2.16f68
Graphics: Intel Iris, Intel Iris, Built-In
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 
0x384B54463531323634485A2D314736453120
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 
0x384B54463531323634485A2D314736453120
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x112), Broadcom 
BCM43xx 1.0 (7.21.171.47.1a8)
Bluetooth: Version 5.0.1f7, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SD0256F, 251 GB
USB Device: USB 3.0 Bus
USB Device: Card Reader
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: Microsoft® 2.4GHz Transceiver v9.0
Thunderbolt Bus: MacBook Pro, Apple Inc., 17.2
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to