[ET Trac] [Einstein Toolkit] #1324: sefgfault caused by parameter file parsing
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Wed Apr 17 21:03:49 CDT 2013
#1324: sefgfault caused by parameter file parsing
--------------------+-------------------------------------------------------
Reporter: rhaas | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: Other | Version:
Keywords: |
--------------------+-------------------------------------------------------
the attached parfile (2 lines) fails with a segfault:
{{{
Program received signal SIGSEGV, Segmentation fault.
0x00000000005ec9c4 in piraha::Value::doubleValue (this=0x0)
at /mnt/data/rhaas/postdoc/gr/Zelmani/src/piraha/Call.cc:143
143 if(type == PIR_REAL)
(gdb) bt
#0 0x00000000005ec9c4 in piraha::Value::doubleValue (this=0x0)
at /mnt/data/rhaas/postdoc/gr/Zelmani/src/piraha/Call.cc:143
#1 0x00000000005e7652 in piraha::meval (gr=...)
at /mnt/data/rhaas/postdoc/gr/Zelmani/src/piraha/Call.cc:495
#2 0x00000000005e8b0d in piraha::meval (gr=...)
at /mnt/data/rhaas/postdoc/gr/Zelmani/src/piraha/Call.cc:603
#3 0x00000000005e817b in piraha::meval (gr=...)
at /mnt/data/rhaas/postdoc/gr/Zelmani/src/piraha/Call.cc:552
#4 0x00000000005e7cee in piraha::meval (gr=...)
at /mnt/data/rhaas/postdoc/gr/Zelmani/src/piraha/Call.cc:524
#5 0x00000000005e794f in piraha::meval (gr=...)
at /mnt/data/rhaas/postdoc/gr/Zelmani/src/piraha/Call.cc:507
#6 0x00000000005e7763 in piraha::meval (gr=...)
at /mnt/data/rhaas/postdoc/gr/Zelmani/src/piraha/Call.cc:498
#7 0x00000000005e7371 in piraha::meval (gr=...)
at /mnt/data/rhaas/postdoc/gr/Zelmani/src/piraha/Call.cc:482
#8 0x00000000005eb154 in piraha::cctk_PirahaParser (
buffer=0x116c4f0 "ActiveThorns = \"ioutil Carpet CarpetLib LoopControl
InitBase CarpetIOHDF5 HDF5\"\n\nCarpet::max_refinement_levels =
8\nIOHDF5::out_every = 2**(Carpet::max_refinement_levels-1)\n",
buffersize=172, set_function=0x5c0b19 <CCTKi_SetParameter>)
at /mnt/data/rhaas/postdoc/gr/Zelmani/src/piraha/Call.cc:813
#9 0x00000000005c847c in ParseFile (ifp=0x116c2b0, set_function=0x5c0b19
<CCTKi_SetParameter>,
ConfigData=0x7fffffffd680) at
/mnt/data/rhaas/postdoc/gr/Zelmani/src/util/ParseFile.c:140
#10 0x00000000005bcb12 in CCTKi_ProcessParameterDatabase
(ConfigData=0x7fffffffd680)
at
/mnt/data/rhaas/postdoc/gr/Zelmani/src/main/ProcessParameterDatabase.c:158
#11 0x00000000005b81e2 in CCTKi_InitialiseCactus (argc=0x7fffffffd67c,
argv=0x7fffffffd670,
config=0x7fffffffd680) at
/mnt/data/rhaas/postdoc/gr/Zelmani/src/main/InitialiseCactus.c:101
#12 0x00000000005b80df in main (argc=2, argv=0x7fffffffd788)
at /mnt/data/rhaas/postdoc/gr/Zelmani/src/main/flesh.cc:64
}}}
I attach parfile and thornlist toreproduce. This uses rev 4997 of the
flesh.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1324>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list