Bugs: Browse | Submit New | Admin

[#28771] Segmentation fault DBD-ODBC statement.rb on Mac OS X Snow Leopard

Date:
2010-12-07 15:11
Priority:
3
Submitted By:
Timo Springmann (tisp)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Segmentation fault DBD-ODBC statement.rb on Mac OS X Snow Leopard

Detailed description
I've problems connecting to an MS SQL 2005 Server using ODBC with FreeTDS from Mac OS X 10.6.5 (Snow Leopard)

Specs:
freetds 0.82
Ruby 1.8.7
dbi 0.4.5
dbd-odbc 0.2.5
ruby-odbc 0.99992

To test the freetds and odbc configuration I used tsql and iodbctest to connect to a mssql database. With both tools
I can successfully connect to the mssql database.

When trying to connect with my Ruby Application I get the following error:

Processing SessionsController#new (for 127.0.0.1 at 2010-12-07 15:38:22) [GET]
  Session ID: 80f506fb041ec09fa239c79e5d37d684
Rendering template within layouts/session
Rendering sessions/new
Rendered shared/_messages (0.2ms)
Completed in 171ms (View: 44, DB: 0) | 200 OK [http://localhost/session/new]
/home/tisp/.gem/ruby/1.8/gems/dbd-odbc-0.2.5/lib/dbd/odbc/statement.rb:41: [BUG] Segmentation fault
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]

Add A Comment: Notepad

Please login


Followup

Message
Date: 2011-03-18 15:49
Sender: Colin Mcleod

I've got the same issue with ruby 1.9.2-p180 via RVM on mac,
with all the latest gems... Any followup to this issue?

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item