-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
Affects Version/s: 1.3.1
-
Component/s: None
-
None
-
Environment:Google Groups posting
http://groups.google.com/group/mongodb-user/browse_thread/thread/d57a527b9eef6923
Problem:
After upgrading to lion, I'm getting the following exception when
trying start my rails app:
/opt/local/lib/ruby/gems/1.8/gems/bson-1.3.1/lib/../lib/bson/bson_c.rb:
24:in `serialize': failed to free buffer (RuntimeError)
from /opt/local/lib/ruby/gems/1.8/gems/bson-1.3.1/lib/../lib/bson/
bson_c.rb:24:in `serialize'
from /opt/local/lib/ruby/gems/1.8/gems/mongo-1.3.1/lib/../lib/mongo/
cursor.rb:425:in `construct_query_message'
from /opt/local/lib/ruby/gems/1.8/gems/mongo-1.3.1/lib/../lib/mongo/
cursor.rb:405:in `send_initial_query'
from /opt/local/lib/ruby/gems/1.8/gems/mongo-1.3.1/lib/../lib/mongo/
cursor.rb:371:in `refresh'
from /opt/local/lib/ruby/gems/1.8/gems/mongo-1.3.1/lib/../lib/mongo/
cursor.rb:87:in `next_document'
from /opt/local/lib/ruby/gems/1.8/gems/mongo-1.3.1/lib/../lib/mongo/
db.rb:497:in `command'
from /opt/local/lib/ruby/gems/1.8/gems/mongo-1.3.1/lib/../lib/mongo/
connection.rb:704:in `check_is_master'
from /opt/local/lib/ruby/gems/1.8/gems/mongo-1.3.1/lib/../lib/mongo/
connection.rb:504:in `connect'
from /opt/local/lib/ruby/gems/1.8/gems/mongo-1.3.1/lib/../lib/mongo/
connection.rb:656:in `setup'
from /opt/local/lib/ruby/gems/1.8/gems/mongo-1.3.1/lib/../lib/mongo/
connection.rb:101:in `initialize'
from /Users/scott/workspace/teachstreet/web-app/config/initializers/
mongo_config.rb:1:in `new'
from /Users/scott/workspace/teachstreet/web-app/config/initializers/
mongo_config.rb:1
- duplicates
-
RUBY-302 bson_ext (1.3.0) broken on OS X Lion
- Closed