Ticket #92 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Bug in week-of-code: DrivenTurbulence3D crashes/hangs at hydro_rk/Grid_M\ HDTurbulenceInitializeGrid.C:231

Reported by: jbordner Owned by: somebody
Priority: critical Milestone:
Component: enzo Version: 2.0
Keywords: Cc:

Description

Hangs or crashes at a delete [] statement, which indicates a previous corruption of the dynamic memory heap.

#0  __lll_lock_wait ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136
#1  0x00007fe84f624295 in _L_lock_949 () from /lib/libpthread.so.0
#2  0x00007fe84f6240b8 in __pthread_mutex_lock (mutex=0x7fe850704d00)
    at pthread_mutex_lock.c:61
#3  0x00007fe85047c36e in free () from /usr/lib/liblam.so.4
#4  0x00007fe8510e428e in H5MM_xfree () from /usr/lib/libhdf5-1.6.6.so.0
#5  0x00007fe8510e3b90 in H5I_destroy_group () from /usr/lib/libhdf5-1.6.6.so.0
#6  0x00007fe851097acf in H5D_term_interface () from /usr/lib/libhdf5-1.6.6.so.0
#7  0x00007fe8510866a5 in H5_term_library () from /usr/lib/libhdf5-1.6.6.so.0
#8  0x00007fe84f2e4c12 in __run_exit_handlers (status=1) at exit.c:78
#9  *__GI_exit (status=1) at exit.c:100
#10 0x00007fe850427ee9 in _cio_bail () from /usr/lib/liblam.so.4
#11 0x00007fe850477407 in ?? () from /usr/lib/liblam.so.4
#12 <signal handler called>
#13 0x00007fe85047c1f3 in _int_free () from /usr/lib/liblam.so.4
#14 0x00007fe85047c379 in free () from /usr/lib/liblam.so.4
#15 0x0000000000710e6d in grid::MHDTurbulenceInitializeGrid (this=0x622e580, 
    rho_medium=1.6699999999999999e-22, cs_medium=20000, mach=10, 
    Bnaught=2.8209479177387817e-07, seed=842091, level=0, SetBaryonFields=1)
    at hydro_rk/Grid_MHDTurbulenceInitializeGrid.C:231
#16 0x000000000071b72f in MHDTurbulenceInitialize (fptr=0x622dad0, 
    Outfptr=0x622dd10, TopGrid=..., MetaData=..., SetBaryonFields=1)
    at hydro_rk/MHDTurbulenceInitialize.C:107
#17 0x00000000005a4c4d in InitializeNew (
    filename=0x7fffae3bcab2 "DrivenTurbulence3D.enzo", TopGrid=..., 
    MetaData=..., Exterior=..., Initialdt=0x7fffae3bbd28) at InitializeNew.C:781
#18 0x000000000040bfff in main (argc=3, argv=0x7fffae3bc108) at enzo.C:573

Change History

Changed 3 years ago by eharperclark

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.