On Mon, Nov 2, 2009 at 2:41 PM, Lucas Nussbaum <lucas / lucas-nussbaum.net> wrote:
> On 02/11/09 at 21:27 +0900, Leslie Viljoen wrote:
>> Hi everyone!
>>
>> I am getting segmentation faults in several innocuous looking places
>> in ruby programs since running them
>> on Ubuntu 9.10 (Karmic).
>>
>> [...]
>>
>> What should I do?
>> Where do I report this bug?
>
> https://bugs.launchpad.net/ubuntu/+source/ruby1.8/+filebug

For anyone else who might run into this....

I was running into this error when trying to use RubyODBC
(ActiveRecord connecting to mssql server):
DBI::DatabaseError : INTERN (0) [RubyODBC] Cannot allocate SQLHENV

..to fix that I followed the steps here:
http://stackoverflow.com/questions/1419397/rubyodbc-cannot-allocate-sqlhenv

..which are:
wget http://www.ch-werner.de/rubyodbc/ruby-odbc-0.9997.tar.gz
tar xzvf ruby-odbc-0.9997.tar.gz
cd ruby-odbc-0.9997
ruby extconf.rb --with-dlopen
make
sudo make install

..to compile, this requires either libiodbc2-dev or unixodbc-dev, and
I had tried libiodbc2-dev.
I went back and removed iodbc and installed unixodbc-dev, recompiled
rubyodbc and now it works!

I will try and figure out the right people to report this issue to.