On Thursday, August 14, 2003, at 12:53 PM, David Wheeler wrote:

Switching to connect_cached() seems to have made my problem with Apache 1.3.28 go away Yay!

Did I say this? It's back today! :-(

Issuing rollback() for database handle being DESTROY'd without explicit disconnect() at /usr/local/lib/perl5/site_perl/5.8.0/darwin/DBI.pm line 1241, <GEN5> line 8.
Issuing rollback() for database handle being DESTROY'd without explicit disconnect() at /usr/local/lib/perl5/site_perl/5.8.0/darwin/DBI.pm line 1241.
WARNING: ROLLBACK: no transaction in progress
message type 0x43 arrived from server while idle
WARNING: ROLLBACK: no transaction in progress
Attempt to free unreferenced scalar at /usr/local/lib/perl5/site_perl/5.8.0/darwin/DBI.pm line 1241.
*** malloc[5380]: Deallocation of a pointer not malloced: 0x1daf6b0; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
[Fri Aug 15 15:38:03 2003] [notice] child pid 5380 exit signal Segmentation fault (11)

This despite the fact that I fixed my begin, commit, and rollback code to work like this:

begin:    $dbh->{AutoCommit} = 0 if $dbh->{AutoCommit};
commit:   $dbh->commit unless $dbh->{AutoCommit}
rollback: $dbh->rollback unless $dbh->{AutoCommit}

And that I am now using connect_cached() instead of my own connection caching scheme.

So turning on DBI->trace(9) again, I get the attached log. There were several successful requests before the problem showed up again, so apologies for the size of the file.

Interesting notes:

Segfault at line 1297. See notes there. This is weird because the request appeared to be successful, from the browser's point of view.

Line 4004: This is where it finally hung. There were a fair number of successful requests before it got to this point. What follows below this line is what happened after I canceled the request from my browser. As you can see, it's not pretty.

Anybody have any clue about this? Again, it only happens with Apache 1.3.28.

Thanks, and sorry for the bad news!

Regards,

David

--
David Wheeler                                     AIM: dwTheory
[EMAIL PROTECTED]                              ICQ: 15726394
http://www.kineticode.com/                     Yahoo!: dew7e
                                               Jabber: [EMAIL PROTECTED]
Kineticode. Setting knowledge in motion.[sm]


Attachment: log.txt.gz
Description: GNU Zip compressed data

Reply via email to