Perl script hangs when trying to connect via ODBC to EDS VDB

Solution Verified - Updated -

Issue

  • I am trying to use Perl to query a JBoss EDS virtual database, isql works I can log in and can run queries. But my Perl script hangs at:
#0  0x0000003f4a20edd0 in __pause_nocancel () from /lib64/libpthread.so.0
#1  0x0000003f4a208ffb in __pthread_mutex_lock_full () from /lib64/libpthread.so.0
#2  0x00007ffff09cb844 in CC_clear_error () from /opt/redhat/eds-5.x/psqlodbc/lib64/psqlodbc.so
#3  0x00007ffff0a18f21 in SQLGetInfo () from /opt/redhat/eds-5.x/psqlodbc/lib64/psqlodbc.so
#4  0x00007ffff1b20fc3 in post_connect (dbh=0x6ec3f0, imp_dbh=0x92cf70, dbname=<value optimized out>, uid=<value optimized out>, pwd=0x61d440 "M80YRwkSldB0da8B6", attr=0x70e190)
    at dbdimp.c:6485
#5  odbc_db_login6 (dbh=0x6ec3f0, imp_dbh=0x92cf70, dbname=<value optimized out>, uid=<value optimized out>, pwd=0x61d440 "M80YRwkSldB0da8B6", attr=0x70e190) at dbdimp.c:1155
#6  0x00007ffff1b153c8 in XS_DBD__ODBC__db__login (my_perl=<value optimized out>, cv=<value optimized out>) at ./ODBC.xsi:98
#7  0x0000003f4d6a6805 in Perl_pp_entersub () from /usr/lib64/perl5/CORE/libperl.so
#8  0x0000003f4d6a4af6 in Perl_runops_standard () from /usr/lib64/perl5/CORE/libperl.so
#9  0x0000003f4d64c268 in Perl_call_sv () from /usr/lib64/perl5/CORE/libperl.so
#10 0x00007ffff1f4c5d0 in XS_DBI_dispatch () from /usr/lib64/perl5/auto/DBI/DBI.so
#11 0x0000003f4d6a6805 in Perl_pp_entersub () from /usr/lib64/perl5/CORE/libperl.so
#12 0x0000003f4d6a4af6 in Perl_runops_standard () from /usr/lib64/perl5/CORE/libperl.so
#13 0x0000003f4d64d0d8 in perl_run () from /usr/lib64/perl5/CORE/libperl.so
#14 0x0000000000400cac in main ()

Environment

  • Red Hat JBoss Data Services (EDS) 5.3.1
  • Red Hat Enterprise Linux (RHEL) 6.4
  • Perl

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content