[ET Trac] [Einstein Toolkit] #443: Output a stack backtrace on a fatal error in a simulation
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Fri Jul 1 00:27:26 CDT 2011
#443: Output a stack backtrace on a fatal error in a simulation
--------------------------+-------------------------------------------------
Reporter: hinder | Owner: eschnett
Type: enhancement | Status: review
Priority: major | Milestone:
Component: Carpet | Version:
Resolution: | Keywords:
--------------------------+-------------------------------------------------
Comment (by bmundim):
It worked for me on linux CentOS 5. Now the backtrace didn't include the
symbols:
Backtrace from rank 1 pid 21481:
1. /lib64/libc.so.6(gsignal+0x35) [0x3531430265]
2. /lib64/libc.so.6(abort+0x110) [0x3531431d10]
3. /lib64/libc.so.6(__assert_fail+0xf6) [0x35314296e6]
4. /home/bruno/scratch/frozenstar/bbh/./cactus_einstein_patch [0x115cdbe]
5. /home/bruno/scratch/frozenstar/bbh/./cactus_einstein_patch [0x420eb7]
6. /home/bruno/scratch/frozenstar/bbh/./cactus_einstein_patch [0x420fd1]
7. /home/bruno/scratch/frozenstar/bbh/./cactus_einstein_patch [0xa0b9fd]
8. /home/bruno/scratch/frozenstar/bbh/./cactus_einstein_patch [0xa0955a]
9. /home/bruno/scratch/frozenstar/bbh/./cactus_einstein_patch [0x5928e0]
a. /home/bruno/scratch/frozenstar/bbh/./cactus_einstein_patch [0x11225fd]
b. /home/bruno/scratch/frozenstar/bbh/./cactus_einstein_patch [0x111b1c7]
c. /home/bruno/scratch/frozenstar/bbh/./cactus_einstein_patch [0x111c857]
d. /home/bruno/scratch/frozenstar/bbh/./cactus_einstein_patch [0x111ce83]
e. /home/bruno/scratch/frozenstar/bbh/./cactus_einstein_patch [0x411979]
f. /lib64/libc.so.6(__libc_start_main+0xf4) [0x353141d994]
10.
/home/bruno/scratch/frozenstar/bbh/./cactus_einstein_patch(memcmp+0x381)
[0x411679]
I had OPTIMISE = yes in my configuration file but I also had CFLAGS = -g
-debug all ...
So -g doesn't seem to be passed along here. If we don't have the symbols
then it
becomes much harder to debug. In any case, apart from this detail, I would
say this
patch looks good for applying.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/443#comment:2>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list