← Back to team overview

python-meep team mailing list archive

[Bug 947884] Re: Harminv crashes with long simulation

 

Note that this bug is somewhat complementary to the rounding error of
Harminv #947797, which limits the _minimum_ simulation time to be higher
than 1.

-- 
You received this bug notification because you are a member of python-
meep, which is the registrant for python-meep.
https://bugs.launchpad.net/bugs/947884

Title:
  Harminv crashes with long simulation

Status in Python binding for MEEP (FDTD solver by MIT):
  New

Bug description:
  The runWithHarminv() function in python-meep 1.4.2 (on Ubuntu 11.10
  amd64) sometimes results in crashes. However, Harminv always runs the
  simulation and writes out correctly found modes before the crash.

  The crash reason is hard to find out for me; however it is related to the resolution and the simulated time. Changing the parameters, I observed three different errors of:
      *** glibc detected *** python: free(): invalid next size (normal): 0x000000000176b160 ***
  or
      *** glibc detected *** python: free(): invalid next size (fast): 0x0000000001a62160 ***
  or
      *** glibc detected *** python: double free or corruption (!prev): 0x00000000014d6420 ***

  Attached is a _working_ example. To trigger the crash, increase the
  parameter pTimeAfterSources (at line 114) to (120. / srcFreq)

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-meep/+bug/947884/+subscriptions


References