[PD] Attempt at Tcl/Tk 8.5 Building

Luke Iannini lukexipd at gmail.com
Tue Jul 22 00:23:04 CEST 2008


Yo,

On Sun, Jul 20, 2008 at 12:53 PM, Hans-Christoph Steiner <hans at eds.org> wrote:
>
> Seems like something crashing in Tcl/Tk, but that could still be Pd's
> fault.  Sorry, I don't have any ideas beyond that.
My best guess when I gave up was that Pd was still being run by an
8.4.7 wish process... looking through the relevant Pd source code it
struck me as possible but I didn't confirm it for sure.  Is there a
way to see the child processes being spawned by the Pd-extended
executable?  I opened it via XCode's Instruments (aka gdb) but was
overwhelmed quickly

>
> Any luck with this?  I find tcl-mac at lists.sourceforge.net and irc://
> irc.freenode.net/tcl to both be quite helpful.
Thanks for the TCL list/irc tip, I will go consult with them and see
if I can get anywhere.

Best
Luke

>
> .hc
>
> On Jul 12, 2008, at 10:27 PM, Luke Iannini wrote:
>
>> Hi all,
>> I thought I might try to get a build going with Tcl/Tk 8.5 to check
>> out the possible GUI speed improvements.
>>
>> Making darwin_app_core seems to build fine without any changes, but I
>> end up with a "Bus error" when try to run it (via the terminal) and
>> the crash log is at the bottom of this email.
>>
>> I'm looking through http://wiki.tcl.tk/20361 but maybe someone has
>> some immediate insight.
>>
>> Cheers
>> Luke
>>
>>
>>
>>
>> Process:         Pd-0.42.0-test3 [41336]
>> Path:
>> /Users/LukeIannini/PdSVN/packages/darwin_app/build/Pd-0.42.0-
>> test3.app/Contents/MacOS/Pd-0.42.0-test3
>> Identifier:      org.puredata.pd.wish
>> Version:         0.42.0 (2008.07.12)
>> Code Type:       X86 (Native)
>> Parent Process:  launchd [123]
>>
>> Date/Time:       2008-07-12 19:16:52.650 -0700
>> OS Version:      Mac OS X 10.5.4 (9E17)
>> Report Version:  6
>>
>> Exception Type:  EXC_BAD_ACCESS (SIGBUS)
>> Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
>> Crashed Thread:  0
>>
>> Thread 0 Crashed:
>> 0   ???                               0000000000 0 + 0
>> 1   com.tcltk.tcllibrary              0x09ec5460 TclpThreadDataKeyGet
>> + 16
>> 2   com.tcltk.tcllibrary              0x09ec445c Tcl_GetThreadData + 19
>> 3   com.tcltk.tcllibrary              0x09eab7ea TclFreeObj + 105
>> 4   com.tcltk.tcllibrary              0x09ed1cf9 Tcl_GetVar2Ex + 108
>> 5   com.tcltk.tcllibrary              0x09ed1d40 Tcl_GetVar2 + 38
>> 6   com.tcltk.tcllibrary              0x09ed1d7f Tcl_GetVar + 39
>> 7   libPdTcl.dylib                    0x0992f8eb Pdtcl_Init + 43
>> (t_tkcmd.c:622)
>> 8   com.tcltk.tcllibrary              0x0a07107f Tcl_LoadObjCmd + 2305
>> 9   com.tcltk.tcllibrary              0x0a00e279 TclEvalObjvInternal +
>> 716
>> 10  com.tcltk.tcllibrary              0x0a04a1e2 TclExecuteByteCode +
>> 4490
>> 11  com.tcltk.tcllibrary              0x0a052e23 TclCompEvalObj + 154
>> 12  com.tcltk.tcllibrary              0x0a0113de TclEvalObjEx + 1025
>> 13  com.tcltk.tcllibrary              0x0a018636 Tcl_IfObjCmd + 786
>> 14  com.tcltk.tcllibrary              0x0a00e279 TclEvalObjvInternal +
>> 716
>> 15  com.tcltk.tcllibrary              0x0a010a2a TclEvalEx + 1728
>> 16  com.tcltk.tcllibrary              0x0a010d8c Tcl_EvalEx + 46
>> 17  com.tcltk.tcllibrary              0x0a06cc61 Tcl_FSEvalFileEx + 616
>> 18  com.tcltk.tklibrary               0x0b01f079 Tk_MainEx + 1680
>> 19  org.puredata.pd.wish              0x000112df main + 41
>> 20  org.puredata.pd.wish              0x0001125e _start + 228 (crt.c:272)
>> 21  org.puredata.pd.wish              0x00011179 start + 41
>>
>> Thread 0 crashed with X86 Thread State (32-bit):
>>   eax: 0xa0976fa0  ebx: 0x09ec52f3  ecx: 0x4d555458  edx: 0x09efd200
>>   edi: 0x00000000  esi: 0x00000058  ebp: 0xbfffe828  esp: 0xbfffe7cc
>>    ss: 0x0000001f  efl: 0x00010282  eip: 0x00000000   cs: 0x00000017
>>    ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
>>   cr2: 0x00000000
>>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/
>> listinfo/pd-list
>
>
>
> ------------------------------------------------------------------------
> ----
>
>                                               http://at.or.at/hans/
>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>




More information about the Pd-list mailing list