FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 1147 : rxtx syslog problems on OSX
Last modified: 2009-03-08 13:02
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
ASSIGNED
Resolution:
-
Pr
i
ority:
P5
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
jet
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2009-02-03 20:30
(fwiw, this problem exists in Arduino as well. fixing one fixes both)
The rxtx lib distributed with OSX has some sort of debugging #ifdef set.
As a result, all print()/println() data is sysloged at a very high level.
Using any sort of print debugging can cause syslog to be overwhelmed with
messages and system performace to degrade along with Processing appearing
to lock up while it waits for the syslog() queue to drain.
The fix for this is simple -- rebuild rxtx without the debugging option.
However, I've been unable to find the exact sources used to build
Processing/Arduino. Should we move to the current rxtx release, or can
we get the original sources rebuilt without debugging options?
thx,
--jet
Additional Comment
#1 From fry 2009-02-20 11:03
If I'm not mistaken (it's been a while since I rebuilt it) we're using the
last actual release, RXTX 2.1-7r2. If you or the Arduino folks want to fix
it, that would be helpful contribution.
Additional Comment
#2 From jet 2009-02-20 11:50
my deck is clear the rest of the day, will give it a shot.
Additional Comment
#3 From fry 2009-02-20 11:55
Great, thanks.
Additional Comment
#4 From jet 2009-02-20 12:48
Now I remember what happened when I looked into this before, 2.1-7r2
doesn't appear to build under any recent release of OSX. It's from the
"Project Builder" days, and no way in hell I'm trying to run 10.1 on my Al
MacBook.
From looking at the rxtx site, it seems updating to rxtx2.2-pre2 is the
least-work option for OSX. I'll build that and see how Processing/Arduino
like it for OSX.
Additional Comment
#5 From jet 2009-03-08 13:02
update: it might not be RXTX, it might system.out and system.err are
handled on OSX by EditorConsole. If I use Eclipse as my dev environment
this problem goes away.
This bug is now being tracked
here
.