Re: initializing global data structures from a db

2005-07-12 Thread John Saylor
hi > On Mon, 2005-07-11 at 17:14 -0400, John Saylor wrote: > > apache [mod_perl] seg faults on startup. ( 05.07.11 17:26 -0400 ) Perrin Harkins: > When exactly does it segfault? it never completes starting up. it segfaults when it goes to the db to grab the data. i enabled DBI tracing and saw th

Re: initializing global data structures from a db

2005-07-12 Thread Perrin Harkins
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 b

Re: initializing global data structures from a db

2005-07-12 Thread John Saylor
( 05.07.11 16:43 -0400 ) Perrin Harkins: > Okay, where are you getting stuck? apache [mod_perl] seg faults on startup. > > it works on perl 5.8.x but not on earlier versions [upgrading is not an > > option at this time]. > What does? calling a subroutine that initializes a global data structure

Re: initializing global data structures from a db

2005-07-11 Thread Perrin Harkins
On Mon, 2005-07-11 at 17:14 -0400, John Saylor wrote: > ( 05.07.11 16:43 -0400 ) Perrin Harkins: > > Okay, where are you getting stuck? > > apache [mod_perl] seg faults on startup. Now we're getting somewhere. When exactly does it segfault? What do you have to take out to make it stop segfaulti

Re: initializing global data structures from a db

2005-07-11 Thread Barry Hoggard
On Jul 11, 2005, at 3:23 PM, John Saylor wrote: hi i have a problem with initializing perl data structures from the db. i have an init routine that does all kinds of stuff and is called from startup.pl. one of the things i wanted it to do was to grab some stuff from the db and populate a hash w

Re: initializing global data structures from a db

2005-07-11 Thread Michael Peters
John Saylor wrote: > hi > > i have a problem with initializing perl data structures from the db. i > have an init routine that does all kinds of stuff and is called from > startup.pl. one of the things i wanted it to do was to grab some stuff > from the db and populate a hash with it. > one way t

Re: initializing global data structures from a db

2005-07-11 Thread Perrin Harkins
On Mon, 2005-07-11 at 15:23 -0400, John Saylor wrote: > i have a problem with initializing perl data structures from the db. i > have an init routine that does all kinds of stuff and is called from > startup.pl. one of the things i wanted it to do was to grab some stuff > from the db and populate a

initializing global data structures from a db

2005-07-11 Thread John Saylor
hi i have a problem with initializing perl data structures from the db. i have an init routine that does all kinds of stuff and is called from startup.pl. one of the things i wanted it to do was to grab some stuff from the db and populate a hash with it. btw, i'm not using Class::DBI and to imple