Summary: | amandad segfaults (via inetd) while running amcheck | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matthias Wegener <befreuungsfront> |
Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED NEEDINFO | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Matthias Wegener
2004-11-30 06:12:07 UTC
could you please compile Amanda with CFLAGS="-g" and repeat the test to get a core file, and then post up a backtrace from gdb using it? *** Bug 72921 has been marked as a duplicate of this bug. *** please keep all of your messages on the bug tracker. it makes it possible for other people with the problem to reference them later. 1. run: CFLAGS="-g" CPPFLAGS="-g" USE="debug" FEATURES="nostrip keepwork keeptemp noclean" emerge amanda 2. open up /etc/limits, add a new line at the end: * C50000000 3. restart [x]inetd (make sure only one of them is running) 4. run 'amcheck -c G5' 5. it should time out as in your original bug, and now you can go and look for a file named 'core' or 'core.PID'. it may be in root's home directory, or in amanda's home directory, or somewhere else (I suggest running 'updatedb' and 'locate'). 6. run 'gdb /usr/libexec/amandad corefile' (ensure the correct path to the corefile from #5). 7. in gdb, run 'bt' and give me the output of everything from the start of running gdb to the end of the 'bt' output. ping no response from user. closing. |