Opened 18 years ago

Closed 18 years ago

#9444 closed defect (fixed)

expat gives segmentation fault when being installed

Reported by: chris@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version: 1.2
Keywords: Cc:
Port:

Description

Tried to do sudo port install expat and it segfaults when trying to stag into destroot.

Host Name: NW-RM-P-MACBOOKPRO Date/Time: 2006-06-14 19:45:10.473 -0400 OS Version: 10.4.6 (Build 8I1119) Report Version: 4

Command: tclsh Path: /usr/bin/tclsh Parent: bash [288] Rosetta: Yes

Version: ??? (???)

PID: 4190 Thread: 0

Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_INVALID_ADDRESS (0x0001) at 0x7b350024

Thread 0 Crashed: 0 tclsh 0xb80685d4 0xb8000000 + 427476 1 tclsh 0xb810e2d4 CallPPCFunctionAtAddressInt + 61110 2 tclsh 0xb810e6bc CallPPCFunctionAtAddressInt + 62110 3 tclsh 0xb808192e 0xb8000000 + 530734 4 tclsh 0xb807b116 0xb8000000 + 504086 5 tclsh 0xb808f47a 0xb8000000 + 586874 6 tclsh 0xb80e3e1d spin_lock_wrapper + 2799

Thread 1: 0 tclsh 0xb81f2deb strchr + 72 1 tclsh 0xb818e52a pthread_cond_wait + 3114 2 tclsh 0xb812a9b0 catch_exception_raise_state_identity + 320 3 tclsh 0xb8129eda CallPPCFunctionAtAddressInt + 174780 4 tclsh 0xb8129dd1 CallPPCFunctionAtAddressInt + 174515 5 tclsh 0xb812aaae catch_exception_raise_state_identity + 574 6 tclsh 0xb81c3f0c pthread_create + 1124

Thread 2: 0 tclsh 0xb80f8159 spin_lock_wrapper + 85547 1 tclsh 0xb8106d5a CallPPCFunctionAtAddressInt + 31036 2 tclsh 0xb808192e 0xb8000000 + 530734 3 tclsh 0xb807b116 0xb8000000 + 504086 4 tclsh 0xb808f47a 0xb8000000 + 586874 5 tclsh 0xb80e4742 spin_lock_wrapper + 5140

Thread 0 crashed with i386 Thread State: eax: 0x7b350024 ebx: 0xb810e2ac ecx:0x82001400 edx: 0xb827c5cc edi: 0x82001400 esi: 0x7b350000 ebp:0xb7fff908 esp: 0xb7fff908

ss: 0x0000002f efl: 0x00010206 eip:0xb80685d4 cs: 0x00000027 ds: 0x0000002f es: 0x0000002f fs:0x00000000 gs: 0x00000037

Binary Images Description:

0x1000 - 0x2fff tclsh8.4 /usr/bin/tclsh8.4

0x4a5000 - 0x4b3fff Pextlib.dylib /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib

0xa000000 - 0xa087fff com.tcltk.tcllibrary 8.4.10 /Library/Frameworks/Tcl.framework/Versions/8.4/Tcl

0x8fc00000 - 0x8fc52fff dyld 44.17 /usr/lib/dyld 0x8fe00000 - 0x8fe4bfff dyld 44.17 /usr/lib/dyld 0x90000000 - 0x901bbfff libSystem.B.dylib /usr/lib/libSystem.B.dylib 0x90213000 - 0x90218fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib 0x907bf000 - 0x90895fff com.apple.CoreFoundation 6.4.6 (368.27) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x908de000 - 0x909e4fff libicucore.A.dylib /usr/lib/libicucore.A.dylib 0x90a35000 - 0x90ab8fff libobjc.A.dylib /usr/lib/libobjc.A.dylib 0x90ae1000 - 0x90b52fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib 0x90bc5000 - 0x90bd0fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib 0x90c5d000 - 0x90c6ffff libauto.dylib /usr/lib/libauto.dylib 0x911b0000 - 0x911bffff libz.1.dylib /usr/lib/libz.1.dylib 0x91a26000 - 0x91ae8fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib 0x94a09000 - 0x94a2bfff libmx.A.dylib /usr/lib/libmx.A.dylib 0x94d40000 - 0x94d6bfff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib 0x950b1000 - 0x950d8fff libcurl.3.dylib /usr/lib/libcurl.3.dylib 0xb8000000 - 0xb827bfff tclsh /usr/bin/tclsh

Translated Code Information:

Rosetta Version: 14.07 Args: /usr/bin/tclsh /opt/local/bin/port install expat Exception: EXC_BAD_ACCESS (0x0001)

Thread 0: (0xb0099b9c, 0xb80f8159) 0x0a07b02c: No symbol 0x9002bd28: /usr/lib/libSystem.B.dylib : pthread_body + 0x60 0x00000000: /usr/bin/tclsh : + 0x0

