Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DBD-Oracle CPAN distribution.

Report information
The Basics
Id: 72577
Status: open
Priority: 0/
Queue: DBD-Oracle

People
Owner: Nobody in particular
Requestors: raherh [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: 1.34



Subject: core dump with 38taf.t
Download (untitled) / with headers
text/plain 2.8k
I install 1.34 on Solaris 10 with perl 5.14.2. All tests pass except one. Connection is to 10.2.0.5.0 database with instantclient_11_2. Test 38taf.t fails with the output: 1..1 Bus Error (core dumped) and the relevant gdb output is below. May I overlook this TAF test? rahed Reading symbols from /lib/libsocket.so.1...done. Loaded symbols for /lib/libsocket.so.1 Reading symbols from /lib/libnsl.so.1...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /lib/libdl.so.1... warning: Lowest section in /lib/libdl.so.1 is .hash at 00000094 done. Loaded symbols for /lib/libdl.so.1 Reading symbols from /lib/libm.so.2...done. Loaded symbols for /lib/libm.so.2 Reading symbols from /lib/libc.so.1...done. Loaded symbols for /lib/libc.so.1 Reading symbols from /platform/sun4v/lib/libc_psr.so.1...done. Loaded symbols for /platform/sun4v/lib/libc_psr.so.1 Reading symbols from /usr/local/lib/perl5/site_perl/5.14.2/sun4-solaris/ auto/DBI/DBI.so...done. Loaded symbols for /usr/local/lib/perl5/site_perl/5.14.2/sun4-solaris/ auto/DBI/DBI.so Reading symbols from /usr/local/lib/perl5/5.14.2/sun4-solaris/auto/List/ Util/Util.so...done. Loaded symbols for /usr/local/lib/perl5/5.14.2/sun4-solaris/auto/List/ Util/Util.so Reading symbols from /usr/local/lib/perl5/site_perl/5.14.2/sun4-solaris/ auto/DBD/Oracle/Oracle.so...done. Loaded symbols for /usr/local/lib/perl5/site_perl/5.14.2/sun4-solaris/ auto/DBD/Oracle/Oracle.so Reading symbols from /opt/instantclient_11_2/libclntsh.so.11.1...done. Loaded symbols for /opt/instantclient_11_2/libclntsh.so.11.1 Reading symbols from /opt/instantclient_11_2/libnnz11.so...done. Loaded symbols for /opt/instantclient_11_2/libnnz11.so Reading symbols from /lib/libkstat.so.1...done. Loaded symbols for /lib/libkstat.so.1 Reading symbols from /lib/libresolv.so.2...done. Loaded symbols for /lib/libresolv.so.2 Reading symbols from /lib/libgen.so.1...done. Loaded symbols for /lib/libgen.so.1 Reading symbols from /usr/lib/libsched.so.1... warning: Lowest section in /usr/lib/libsched.so.1 is .dynamic at 00000074 done. Loaded symbols for /usr/lib/libsched.so.1 Reading symbols from /lib/librt.so.1...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libaio.so.1...done. Loaded symbols for /lib/libaio.so.1 Reading symbols from /lib/libmd.so.1...done. Loaded symbols for /lib/libmd.so.1 Reading symbols from /usr/local/lib/perl5/5.14.2/sun4-solaris/auto/Data/ Dumper/Dumper.so...done. Loaded symbols for /usr/local/lib/perl5/5.14.2/sun4-solaris/auto/Data/ Dumper/Dumper.so Reading symbols from /opt/instantclient_11_2/libociei.so...done. Loaded symbols for /opt/instantclient_11_2/libociei.so Reading symbols from /lib/ld.so.1...done. Loaded symbols for /lib/ld.so.1 Core was generated by `perl t/38taf.t'. Program terminated with signal 10, Bus error. [New process 68720 ] #0 0xff0ce364 in _lwp_kill () from /lib/libc.so.1
From: raherh [...] gmail.com
On Mon Nov 21 09:19:08 2011, rahe wrote: Correction: not fixed in 1.34 but broken. Sorry.
Subject: Re: [rt.cpan.org #72577] core dump with 38taf.t
Date: Mon, 21 Nov 2011 09:57:41 -0500
To: bug-DBD-Oracle [...] rt.cpan.org
From: Yanick Champoux <champoux [...] pythian.com>
Download (untitled) / with headers
text/plain 482b
On 11/21/11 09:19, Radek via RT wrote: Show quoted text
> May I overlook this TAF test?
if you don't plan to use TAF, yes, you should be able to just install DBD::Oracle despite the fail ('make install'), and everything should be fine. Thanks for the bug report! `/anick -- Yanick Champoux, Senior Perl Developer The Pythian Group - love your data http://www.pythian.com -- Pythian proud winner of Oracle North America Titan Award for Exadata Solution...watch the video on pythian.com
Download (untitled) / with headers
text/plain 172b
The new releases of DBD::Oracle are more cautious with TAF features. Can you try installing DBD::Oracle again and report if the problem is no longer occuring? Joy, `/anick
From: raherh [...] gmail.com
Download (untitled) / with headers
text/plain 414b
On Fri Mar 09 14:31:40 2012, PYTHIAN wrote: Again core dumped: -bash-3.00# perl t/38taf.t 1..1 Bus Error (core dumped) and also this one: t/rt74753-utf8-encoded.t .. 1/3 # Failed test 'utf8 encoded' # at t/rt74753-utf8-encoded.t line 58. # got: '' # expected: '1' # Failed test 'truncated, yet utf8 encoded' # at t/rt74753-utf8-encoded.t line 80. # got: '' # expected: '1'
Download (untitled) / with headers
text/plain 510b
On Mon Nov 21 09:19:08 2011, rahe wrote: Show quoted text
> I install 1.34 on Solaris 10 with perl 5.14.2. All tests pass except > one. > Connection is to 10.2.0.5.0 database with instantclient_11_2. > > Test 38taf.t fails with the output: > > 1..1 > Bus Error (core dumped)
I know this was a while back but would you mind rerunning this in the debugger and showing a back trace (command bt). Also rerunning just the taf test with DBI_TRACE=15=x.log and posting the output. Thanks. Martin -- Martin J. Evans Wetherby, UK
Download (untitled) / with headers
text/plain 935b
On Sun Apr 22 06:14:33 2012, MJEVANS wrote: Show quoted text
> On Mon Nov 21 09:19:08 2011, rahe wrote:
> > I install 1.34 on Solaris 10 with perl 5.14.2. All tests pass except > > one. > > Connection is to 10.2.0.5.0 database with instantclient_11_2. > > > > Test 38taf.t fails with the output: > > > > 1..1 > > Bus Error (core dumped)
> > I know this was a while back but would you mind rerunning this in the > debugger and showing a back trace (command bt). Also rerunning just the > taf test with DBI_TRACE=15=x.log and posting the output. > > Thanks. > > Martin
I suspect this is fixed now as I found some memory corruption in the TAF code. The latest subversion trunk would be worth testing. This is a relatively old issue and as you are not using TAF I'm guessing you won't want to test it again so I'm going to mark it resolved shortly unless you tell me otherwise. Thanks again for the report. Martin -- Martin J. Evans Wetherby, UK
From: raherh [...] gmail.com
Download (untitled) / with headers
text/plain 1.2k
Show quoted text
> I suspect this is fixed now as I found some memory corruption in the TAF > code. The latest subversion trunk would be worth testing. > > This is a relatively old issue and as you are not using TAF I'm guessing > you won't want to test it again so I'm going to mark it resolved shortly > unless you tell me otherwise. > > Thanks again for the report. > > Martin
Excerpt from make test in trunk: t/36lob_leak.t ............ ok t/38taf.t ................. No subtests run t/39attr.t ................ Use of uninitialized value in pattern match (m//) at t/39attr.t line 37. t/39attr.t ................ 1/? # Failed test 'Default driver name' # at t/39attr.t line 37. # undef # doesn't match '(?-xism:DBD)' # Failed test 'attribute ora_driver_name set and retrieved' # at t/39attr.t line 44. # got: undef # expected: 'fred' # Looks like you failed 2 tests of 8. t/39attr.t ................ Dubious, test returned 2 (wstat 512, 0x200) Failed 2/8 subtests t/40ph_type.t ............. ok Other tests were fine. I do not know if No subtests run result for 38taf.t is ok. Separately test 38taf.t: perl t/38taf.t not ok 1 - '' expected! # Failed test ''' expected! ' # at t/38taf.t line 31. 1..1 # Looks like you failed 1 test of 1. Radek
Download (untitled) / with headers
text/plain 1.6k
On Sat Sep 15 14:59:16 2012, rahe wrote: Show quoted text
>
> > I suspect this is fixed now as I found some memory corruption in the
> TAF
> > code. The latest subversion trunk would be worth testing. > > > > This is a relatively old issue and as you are not using TAF I'm
> guessing
> > you won't want to test it again so I'm going to mark it resolved
> shortly
> > unless you tell me otherwise. > > > > Thanks again for the report. > > > > Martin
> > Excerpt from make test in trunk: > > t/36lob_leak.t ............ ok > t/38taf.t ................. No subtests run
That does not sound right. Show quoted text
> t/39attr.t ................ Use of uninitialized value in pattern > match (m//) at t/39attr.t line 37. > t/39attr.t ................ 1/? > # Failed test 'Default driver name' > # at t/39attr.t line 37. > # undef > # doesn't match '(?-xism:DBD)' > > # Failed test 'attribute ora_driver_name set and retrieved' > # at t/39attr.t line 44. > # got: undef > # expected: 'fred' > # Looks like you failed 2 tests of 8.
Ah, you are probably running less than Oracle 11. Thanks for spotting this - fixed, I think. Show quoted text
> t/39attr.t ................ Dubious, test returned 2 (wstat 512, > 0x200) > Failed 2/8 subtests > t/40ph_type.t ............. ok > > Other tests were fine. > > I do not know if No subtests run result for 38taf.t is ok. > Separately test 38taf.t: > > perl t/38taf.t > not ok 1 - '' expected! > # Failed test ''' expected! ' > # at t/38taf.t line 31. > 1..1 > # Looks like you failed 1 test of 1. > > Radek
Would you mind doing and svn update and trying again but if the 38taf test fails again use: prove -vb t/38taf.t to run it. Thanks -- Martin J. Evans Wetherby, UK
From: raherh [...] gmail.com
Download (untitled) / with headers
text/plain 508b
Show quoted text
> Would you mind doing and svn update and trying again but if the 38taf > test fails again use: > > prove -vb t/38taf.t > > to run it. > > Thanks
38taf.t output: $ prove -vb t/38taf.t t/38taf.t .. No subtests run Test Summary Report ------------------- t/38taf.t (Wstat: 138 Tests: 0 Failed: 0) Non-zero wait status: 138 Parse errors: No plan found in TAP output Files=1, Tests=0, 6 wallclock secs ( 0.11 usr 0.03 sys + 0.30 cusr 0.47 csys = 0.91 CPU) Result: FAIL t/39attr.t is ok Radek
Download (untitled) / with headers
text/plain 904b
On Mon Sep 17 15:35:52 2012, rahe wrote: Show quoted text
>
> > Would you mind doing and svn update and trying again but if the
> 38taf
> > test fails again use: > > > > prove -vb t/38taf.t > > > > to run it. > > > > Thanks
> > 38taf.t output: > > $ prove -vb t/38taf.t > t/38taf.t .. No subtests run > > Test Summary Report > ------------------- > t/38taf.t (Wstat: 138 Tests: 0 Failed: 0) > Non-zero wait status: 138 > Parse errors: No plan found in TAP output > Files=1, Tests=0, 6 wallclock secs ( 0.11 usr 0.03 sys + 0.30 cusr > 0.47 csys = 0.91 CPU) > Result: FAIL > > > t/39attr.t is ok > > Radek
Thank you. This is really strange. I appreciate you running the test again. I've asked someone with an older Oracle to do likewise and they got the expected output. I'll look further into it. However, if you are not using TAF you should not worry about this. Martin -- Martin J. Evans Wetherby, UK
Download (untitled) / with headers
text/plain 530b
I wasn't sure if I should open a new ticket or append my infos here. Here the taf tests fail as well but differently: [ahartmai@ahartmai-nb:~/.cpanplus/5.16.2/build/DBD-Oracle-1.58$ ]$ prove -vl t/38taf.t t/38taf.t .. ok 1 ok 2 - TAF callback All 2 subtests passed Test Summary Report ------------------- t/38taf.t (Wstat: 139 Tests: 2 Failed: 0) Non-zero wait status: 139 Parse errors: No plan found in TAP output Files=1, Tests=2, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.07 cusr 0.02 csys = 0.11 CPU) Result: FAIL


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.