Paolo Campanella wrote: > On Fri, 2007-03-30 at 03:25, Victor Danilchenko wrote: > >> Can't locate object method "dir_config" via package "MyHandlerClass" at >> /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 895. > >> it just looks like we get a corrupt request object periodically. Does >> anyone know what might be happening here? > > Hi Victor > > Presuming your symptoms are the same as mine, if you look in your main > (non-vhost) error_log, you should see a corresponding entry like this: > > [notice] child pid 13177 exit signal Segmentation fault (11) > > I don't have the references any more, but when I last tried to track > this down (mod_perl mailing list), it led to what someone reputable said > was a Perl bug. I'm still running Perl 5.8.0 (Apache 1.3.x, mod_perl > 1.29). IIRC, it was unsolved in 5.8.3 at the time, but that was long > ago.
You are absolutely correct. We do indeed get segfault errors in the basic error log. We have perl 5.8.7, so I guess that segfault issue is still around. This error BTW is actually not the error I was looking at, because my error was the one I managed to trap via 'eval', and send myself error reports about it. The logged segfault entries don't have the same timestamps as the error messages I got, which means that there are some errors I wasn't even aware of. They are quite possibly related, but in neither case do I have any idea of how to work with it. The segfaults I can't even trap and handle, and the 'dir_config' error is trappable, but it seems to relate to some sort of symbol table corruption (i.e. the class in question simply doesn't seem to have the method 'dir_config' ever once in a while), and I am not sure how to work around it. Still, at least I have a better idea as to what could be the culprit here. Thanks. -- | Victor Danilchenko + Unix: Your gun, Your bullet, | | [EMAIL PROTECTED] | Your foot, Your choice. | | CSCF | 5-4231 | MS: Same as Unix, BUT: No choice, | +-----------------------+ and We Aim Higher. | ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users