After I had just restarted apache I tried to run one Embperl page and received:
[Sun Jul 27 14:32:04 2003] [error] [30184]ERR: 24: Error in Perl code: Undefined subroutine &Embperl::__6::helpform called at /home/zo/zo/lib/zoweb/help/help.pm line 8. Again, the same code area - trying to use a sub routine in rules.pm, which is included in the sub routine called from the Embperl directly. This time it didn't segfault (That isn't too typical and usually I can try to figure out what causes it, typically bad code on my part). This behavior occurs 90% of the time on page refreshes (Not sure how!). If I refresh enough, the error doesn't occur - And I've been refreshing quite a bit now, and I can't even reproduce it. Justin > -----Original Message----- > From: Justin Harrison [mailto:[EMAIL PROTECTED] > Sent: Sunday, July 27, 2003 2:31 PM > To: [EMAIL PROTECTED]; 'Justin Harrison'; 'Angus Lees' > Cc: [EMAIL PROTECTED] > Subject: RE: Modules not functioning correctly > > [Sun Jul 27 14:26:25 2003] [error] [30184]ERR: 24: Error in > Perl code: > Undefined subroutine &Embperl::__5::signupform called at > /home/zo/zo/lib/zoweb/signup/signup.pm line 8. > [Sun Jul 27 14:26:36 2003] [notice] child pid 7437 exit > signal Segmentation fault (11) > > > This is after apache has definitely been restarted, and in > another block of code entirely that uses the same design. I > can't _imagine_ why it would segfault - it works other times. > But this is typical of behavior I have experienced in trying > to code on Embperl. It is so eratic and sometimes unstable, > and I can't possibly figure out why. It is very annoying. I > love Embperl. It is a great framework. But I can't at all > understand _why_ it does this. Its so undesirable! Ugh! > > Justin > > > -----Original Message----- > > From: Cameron B. Prince [mailto:[EMAIL PROTECTED] > > Sent: Sunday, July 27, 2003 2:22 PM > > To: 'Justin Harrison'; 'Angus Lees' > > Cc: [EMAIL PROTECTED] > > Subject: RE: Modules not functioning correctly > > > > > > > All the files are uniquely titled. i.e, there is only one > > code.pm, one > > > rules.pm, etc. Many other embperl pages "use" rules.pm, but > > they are > > > all the same files. > > > > I have noticed this behavior on occasion. I tracked it down to a > > problem with my code in a specific block. I only got the error when > > that block was executed. However, each time, I found the error was > > listed in the primary apache error.log file. > > > > You might try a 'tail -f error.log' and then reproduce the error. > > Hopefully you will then see the cause. > > > > Good luck, > > Cameron > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
