Bug#532563: ruby: Ruby Segmentation Fault

2009-10-19 Thread Fabio Bonelli
reassign 532563 libiodbc2
retitle 532563 Segfaults in herr.c
tags 532563 + patch
thanks

Thomas Liske :
> libodbc-ruby1.8 (used by libdbd-odbc-ruby1.8) is build against the iODBC
> manager in Debian Lenny. I build libodbc-ruby1.8 against unixODBC - and
> now it works:

There is indeed a NULL deference within libiodbc2 triggered by an error handler,
I'll go ahead reassigning this. Here is a band-aid patch that fixes
the segfault, take it
with a grain of salt because I'm not familiar with the stack's codebase.

-- 
Fabio Bonelli
gpg fingerprint: 61E6 5442 3BDF EA0E 2D10  35A6 971B 77D1 DA7F 0F59


libiodbc.patch
Description: Binary data


Bug#532563: ruby: Ruby Segmentation Fault

2009-06-10 Thread Grau
Package: ruby
Version: 4.2
Severity: important


Package: Ruby
Version: 1.8.7

When querying a Microsoft SQL database, ruby segfaults. I use the package 
libdbd-odbc version 0.2.2-1 to connect to the database. The program was working 
fine before the upgrade to lenny. The error I receive is the following:

/usr/lib/ruby/1.8/DBD/ODBC/ODBC.rb:237:  [BUG] Segmentation Fault
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]

Here is an example of a program that breaks:

#! /usr/bin/ruby -w

require "dbi"
dbh=DBI.connect('dbi:ODBC:server,'user','password')

mydata=dbh.select_all("select field1,field2 from DATABASE)

dbh.disconnect



-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages ruby depends on:
ii  ruby1.8   1.8.7.72-3 Interpreter of object-oriented scr

ruby recommends no packages.

ruby suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org