> > I'm trying to track down my apache2 segfaults and the mod_perl guys > > are telling me I need to get my system to dump a core file for > > analysis. How can I do that? Should I re-emerge apache2 and apr with > > +debug? > > Unfortunately just having USE=debug isn't all that you need. I use a bash > alias like so: > > alias debug="USE=debug FEATURES=nostrip CFLAGS=-ggdb3 CXXFLAGS=-ggdb3" > > then you can just run 'debug emerge blah'. > > You'll probably want to rebuilt apache2,apr,apr-util,mod_perl and possibly > more > depending on what exactly you're looking for. > > Finally, to get it to dump core, you'll probably have to add 'ulimit -c > unlimited' to your apache2 init script.
Hi Aaron, I did all of this but a couple of segfaults don't seem to have generated any "core" files. Do you know where they should be located and what they should be called? Is there anything else I need to do to get those files to dump? - Grant -- gentoo-user@gentoo.org mailing list