Hi,

I've been trying for quite a while now to get back to a useable installation of 
xcircuit on my macbook.  Before a recent OS update I had a working installation 
of xcircuit-3.7.26 but now I can't even get that version to build (I'll tack on 
the make output error at the end of this email).  I can get the newest stable 
version 3.7.39 to install successfully either with building myself or using 
macports to install but both of them crash at runtime.  The software starts 
X11, opens the drawing window then aborts and it's wish8.5 that crashes.  This 
happens regardless of whether it is built using the macports installed version 
of tcl/tk or the built in one (which I know isn't supposed to work).  This is 
the crashlog for it running using the mapcorts installed wish:

> Process:         wish8.5 [22167]
> Path:            /opt/local/bin/wish8.5
> Identifier:      wish8.5
> Version:         ??? (???)
> Code Type:       X86-64 (Native)
> Parent Process:  bash [17445]
> 
> Date/Time:       2012-05-22 17:53:19.238 +0100
> OS Version:      Mac OS X 10.7.4 (11E53)
> Report Version:  9
> 
> Crashed Thread:  0  Dispatch queue: com.apple.main-thread
> 
> Exception Type:  EXC_CRASH (SIGABRT)
> Exception Codes: 0x0000000000000000, 0x0000000000000000
> 
> Application Specific Information:
> __abort() called
> objc[22167]: garbage collection is OFF
> 
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> 0   libsystem_kernel.dylib            0x00007fff8aae082a __kill + 10
> 1   libsystem_c.dylib                 0x00007fff8c7e5b6c __abort + 193
> 2   libsystem_c.dylib                 0x00007fff8c7b789f __chk_fail + 91
> 3   libsystem_c.dylib                 0x00007fff8c7b76d9 __sprintf_chk + 173
> 4   xcircuit.so                       0x00000001046f2c8d findcrashfiles + 157
> 5   xcircuit.so                       0x0000000104780f9e xctcl_start + 782
> 6   libtcl8.5.dylib                   0x0000000103cf95ca TclEvalObjvInternal 
> + 826
> 7   libtcl8.5.dylib                   0x0000000103d39933 TclExecuteByteCode + 
> 4755
> 8   libtcl8.5.dylib                   0x0000000103d41726 TclCompEvalObj + 454
> 9   libtcl8.5.dylib                   0x0000000103cfb09d TclEvalObjEx + 749
> 10  libtcl8.5.dylib                   0x0000000103d0445a Tcl_IfObjCmd + 538
> 11  libtcl8.5.dylib                   0x0000000103cf95ca TclEvalObjvInternal 
> + 826
> 12  libtcl8.5.dylib                   0x0000000103cfa226 TclEvalEx + 1670
> 13  libtcl8.5.dylib                   0x0000000103cf9b9a Tcl_EvalEx + 26
> 14  libtcl8.5.dylib                   0x0000000103d5bd73 Tcl_FSEvalFileEx + 
> 563
> 15  libtcl8.5.dylib                   0x0000000103d0a220 Tcl_SourceObjCmd + 
> 160
> 16  libtcl8.5.dylib                   0x0000000103cf95ca TclEvalObjvInternal 
> + 826
> 17  libtcl8.5.dylib                   0x0000000103d39933 TclExecuteByteCode + 
> 4755
> 18  libtcl8.5.dylib                   0x0000000103d41726 TclCompEvalObj + 454
> 19  libtcl8.5.dylib                   0x0000000103cfb09d TclEvalObjEx + 749
> 20  libtcl8.5.dylib                   0x0000000103d49bbb SlaveEval + 107
> 21  libtcl8.5.dylib                   0x0000000103d48856 Tcl_InterpObjCmd + 
> 1734
> 22  libtcl8.5.dylib                   0x0000000103cf95ca TclEvalObjvInternal 
> + 826
> 23  libtcl8.5.dylib                   0x0000000103d39933 TclExecuteByteCode + 
> 4755
> 24  libtcl8.5.dylib                   0x0000000103d78d03 TclObjInterpProcCore 
> + 1139
> 25  libtcl8.5.dylib                   0x0000000103cf95ca TclEvalObjvInternal 
> + 826
> 26  libtcl8.5.dylib                   0x0000000103d39933 TclExecuteByteCode + 
> 4755
> 27  libtcl8.5.dylib                   0x0000000103d41726 TclCompEvalObj + 454
> 28  libtcl8.5.dylib                   0x0000000103cfb09d TclEvalObjEx + 749
> 29  libtcl8.5.dylib                   0x0000000103d0445a Tcl_IfObjCmd + 538
> 30  libtcl8.5.dylib                   0x0000000103cf95ca TclEvalObjvInternal 
> + 826
> 31  libtcl8.5.dylib                   0x0000000103cfa226 TclEvalEx + 1670
> 32  libtcl8.5.dylib                   0x0000000103cf9b9a Tcl_EvalEx + 26
> 33  libtcl8.5.dylib                   0x0000000103d5bd73 Tcl_FSEvalFileEx + 
> 563
> 34  libtk8.5.dylib                    0x0000000103bd99f4 Tk_MainEx + 1124
> 35  wish                              0x0000000103b71527 main + 39
> 36  wish                              0x0000000103b714f4 start + 52
> 
> Thread 0 crashed with X86 Thread State (64-bit):
>   rax: 0x0000000000000000  rbx: 0x00007fff6376aff0  rcx: 0x00007fff6376afd8  
> rdx: 0x0000000000000000
>   rdi: 0x0000000000005697  rsi: 0x0000000000000006  rbp: 0x00007fff6376b000  
> rsp: 0x00007fff6376afd8
>    r8: 0x0000000000000000   r9: 0x000000000000004a  r10: 0x00007fff8aae1e62  
> r11: 0xffffff80002da8d0
>   r12: 0x00007fccb859f490  r13: 0x0000000000000000  r14: 0x0000000000000000  
> r15: 0x00007fccb859f480
>   rip: 0x00007fff8aae082a  rfl: 0x0000000000000202  cr2: 0x0000000103bb6000
> Logical CPU: 0
> 
> Binary Images:
>        0x103b6e000 -        0x103b71ff7 +wish (8.5.11 - 8.5.11) 
> <9FA01B42-CEF0-34EF-AFC8-46478BB0E5A2> /opt/local/bin/wish
>        0x103b78000 -        0x103ba9ff7 +libfontconfig.1.dylib (7.0.0 - 
> compatibility 7.0.0) <22BB2F83-BAA2-32DC-BE6C-E1F67556B15F> 
> /opt/local/lib/libfontconfig.1.dylib
>        0x103bb9000 -        0x103ca6ff7 +libtk8.5.dylib (8.5.11 - 8.5.11) 
> <C7A2AB48-9BC5-30FD-BC70-B5C6FB6A89C3> /opt/local/lib/libtk8.5.dylib
>        0x103ce8000 -        0x103dcbff7 +libtcl8.5.dylib (8.5.11 - 8.5.11) 
> <4D488DC4-C85A-3CB7-9549-D90D1EB26A6B> /opt/local/lib/libtcl8.5.dylib
>        0x103def000 -        0x103f05ff7 +libX11.6.dylib (10.0.0 - 
> compatibility 10.0.0) <F4E3509E-B183-39DA-B9E9-7E09C171EEE2> 
> /opt/local/lib/libX11.6.dylib
>        0x103f2c000 -        0x103f2dff7 +libXss.1.dylib (2.0.0 - 
> compatibility 2.0.0) <CF1DD3F0-9403-3B61-8437-DDF882A9C4F8> 
> /opt/local/lib/libXss.1.dylib
>        0x103f37000 -        0x103f43fff +libXext.6.dylib (11.0.0 - 
> compatibility 11.0.0) <FBB9BA32-BB61-3FDA-A86D-A4640C3AA5CB> 
> /opt/local/lib/libXext.6.dylib
>        0x103f4b000 -        0x103f5bfff +libXft.2.dylib (6.0.0 - 
> compatibility 6.0.0) <66B6289B-D4F6-3CFF-8325-1690E6D61FF2> 
> /opt/local/lib/libXft.2.dylib
>        0x103f68000 -        0x104060ff7 +libiconv.2.dylib (8.1.0 - 
> compatibility 8.0.0) <5E426CF4-4755-31A1-8A3A-6B332E8CF0FC> 
> /opt/local/lib/libiconv.2.dylib
>        0x104071000 -        0x1040f6ff7 +libfreetype.6.dylib (15.1.0 - 
> compatibility 15.0.0) <B86D0C7C-ECC5-3DE9-BA3E-16842937F046> 
> /opt/local/lib/libfreetype.6.dylib
>        0x104110000 -        0x104121ff7 +libz.1.dylib (1.2.7 - compatibility 
> 1.0.0) <57016CC1-AD54-337E-A983-457933B24D35> /opt/local/lib/libz.1.dylib
>        0x104127000 -        0x104135ff7 +libbz2.1.0.dylib (1.0.6 - 
> compatibility 1.0.0) <25F874DF-BAC2-31DB-8B12-73E4665F2149> 
> /opt/local/lib/libbz2.1.0.dylib
>        0x10413f000 -        0x10415dfe7 +libexpat.1.dylib (8.0.0 - 
> compatibility 8.0.0) <B0C67DBB-2658-319A-AAB1-D5CA329706D9> 
> /opt/local/lib/libexpat.1.dylib
>        0x104169000 -        0x10417cfff +libxcb.1.dylib (3.0.0 - 
> compatibility 3.0.0) <DF24E77C-D12E-3F95-81BB-9E6B727B5407> 
> /opt/local/lib/libxcb.1.dylib
>        0x104190000 -        0x104191ff7 +libXau.6.dylib (7.0.0 - 
> compatibility 7.0.0) <1851903C-EB70-34C1-ADC8-8607BBD6EDF6> 
> /opt/local/lib/libXau.6.dylib
>        0x104195000 -        0x104198fff +libXdmcp.6.dylib (7.0.0 - 
> compatibility 7.0.0) <B5E4BC98-46B1-3BF5-AB63-42A21696F9C5> 
> /opt/local/lib/libXdmcp.6.dylib
>        0x10419c000 -        0x1041a2ff7 +libXrender.1.dylib (5.0.0 - 
> compatibility 5.0.0) <FC93FB0A-17FB-3CCE-90DE-D7D8FCE92A7E> 
> /opt/local/lib/libXrender.1.dylib
>        0x104599000 -        0x10459dff7 +libSM.6.dylib (7.1.0 - compatibility 
> 7.0.0) <6966036C-A59A-347F-A94F-760BC8761441> /opt/local/lib/libSM.6.dylib
>        0x1046cd000 -        0x10479bfff +xcircuit.so (??? - ???) 
> <C08E8FAB-0925-3BDC-9C46-C7A9C9ADA681> /opt/local/lib/*/xcircuit.so
>        0x1047b9000 -        0x104802fe7 +libXt.6.dylib (7.0.0 - compatibility 
> 7.0.0) <086AC72F-1513-3B50-B481-D63F5AEB742B> /opt/local/lib/libXt.6.dylib
>        0x10481a000 -        0x10482aff7 +libICE.6.dylib (10.0.0 - 
> compatibility 10.0.0) <B4D5B5D2-64BD-33E2-99E8-0B4D45711AE1> 
> /opt/local/lib/libICE.6.dylib
>        0x104833000 -        0x104840fe7 +libXpm.4.dylib (16.0.0 - 
> compatibility 16.0.0) <BC07042C-8D42-3B46-8B25-0A0D759431A1> 
> /opt/local/lib/libXpm.4.dylib
>        0x104844000 -        0x10484cff7 +libintl.8.dylib (10.1.0 - 
> compatibility 10.0.0) <CED638C0-E56A-3FB5-B2D5-E9692CEE50B7> 
> /opt/local/lib/libintl.8.dylib
>     0x7fff6376e000 -     0x7fff637a2baf  dyld (195.6 - ???) 
> <0CD1B35B-A28F-32DA-B72E-452EAD609613> /usr/lib/dyld
>     0x7fff88e4d000 -     0x7fff88e6afff  libxpc.dylib (77.19.0 - 
> compatibility 1.0.0) <9F57891B-D7EF-3050-BEDD-21E7C6668248> 
> /usr/lib/system/libxpc.dylib
>     0x7fff88fda000 -     0x7fff89007fe7  libSystem.B.dylib (159.1.0 - 
> compatibility 1.0.0) <7BEBB139-50BB-3112-947A-F4AA168F991C> 
> /usr/lib/libSystem.B.dylib
>     0x7fff8905f000 -     0x7fff89063fff  libmathCommon.A.dylib (2026.0.0 - 
> compatibility 1.0.0) <FF83AFF7-42B2-306E-90AF-D539C51A4542> 
> /usr/lib/system/libmathCommon.A.dylib
>     0x7fff89d07000 -     0x7fff89d08ff7  libsystem_sandbox.dylib (??? - ???) 
> <96D38E74-F18F-3CCB-A20B-E8E3ADC4E166> /usr/lib/system/libsystem_sandbox.dylib
>     0x7fff8aaca000 -     0x7fff8aaeafff  libsystem_kernel.dylib (1699.26.8 - 
> compatibility 1.0.0) <1DDC0B0F-DB2A-34D6-895D-E5B2B5618946> 
> /usr/lib/system/libsystem_kernel.dylib
>     0x7fff8ae89000 -     0x7fff8ae8ffff  libmacho.dylib (800.0.0 - 
> compatibility 1.0.0) <165514D7-1BFA-38EF-A151-676DCD21FB64> 
> /usr/lib/system/libmacho.dylib
>     0x7fff8b2fb000 -     0x7fff8b300fff  libcache.dylib (47.0.0 - 
> compatibility 1.0.0) <1571C3AB-BCB2-38CD-B3B2-C5FC3F927C6A> 
> /usr/lib/system/libcache.dylib
>     0x7fff8b334000 -     0x7fff8b346ff7  libz.1.dylib (1.2.5 - compatibility 
> 1.0.0) <30CBEF15-4978-3DED-8629-7109880A19D4> /usr/lib/libz.1.dylib
>     0x7fff8b347000 -     0x7fff8b34efff  libcopyfile.dylib (85.1.0 - 
> compatibility 1.0.0) <0AB51EE2-E914-358C-AC19-47BC024BDAE7> 
> /usr/lib/system/libcopyfile.dylib
>     0x7fff8be43000 -     0x7fff8bf27e5f  libobjc.A.dylib (228.0.0 - 
> compatibility 1.0.0) <871E688B-CF57-3BC7-80D6-F6476DFF109B> 
> /usr/lib/libobjc.A.dylib
>     0x7fff8c32a000 -     0x7fff8c32ffff  libcompiler_rt.dylib (6.0.0 - 
> compatibility 1.0.0) <98ECD5F6-E85C-32A5-98CD-8911230CB66A> 
> /usr/lib/system/libcompiler_rt.dylib
>     0x7fff8c357000 -     0x7fff8c358fff  libDiagnosticMessagesClient.dylib 
> (??? - ???) <3DCF577B-F126-302B-BCE2-4DB9A95B8598> 
> /usr/lib/libDiagnosticMessagesClient.dylib
>     0x7fff8c636000 -     0x7fff8c63bff7  libsystem_network.dylib (??? - ???) 
> <5DE7024E-1D2D-34A2-80F4-08326331A75B> /usr/lib/system/libsystem_network.dylib
>     0x7fff8c7a4000 -     0x7fff8c881fef  libsystem_c.dylib (763.13.0 - 
> compatibility 1.0.0) <41B43515-2806-3FBC-ACF1-A16F35B7E290> 
> /usr/lib/system/libsystem_c.dylib
>     0x7fff8ee97000 -     0x7fff8eed9ff7  libcommonCrypto.dylib (55010.0.0 - 
> compatibility 1.0.0) <BB770C22-8C57-365A-8716-4A3C36AE7BFB> 
> /usr/lib/system/libcommonCrypto.dylib
>     0x7fff8eff3000 -     0x7fff8f066fff  libstdc++.6.dylib (52.0.0 - 
> compatibility 7.0.0) <6BDD43E4-A4B1-379E-9ED5-8C713653DFF2> 
> /usr/lib/libstdc++.6.dylib
>     0x7fff8f212000 -     0x7fff8f212fff  libkeymgr.dylib (23.0.0 - 
> compatibility 1.0.0) <61EFED6A-A407-301E-B454-CD18314F0075> 
> /usr/lib/system/libkeymgr.dylib
>     0x7fff8f261000 -     0x7fff8f262fff  libunc.dylib (24.0.0 - compatibility 
> 1.0.0) <337960EE-0A85-3DD0-A760-7134CF4C0AFF> /usr/lib/system/libunc.dylib
>     0x7fff8f6bc000 -     0x7fff8f6befff  libquarantine.dylib (36.6.0 - 
> compatibility 1.0.0) <0EBF714B-4B69-3E1F-9A7D-6BBC2AACB310> 
> /usr/lib/system/libquarantine.dylib
>     0x7fff8f6bf000 -     0x7fff8f70dfff  libauto.dylib (??? - ???) 
> <D8AC8458-DDD0-3939-8B96-B6CED81613EF> /usr/lib/libauto.dylib
>     0x7fff8f70e000 -     0x7fff8f910fff  libicucore.A.dylib (46.1.0 - 
> compatibility 1.0.0) <38CD6ED3-C8E4-3CCD-89AC-9C3198803101> 
> /usr/lib/libicucore.A.dylib
>     0x7fff8f962000 -     0x7fff8fb36ff7  com.apple.CoreFoundation (6.7.2 - 
> 635.21) <62A3402E-A4E7-391F-AD20-1EF20236CE1B> 
> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
>     0x7fff907e0000 -     0x7fff9081bfff  libsystem_info.dylib (??? - ???) 
> <35F90252-2AE1-32C5-8D34-782C614D9639> /usr/lib/system/libsystem_info.dylib
>     0x7fff90bce000 -     0x7fff90bcfff7  libsystem_blocks.dylib (53.0.0 - 
> compatibility 1.0.0) <8BCA214A-8992-34B2-A8B9-B74DEACA1869> 
> /usr/lib/system/libsystem_blocks.dylib
>     0x7fff91d51000 -     0x7fff91d59fff  libsystem_dnssd.dylib (??? - ???) 
> <D9BB1F87-A42B-3CBC-9DC2-FC07FCEF0016> /usr/lib/system/libsystem_dnssd.dylib
>     0x7fff91dec000 -     0x7fff91df6ff7  liblaunch.dylib (392.38.0 - 
> compatibility 1.0.0) <6ECB7F19-B384-32C1-8652-2463C1CF4815> 
> /usr/lib/system/liblaunch.dylib
>     0x7fff9307e000 -     0x7fff93089ff7  libc++abi.dylib (14.0.0 - 
> compatibility 1.0.0) <8FF3D766-D678-36F6-84AC-423C878E6D14> 
> /usr/lib/libc++abi.dylib
>     0x7fff931f7000 -     0x7fff931fdff7  libunwind.dylib (30.0.0 - 
> compatibility 1.0.0) <1E9C6C8C-CBE8-3F4B-A5B5-E03E3AB53231> 
> /usr/lib/system/libunwind.dylib
>     0x7fff931fe000 -     0x7fff931fffff  libdnsinfo.dylib (395.11.0 - 
> compatibility 1.0.0) <853BAAA5-270F-3FDC-B025-D448DB72E1C3> 
> /usr/lib/system/libdnsinfo.dylib
>     0x7fff93200000 -     0x7fff9320efff  libdispatch.dylib (187.9.0 - 
> compatibility 1.0.0) <1D5BE322-A9B9-3BCE-8FAC-076FB07CF54A> 
> /usr/lib/system/libdispatch.dylib
>     0x7fff9351b000 -     0x7fff93591fff  libc++.1.dylib (28.1.0 - 
> compatibility 1.0.0) <DA22E4D6-7F20-3BEA-9B89-2FBA735C2EE1> 
> /usr/lib/libc++.1.dylib
>     0x7fff93f5a000 -     0x7fff93f5efff  libdyld.dylib (195.6.0 - 
> compatibility 1.0.0) <FFC59565-64BD-3B37-90A4-E2C3A422CFC1> 
> /usr/lib/system/libdyld.dylib
>     0x7fff9401c000 -     0x7fff94025ff7  libsystem_notify.dylib (80.1.0 - 
> compatibility 1.0.0) <A4D651E3-D1C6-3934-AD49-7A104FD14596> 
> /usr/lib/system/libsystem_notify.dylib
>     0x7fff9419d000 -     0x7fff9419eff7  libremovefile.dylib (21.1.0 - 
> compatibility 1.0.0) <739E6C83-AA52-3C6C-A680-B37FE2888A04> 
> /usr/lib/system/libremovefile.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: 27493
>     thread_create: 69
>     thread_set_state: 0
> 
> VM Region Summary:
> ReadOnly portion of Libraries: Total=63.5M resident=27.6M(43%) 
> swapped_out_or_unallocated=36.0M(57%)
> Writable regions: Total=28.3M written=10.4M(37%) resident=12.5M(44%) 
> swapped_out=0K(0%) unallocated=15.8M(56%)
>  
> REGION TYPE                      VIRTUAL
> ===========                      =======
> MALLOC                             19.7M
> MALLOC guard page                    32K
> STACK GUARD                        56.0M
> Stack                              8192K
> VM_ALLOCATE                           4K
> __DATA                             1352K
> __LINKEDIT                         48.6M
> __TEXT                             14.9M
> __UNICODE                           544K
> mapped file                        1044K
> shared memory                        12K
> ===========                      =======
> TOTAL                             150.2M

Sorry for the length, never sure what's actually appropriate and what's 
unnecessary with these logs.  I'll maybe try installing a third version of 
tcl/tk and try again...

Regards
Stewart

ps. Here's the make error from the older version of xcircuit:
> In file included from tclxcircuit.c:11:
> /usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/include/stdarg.h:54:1:
>  warning: this is the location of the previous definition
> tclxcircuit.c: In function ‘tcl_vprintf’:
> tclxcircuit.c:154: error: incompatible types in assignment
> tclxcircuit.c:159: error: incompatible types in assignment
> tclxcircuit.c: In function ‘xctcl_object’:
> tclxcircuit.c:3795: warning: format not a string literal and no format 
> arguments
> tclxcircuit.c: In function ‘xctcl_page’:
> tclxcircuit.c:7016: warning: format not a string literal and no format 
> arguments
> tclxcircuit.c:7102: warning: format not a string literal and no format 
> arguments
> tclxcircuit.c:7119: warning: format not a string literal and no format 
> arguments
> tclxcircuit.c: In function ‘W0vprintf’:
> tclxcircuit.c:9676: error: incompatible types in assignment
> tclxcircuit.c:9683: error: incompatible types in assignment
> make[2]: *** [tclxcircuit.o] Error 1
> make[1]: *** [tcl] Error 2
> make: *** [all-recursive] Error 2
> 

-- 
Stewart Smith
RCUK Academic Fellow
Institute for Integrated Micro and Nano Systems
Joint Research Institute for Integrated Systems
School of Engineering
The University of Edinburgh
Scottish Microelectronics Centre
The King's Buildings
Edinburgh, EH9 3JF
Tel: +44 (0)131 650 5607
SMC Fax: +44 (0)131 650 7475
http://www.see.ed.ac.uk/~sxs







The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to