MAC Bugs Listing
Posted: Thu Apr 28, 2016 9:15 am
Creating PDF's has a memory leak on the MAC. The following code on my machine will crash BR after about 90 pdf's generated. That number may vary depending upon how much available memory you have on your machine.
This has been tested on every mac version of BR available including 4.31. In watching memory it appears multiple instances of the sunpdf.jar that is used by the client are getting opened and not closed and eventually it crashes the system. I made a workaround by always firing a separate BR session to generate my PDF's on the MAC. But that brings on other issues using Multisession that are unfavorable.
%env-var% does not work in your configuration files. I cannot place something in my brconfig.sys file like the following. Instead of the value of %HOSTNAME%, I get BR_COMPUTERNAME set to just %HOSTNAME%.
The PATH environment variable of shell calls does not match the system set PATH. It is like BR is hard coding it. This has made shell calls almost unusable on OSX 10.11 El Capitan because Apple has locked down its operating system folders and does not allow you to put scripts in them like older operating systems so you must put them in a folder you have rights to modify. Without being able to change the Search PATH your scripts are not found. Here is what is getting hardcoded into the PATH when I make a shell call.
Where the actual OS set PATH on 10.11 is
You can put scripts in /usr/local/bin in 10.11 El Capitan. So its important that it be made available in the Search PATH.
For now in 10.11 El Capitan the workaround is to turn of the System Integrity Checker, it will then allow you to put scripts in OS folders. This is not something that is recommend but it works for now. Sounds as if the next version of OSX will not let you turn that feature off.
Link on how to turn of the System Integrity Checker in OSX 10.11 El Capitan
http://osxdaily.com/2015/10/05/disable- ... -mac-os-x/
Username matching for BRconfig statements does not like periods in the username.
For example:
Will match
Will not match
Those are the most pressing issues we have on the MAC right now. Thought I might put this out here for anyone else who might be looking at using BR with MACS.
Code: Select all
00010 Execute "config gui off"
00020 Let A=1
00030 TOP:!
00040 Open #A: "name=pdf:/,recl=512,replace",display,output
00050 Print #A: STR$(A)
00060 Close #A:
00070 Print STR$(A)
00080 LET A=A+1
00090 IF A<500 Then Goto TOP
%env-var% does not work in your configuration files. I cannot place something in my brconfig.sys file like the following. Instead of the value of %HOSTNAME%, I get BR_COMPUTERNAME set to just %HOSTNAME%.
Code: Select all
SETENV BR_COMPUTERNAME %HOSTNAME%
Code: Select all
PATH=/usr/bin:/bin:/usr/sbin:/sbin
Where the actual OS set PATH on 10.11 is
Code: Select all
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
For now in 10.11 El Capitan the workaround is to turn of the System Integrity Checker, it will then allow you to put scripts in OS folders. This is not something that is recommend but it works for now. Sounds as if the next version of OSX will not let you turn that feature off.
Link on how to turn of the System Integrity Checker in OSX 10.11 El Capitan
http://osxdaily.com/2015/10/05/disable- ... -mac-os-x/
Username matching for BRconfig statements does not like periods in the username.
For example:
Code: Select all
@"stevekoger" WSID 7
Code: Select all
@"steve.koger" WSID 7
Those are the most pressing issues we have on the MAC right now. Thought I might put this out here for anyone else who might be looking at using BR with MACS.