Created
December 22, 2021 22:39
-
-
Save ahoenselaar/13d0b764bb38bbab8b579ed414c49592 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
============================================ | |
meep 1.22.0-beta: tests/test-suite.log | |
============================================ | |
# TOTAL: 22 | |
# PASS: 17 | |
# SKIP: 0 | |
# XFAIL: 0 | |
# FAIL: 5 | |
# XPASS: 0 | |
# ERROR: 0 | |
.. contents:: :depth: 2 | |
FAIL: convergence_cyl_waveguide | |
=============================== | |
Testing convergence of a waveguide mode frequency... | |
noavg:, 10, 0.271479, 0.0504293 | |
noavg:, 13, 0.282819, 0.0107642 | |
noavg:, 16, 0.276646, 0.0323551 | |
noavg:, 19, 0.284018, 0.0065709 | |
noavg:, 22, 0.279095, 0.0237912 | |
noavg:, 25, 0.284557, 0.00468559 | |
Even a's: converged as 5.2e-01 / a | |
Odd a's: converged as 1.3e-01 / a | |
Passed convergence test with no fancy averaging! | |
================================================================= | |
==12584==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60f000003a50 at pc 0x7f441459ed15 bp 0x7ffd394e36d0 sp 0x7ffd394e36c0 | |
READ of size 8 at 0x60f000003a50 thread T0 | |
#0 0x7f441459ed14 in meep::step_update_EDHB_stride1(double*, meep::component, meep::grid_volume const&, meep::ivec, meep::ivec, double const*, double const*, double const*, double const*, double const*, double const*, long, long, long, double const*, double const*, double*, meep::direction, double const*, double const*) /home/runner/work/meep/meep/src/step_generic_stride1.cpp:542 | |
#1 0x7f44144e6868 in meep::fields_chunk::update_eh(meep::field_type, bool) /home/runner/work/meep/meep/src/update_eh.cpp:192 | |
#2 0x7f44144e3759 in meep::fields::update_eh(meep::field_type, bool) /home/runner/work/meep/meep/src/update_eh.cpp:55 | |
#3 0x7f441447cc04 in meep::fields::step() /home/runner/work/meep/meep/src/step.cpp:108 | |
#4 0x55ab5ce5e0ea in test_convergence_with_averaging() /home/runner/work/meep/meep/tests/convergence_cyl_waveguide.cpp:118 | |
#5 0x55ab5ce5f5fb in main /home/runner/work/meep/meep/tests/convergence_cyl_waveguide.cpp:173 | |
#6 0x7f4413d400b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2) | |
#7 0x55ab5ce5b66d in _start (/home/runner/work/meep/meep/tests/.libs/convergence_cyl_waveguide+0x566d) | |
0x60f000003a50 is located 16 bytes to the left of 176-byte region [0x60f000003a60,0x60f000003b10) | |
allocated by thread T0 here: | |
#0 0x7f4414759b47 in operator new[](unsigned long) (/lib/x86_64-linux-gnu/libasan.so.5+0x10fb47) | |
#1 0x7f44143e3d7b in meep::fields_chunk::alloc_f(meep::component) /home/runner/work/meep/meep/src/fields.cpp:486 | |
#2 0x7f44143e4ddf in meep::fields::_require_component(meep::component, bool) /home/runner/work/meep/meep/src/fields.cpp:552 | |
#3 0x7f441441bef8 in meep::fields::require_component(meep::component) /home/runner/work/meep/meep/src/meep.hpp:1894 | |
#4 0x7f441446c2dd in meep::fields::add_volume_source(meep::component, meep::src_time const&, meep::volume const&, std::complex<double> (*)(meep::vec const&), std::complex<double>) /home/runner/work/meep/meep/src/sources.cpp:438 | |
#5 0x7f44144677c4 in meep::fields::add_volume_source(meep::component, meep::src_time const&, meep::volume const&, std::complex<double>) /home/runner/work/meep/meep/src/sources.cpp:224 | |
#6 0x7f4414467497 in meep::fields::add_point_source(meep::component, meep::src_time const&, meep::vec const&, std::complex<double>) /home/runner/work/meep/meep/src/sources.cpp:215 | |
#7 0x7f441446721e in meep::fields::add_point_source(meep::component, double, double, double, double, meep::vec const&, std::complex<double>, int) /home/runner/work/meep/meep/src/sources.cpp:210 | |
#8 0x55ab5ce5e064 in test_convergence_with_averaging() /home/runner/work/meep/meep/tests/convergence_cyl_waveguide.cpp:116 | |
#9 0x55ab5ce5f5fb in main /home/runner/work/meep/meep/tests/convergence_cyl_waveguide.cpp:173 | |
#10 0x7f4413d400b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2) | |
SUMMARY: AddressSanitizer: heap-buffer-overflow /home/runner/work/meep/meep/src/step_generic_stride1.cpp:542 in meep::step_update_EDHB_stride1(double*, meep::component, meep::grid_volume const&, meep::ivec, meep::ivec, double const*, double const*, double const*, double const*, double const*, double const*, long, long, long, double const*, double const*, double*, meep::direction, double const*, double const*) | |
Shadow bytes around the buggy address: | |
0x0c1e7fff86f0: fa fa 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
0x0c1e7fff8700: 00 00 00 00 00 00 00 00 fa fa fa fa fa fa fa fa | |
0x0c1e7fff8710: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
0x0c1e7fff8720: 00 00 00 00 00 00 fa fa fa fa fa fa fa fa 00 00 | |
0x0c1e7fff8730: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
=>0x0c1e7fff8740: 00 00 00 00 fa fa fa fa fa fa[fa]fa 00 00 00 00 | |
0x0c1e7fff8750: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
0x0c1e7fff8760: 00 00 fa fa fa fa fa fa fa fa 00 00 00 00 00 00 | |
0x0c1e7fff8770: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
0x0c1e7fff8780: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 | |
0x0c1e7fff8790: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 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 | |
Freed heap region: fd | |
Stack left redzone: f1 | |
Stack mid redzone: f2 | |
Stack right redzone: f3 | |
Stack after return: f5 | |
Stack use after scope: f8 | |
Global redzone: f9 | |
Global init order: f6 | |
Poisoned by user: f7 | |
Container overflow: fc | |
Array cookie: ac | |
Intra object redzone: bb | |
ASan internal: fe | |
Left alloca redzone: ca | |
Right alloca redzone: cb | |
Shadow gap: cc | |
==12584==ABORTING | |
FAIL convergence_cyl_waveguide (exit status: 1) | |
FAIL: dump_load | |
=============== | |
Testing 3D dump/load: temp_dir = /tmp/meeph98QHd... | |
Dumping structure: /tmp/meeph98QHd/test_periodic_2-structure-original | |
Periodic test using 2 chunks... | |
Dumping fields: /tmp/meeph98QHd/test_periodic_2-fields-original | |
Loading structure: /tmp/meeph98QHd/test_periodic_2-structure-original | |
Loading fields: /tmp/meeph98QHd/test_periodic_2-fields-original | |
Dumping structure: /tmp/meeph98QHd/test_periodic_3-structure-original | |
Periodic test using 3 chunks... | |
Dumping fields: /tmp/meeph98QHd/test_periodic_3-fields-original | |
Loading structure: /tmp/meeph98QHd/test_periodic_3-structure-original | |
Loading fields: /tmp/meeph98QHd/test_periodic_3-fields-original | |
Dumping structure: /tmp/meeph98QHd/test_periodic_4-structure-original | |
Periodic test using 4 chunks... | |
Dumping fields: /tmp/meeph98QHd/test_periodic_4-fields-original | |
Loading structure: /tmp/meeph98QHd/test_periodic_4-structure-original | |
Loading fields: /tmp/meeph98QHd/test_periodic_4-fields-original | |
Dumping structure: /tmp/meeph98QHd/test_periodic_5-structure-original | |
Periodic test using 5 chunks... | |
Dumping fields: /tmp/meeph98QHd/test_periodic_5-fields-original | |
Loading structure: /tmp/meeph98QHd/test_periodic_5-structure-original | |
Loading fields: /tmp/meeph98QHd/test_periodic_5-fields-original | |
Dumping structure: /tmp/meeph98QHd/test_periodic_6-structure-original | |
Periodic test using 6 chunks... | |
Dumping fields: /tmp/meeph98QHd/test_periodic_6-fields-original | |
Loading structure: /tmp/meeph98QHd/test_periodic_6-structure-original | |
Loading fields: /tmp/meeph98QHd/test_periodic_6-fields-original | |
Dumping structure: /tmp/meeph98QHd/test_metal_2-structure-original | |
Metal test using 2 chunks... | |
Dumping fields: /tmp/meeph98QHd/test_metal_2-fields-original | |
Loading structure: /tmp/meeph98QHd/test_metal_2-structure-original | |
Loading fields: /tmp/meeph98QHd/test_metal_2-fields-original | |
Dumping structure: /tmp/meeph98QHd/test_metal_3-structure-original | |
Metal test using 3 chunks... | |
Dumping fields: /tmp/meeph98QHd/test_metal_3-fields-original | |
Loading structure: /tmp/meeph98QHd/test_metal_3-structure-original | |
Loading fields: /tmp/meeph98QHd/test_metal_3-fields-original | |
Dumping structure: /tmp/meeph98QHd/test_metal_4-structure-original | |
Metal test using 4 chunks... | |
Dumping fields: /tmp/meeph98QHd/test_metal_4-fields-original | |
Loading structure: /tmp/meeph98QHd/test_metal_4-structure-original | |
Loading fields: /tmp/meeph98QHd/test_metal_4-fields-original | |
Dumping structure: /tmp/meeph98QHd/test_metal_5-structure-original | |
Metal test using 5 chunks... | |
Dumping fields: /tmp/meeph98QHd/test_metal_5-fields-original | |
Loading structure: /tmp/meeph98QHd/test_metal_5-structure-original | |
Loading fields: /tmp/meeph98QHd/test_metal_5-fields-original | |
Dumping structure: /tmp/meeph98QHd/test_metal_6-structure-original | |
Metal test using 6 chunks... | |
Dumping fields: /tmp/meeph98QHd/test_metal_6-fields-original | |
Loading structure: /tmp/meeph98QHd/test_metal_6-structure-original | |
Loading fields: /tmp/meeph98QHd/test_metal_6-fields-original | |
Dumping structure: /tmp/meeph98QHd/test_metal_7-structure-original | |
Metal test using 7 chunks... | |
Dumping fields: /tmp/meeph98QHd/test_metal_7-fields-original | |
Loading structure: /tmp/meeph98QHd/test_metal_7-structure-original | |
Loading fields: /tmp/meeph98QHd/test_metal_7-fields-original | |
================================================================= | |
==12630==ERROR: LeakSanitizer: detected memory leaks | |
Direct leak of 716544 byte(s) in 324 object(s) allocated from: | |
#0 0x7f6462343b47 in operator new[](unsigned long) (/lib/x86_64-linux-gnu/libasan.so.5+0x10fb47) | |
#1 0x7f6461fcdd7b in meep::fields_chunk::alloc_f(meep::component) /home/runner/work/meep/meep/src/fields.cpp:486 | |
#2 0x7f6461fceddf in meep::fields::_require_component(meep::component, bool) /home/runner/work/meep/meep/src/fields.cpp:552 | |
#3 0x7f6462005ef8 in meep::fields::require_component(meep::component) /home/runner/work/meep/meep/src/meep.hpp:1894 | |
#4 0x7f64620562dd in meep::fields::add_volume_source(meep::component, meep::src_time const&, meep::volume const&, std::complex<double> (*)(meep::vec const&), std::complex<double>) /home/runner/work/meep/meep/src/sources.cpp:438 | |
#5 0x7f64620517c4 in meep::fields::add_volume_source(meep::component, meep::src_time const&, meep::volume const&, std::complex<double>) /home/runner/work/meep/meep/src/sources.cpp:224 | |
#6 0x7f6462051497 in meep::fields::add_point_source(meep::component, meep::src_time const&, meep::vec const&, std::complex<double>) /home/runner/work/meep/meep/src/sources.cpp:215 | |
#7 0x7f646205121e in meep::fields::add_point_source(meep::component, double, double, double, double, meep::vec const&, std::complex<double>, int) /home/runner/work/meep/meep/src/sources.cpp:210 | |
#8 0x563859a32529 in test_metal(double (*)(meep::vec const&), int, char const*) /home/runner/work/meep/meep/tests/dump_load.cpp:147 | |
#9 0x563859a35aaf in main /home/runner/work/meep/meep/tests/dump_load.cpp:227 | |
#10 0x7f646192a0b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2) | |
Direct leak of 588096 byte(s) in 240 object(s) allocated from: | |
#0 0x7f6462343b47 in operator new[](unsigned long) (/lib/x86_64-linux-gnu/libasan.so.5+0x10fb47) | |
#1 0x7f6461fcdd7b in meep::fields_chunk::alloc_f(meep::component) /home/runner/work/meep/meep/src/fields.cpp:486 | |
#2 0x7f6461fceddf in meep::fields::_require_component(meep::component, bool) /home/runner/work/meep/meep/src/fields.cpp:552 | |
#3 0x7f6462005ef8 in meep::fields::require_component(meep::component) /home/runner/work/meep/meep/src/meep.hpp:1894 | |
#4 0x7f64620562dd in meep::fields::add_volume_source(meep::component, meep::src_time const&, meep::volume const&, std::complex<double> (*)(meep::vec const&), std::complex<double>) /home/runner/work/meep/meep/src/sources.cpp:438 | |
#5 0x7f64620517c4 in meep::fields::add_volume_source(meep::component, meep::src_time const&, meep::volume const&, std::complex<double>) /home/runner/work/meep/meep/src/sources.cpp:224 | |
#6 0x7f6462051497 in meep::fields::add_point_source(meep::component, meep::src_time const&, meep::vec const&, std::complex<double>) /home/runner/work/meep/meep/src/sources.cpp:215 | |
#7 0x7f646205121e in meep::fields::add_point_source(meep::component, double, double, double, double, meep::vec const&, std::complex<double>, int) /home/runner/work/meep/meep/src/sources.cpp:210 | |
#8 0x563859a34843 in test_periodic(double (*)(meep::vec const&), int, char const*) /home/runner/work/meep/meep/tests/dump_load.cpp:195 | |
#9 0x563859a35a51 in main /home/runner/work/meep/meep/tests/dump_load.cpp:223 | |
#10 0x7f646192a0b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2) | |
Direct leak of 358272 byte(s) in 162 object(s) allocated from: | |
#0 0x7f6462343b47 in operator new[](unsigned long) (/lib/x86_64-linux-gnu/libasan.so.5+0x10fb47) | |
#1 0x7f6461fcdb81 in meep::fields_chunk::alloc_f(meep::component) /home/runner/work/meep/meep/src/fields.cpp:479 | |
#2 0x7f6461fceddf in meep::fields::_require_component(meep::component, bool) /home/runner/work/meep/meep/src/fields.cpp:552 | |
#3 0x7f6462005ef8 in meep::fields::require_component(meep::component) /home/runner/work/meep/meep/src/meep.hpp:1894 | |
#4 0x7f64620562dd in meep::fields::add_volume_source(meep::component, meep::src_time const&, meep::volume const&, std::complex<double> (*)(meep::vec const&), std::complex<double>) /home/runner/work/meep/meep/src/sources.cpp:438 | |
#5 0x7f64620517c4 in meep::fields::add_volume_source(meep::component, meep::src_time const&, meep::volume const&, std::complex<double>) /home/runner/work/meep/meep/src/sources.cpp:224 | |
#6 0x7f6462051497 in meep::fields::add_point_source(meep::component, meep::src_time const&, meep::vec const&, std::complex<double>) /home/runner/work/meep/meep/src/sources.cpp:215 | |
#7 0x7f646205121e in meep::fields::add_point_source(meep::component, double, double, double, double, meep::vec const&, std::complex<double>, int) /home/runner/work/meep/meep/src/sources.cpp:210 | |
#8 0x563859a32529 in test_metal(double (*)(meep::vec const&), int, char const*) /home/runner/work/meep/meep/tests/dump_load.cpp:147 | |
#9 0x563859a35aaf in main /home/runner/work/meep/meep/tests/dump_load.cpp:227 | |
#10 0x7f646192a0b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2) | |
Direct leak of 294048 byte(s) in 120 object(s) allocated from: | |
#0 0x7f6462343b47 in operator new[](unsigned long) (/lib/x86_64-linux-gnu/libasan.so.5+0x10fb47) | |
#1 0x7f6461fcdb81 in meep::fields_chunk::alloc_f(meep::component) /home/runner/work/meep/meep/src/fields.cpp:479 | |
#2 0x7f6461fceddf in meep::fields::_require_component(meep::component, bool) /home/runner/work/meep/meep/src/fields.cpp:552 | |
#3 0x7f6462005ef8 in meep::fields::require_component(meep::component) /home/runner/work/meep/meep/src/meep.hpp:1894 | |
#4 0x7f64620562dd in meep::fields::add_volume_source(meep::component, meep::src_time const&, meep::volume const&, std::complex<double> (*)(meep::vec const&), std::complex<double>) /home/runner/work/meep/meep/src/sources.cpp:438 | |
#5 0x7f64620517c4 in meep::fields::add_volume_source(meep::component, meep::src_time const&, meep::volume const&, std::complex<double>) /home/runner/work/meep/meep/src/sources.cpp:224 | |
#6 0x7f6462051497 in meep::fields::add_point_source(meep::component, meep::src_time const&, meep::vec const&, std::complex<double>) /home/runner/work/meep/meep/src/sources.cpp:215 | |
#7 0x7f646205121e in meep::fields::add_point_source(meep::component, double, double, double, double, meep::vec const&, std::complex<double>, int) /home/runner/work/meep/meep/src/sources.cpp:210 | |
#8 0x563859a34843 in test_periodic(double (*)(meep::vec const&), int, char const*) /home/runner/work/meep/meep/tests/dump_load.cpp:195 | |
#9 0x563859a35a51 in main /home/runner/work/meep/meep/tests/dump_load.cpp:223 | |
#10 0x7f646192a0b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2) | |
Direct leak of 125712 byte(s) in 50 object(s) allocated from: | |
#0 0x7f6462343b47 in operator new[](unsigned long) (/lib/x86_64-linux-gnu/libasan.so.5+0x10fb47) | |
#1 0x7f6461f337c5 in meep::structure_chunk::set_chi1inv(meep::component, meep::material_function&, bool, double, int) /home/runner/work/meep/meep/src/anisotropic_averaging.cpp:219 | |
#2 0x7f6462081cf1 in meep::structure::set_chi1inv(meep::component, meep::material_function&, bool, double, int) /home/runner/work/meep/meep/src/structure.cpp:401 | |
#3 0x7f6462081d5f in meep::structure::set_epsilon(meep::material_function&, bool, double, int) /home/runner/work/meep/meep/src/structure.cpp:407 | |
#4 0x7f6462081950 in meep::structure::set_materials(meep::material_function&, bool, double, int) /home/runner/work/meep/meep/src/structure.cpp:383 | |
#5 0x7f6462078ba2 in meep::structure::structure(meep::grid_volume const&, double (*)(meep::vec const&), meep::boundary_region const&, meep::symmetry const&, int, double, bool, double, int, meep::binary_partition const*) /home/runner/work/meep/meep/src/structure.cpp:63 | |
#6 0x563859a345bf in test_periodic(double (*)(meep::vec const&), int, char const*) /home/runner/work/meep/meep/tests/dump_load.cpp:190 | |
#7 0x563859a35a51 in main /home/runner/work/meep/meep/tests/dump_load.cpp:223 | |
#8 0x7f646192a0b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2) | |
SUMMARY: AddressSanitizer: 2082672 byte(s) leaked in 896 allocation(s). | |
FAIL dump_load (exit status: 1) | |
FAIL: symmetry | |
============== | |
Testing with various kinds of symmetry... | |
Testing Z mirror symmetry in 1D... | |
Testing Z mirror symmetry in Cylindrical... | |
Testing Y periodic with mirror symmetry... | |
Testing Y periodic with mirror symmetry... | |
Testing two mirrors with PML... | |
Testing origin shift in 2D... | |
Testing X twofold rotational symmetry with PML... | |
Testing X mirror symmetry... | |
Testing X mirror symmetry... | |
Testing Y mirror symmetry... | |
Testing Y mirror symmetry... | |
Testing Y twofold rotational symmetry... | |
Testing Y twofold rotational symmetry... | |
Testing exact Y twofold rotational symmetry... | |
Testing exact Y twofold rotational symmetry... | |
Testing Z fourfold rotational symmetry... | |
Testing Z fourfold rotational symmetry... | |
Testing X mirror symmetry in 3D... | |
Warning: grid volume is not an integer number of pixels; cell size will be rounded to nearest pixel. | |
Testing Z mirror symmetry in 3D... | |
Warning: grid volume is not an integer number of pixels; cell size will be rounded to nearest pixel. | |
Testing odd Z mirror symmetry in 3D... | |
Testing Z fourfold rotational symmetry in 3D... | |
Testing Z fourfold rotational symmetry in 3D with horizontal mirror... | |
Testing three mirror planes in 3D... | |
Testing nonlinear in 1D... | |
Testing nonlinear in 3D... | |
Testing Z mirror symmetry in Cylindrical... | |
================================================================= | |
==12911==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x61b000038730 at pc 0x7f2be01147d0 bp 0x7ffe7b6e7840 sp 0x7ffe7b6e7830 | |
READ of size 8 at 0x61b000038730 thread T0 | |
#0 0x7f2be01147cf in meep::step_update_EDHB_stride1(double*, meep::component, meep::grid_volume const&, meep::ivec, meep::ivec, double const*, double const*, double const*, double const*, double const*, double const*, long, long, long, double const*, double const*, double*, meep::direction, double const*, double const*) /home/runner/work/meep/meep/src/step_generic_stride1.cpp:554 | |
#1 0x7f2be005b868 in meep::fields_chunk::update_eh(meep::field_type, bool) /home/runner/work/meep/meep/src/update_eh.cpp:192 | |
#2 0x7f2be0058759 in meep::fields::update_eh(meep::field_type, bool) /home/runner/work/meep/meep/src/update_eh.cpp:55 | |
#3 0x7f2bdfff1c04 in meep::fields::step() /home/runner/work/meep/meep/src/step.cpp:108 | |
#4 0x55db588edc8b in test_cyl_metal_mirror_nonlinear(double (*)(meep::vec const&)) /home/runner/work/meep/meep/tests/symmetry.cpp:157 | |
#5 0x55db589112fe in main /home/runner/work/meep/meep/tests/symmetry.cpp:986 | |
#6 0x7f2bdf8b50b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2) | |
#7 0x55db588e9a0d in _start (/home/runner/work/meep/meep/tests/.libs/symmetry+0x5a0d) | |
0x61b000038730 is located 80 bytes to the left of 1496-byte region [0x61b000038780,0x61b000038d58) | |
allocated by thread T0 here: | |
#0 0x7f2be02ceb47 in operator new[](unsigned long) (/lib/x86_64-linux-gnu/libasan.so.5+0x10fb47) | |
#1 0x7f2be005915c in meep::fields_chunk::update_eh(meep::field_type, bool) /home/runner/work/meep/meep/src/update_eh.cpp:91 | |
#2 0x7f2be0058759 in meep::fields::update_eh(meep::field_type, bool) /home/runner/work/meep/meep/src/update_eh.cpp:55 | |
#3 0x7f2bdfff1c04 in meep::fields::step() /home/runner/work/meep/meep/src/step.cpp:108 | |
#4 0x55db588edc8b in test_cyl_metal_mirror_nonlinear(double (*)(meep::vec const&)) /home/runner/work/meep/meep/tests/symmetry.cpp:157 | |
#5 0x55db589112fe in main /home/runner/work/meep/meep/tests/symmetry.cpp:986 | |
#6 0x7f2bdf8b50b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2) | |
SUMMARY: AddressSanitizer: heap-buffer-overflow /home/runner/work/meep/meep/src/step_generic_stride1.cpp:554 in meep::step_update_EDHB_stride1(double*, meep::component, meep::grid_volume const&, meep::ivec, meep::ivec, double const*, double const*, double const*, double const*, double const*, double const*, long, long, long, double const*, double const*, double*, meep::direction, double const*, double const*) | |
Shadow bytes around the buggy address: | |
0x0c367ffff090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
0x0c367ffff0a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
0x0c367ffff0b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
0x0c367ffff0c0: 00 00 00 00 00 00 00 00 00 00 00 fa fa fa fa fa | |
0x0c367ffff0d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa | |
=>0x0c367ffff0e0: fa fa fa fa fa fa[fa]fa fa fa fa fa fa fa fa fa | |
0x0c367ffff0f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
0x0c367ffff100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
0x0c367ffff110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
0x0c367ffff120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
0x0c367ffff130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
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 | |
Freed heap region: fd | |
Stack left redzone: f1 | |
Stack mid redzone: f2 | |
Stack right redzone: f3 | |
Stack after return: f5 | |
Stack use after scope: f8 | |
Global redzone: f9 | |
Global init order: f6 | |
Poisoned by user: f7 | |
Container overflow: fc | |
Array cookie: ac | |
Intra object redzone: bb | |
ASan internal: fe | |
Left alloca redzone: ca | |
Right alloca redzone: cb | |
Shadow gap: cc | |
==12911==ABORTING | |
FAIL symmetry (exit status: 1) | |
FAIL: cyl-ellipsoid-ll | |
====================== | |
Halving computational cell along direction x | |
Halving computational cell along direction y | |
time for choose_chunkdivision = 0.00190282 s | |
time for set_epsilon = 0.658504 s | |
Working in 2D dimensions. | |
Computational cell is 10 x 10 x 0 with resolution 100 | |
cylinder, center = (0,0,0) | |
radius 3, height 1e+20, axis (0, 0, 1) | |
dielectric constant epsilon diagonal = (12.25,12.25,12.25) | |
ellipsoid, center = (0,0,0) | |
size (1,2,1e+20) | |
axes (1,0,0), (0,1,0), (0,0,1) | |
dielectric constant epsilon diagonal = (1,1,1) | |
time for set_epsilon = 1.76041 s | |
----------- | |
creating output file "./eps-000000000.h5"... | |
Dielectric output test successful. | |
on time step 164 (time=0.82), 0.0244215 s/step | |
on time step 343 (time=1.715), 0.0224693 s/step | |
on time step 521 (time=2.605), 0.0224787 s/step | |
on time step 701 (time=3.505), 0.0223249 s/step | |
on time step 879 (time=4.395), 0.0225037 s/step | |
on time step 1058 (time=5.29), 0.0223754 s/step | |
on time step 1237 (time=6.185), 0.0223964 s/step | |
on time step 1416 (time=7.08), 0.0224179 s/step | |
on time step 1595 (time=7.975), 0.0224512 s/step | |
on time step 1773 (time=8.865), 0.022498 s/step | |
on time step 1951 (time=9.755), 0.0224812 s/step | |
on time step 2130 (time=10.65), 0.0224086 s/step | |
on time step 2309 (time=11.545), 0.0224159 s/step | |
on time step 2488 (time=12.44), 0.0224063 s/step | |
on time step 2666 (time=13.33), 0.0224858 s/step | |
on time step 2845 (time=14.225), 0.0224351 s/step | |
on time step 3023 (time=15.115), 0.0225116 s/step | |
on time step 3201 (time=16.005), 0.0225844 s/step | |
on time step 3379 (time=16.895), 0.0225234 s/step | |
on time step 3557 (time=17.785), 0.0225476 s/step | |
on time step 3734 (time=18.67), 0.0226085 s/step | |
on time step 3912 (time=19.56), 0.0225157 s/step | |
on time step 4090 (time=20.45), 0.0225364 s/step | |
on time step 4268 (time=21.34), 0.022498 s/step | |
on time step 4445 (time=22.225), 0.0226311 s/step | |
field: -8.202880e-05 | |
Field component output test successful. | |
Elapsed run time = 107.556 s | |
================================================================= | |
==13283==ERROR: LeakSanitizer: detected memory leaks | |
Direct leak of 1136 byte(s) in 1 object(s) allocated from: | |
#0 0x7f0b3cd0f947 in operator new(unsigned long) (/lib/x86_64-linux-gnu/libasan.so.5+0x10f947) | |
#1 0x7f0b3cb12d97 in meep_geom::make_dielectric(double) /home/runner/work/meep/meep/src/meepgeom.cpp:2026 | |
#2 0x5570a5a79703 in main /home/runner/work/meep/meep/tests/cyl-ellipsoid-ll.cpp:132 | |
#3 0x7f0b3c2d90b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2) | |
Direct leak of 184 byte(s) in 1 object(s) allocated from: | |
#0 0x7f0b3cd0dbc8 in malloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8) | |
#1 0x7f0b3c80059e in make_block (/lib/x86_64-linux-gnu/libctlgeom.so.7+0xe59e) | |
Direct leak of 56 byte(s) in 1 object(s) allocated from: | |
#0 0x7f0b3cd0dbc8 in malloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8) | |
#1 0x7f0b3c800274 in make_cylinder (/lib/x86_64-linux-gnu/libctlgeom.so.7+0xe274) | |
Direct leak of 9 byte(s) in 9 object(s) allocated from: | |
#0 0x7f0b3cd0dbc8 in malloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8) | |
#1 0x7f0b3c7ffb22 in create_geom_box_tree0 (/lib/x86_64-linux-gnu/libctlgeom.so.7+0xdb22) | |
Indirect leak of 24 byte(s) in 1 object(s) allocated from: | |
#0 0x7f0b3cd0dbc8 in malloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8) | |
#1 0x7f0b3c800742 in make_ellipsoid (/lib/x86_64-linux-gnu/libctlgeom.so.7+0xe742) | |
#2 0x7f0b3c2d90b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2) | |
SUMMARY: AddressSanitizer: 1409 byte(s) leaked in 13 allocation(s). | |
FAIL cyl-ellipsoid-ll (exit status: 1) | |
FAIL: array-slice-ll | |
==================== | |
time for choose_chunkdivision = 0.00162196 s | |
time for set_epsilon = 0.0742021 s | |
Working in 2D dimensions. | |
Computational cell is 12.4 x 6 x 0 with resolution 20 | |
block, center = (0,0,0) | |
size (1e+20,1.2,1e+20) | |
axes (1,0,0), (0,1,0), (0,0,1) | |
dielectric constant epsilon diagonal = (13,13,13) | |
cylinder, center = (0.7,0,0) | |
radius 0.36, height 1e+20, axis (0, 0, 1) | |
dielectric constant epsilon diagonal = (1,1,1) | |
cylinder, center = (1.7,0,0) | |
radius 0.36, height 1e+20, axis (0, 0, 1) | |
dielectric constant epsilon diagonal = (1,1,1) | |
cylinder, center = (2.7,0,0) | |
radius 0.36, height 1e+20, axis (0, 0, 1) | |
dielectric constant epsilon diagonal = (1,1,1) | |
cylinder, center = (-0.7,0,0) | |
radius 0.36, height 1e+20, axis (0, 0, 1) | |
dielectric constant epsilon diagonal = (1,1,1) | |
cylinder, center = (-1.7,0,0) | |
radius 0.36, height 1e+20, axis (0, 0, 1) | |
dielectric constant epsilon diagonal = (1,1,1) | |
cylinder, center = (-2.7,0,0) | |
radius 0.36, height 1e+20, axis (0, 0, 1) | |
dielectric constant epsilon diagonal = (1,1,1) | |
time for set_epsilon = 0.268642 s | |
----------- | |
on time step 915 (time=22.875), 0.00437366 s/step | |
on time step 1869 (time=46.725), 0.00419584 s/step | |
1D: rel error 1.044764e-15 | |
2D: rel error 4.614736e-14 | |
Elapsed run time = 8.91029 s | |
================================================================= | |
==13357==ERROR: LeakSanitizer: detected memory leaks | |
Direct leak of 184 byte(s) in 1 object(s) allocated from: | |
#0 0x7f9bb61acbc8 in malloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8) | |
#1 0x7f9bb5c9f59e in make_block (/lib/x86_64-linux-gnu/libctlgeom.so.7+0xe59e) | |
Direct leak of 56 byte(s) in 1 object(s) allocated from: | |
#0 0x7f9bb61acbc8 in malloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8) | |
#1 0x7f9bb5c9f274 in make_cylinder (/lib/x86_64-linux-gnu/libctlgeom.so.7+0xe274) | |
#2 0x3ffb333333333332 (<unknown module>) | |
Direct leak of 56 byte(s) in 1 object(s) allocated from: | |
#0 0x7f9bb61acbc8 in malloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8) | |
#1 0x7f9bb5c9f274 in make_cylinder (/lib/x86_64-linux-gnu/libctlgeom.so.7+0xe274) | |
#2 0x4005999999999999 (<unknown module>) | |
Direct leak of 56 byte(s) in 1 object(s) allocated from: | |
#0 0x7f9bb61acbc8 in malloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8) | |
#1 0x7f9bb5c9f274 in make_cylinder (/lib/x86_64-linux-gnu/libctlgeom.so.7+0xe274) | |
#2 0xbfe6666666666665 (<unknown module>) | |
Direct leak of 56 byte(s) in 1 object(s) allocated from: | |
#0 0x7f9bb61acbc8 in malloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8) | |
#1 0x7f9bb5c9f274 in make_cylinder (/lib/x86_64-linux-gnu/libctlgeom.so.7+0xe274) | |
#2 0xbffb333333333332 (<unknown module>) | |
Direct leak of 56 byte(s) in 1 object(s) allocated from: | |
#0 0x7f9bb61acbc8 in malloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8) | |
#1 0x7f9bb5c9f274 in make_cylinder (/lib/x86_64-linux-gnu/libctlgeom.so.7+0xe274) | |
#2 0xc005999999999999 (<unknown module>) | |
Direct leak of 56 byte(s) in 1 object(s) allocated from: | |
#0 0x7f9bb61acbc8 in malloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8) | |
#1 0x7f9bb5c9f274 in make_cylinder (/lib/x86_64-linux-gnu/libctlgeom.so.7+0xe274) | |
#2 0x3fe6666666666665 (<unknown module>) | |
Direct leak of 18 byte(s) in 18 object(s) allocated from: | |
#0 0x7f9bb61acbc8 in malloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8) | |
#1 0x7f9bb5c9eb22 in create_geom_box_tree0 (/lib/x86_64-linux-gnu/libctlgeom.so.7+0xdb22) | |
SUMMARY: AddressSanitizer: 538 byte(s) leaked in 25 allocation(s). | |
FAIL array-slice-ll (exit status: 1) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment