Max OSX 10.8 build problems - seg fault
I am trying to get pyexiv2 working on OSX. I have been using these instructions:
https:/
which worked really well 2 years ago, but things have changed. I modified one line in there to be this:
install_name_tool -change /System/
but still the seg fault remains. Here are the details of the seg fault:
Process: Python [457]
Path: /usr/local/
Identifier: Python
Version: 2.7.3 (2.7.3)
Code Type: X86-64 (Native)
Parent Process: bash [294]
User ID: 501
Date/Time: 2012-10-26 22:24:24.087 -0700
OS Version: Mac OS X 10.8.2 (12C60)
Report Version: 10
Interval Since Last Report: 10249 sec
Crashes Since Last Report: 2
Per-App Crashes Since Last Report: 2
Anonymous UUID: 229616B3-
Crashed Thread: 0 Dispatch queue: com.apple.
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_
VM Regions Near 0:
-->
__TEXT 0000000105ea400
Application Specific Information:
/Library/
Thread 0 Crashed:: Dispatch queue: com.apple.
0 org.python.python 0x000000010666d0ec PyInt_FromLong + 33
1 libexiv2python.so 0x000000010622f821 boost::
2 libexiv2python.so 0x000000010622f864 _object* boost::
3 libexiv2python.so 0x000000010622f942 _object* boost::
4 libexiv2python.so 0x000000010622f974 boost::
5 libexiv2python.so 0x000000010622f9fc boost::
6 libexiv2python.so 0x00000001062174ff __static_
7 libexiv2python.so 0x0000000106217381 _GLOBAL_
8 dyld 0x00007fff65ab7378 ImageLoaderMach
9 dyld 0x00007fff65ab7762 ImageLoaderMach
10 dyld 0x00007fff65ab406e ImageLoader:
11 dyld 0x00007fff65ab3eba ImageLoader:
12 dyld 0x00007fff65aa8e38 dyld::runInitia
13 dyld 0x00007fff65aae87c dlopen + 581
14 libdyld.dylib 0x00007fff8fde7dd8 dlopen + 57
15 org.python.python 0x0000000105f54a2f _PyImport_
16 org.python.python 0x0000000105f40d07 _PyImport_
17 org.python.python 0x0000000105f40a82 import_submodule + 327
18 org.python.python 0x0000000105f40687 load_next + 322
19 org.python.python 0x0000000105f3e939 PyImport_
20 org.python.python 0x0000000105f254d8 builtin___import__ + 136
21 org.python.python 0x0000000105eb54b9 PyObject_Call + 97
22 org.python.python 0x0000000105f2f85c PyEval_
23 org.python.python 0x0000000105f2dac5 PyEval_EvalFrameEx + 15366
24 org.python.python 0x0000000105f29e84 PyEval_EvalCodeEx + 1857
25 org.python.python 0x0000000105f2973d PyEval_EvalCode + 54
26 org.python.python 0x0000000105f3d50e PyImport_
27 org.python.python 0x0000000105f4009d load_source_module + 1169
28 org.python.python 0x0000000105f40326 load_package + 371
29 org.python.python 0x0000000105f40a82 import_submodule + 327
30 org.python.python 0x0000000105f40649 load_next + 260
31 org.python.python 0x0000000105f3e939 PyImport_
32 org.python.python 0x0000000105f254d8 builtin___import__ + 136
33 org.python.python 0x0000000105eb54b9 PyObject_Call + 97
34 org.python.python 0x0000000105f2f85c PyEval_
35 org.python.python 0x0000000105f2dac5 PyEval_EvalFrameEx + 15366
36 org.python.python 0x0000000105f29e84 PyEval_EvalCodeEx + 1857
37 org.python.python 0x0000000105f2973d PyEval_EvalCode + 54
38 org.python.python 0x0000000105f47de7 run_mod + 53
39 org.python.python 0x0000000105f47c69 PyRun_Interacti
40 org.python.python 0x0000000105f476ff PyRun_Interacti
41 org.python.python 0x0000000105f475ad PyRun_AnyFileEx
42 org.python.python 0x0000000105f584bd Py_Main + 2909
43 libdyld.dylib 0x00007fff8fde87e1 start + 1
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000106760d80 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x00007fff59d58b40
rdi: 0x0000000000000000 rsi: 0x00007fff59d58cc4 rbp: 0x00007fff59d58aa0 rsp: 0x00007fff59d58a90
r8: 0x00007fff59d58970 r9: 0x0000000000000000 r10: 0x0000000000001002 r11: 0x000000010678b068
r12: 0x00007fff65ad90f0 r13: 0x0000000000000002 r14: 0x00007f9d4142a690 r15: 0x0000000000000001
rip: 0x000000010666d0ec rfl: 0x0000000000010287 cr2: 0x0000000000000000
Logical CPU: 6
Binary Images:
0x105ea4000 - 0x105ea4fff +org.python.python (2.7.3 - 2.7.3) <D4553F78-
0x105eab000 - 0x105fb2ff7 +org.python.python (2.7.3, [c] 2004-2012 Python Software Foundation. - 2.7.3) <9B06CA11-
0x10618e000 - 0x106190ff7 +readline.so (0) <8EFFC0AC-
0x106196000 - 0x1061b9ff7 +libreadline.
0x1061fe000 - 0x106289fff +libexiv2python.so (0) <84FFE701-
0x10638b000 - 0x1063c1ff7 +libboost_
0x106409000 - 0x106575ff7 +libexiv2.12.dylib (0) <88DDE3BB-
0x106619000 - 0x106726fff org.python.python (2.7.2 - 2.7.2) <B2E5B3C9-
0x7fff65aa4000 - 0x7fff65ad893f dyld (210.2.3) <36CAA36E-
0x7fff83df8000 - 0x7fff83df9fff libDiagnosticMe
0x7fff83e65000 - 0x7fff83e6afff libcache.dylib (57) <65187C6E-
0x7fff83ee5000 - 0x7fff83eedfff liblaunch.dylib (442.26.2) <2F71CAF8-
0x7fff84afb000 - 0x7fff84b29ff7 libsystem_m.dylib (3022.6) <B434BE5C-
0x7fff84fe1000 - 0x7fff851e1fff libicucore.A.dylib (491.11.1) <CC318A27-
0x7fff86675000 - 0x7fff8685efff com.apple.
0x7fff87117000 - 0x7fff87118ff7 libdnsinfo.dylib (453.18) <E7595861-
0x7fff87773000 - 0x7fff87798ff7 libc++abi.dylib (24.4) <E7BD9363-
0x7fff8789c000 - 0x7fff878d4fff libncurses.
0x7fff88046000 - 0x7fff88051fff libsystem_
0x7fff882d3000 - 0x7fff8833cfff libstdc++.6.dylib (56) <EAA2B53E-
0x7fff8835d000 - 0x7fff88362fff libcompiler_
0x7fff887e2000 - 0x7fff887e2fff libkeymgr.dylib (25) <CC9E3394-
0x7fff88f50000 - 0x7fff88f51ff7 libSystem.B.dylib (169.3) <9089D72D-
0x7fff88fc9000 - 0x7fff88fe4ff7 libexpat.1.dylib (12) <95D59F1F-
0x7fff8998c000 - 0x7fff89a58fe7 libsystem_c.dylib (825.25) <8CBCF9B9-
0x7fff89a97000 - 0x7fff89b8cfff libiconv.2.dylib (34) <FEE8B996-
0x7fff8a362000 - 0x7fff8a398fff libsystem_
0x7fff8c2c1000 - 0x7fff8c2d6ff7 libdispatch.dylib (228.23) <D26996BF-
0x7fff8cc2d000 - 0x7fff8cc3bfff libcommonCrypto
0x7fff8d046000 - 0x7fff8d048ff7 libunc.dylib (25) <92805328-
0x7fff8d1a2000 - 0x7fff8d1c4ff7 libxpc.dylib (140.41) <FAC04D8B-
0x7fff8d468000 - 0x7fff8d46ffff libcopyfile.dylib (89) <876573D0-
0x7fff8d470000 - 0x7fff8d471ff7 libsystem_
0x7fff8de03000 - 0x7fff8de6bff7 libc++.1.dylib (65.1) <20E31B90-
0x7fff8e327000 - 0x7fff8e376ff7 libcorecrypto.dylib (106.2) <CE0C29A3-
0x7fff8e386000 - 0x7fff8e398ff7 libz.1.dylib (43) <2A1551E8-
0x7fff8e727000 - 0x7fff8e773ff7 libauto.dylib (185.1) <73CDC482-
0x7fff8ebd1000 - 0x7fff8ebd2fff libsystem_
0x7fff8f4f5000 - 0x7fff8f4fdff7 libsystem_
0x7fff8f60f000 - 0x7fff8f61dff7 libsystem_
0x7fff8fdcd000 - 0x7fff8fdd3ff7 libunwind.dylib (35.1) <21703D36-
0x7fff8fde6000 - 0x7fff8fde9ff7 libdyld.dylib (210.2.3) <F59367C9-
0x7fff90401000 - 0x7fff90407fff libmacho.dylib (829) <BF332AD9-
0x7fff90408000 - 0x7fff90409ff7 libremovefile.dylib (23.1) <DBBFAF35-
0x7fff9040a000 - 0x7fff9040cfff libquarantine.dylib (52) <4BE2E642-
0x7fff9040d000 - 0x7fff9052592f libobjc.A.dylib (532.2) <90D31928-
0x7fff9092e000 - 0x7fff90949ff7 libsystem_
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_
Calls made by all processes on this machine:
task_for_pid: 332
thread_create: 0
thread_
VM Region Summary:
ReadOnly portion of Libraries: Total=69.9M resident=35.3M(51%) swapped_
Writable regions: Total=20.4M written=2332K(11%) resident=2896K(14%) swapped_out=0K(0%) unallocated=
REGION TYPE VIRTUAL
=========== =======
MALLOC 11.8M
MALLOC guard page 32K
STACK GUARD 56.0M
Stack 8192K
__DATA 2092K
__LINKEDIT 55.3M
__TEXT 14.6M
__UNICODE 544K
shared memory 12K
=========== =======
TOTAL 148.3M
Model: MacBookPro8,2, BootROM MBP81.0047.B27, 4 processors, Intel Core i7, 2 GHz, 8 GB, SMC 1.69f3
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 512 MB
Graphics: AMD Radeon HD 6490M, AMD Radeon HD 6490M, PCIe, 256 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353
AirPort: spairport_
Bluetooth: Version 4.0.9f33 10885, 2 service, 11 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: SAMSUNG SSD 830 Series, 256.06 GB
Serial ATA Device: MATSHITADVD-R UJ-898
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0xfa200000 / 3
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfa100000 / 2
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0245, 0xfa120000 / 5
USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821a, 0xfa113000 / 6
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2
USB Device: USB Receiver, 0x046d (Logitech Inc.), 0xc52b, 0xfd120000 / 4
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd110000 / 3
Does anyone know what might be causing this, and any possible work around?
Thanks.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- pyexiv2 Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Peter Sankauskas for more information if necessary.