[PD] Pd 0.47-0 OSX Tk 8.6 test builds

Dan Wilcox danomatika at gmail.com
Sun May 29 22:16:36 CEST 2016


I think I got it, I wasn’t setting the min OSX deployment target when building the portaudio & portmidi libs, which is why pd core started but then crashed when initing portmidi.

All new builds at: http://docs.danomatika.com/pdbuilds/ <http://docs.danomatika.com/pdbuilds/>

Step by step :)

--------
Dan Wilcox
@danomatika <https://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>
> On May 29, 2016, at 12:03 PM, hi <joson.android at googlemail.com> wrote:
> 
> Hi Dan
> 
> all i can do is report, i hope you get clues.
> 
> now something happens, i think pd-gui opens but not the core or they are not connected.
> 
> terminal reads:
> 
> hi$ /Applications/pd-0.47.0/new-tk/Pd-0.47-0.app/Contents/MacOS/Pd ; exit;
> dyld: Symbol not found: ___strlcat_chk
>  Referenced from: /Applications/pd-0.47.0/new-tk/Pd-0.47-0.app/Contents/Resources/Scripts/../bin/pd
>  Expected in: /usr/lib/libSystem.B.dylib
> in /Applications/pd-0.47.0/new-tk/Pd-0.47-0.app/Contents/Resources/Scripts/../bin/pd
> pdsend errorname: >>can't read "pd_socket": no such variable<<
> 
> there popps up an error-message which reads in detail:
> 
> Not connected to 'pd' process
> Not connected to 'pd' process
>    while executing
> "error "Not connected to 'pd' process""
>    (procedure "pdsend" line 6)
>    invoked from within
> "pdsend "pd start-path-dialog""
>    (procedure "::tk::mac::ShowPreferences" line 3)
>    invoked from within
> "::tk::mac::ShowPreferences"
> 
> best,
> 
> Johnny
> 
> 
> Am 29.05.2016 um 18:32 schrieb Dan Wilcox <danomatika at gmail.com>:
> 
>> Try one of these: http://docs.danomatika.com/pdbuilds/
>> 
>> I forgot to enable weak-linking, so maybe that helps.
>> 
>> --------
>> Dan Wilcox
>> @danomatika
>> danomatika.com
>> robotcowboy.com
>> 
>>> On May 29, 2016, at 5:20 AM, hi <joson.android at googlemail.com> wrote:
>>> 
>>> for your info:
>>> 
>>> trying tk8.6 32bit version, osx 10.8.5 -> it crashes; i get:
>>> 
>>> hi$ /Applications/pd-0.47.0/new-tk/Pd-0.47-0.app/Contents/MacOS/Pd ; exit;
>>> 2016-05-29 13:13:47.806 Pd[1944:707] -[NSProcessInfo operatingSystemVersion]: unrecognized selector sent to instance 0x3317400
>>> 2016-05-29 13:13:47.807 Pd[1944:707] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSProcessInfo operatingSystemVersion]: unrecognized selector sent to instance 0x3317400'
>>> *** Call stack at first throw:
>>> (
>>> 	0   CoreFoundation                      0x92d7de8b __raiseError + 219
>>> 	1   libobjc.A.dylib                     0x9810152e objc_exception_throw + 230
>>> 	2   CoreFoundation                      0x92d81afd -[NSObject(NSObject) doesNotRecognizeSelector:] + 253
>>> 	3   CoreFoundation                      0x92cc9e87 ___forwarding___ + 487
>>> 	4   CoreFoundation                      0x92d14c62 __forwarding_prep_1___ + 50
>>> 	5   Tk                                  0x0b0cfa37 TkpOpenDisplay + 627
>>> 	6   Tk                                  0x0b02fa6c TkCreateMainWindow + 1200
>>> 	7   Tk                                  0x0b02f607 TkCreateMainWindow + 75
>>> 	8   Tk                                  0x0b03917d Tk_PkgInitStubsCheck + 29936
>>> 	9   Tk                                  0x0b0396ac TkCreateFrame + 140
>>> 	10  Tk                                  0x0b031a38 Tk_Init + 1676
>>> 	11  Pd                                  0x00004476 Pd + 13430
>>> 	12  Tk                                  0x0b022e5f Tk_MainEx + 1273
>>> 	13  Pd                                  0x00004447 Pd + 13383
>>> 	14  libdyld.dylib                       0x99ae5725 start + 0
>>> 	15  ???                                 0x00000001 0x0 + 1
>>> )
>>> Trace/BPT trap: 5
>>> logout
>>> 
>>> trying 32bit tk8.5, on 10.8.5 it also crashes:
>>> 
>>> hi$ /Applications/pd-0.47.0/new-tk/Pd-0.47-0.app/Contents/MacOS/Pd ; exit;
>>> 2016-05-29 13:18:22.428 Pd[1977:707] -[NSProcessInfo operatingSystemVersion]: unrecognized selector sent to instance 0x2331790
>>> 2016-05-29 13:18:22.429 Pd[1977:707] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSProcessInfo operatingSystemVersion]: unrecognized selector sent to instance 0x2331790'
>>> *** Call stack at first throw:
>>> (
>>> 	0   CoreFoundation                      0x92d7de8b __raiseError + 219
>>> 	1   libobjc.A.dylib                     0x9810152e objc_exception_throw + 230
>>> 	2   CoreFoundation                      0x92d81afd -[NSObject(NSObject) doesNotRecognizeSelector:] + 253
>>> 	3   CoreFoundation                      0x92cc9e87 ___forwarding___ + 487
>>> 	4   CoreFoundation                      0x92d14c62 __forwarding_prep_1___ + 50
>>> 	5   Tk                                  0x0b0c2f13 TkpOpenDisplay + 627
>>> 	6   Tk                                  0x0b02bdd5 TkCreateMainWindow + 1173
>>> 	7   Tk                                  0x0b02b98b TkCreateMainWindow + 75
>>> 	8   Tk                                  0x0b034ee1 Tk_PkgInitStubsCheck + 29365
>>> 	9   Tk                                  0x0b035392 TkCreateFrame + 140
>>> 	10  Tk                                  0x0b02da41 Tk_Init + 1529
>>> 	11  Pd                                  0x000034da Pd + 9434
>>> 	12  Tk                                  0x0b01ff01 Tk_MainEx + 1450
>>> 	13  Pd                                  0x000034ac Pd + 9388
>>> 	14  libdyld.dylib                       0x99ae5725 start + 0
>>> 	15  ???                                 0x00000001 0x0 + 1
>>> )
>>> Trace/BPT trap: 5
>>> logout
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Am 27.05.2016 um 19:34 schrieb Scott R. Looney <scottrlooney at gmail.com>:
>>> 
>>>> hi Dan! - verifying from my end PD tk86 64 Bit crashes immediately on start on my hackintosh running 10.8.5. console reads:
>>>> 
>>>> Application Specific Information:
>>>> *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSProcessInfo operatingSystemVersion]: unrecognized selector sent to instance 0x7fd0a341b550'
>>>> abort() called
>>>> terminate called throwing an exception
>>>> 
>>>> Application Specific Backtrace 1:
>>>> 0   CoreFoundation                      0x00007fff88815b06 __exceptionPreprocess + 198
>>>> 1   libobjc.A.dylib                     0x00007fff835733f0 objc_exception_throw + 43
>>>> 2   CoreFoundation                      0x00007fff888ac40a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
>>>> 3   CoreFoundation                      0x00007fff8880402e ___forwarding___ + 414
>>>> 4   CoreFoundation                      0x00007fff88849dad __forwarding_prep_1___ + 237
>>>> 5   Tk                                  0x0000000103f38c79 TkpOpenDisplay + 634
>>>> 6   Tk                                  0x0000000103e95bff TkCreateMainWindow + 1167
>>>> 7   Tk                                  0x0000000103e957bf TkCreateMainWindow + 79
>>>> 8   Tk                                  0x0000000103e9f3b9 Tk_PkgInitStubsCheck + 29930
>>>> 9   Tk                                  0x0000000103e9f865 TkCreateFrame + 155
>>>> 10  Tk                                  0x0000000103e97ce0 Tk_Init + 1604
>>>> 11  Pd                                  0x0000000103e5f478 Pd + 13432
>>>> 12  Tk                                  0x0000000103e88da7 Tk_MainEx + 1426
>>>> 13  Pd                                  0x0000000103e5f44d Pd + 13389
>>>> 14  libdyld.dylib                       0x00007fff87c457e1 start + 0
>>>> 
>>>> hope this helps! thanks for improving the look of PD!
>>>> 
>>>> best,
>>>> scott
>>>> 
>>>> 
>>>> On Fri, May 27, 2016 at 9:28 AM, Dan Wilcox <danomatika at gmail.com> wrote:
>>>> Looks like it’s due to the min macosx version being too low. I rebuilt all the test osx builds, try one of these http://docs.danomatika.com/pdbuilds/
>>>> 
>>>> --------
>>>> Dan Wilcox
>>>> @danomatika
>>>> danomatika.com
>>>> robotcowboy.com
>>>> 
>>>>> On May 26, 2016, at 12:45 PM, hi <joson.android at googlemail.com> wrote:
>>>>> 
>>>>> Hi Dan
>>>>> 
>>>>> as report: i tried 32bits with 10.8.5, and it crashed also. Console error reads:
>>>>> 
>>>>> JohnnyMauser:~ hi$ /Applications/pd-0.47.0/pd-tk-8.6/Pd-0.47-0.app/Contents/Resources/bin/pd ; exit;
>>>>> dyld: Symbol not found: ___strlcat_chk
>>>>> Referenced from: /Applications/pd-0.47.0/pd-tk-8.6/Pd-0.47-0.app/Contents/Resources/bin/pd
>>>>> Expected in: /usr/lib/libSystem.B.dylib
>>>>> in /Applications/pd-0.47.0/pd-tk-8.6/Pd-0.47-0.app/Contents/Resources/bin/pd
>>>>> Trace/BPT trap: 5
>>>>> logout
>>>>> 
>>>>> Thanks for your work!!
>>>>> 
>>>>> Johnny
>>>>> 
>>>>> 
>>>>> Am 25.05.2016 um 15:11 schrieb Dan Wilcox <danomatika at gmail.com>:
>>>>> 
>>>>>> Can you do the following to get a console printout which hopefully shows the error involved?
>>>>>> 
>>>>>> * right click on the app and choose “Show Package Contents”
>>>>>> * navigate to Contents/Resources/bin
>>>>>> * double click “pd"
>>>>>> 
>>>>>> Copy and paste any error prints / tcl stack trace in your next email.
>>>>>> 
>>>>>> --------
>>>>>> Dan Wilcox
>>>>>> @danomatika
>>>>>> danomatika.com
>>>>>> robotcowboy.com
>>>>>> 
>>>>>>> On May 25, 2016, at 3:41 AM, José Rafael Subía Valdez <jsubiavaldez at gmail.com> wrote:
>>>>>>> 
>>>>>>> Hello Dan, Me again, I tried that build that you sent me yesterday, but it does not start up. The icon on the dock says it is loaded as it does not blink or jump, but there is no PD window or menu.
>>>>>>> 
>>>>>>> again, just trying to help.
>>>>>>> 
>>>>>>> cheers
>>>>>>> 
>>>>>>> On Tue, May 24, 2016 at 9:59 PM, Dan Wilcox <danomatika at gmail.com> wrote:
>>>>>>> Here’s the 32 bit build with TK 8.4 which should work fine on older systems: Pd-0.47.0_osx_tk84_32bit.app.zip
>>>>>>> 
>>>>>>> The only difference between these builds is the TK version of the Wish.app used to create the app bundle and the inclusion of the Tcl/TK frameworks for versions not found on OSX. The underlying pd core & objects are the same.
>>>>>>> 
>>>>>>> The main thing to check is the the dialogs and window behavior all work as before since we’re now checking Tk versions to enable certain features/workarounds to support both older & newer Tks on Mac.
>>>>>>> 
>>>>>>> --------
>>>>>>> Dan Wilcox
>>>>>>> @danomatika
>>>>>>> danomatika.com
>>>>>>> robotcowboy.com
>>>>>>> 
>>>>>>>> On May 24, 2016, at 2:53 PM, José Rafael Subía Valdez <jsubiavaldez at gmail.com> wrote:
>>>>>>>> 
>>>>>>>> that's great news Dan, thanks for all your work.
>>>>>>>> 
>>>>>>>> On Tue, May 24, 2016 at 9:46 PM, Dan Wilcox <danomatika at gmail.com> wrote:
>>>>>>>> That’s just for the build with the newer TK. Pd will work fine for you with the older TK 8.4.
>>>>>>>> 
>>>>>>>> --------
>>>>>>>> Dan Wilcox
>>>>>>>> @danomatika
>>>>>>>> danomatika.com
>>>>>>>> robotcowboy.com
>>>>>>>> 
>>>>>>>>> On May 24, 2016, at 2:45 PM, José Rafael Subía Valdez <jsubiavaldez at gmail.com> wrote:
>>>>>>>>> 
>>>>>>>>> ufff.. that is so sad to hear, it was the best in my opinion.
>>>>>>>>> 
>>>>>>>>> On Tue, May 24, 2016 at 8:01 PM, Dan Wilcox <danomatika at gmail.com> wrote:
>>>>>>>>> Yeah, 10.6 is probably too old. I was thinking more 10.8+.
>>>>>>>>> 
>>>>>>>>> --------
>>>>>>>>> Dan Wilcox
>>>>>>>>> @danomatika
>>>>>>>>> danomatika.com
>>>>>>>>> robotcowboy.com
>>>>>>>>> 
>>>>>>>>>> On May 24, 2016, at 12:22 PM, José Rafael Subía Valdez <jsubiavaldez at gmail.com> wrote:
>>>>>>>>>> 
>>>>>>>>>> Hello Dan,
>>>>>>>>>> 
>>>>>>>>>> in OSX 10.6.8 it won't even start up, as it crashes immediately. Just trying to help, not complaining at all :P
>>>>>>>>>> here is my system log:
>>>>>>>>>> 
>>>>>>>>>> Path:            /Users/JRSV/Desktop/Pd-0.47-0.app/Contents/MacOS/Pd
>>>>>>>>>> Identifier:      org.puredata
>>>>>>>>>> Version:         ??? (???)
>>>>>>>>>> Code Type:       X86 (Native)
>>>>>>>>>> Parent Process:  launchd [312]
>>>>>>>>>> 
>>>>>>>>>> Date/Time:       2016-05-24 19:19:59.336 +0100
>>>>>>>>>> OS Version:      Mac OS X 10.6.8 (10K549)
>>>>>>>>>> Report Version:  6
>>>>>>>>>> 
>>>>>>>>>> Interval Since Last Report:          183831 sec
>>>>>>>>>> Crashes Since Last Report:           15519
>>>>>>>>>> Per-App Crashes Since Last Report:   3
>>>>>>>>>> Anonymous UUID:                      489DE8AD-89BE-4348-99FE-C70BF546E543
>>>>>>>>>> 
>>>>>>>>>> Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
>>>>>>>>>> Exception Codes: KERN_INVALID_ADDRESS at 0x000000008fe01030
>>>>>>>>>> Crashed Thread:  Unknown
>>>>>>>>>> 
>>>>>>>>>> Backtrace not available
>>>>>>>>>> 
>>>>>>>>>> Unknown thread crashed with X86 Thread State (32-bit):
>>>>>>>>>> eax: 0x00000000  ebx: 0x00000000  ecx: 0x00000000  edx: 0x00000000
>>>>>>>>>> edi: 0x00000000  esi: 0x00000000  ebp: 0x00000000  esp: 0x00000000
>>>>>>>>>> ss: 0x0000001f  efl: 0x00010202  eip: 0x8fe01030   cs: 0x00000017
>>>>>>>>>> ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000000
>>>>>>>>>> cr2: 0x8fe01030
>>>>>>>>>> 
>>>>>>>>>> Binary images description not available
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> Model: MacBookPro6,2, BootROM MBP61.0057.B0C, 2 processors, Intel Core i7, 2.66 GHz, 4 GB, SMC 1.58f17
>>>>>>>>>> Graphics: NVIDIA GeForce GT 330M, NVIDIA GeForce GT 330M, PCIe, 512 MB
>>>>>>>>>> Graphics: Intel HD Graphics, Intel HD Graphics, Built-In, 288 MB
>>>>>>>>>> Memory Module: global_name
>>>>>>>>>> AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x93), Broadcom BCM43xx 1.0 (5.10.131.42.4)
>>>>>>>>>> Bluetooth: Version 2.4.5f3, 2 service, 12 devices, 1 incoming serial ports
>>>>>>>>>> Network Service: AirPort, AirPort, en1
>>>>>>>>>> Serial ATA Device: ST9500325ASG, 465.76 GB
>>>>>>>>>> Serial ATA Device: MATSHITADVD-R   UJ-898
>>>>>>>>>> USB Device: Hub, 0x0424  (SMSC), 0x2514, 0xfa100000 / 2
>>>>>>>>>> USB Device: Hub in Apple Pro Keyboard, 0x05ac  (Apple Inc.), 0x1003, 0xfa140000 / 6
>>>>>>>>>> USB Device: USB Optical Mouse, 0x046d  (Logitech Inc.), 0xc05a, 0xfa141000 / 9
>>>>>>>>>> USB Device: Apple Pro Keyboard, 0x05ac  (Apple Inc.), 0x020c, 0xfa143000 / 7
>>>>>>>>>> USB Device: Internal Memory Card Reader, 0x05ac  (Apple Inc.), 0x8403, 0xfa130000 / 5
>>>>>>>>>> USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.), 0x0236, 0xfa120000 / 4
>>>>>>>>>> USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 3
>>>>>>>>>> USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8218, 0xfa113000 / 8
>>>>>>>>>> USB Device: Hub, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
>>>>>>>>>> USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8507, 0xfd110000 / 4
>>>>>>>>>> USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0xfd120000 / 3
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> On Tue, May 24, 2016 at 1:11 PM, Dan Wilcox <danomatika at gmail.com> wrote:
>>>>>>>>>> Howdy all,
>>>>>>>>>> 
>>>>>>>>>> I think I’ve pretty much ironed out the issues with the Tk Cocoa backend on OSX using Tk 8.5 & 8.6.
>>>>>>>>>> 
>>>>>>>>>> Here are two test builds that include embedded Tcl/TK 8.6.5 frameworks:
>>>>>>>>>> 
>>>>>>>>>> * http://docs.danomatika.com/pdbuilds/Pd-0.47-0_osx_tk86_32bit.app.zip
>>>>>>>>>> 
>>>>>>>>>> * http://docs.danomatika.com/pdbuilds/Pd-0.47-0_osx_tk86_64bit.app.zip
>>>>>>>>>> 
>>>>>>>>>> I testing on OSX 10.11, but they should work on earlier versions of OSX as well. The 32 bit build works fine with 32 bit externals on deken (ie Gem). 
>>>>>>>>>> 
>>>>>>>>>> Also, the retina font rendering looks great!
>>>>>>>>>> 
>>>>>>>>>> The biggest overall changes are to the keybindings since there is no way to override the built in Cocoa Cmd+M & Cmd+H default bindings:
>>>>>>>>>> 
>>>>>>>>>> 	• Send Message: Mod+M/Mod+Shift+M -> Mod+Shift+K
>>>>>>>>>> 	• HSlider: Mod+Shift+H -> Mod+Shift+J
>>>>>>>>>> 	• Tidy Up: Mod+Shift+R
>>>>>>>>>> 	• Graph: Mod+Shift+G
>>>>>>>>>> 	• Array: Mod+Shift+A
>>>>>>>>>> 
>>>>>>>>>> *This is a first stab at remapping those two combos. Let me know what you think.*
>>>>>>>>>> 
>>>>>>>>>> You can see the commit details on the GitHub PR: https://github.com/pure-data/pure-data/pull/6
>>>>>>>>>> 
>>>>>>>>>> --------
>>>>>>>>>> Dan Wilcox
>>>>>>>>>> @danomatika
>>>>>>>>>> danomatika.com
>>>>>>>>>> robotcowboy.com
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Pd-list at lists.iem.at mailing list
>>>>>>>>>> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> -- 
>>>>>>>>>> José Rafael Subía Valdez
>>>>>>>>>> www.jrsv.net
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> -- 
>>>>>>>>> José Rafael Subía Valdez
>>>>>>>>> www.jrsv.net
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> -- 
>>>>>>>> José Rafael Subía Valdez
>>>>>>>> www.jrsv.net
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> -- 
>>>>>>> José Rafael Subía Valdez
>>>>>>> www.jrsv.net
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>>> _______________________________________________
>>>>>> Pd-list at lists.iem.at mailing list
>>>>>> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
>>>>> 
>>>>> 
>>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Pd-list at lists.iem.at mailing list
>>>> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
>>>> 
>>>> 
>>> 
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160529/c72b5ed3/attachment-0001.html>


More information about the Pd-list mailing list