[ts-gen] MacOS Shim problems
Bill Pippin
pippin at owlriver.net
Thu May 28 17:32:52 EDT 2009
Ric,
Thanks for your patience to this point. I suspect I've fixed the
problem --- lacking a local reproducer, I can't be sure until you've
tried it --- and if not, I'm sure we're close to finding the problem.
Please download the newest of today's releases, and try it out on OSX.
It should work, at least past the point you've seen problems up until
now.
You need to make sure you have the newest release I pushed to our
website today. You can check this by looking near the top of the
NEWS file for the following text:
* Fix bug whereby strcmp return value outside {-1, 0, 1}, as
evidently occurs for OSX stdlib, leads to a hang during
search. Changes consist of: adding the appropriate enum
type, making its definition visible everywhere, converting
from the int return for strcmp() to this type via multiple,
explicit conditional tests in lib/string.h, narrowing int
type declarations for the comparison result to the enum
type, adding an exception as the default case in the switch
where the type is tested, and adding trace logic to indicate
what has happened when a type violation occurs.
If you still have problems, feel free to uncomment the print_line()
call in leaf.c, though I suspect you'll find that the shim is getting
past that point with no problems.
In any case, please let us know what your result is when you run the
shim on OSX.
Also, about your running the shim with Ubuntu:
> I got Ubuntu up and running in a VMWare instance so I could try help
> a little in isolation, it does not seem to hang now but I do seem to
> have some parsing errors.
This is interesting, since it pretty much verifies that your database
symbols are at least minimally sufficient for whatever portfolio
download records the shim is seeing. This rules out some weird
database product lookup problem, which already seemed out of the
question, but it didn't hurt to check.
Nevertheless, you should be able to run the shim on OSX. I very
much appreciate your efforts to help us get it running there, and
thanks especially for your valiant efforts in debugging from your
end.
Thanks,
Bill
More information about the ts-general
mailing list