I'm trying to get this working with Jekyll and everything works great unless the library is invoked from inside a DirectoryWatcher thread (eg - when you do jekyll --auto)
The program aborts when loading in 'peg_multimarkdown.so'. Here is a simple reproduction of the abort:
t = Thread.new do
Running this will print "before" followed by "Trace/BPT trap: 5".
My experience with threading and loading shared objects is minimal, so any insights would be greatly appreciated.