Public bug reported:

Binary package hint: libdbd-sybase-perl

Using SQL Server 2005 as the database engine and the Sybase DBM, we experience
a crash when binding a uniqueidentifier to a prepared statement.  For example:

  # This will crash
  $statement = $database->prepare("EXEC StoredProc \...@id = ?");
  $statement->bind_param(1, $uniqueIdentifier);
  $statement->execute();  

  # This will not crash
  $statement = $database->prepare("EXEC StoredProc \...@id = 
'$uniqueIdentifier'");
  $statement->execute();

I've attached a sample script that will cause the crash.  Also, it is a glibc
abort, so may be a double free.  I will attach the dump.

ProblemType: Bug
Architecture: amd64
Date: Tue Jun 23 09:59:46 2009
DistroRelease: Ubuntu 8.04
Package: libdbd-sybase-perl 1.00-3
PackageArchitecture: amd64
ProcEnviron:
 
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: libdbd-sybase-perl
Uname: Linux 2.6.24-24-server x86_64

** Affects: libdbd-sybase-perl (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug

-- 
Sybase Perl module crashes when binding uniqueidentifier
https://bugs.launchpad.net/bugs/391142
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to