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
Seems like something crashing in Tcl/Tk, but that could still be Pd's
fault. Sorry, I don't have any ideas beyond that.
Any luck with this? I find tcl-mac@lists.sourceforge.net and irc:// irc.freenode.net/tcl to both be quite helpful.
.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 + 41Thread 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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
http://at.or.at/hans/
Yo,
On Sun, Jul 20, 2008 at 12:53 PM, Hans-Christoph Steiner hans@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@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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
http://at.or.at/hans/
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Jul 21, 2008, at 6:23 PM, Luke Iannini wrote:
Yo,
On Sun, Jul 20, 2008 at 12:53 PM, Hans-Christoph Steiner
hans@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
There are two processes with Pd, the GUI and pd itself. On Windows
and GNU/Linux, the GUI is called 'pd-gui' and pd is called 'pd'. On
Mac OS X, the GUI is called 'Pd' for vanilla and 'Pd-extended' for Pd-
extended, and pd is called 'pd'. Here is how it looks on my machine:
Pd-extended: /Applications/Pd-extended.app/Contents/MacOS/Pd-extended -psn_0_32243713 /Applications/Pd-extended.app/Contents/Resources/Scripts/../bin/pd - guiport 5600
Pd-vanilla: /Applications/Pd-0.41-4.app/Contents/MacOS/Pd -psn_0_32374785 /Applications/Pd-0.41-4.app/Contents/Resources/Scripts/../bin/pd - guiport 5601
.hc
Any luck with this? I find tcl-mac@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 + 41Thread 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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
http://at.or.at/hans/
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
If you are not part of the solution, you are part of the problem.
FYI: I just tried the 10.5 build on 10.4 (both Intel) and I got the
"Bus error" thing. So perhaps it's related to how Tcl/Tk was built.
I rebuilt Tcl/Tk on the 10.5 build machine, so we'll see tomorrow...
.hc
On Jul 21, 2008, at 6:23 PM, Luke Iannini wrote:
Yo,
On Sun, Jul 20, 2008 at 12:53 PM, Hans-Christoph Steiner
hans@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@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 + 41Thread 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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
http://at.or.at/hans/
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
I spent 33 years and four months in active military service and
during that period I spent most of my time as a high class muscle man
for Big Business, for Wall Street and the bankers. - General
Smedley Butler