Re: Embperl / Apache::Session bug?
On Tue, Nov 16, 1999 at 07:43:38PM +0100, Gerald Richter <[EMAIL PROTECTED]> muttered about RE: Embperl / Apache::Session bug?: > > > > Preloading Apache::Session also causes sigsegv'ing, this time while > > dealing with MD5.pm. Preloading nothing seems to work. > > > > And Embperl is _not_ loaded at startup time? Correct. > > When does SIGSEGV occurs, when the server starts, on the first Embperl > request or on the first request which uses %udat/%mdat? SIGSEGV always occurs when the server starts. > > The problem is when mod_perl is build with USE_DSO. Maybe the compiler > options does not match, for some of the modules (Perl, Apache, mod_perl, DBI > etc.). This seems likely, as the mod_perl and apache were installed from RPMs. When embperl was built, the headers I used were from an install of the apache SRPM. I will try rebuilding apache, mod_perl, apache::session, and embperl from pristine source and see what happens. > Building a staticly linked Apache will surely solve the problem, but > if you like to continue using the dynamic version, you can try the following > two things: > > 1.) Preload HTML::Embperl::Session SIGSEGV's when dealing with MD5.so. > 2.) Try Apache::Session::FileStore instead of DBIStore I'll try this later as well. > Gerald Thanks for your help, -aaron
RE: Embperl / Apache::Session bug?
> > Preloading Apache::Session also causes sigsegv'ing, this time while > dealing with MD5.pm. Preloading nothing seems to work. > And Embperl is _not_ loaded at startup time? When does SIGSEGV occurs, when the server starts, on the first Embperl request or on the first request which uses %udat/%mdat? The problem is when mod_perl is build with USE_DSO. Maybe the compiler options does not match, for some of the modules (Perl, Apache, mod_perl, DBI etc.). Building a staticly linked Apache will surely solve the problem, but if you like to continue using the dynamic version, you can try the following two things: 1.) Preload HTML::Embperl::Session 2.) Try Apache::Session::FileStore instead of DBIStore Gerald - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice:+49 6133 925151 WWW:http://www.ecos.de Fax: +49 6133 925152 -
Re: Embperl / Apache::Session bug?
Preloading Apache::Session also causes sigsegv'ing, this time while dealing with MD5.pm. Preloading nothing seems to work. -aaron On Tue, Nov 16, 1999 at 05:00:31PM +0100, Gerald Richter <[EMAIL PROTECTED]> muttered about RE: Embperl / Apache::Session bug?: > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > > Behalf Of Aaron Elkiss > > Sent: Tuesday, November 16, 1999 4:46 PM > > To: [EMAIL PROTECTED] > > Subject: Embperl / Apache::Session bug? > > > > > > Hi.. I'm trying to get session handling (%udat and %mdat) to work with > > embperl 1.2b11. > > > > I'm running stock redhat 6.1 on a p200; this comes with apache 1.3.9, > > mod_perl 1.21, and perl 5.00503. I installed embperl 1.2b11 and > > Apache::Session 1.04. I had previously installed and was using MySQL > > 3.22.27 with the latest version of DBI and DBD::mysql. > > > > Anyway, the symptoms are as follows: Everything works fine with > > embperl normally, but when I add the following lines to my srm.conf > > Bad Things Happen: > > > > PerlSetEnv EMBPERL_SESSION_CLASSES "DBIStore SysVSemaphoreLocker" > > PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=dbi:mysql:session > > UserName=apache" > > > > Did you load Embperl and/or Apache::Session at server startup time? > > Please try to _not_ load Embperl at startup time and load Apache::Session at > startup time (e.g. PerlModule Apache::Session in your srm.conf) > > Gerald > > > > --- > Gerald Richter ecos electronic communication services gmbh > Internet - Infodatenbanken - Apache - Perl - mod_perl - Embperl > > E-Mail: [EMAIL PROTECTED] Tel:+49-6133/925151 > WWW:http://www.ecos.de Fax:+49-6133/925152 > --- >
RE: Embperl / Apache::Session bug?
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Aaron Elkiss > Sent: Tuesday, November 16, 1999 4:46 PM > To: [EMAIL PROTECTED] > Subject: Embperl / Apache::Session bug? > > > Hi.. I'm trying to get session handling (%udat and %mdat) to work with > embperl 1.2b11. > > I'm running stock redhat 6.1 on a p200; this comes with apache 1.3.9, > mod_perl 1.21, and perl 5.00503. I installed embperl 1.2b11 and > Apache::Session 1.04. I had previously installed and was using MySQL > 3.22.27 with the latest version of DBI and DBD::mysql. > > Anyway, the symptoms are as follows: Everything works fine with > embperl normally, but when I add the following lines to my srm.conf > Bad Things Happen: > > PerlSetEnv EMBPERL_SESSION_CLASSES "DBIStore SysVSemaphoreLocker" > PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=dbi:mysql:session > UserName=apache" > Did you load Embperl and/or Apache::Session at server startup time? Please try to _not_ load Embperl at startup time and load Apache::Session at startup time (e.g. PerlModule Apache::Session in your srm.conf) Gerald --- Gerald Richter ecos electronic communication services gmbh Internet - Infodatenbanken - Apache - Perl - mod_perl - Embperl E-Mail: [EMAIL PROTECTED] Tel:+49-6133/925151 WWW:http://www.ecos.de Fax:+49-6133/925152 ---