I was trying what I thought was a simple import from matplotlib, when I got a "Bus error" Here's the terminal ouptput.
Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from matplotlib import pyplot as p Bus error I'm running matplotlib-0.99.1.1 on Mac OS X 10.6. From the Apple-generated error report (below), it looks like the issue is with one of the freetype libraries. I'm using freetype2 2.1.3-22, installed by fink. If I look in /sw/lib, I find two similar-looking libs: libfreetype.6.3.2.dylib libfreetype.6.dylib [this is the one causing the issue] Is it possible that these two are causing a bus collision? Is one an outdated version that should be deleted? Or one should be a soft link to the other? Thanks for any insight, Bill Carithers Process: Python [5809] Path: /System/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.ap p/Contents/MacOS/Python Identifier: Python Version: ??? (???) Code Type: X86 (Native) Parent Process: bash [852] PlugIn Path: /sw/lib/libfreetype.6.dylib PlugIn Identifier: libfreetype.6.dylib PlugIn Version: ??? (???) Date/Time: 2009-10-14 12:50:53.187 -0700 OS Version: Mac OS X 10.6 (10A432) Report Version: 6 Interval Since Last Report: 81103 sec Crashes Since Last Report: 1 Per-App Crashes Since Last Report: 1 Anonymous UUID: C74B6D04-FEE7-4110-94BE-1523DD4483CF Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000 Crashed Thread: 0 Dispatch queue: com.apple.main-thread Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 libfreetype.6.dylib 0x01279c0c tt_face_load_sbit_strikes + 1148 1 libfreetype.6.dylib 0x01278c78 sfnt_load_face + 152 2 libfreetype.6.dylib 0x0127e82f tt_face_init + 207 3 libfreetype.6.dylib 0x0124b7dc open_face + 252 4 libfreetype.6.dylib 0x0124bc21 FT_Open_Face + 561 5 libfreetype.6.dylib 0x0124bcfc FT_New_Face + 60 6 ft2font.so 0x011ebb2d FT2Font::FT2Font(std::string) + 367 (ft2font.cpp:687) 7 ft2font.so 0x011f17f3 ft2font_module::new_ft2font(Py::Tuple const&) + 283 (ft2font.cpp:778) 8 ft2font.so 0x011fbc58 Py::ExtensionModule<ft2font_module>::invoke_method_varargs(std::string const&, Py::Tuple const&) + 242 (Extensions.hxx:422) 9 ft2font.so 0x01200bfa method_varargs_call_handler + 303 (cxx_extensions.cxx:1403) 10 org.python.python 0x0008b372 PyEval_EvalFrameEx + 16375 11 org.python.python 0x0008cf64 PyEval_EvalCodeEx + 1720 12 org.python.python 0x0008b591 PyEval_EvalFrameEx + 16918 13 org.python.python 0x0008cf64 PyEval_EvalCodeEx + 1720 14 org.python.python 0x0002ee2c PyClassMethod_New + 1823 15 org.python.python 0x0000c700 PyObject_Call + 101 16 org.python.python 0x0001c12e PyClass_New + 1603 17 org.python.python 0x0000c700 PyObject_Call + 101 18 org.python.python 0x0008677a PyEval_CallObjectWithKeywords + 171 19 org.python.python 0x0001ba58 PyInstance_New + 290 20 org.python.python 0x0000c700 PyObject_Call + 101 21 org.python.python 0x0008c802 PyEval_EvalFrameEx + 21639 22 org.python.python 0x0008b4d5 PyEval_EvalFrameEx + 16730 23 org.python.python 0x0008cf64 PyEval_EvalCodeEx + 1720 24 org.python.python 0x0008d009 PyEval_EvalCode + 87 25 org.python.python 0x0009a532 PyImport_ExecCodeModuleEx + 240 26 org.python.python 0x0009af2a PyImport_AppendInittab + 1164 27 org.python.python 0x0009c87f PyImport_ReloadModule + 1392 28 org.python.python 0x0009ccd7 PyImport_ReloadModule + 2504 29 org.python.python 0x0009d2bb PyImport_ImportModuleLevel + 1221 30 org.python.python 0x0008577f _PyBuiltin_Init + 14665 31 org.python.python 0x0000c700 PyObject_Call + 101 32 org.python.python 0x0008677a PyEval_CallObjectWithKeywords + 171 33 org.python.python 0x0008a748 PyEval_EvalFrameEx + 13261 34 org.python.python 0x0008cf64 PyEval_EvalCodeEx + 1720 35 org.python.python 0x0008d009 PyEval_EvalCode + 87 36 org.python.python 0x0009a532 PyImport_ExecCodeModuleEx + 240 37 org.python.python 0x0009af2a PyImport_AppendInittab + 1164 38 org.python.python 0x0009c87f PyImport_ReloadModule + 1392 39 org.python.python 0x0009ccd7 PyImport_ReloadModule + 2504 40 org.python.python 0x0009d2bb PyImport_ImportModuleLevel + 1221 41 org.python.python 0x0008577f _PyBuiltin_Init + 14665 42 org.python.python 0x0000c700 PyObject_Call + 101 43 org.python.python 0x0008677a PyEval_CallObjectWithKeywords + 171 44 org.python.python 0x0008a748 PyEval_EvalFrameEx + 13261 45 org.python.python 0x0008cf64 PyEval_EvalCodeEx + 1720 46 org.python.python 0x0008d009 PyEval_EvalCode + 87 47 org.python.python 0x0009a532 PyImport_ExecCodeModuleEx + 240 48 org.python.python 0x0009af2a PyImport_AppendInittab + 1164 49 org.python.python 0x0009c87f PyImport_ReloadModule + 1392 50 org.python.python 0x0009ccd7 PyImport_ReloadModule + 2504 51 org.python.python 0x0009d285 PyImport_ImportModuleLevel + 1167 52 org.python.python 0x0008577f _PyBuiltin_Init + 14665 53 org.python.python 0x0000c700 PyObject_Call + 101 54 org.python.python 0x0008677a PyEval_CallObjectWithKeywords + 171 55 org.python.python 0x0008a748 PyEval_EvalFrameEx + 13261 56 org.python.python 0x0008cf64 PyEval_EvalCodeEx + 1720 57 org.python.python 0x0008d009 PyEval_EvalCode + 87 58 org.python.python 0x0009a532 PyImport_ExecCodeModuleEx + 240 59 org.python.python 0x0009af2a PyImport_AppendInittab + 1164 60 org.python.python 0x0009c87f PyImport_ReloadModule + 1392 61 org.python.python 0x0009ccd7 PyImport_ReloadModule + 2504 62 org.python.python 0x0009d2bb PyImport_ImportModuleLevel + 1221 63 org.python.python 0x0008577f _PyBuiltin_Init + 14665 64 org.python.python 0x0000c700 PyObject_Call + 101 65 org.python.python 0x0008677a PyEval_CallObjectWithKeywords + 171 66 org.python.python 0x0008a748 PyEval_EvalFrameEx + 13261 67 org.python.python 0x0008cf64 PyEval_EvalCodeEx + 1720 68 org.python.python 0x0008d009 PyEval_EvalCode + 87 69 org.python.python 0x0009a532 PyImport_ExecCodeModuleEx + 240 70 org.python.python 0x0009af2a PyImport_AppendInittab + 1164 71 org.python.python 0x0009c87f PyImport_ReloadModule + 1392 72 org.python.python 0x0009cb92 PyImport_ReloadModule + 2179 73 org.python.python 0x0009d3ae PyImport_ImportModuleLevel + 1464 74 org.python.python 0x0008577f _PyBuiltin_Init + 14665 75 org.python.python 0x0000c700 PyObject_Call + 101 76 org.python.python 0x0008677a PyEval_CallObjectWithKeywords + 171 77 org.python.python 0x0008a748 PyEval_EvalFrameEx + 13261 78 org.python.python 0x0008cf64 PyEval_EvalCodeEx + 1720 79 org.python.python 0x0008d009 PyEval_EvalCode + 87 80 org.python.python 0x000a40bb Py_CompileString + 111 81 org.python.python 0x000a6140 PyRun_InteractiveOneFlags + 483 82 org.python.python 0x000a628e PyRun_InteractiveLoopFlags + 216 83 org.python.python 0x000a6317 PyRun_AnyFileExFlags + 85 84 org.python.python 0x000b3168 Py_Main + 3074 85 org.python.python.app 0x00001eb5 start + 53 ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users