On Tue, 2005-07-12 at 16:51 -0400, John Saylor wrote: > it never completes starting up. it segfaults when it goes to the db to > grab the data.
The best way to debug is usually to take things out until it stops segfaulting. Just comment things out until it runs. Then tell us what specific line broke it. > > One possible cause would be storing your database handles in a global > > or in a closure variable (as opposed to letting Apache::DBI handle > > them). > > can you point me somewhere to read about this in greater detail so i > might be able to fix it? Some of the introductory Perl material here might be useful to you: http://modperlbook.org/ And of course there is a lot of documentation about globals and closures in the main Perl docs. The thing you want to avoid here is having a database handle that doesn't go out of scope, other than the one Apache::DBI is keeping for you. (It is smart enough to avoid doing that during server startup.) - Perrin