Pastebin

Paste #5121: No description

< previous paste - next paste>

Pasted by Anonymous Coward

Download View as text

==18767== Memcheck, a memory error detector
==18767== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==18767== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==18767== Command: mpirun -np 4 ./enzo.exe -r DD0021/DD0021
==18767==
Warning! Density and Mass units are both defined. Using only MassUnits.
Output to Global Dir .
ENZO_layout 1 x 2 x 2
Successfully read ParameterFile DD0021/DD0021.
TopGrid dt = 2.490153e-01     time = 128.99990065144    cycle = 563
=================================================================
==18770== ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7fa01c9e2608 at pc 0x9fd66f bp 0x7ffcffae3230 sp 0x7ffcffae3228
READ of size 8 at 0x7fa01c9e2608 thread T0
    #0 0x9fd66e in CommunicationReceiverPhotons(LevelHierarchyEntry**, bool, long long&) /home/emerick/code/enzo-emerick/src/enzo/CommunicationReceiverPhotons.C:160
    #1 0x9fe76a in CommunicationTransferPhotons(LevelHierarchyEntry**, ListOfPhotonsToMove**, char*, long long&) /home/emerick/code/enzo-emerick/src/enzo/CommunicationTransferPhotons.C:352
    #2 0xa04321 in EvolvePhotons(TopGridData*, LevelHierarchyEntry**, Star*&, double, long long, long long) /home/emerick/code/enzo-emerick/src/enzo/EvolvePhotons.C:440
    #3 0xa4fc4a in RestartPhotons(TopGridData*, LevelHierarchyEntry**, long long, Star*) /home/emerick/code/enzo-emerick/src/enzo/RestartPhotons.C:106
    #4 0xa4be34 in RadiativeTransferPrepare(LevelHierarchyEntry**, long long, TopGridData*, Star*&, double) /home/emerick/code/enzo-emerick/src/enzo/RadiativeTransferPrepare.C:72
    #5 0x4e8d9e in EvolveLevel(TopGridData*, LevelHierarchyEntry**, long long, double, ExternalBoundary*, ImplicitProblemABC*, SiblingGridList**) /home/emerick/code/enzo-emerick/src/enzo/EvolveLevel.C:443
    #6 0x4d10e6 in EvolveHierarchy(HierarchyEntry&, TopGridData&, ExternalBoundary*, ImplicitProblemABC*, LevelHierarchyEntry**, double) /home/emerick/code/enzo-emerick/src/enzo/EvolveHierarchy.C:504
    #7 0x40d065 in main /home/emerick/code/enzo-emerick/src/enzo/enzo.C:796
    #8 0x7fa0688b6f44 (/lib/x86_64-linux-gnu/libc.so.6+0x21f44)
    #9 0x414002 in _start (/home/emerick/work/enzo_runs/leo_p_stampede/fullres/run17/enzo.exe+0x414002)
0x7fa01c9e2608 is located 8 bytes to the right of 17600000-byte region [0x7fa01b919800,0x7fa01c9e2600)
allocated by thread T0 here:
    #0 0x7fa06a51a88a (/usr/lib/x86_64-linux-gnu/libasan.so.0+0x1188a)
    #1 0x9fb397 in PostPhotonReceives(int, int, long long, int) /home/emerick/code/enzo-emerick/src/enzo/CommunicationNonblockingRoutines.C:257
    #2 0x9fc062 in InitializePhotonReceive(long long, bool, int) /home/emerick/code/enzo-emerick/src/enzo/CommunicationNonblockingRoutines.C:368
    #3 0x9fe5b3 in CommunicationTransferPhotons(LevelHierarchyEntry**, ListOfPhotonsToMove**, char*, long long&) /home/emerick/code/enzo-emerick/src/enzo/CommunicationTransferPhotons.C:320
    #4 0xa04321 in EvolvePhotons(TopGridData*, LevelHierarchyEntry**, Star*&, double, long long, long long) /home/emerick/code/enzo-emerick/src/enzo/EvolvePhotons.C:440
    #5 0xa4fc4a in RestartPhotons(TopGridData*, LevelHierarchyEntry**, long long, Star*) /home/emerick/code/enzo-emerick/src/enzo/RestartPhotons.C:106
    #6 0xa4be34 in RadiativeTransferPrepare(LevelHierarchyEntry**, long long, TopGridData*, Star*&, double) /home/emerick/code/enzo-emerick/src/enzo/RadiativeTransferPrepare.C:72
    #7 0x4e8d9e in EvolveLevel(TopGridData*, LevelHierarchyEntry**, long long, double, ExternalBoundary*, ImplicitProblemABC*, SiblingGridList**) /home/emerick/code/enzo-emerick/src/enzo/EvolveLevel.C:443
    #8 0x4d10e6 in EvolveHierarchy(HierarchyEntry&, TopGridData&, ExternalBoundary*, ImplicitProblemABC*, LevelHierarchyEntry**, double) /home/emerick/code/enzo-emerick/src/enzo/EvolveHierarchy.C:504
    #9 0x40d065 in main /home/emerick/code/enzo-emerick/src/enzo/enzo.C:796
    #10 0x7fa0688b6f44 (/lib/x86_64-linux-gnu/libc.so.6+0x21f44)
SUMMARY: AddressSanitizer: heap-buffer-overflow /home/emerick/code/enzo-emerick/src/enzo/CommunicationReceiverPhotons.C:160 CommunicationReceiverPhotons(LevelHierarchyEntry**, bool, long long&)
Shadow bytes around the buggy address:
  0x0ff483934470: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0ff483934480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0ff483934490: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0ff4839344a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0ff4839344b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x0ff4839344c0: fa[fa]fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0ff4839344d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0ff4839344e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0ff4839344f0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0ff483934500: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0ff483934510: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:     fa
  Heap righ redzone:     fb
  Freed Heap region:     fd
  Stack left redzone:    f1
  Stack mid redzone:     f2
  Stack right redzone:   f3
  Stack partial redzone: f4
  Stack after return:    f5
  Stack use after scope: f8
  Global redzone:        f9
  Global init order:     f6
  Poisoned by user:      f7
  ASan internal:         fe
==18770== ABORTING
==18767==
==18767== HEAP SUMMARY:
==18767==     in use at exit: 131,120 bytes in 2 blocks
==18767==   total heap usage: 1,747 allocs, 1,745 frees, 307,347 bytes allocated
==18767==
==18767== LEAK SUMMARY:
==18767==    definitely lost: 0 bytes in 0 blocks
==18767==    indirectly lost: 0 bytes in 0 blocks
==18767==      possibly lost: 0 bytes in 0 blocks
==18767==    still reachable: 131,120 bytes in 2 blocks
==18767==         suppressed: 0 bytes in 0 blocks
==18767== Reachable blocks (those to which a pointer was found) are not shown.
==18767== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==18767==
==18767== For counts of detected and suppressed errors, rerun with: -v
==18767== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.