Skip Menu |

This queue is for tickets about the Class-DBI-ClassGenerator CPAN distribution.

Maintainer(s)' notes

This distribution is abandoned. No bugs will be fixed, no patches accepted, no users supported. If you want to take over maintenance I'd be delighted.

Report information
The Basics
Id: 96197
Status: rejected
Priority: 0/
Queue: Class-DBI-ClassGenerator

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc: CAPTTOFU [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.03
Fixed in: (no value)



CC: CAPTTOFU [...] cpan.org
Subject: Core dumps during mysql.t
Sorry to spam the Class-DBI-ClassGenerator queue but it is the context that lets me reproduce this, so I hope for consensus that this is a good place to report. CC'ing to CAPTTOFU. Similar environment as in http://www.cpantesters.org/cpan/report/c2872490-dc17-11e3-ad41-5f0473305bfd, ie. 5.20.0, DBD::mysql 4.027, DBI 1.631. Core dump looks like so: (gdb) #0 0x00002ab31a636074 in __GI___libc_free (mem=mem@entry=0x7fff8f070970) at malloc.c:2905 #1 0x000000000048402a in Perl_safesysfree (where=where@entry=0x7fff8f070970) at util.c:357 #2 0x00002ab31b695d60 in mysql_dr_connect (dbh=dbh@entry=0x2a7d840, sock=sock@entry=0x7fff8f070970, mysql_socket=mysql_socket@entry=0x0, host=host@entry=0x2569ac0 "localhost", port=<optimized out>, user=0x2540ff0 "root", password=0x2a471b0 "", dbname=dbname@entry=0x0, imp_dbh=imp_dbh@entry=0x0) at dbdimp.c:1956 #3 0x00002ab31b69fca4 in XS_DBD__mysql__dr__admin_internal ( cv=<optimized out>) at mysql.xs:109 #4 0x00002ab31b48369a in XS_DBI_dispatch (cv=0x2a0a890) at DBI.xs:3746 #5 0x00000000004a5637 in Perl_pp_entersub () at pp_hot.c:2795 #6 0x000000000049e6d3 in Perl_runops_standard () at run.c:42 #7 0x0000000000434e76 in Perl_call_sv (sv=0x2a7d8a0, flags=<optimized out>, flags@entry=2) at perl.c:2756 #8 0x00002ab31b483b36 in XS_DBI_dispatch (cv=0x2a0a890) at DBI.xs:3765 #9 0x00000000004a5637 in Perl_pp_entersub () at pp_hot.c:2795 #10 0x000000000049e6d3 in Perl_runops_standard () at run.c:42 #11 0x000000000043b4b8 in S_run_body (oldscope=1) at perl.c:2456 #12 perl_run (my_perl=<optimized out>) at perl.c:2372 #13 0x000000000041dec5 in main (argc=2, argv=0x7fff8f071828, env=0x7fff8f071840) at perlmain.c:114 With 5.18.2 no core but glibc complains: *** Error in `/home/sand/src/perl/repoperls/installed-perls/perl/v5.18.2/165a/bin/perl': double free or corruption (out): 0x00007fff1c1c2a70 *** *** Error in `/home/sand/src/perl/repoperls/installed-perls/perl/v5.18.2/165a/bin/perl': double free or corruption (out): 0x00007fff1c1c2a70 *** *** Error in `/home/sand/src/perl/repoperls/installed-perls/perl/v5.18.2/165a/bin/perl': double free or corruption (out): 0x00007fff1c1c2a70 *** *** Error in `/home/sand/src/perl/repoperls/installed-perls/perl/v5.18.2/165a/bin/perl': double free or corruption (out): 0x00007fff1c1c2a70 *** *** Error in `/home/sand/src/perl/repoperls/installed-perls/perl/v5.18.2/165a/bin/perl': double free or corruption (out): 0x00007fff1c1c2a70 *** *** Error in `/home/sand/src/perl/repoperls/installed-perls/perl/v5.18.2/165a/bin/perl': double free or corruption (out): 0x00007fff1c1c2a70 *** *** Error in `/home/sand/src/perl/repoperls/installed-perls/perl/v5.18.2/165a/bin/perl': double free or corruption (out): 0x00007fff1c1c2a70 *** *** Error in `/home/sand/src/perl/repoperls/installed-perls/perl/v5.18.2/165a/bin/perl': double free or corruption (out): 0x00007fff1c1c2a70 *** *** Error in `/home/sand/src/perl/repoperls/installed-perls/perl/v5.18.2/165a/bin/perl': double free or corruption (out): 0x00007fff1c1c2a70 *** *** Error in `/home/sand/src/perl/repoperls/installed-perls/perl/v5.18.2/165a/bin/perl': free(): invalid pointer: 0x00007fff1c1c2780 *** t/mysql.t ......... skipped: couldn't create test db Same thing for 5.16.3. I have no mysql server running. At least not on the usual port. HTH
There may be a bug in Class::DBI::ClassGenerator here - the tests check to see if DBD::mysql exists, but are perhaps insufficiently paranoid about checking whether there is a database server available. However, the core dump is definitely not coming from Class::DBI::ClassGenerator - it's pure perl, so the crash must be coming from either perl itself, DBD::mysql, DBI, or the mysql libraries. I no longer use Class::DBI and intend to do one more release of C::D::CG to update the docs to say that it is no longer maintained. Would you like to take it over?
CC: ANDK [...] cpan.org, CAPTTOFU [...] cpan.org
Subject: Re: [rt.cpan.org #96197] Core dumps during mysql.t
Date: Thu, 05 Jun 2014 21:29:57 +0200
To: bug-Class-DBI-ClassGenerator [...] rt.cpan.org
From: Andreas Koenig <andreas.koenig.7os6VVqR [...] franz.ak.mind.de>
"David Cantrell via RT" <bug-Class-DBI-ClassGenerator@rt.cpan.org> writes: Show quoted text
> I no longer use Class::DBI and intend to do one more release of > C::D::CG to update the docs to say that it is no longer maintained. > Would you like to take it over?
Noooo, sorry, I have never used it. I find bugs like this only because analysis.cpantesters.org points me to them. -- andreas
Module abandoned and deprecated