test flux.py fails in flux_cycl with segmentation fault if m = 1 (same error in cylindrical.py for m>0)

Bug #484213 reported by Emmanuel Lambert on 2009-11-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-meep
Undecided
Unassigned

Bug Description

test flux.py fails in flux_cycl with segmentation fault if m = 1
set m to 0 for now, test passes... but cause of segfault is unclear.
Shawkat, do you have an idea about that?

applies to revision 26 of intec branch

Changed in python-meep:
assignee: nobody → Nizamov Shawkat (nizamov-shawkat)

same error in some tests of cylindrical.py
-> temporarily restricted m to 0 only (was range(0,3))

summary: - test flux.py fails in flux_cycl with segmentation fault if m = 1
+ test flux.py fails in flux_cycl with segmentation fault if m = 1 (same
+ error in cylindrical.py for m>0)

this should be the consequence of turning real_fields and/or averaging on by default in EL branch.
tests work flawlessly in my branch

apparently the segfault only appears when calculating with real fields only. When complex fields are enabled, the test works fine.
I guess it crashes because the C++ core misses some test that should abort in case m>1 and only real fields are used.
It's thus a non-issue and in our version of the test, I've enabled complex fields for these tests.

Changed in python-meep:
status: New → Fix Committed
assignee: Nizamov Shawkat (nizamov-shawkat) → nobody
Changed in python-meep:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers