Herbert Rosmanith wrote: >>no. Is this directory writable by the user you start the server with? >>See more notes here: > > > yes, I just verified. su - httpd, chdir to directory, call a C program > which divides through zero => core dump generated. apache2 still does > not. strace -f httpd ... also does not show that httpd issues a > chdir(). strange ...
can you core dump from mod_perl 1.0 with the same setup? the problem is most likely that your C program is running in a different environment than mod_perl, i.e. different perm. You've tested with 'su - httpd', does your server running under this user? >>http://perl.apache.org/release/docs/2.0/devel/debug_c/debug_c.html#Getting_the_core_File_Dumped >> > > > thanks - but still having problems: > > bash-2.03# /usr/local/apache2/bin/httpd -DDEBUG > One or more DATA sections were not processed by Inline. > > [Thu Jun 06 11:22:15 2002] [error] The core should be found at /root/temp/core > > [Thu Jun 06 11:22:15 2002] [error] [client 10.1.31.31] Undefined subroutine >&Bad::Segv::segv called at /root/Portal/core_dump.pm line 20. > > > the "Inline"-package doesnt seem to compile the segv() routine. *scratch* > I'm using perl-5.6.1, is this a known issue? oh, those notes weren't reviewed yet, I've just dumped them there for a time being so they are still useful. Scratch the Inline package, it'll go away when I have time, just call perl's dump() function instead. I promise to cleanup that section soon. __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]