PPC Thread State srr0: 0x00000000 srr1: 0x00000000 vrsave: 0x00000000 cr: 0xXXXXXXXX xer: 0x00000000 lr: 0x0a07b02c ctr: 0x9001f8c0 r00: 0x0000005d r01: 0xf000fc30 r02: 0x00000025 r03: 0x00000005 r04: 0xf000fc70 r05: 0xf000fcf0 r06: 0xf000fd70 r07: 0x00000000 r08: 0x00000000 r09: 0x00000010 r10: 0x00000000 r11: 0x42000008 r12: 0x9001f8c0 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000 r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000 r20: 0x00000000 r21: 0x00000000 r22: 0x00000000 r23: 0x00000000 r24: 0x0a08aea4 r25: 0xf000fcf0 r26: 0xf000fd70 r27: 0x00000000 r28: 0x0a08aea4 r29: 0x00000005 r30: 0x00000000 r31: 0x0a07aea4

Thread 1: Crashed (0xb7fff908, 0xb80685d4) 0x900cae04: /usr/lib/libSystem.B.dylib : _openx_np + 0x1cc 0x900c63c8: /usr/lib/libSystem.B.dylib : _copyfile + 0x574 0x004ab1cc: No symbol 0x004ac2ec: No symbol 0x0a00edfc: No symbol 0x0a032934: No symbol 0x0a031f28: No symbol 0x0a061da0: No symbol 0x0a00edfc: No symbol 0x0a032934: No symbol 0x0a031f28: No symbol 0x0a061da0: No symbol 0x0a00edfc: No symbol 0x0a032934: No symbol 0x0a031f28: No symbol 0x0a061da0: No symbol 0x0a00edfc: No symbol 0x0a00f6ac: No symbol 0x0a00fbe8: No symbol 0x0a0143d8: No symbol 0x0a00edfc: No symbol 0x0a032934: No symbol 0x0a031f28: No symbol 0x0a061da0: No symbol 0x0a00edfc: No symbol 0x0a032934: No symbol 0x0a031f28: No symbol 0x0a061da0: No symbol 0x0a00edfc: No symbol 0x0a032934: No symbol 0x0a031f28: No symbol 0x0a00fc04: No symbol 0x0a040a54: No symbol 0x0a040788: No symbol 0x0a00edfc: No symbol 0x0a032934: No symbol 0x0a031f28: No symbol 0x0a061da0: No symbol 0x0a00edfc: No symbol 0x0a032934: No symbol 0x0a031f28: No symbol 0x0a00fc04: No symbol 0x0a013e28: No symbol 0x0a00edfc: No symbol 0x0a032934: No symbol 0x0a031cd8: No symbol 0x0a0104e0: No symbol 0x0a016a38: No symbol 0x0a00edfc: No symbol 0x0a00f6ac: No symbol 0x0a00fbe8: No symbol 0x0a0617cc: No symbol 0x0a00edfc: No symbol 0x0a032934: No symbol 0x0a031f28: No symbol 0x0a061da0: No symbol 0x0a00edfc: No symbol 0x0a032934: No symbol 0x0a031f28: No symbol 0x0a00fc04: No symbol 0x0a01e130: No symbol 0x0a00edfc: No symbol 0x0a00f6ac: No symbol

PPC Thread State srr0: 0x00000000 srr1: 0x00000000 vrsave: 0x00000000 cr: 0xXXXXXXXX xer: 0x00000000 lr: 0x900cae64 ctr: 0x900058c0 r00: 0x00000000 r01: 0xbfef95c0 r02: 0x00000000 r03: 0x00000115 r04: 0x00312e90 r05: 0x00000a00 r06: 0x00000000 r07: 0x00000050 r08: 0x00000000 r09: 0x00312f40 r10: 0x0040025e r11: 0xa0006124 r12: 0x900058c0 r13: 0x00000000 r14: 0x00000000 r15: 0x004ba7e8 r16: 0x0a08b9cc r17: 0xbfef97fc r18: 0x004ba7e8 r19: 0x00000001 r20: 0xbfefa7bb r21: 0x00000000 r22: 0x00000000 r23: 0x0040d808 r24: 0x0000000a r25: 0x00000005 r26: 0x00312e90 r27: 0x00000a00 r28: 0x00000001 r29: 0x00312f40 r30: 0x00312e50 r31: 0x900c5e5c

Change History (2)

comment:1 Changed 18 years ago by blb@…

tclsh shouldn't be going through Rosetta like that; what's curious is:

0xa000000 - 0xa087fff com.tcltk.tcllibrary 8.4.10 /Library/Frameworks/Tcl.framework/Versions/8.4/Tcl

suggesting you have another install of Tcl on your system (the normal one should be coming from /System/Library/Frameworks). Since this is being loaded by /usr/bin/tclsh, you didn't happen to install some other Tcl (built for PowerPC) in /usr?

comment:2 Changed 18 years ago by chris@…

Resolution: fixed
Status: newclosed

I think my IT department did something weird, the default install of Tcl was saying "mach-o but wrong architecture." so I installed Tcl/Tk Aqua from tcltkaqua.sourceforge.net.

I just did a Tcl/Tk install from http://www.activestate.com/Products/ActiveTcl/ and that did the trick.

Note: See TracTickets for help on using tickets.