verilog-to-routing / vtr-verilog-to-routing

Verilog to Routing -- Open Source CAD Flow for FPGA Research
https://verilogtorouting.org
Other
999 stars 385 forks source link

Pugixml error with -D VTR_ENABLE_SANITIZE=ON in compact mode #813

Closed jeanlego closed 5 years ago

jeanlego commented 5 years ago

if we keep pugixml in compact mode using the define

https://github.com/verilog-to-routing/vtr-verilog-to-routing/blob/b2807fadc3495fcfe82e4e8d5bfcc9662ada6493/libs/EXTERNAL/libpugixml/CMakeLists.txt#L21-L24

pugixml has some runtime errors during vtr_reg_strong, but they don't appear when commented out.

./odin_II -a ../vtr_flow/arch/timing/k6_frac_N10_4add_2chains_depop50_mem20K_22nm.xml -V ../vtr_flow/benchmarks/verilog/diffeq2.v
--------------------------------------------------------------------
Welcome to ODIN II version 0.1 - the better High level synthesis tools++ targetting FPGAs (mainly VPR)
Email: jamieson.peter@gmail.com and ken@unb.ca for support issues

Reading FPGA Architecture file
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:6708:123: runtime error: constructor call on misaligned address 0x7ffc11c56334 for type 'struct xml_document_struct', which requires 8 byte alignment
0x7ffc11c56334: note: pointer points here
  40 00 00 00 00 00 00 00  00 e2 eb 9d fc 55 00 00  80 00 00 00 70 61 00 00  e8 02 00 00 70 61 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:1121:45: runtime error: reference binding to misaligned address 0x7ffc11c56334 for type 'struct <unknown>', which requires 8 byte alignment
0x7ffc11c56334: note: pointer points here
  40 00 00 00 00 00 00 00  00 e2 eb 9d fc 55 00 00  80 00 00 00 70 61 00 00  e8 02 00 00 70 61 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:1121:132: runtime error: member access within misaligned address 0x7ffc11c56334 for type 'struct xml_document_struct', which requires 8 byte alignment
0x7ffc11c56334: note: pointer points here
  40 00 00 00 00 00 00 00  00 e2 eb 9d fc 55 00 00  80 00 00 00 70 61 00 00  e8 02 00 00 70 61 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:1121:132: runtime error: constructor call on misaligned address 0x7ffc11c56344 for type 'struct xml_allocator', which requires 8 byte alignment
0x7ffc11c56344: note: pointer points here
  80 00 00 00 70 61 00 00  e8 02 00 00 70 61 00 00  40 03 00 00 70 61 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:481:39: runtime error: reference binding to misaligned address 0x7ffc11c56344 for type 'struct <unknown>', which requires 8 byte alignment
0x7ffc11c56344: note: pointer points here
  80 00 00 00 70 61 00 00  e8 02 00 00 70 61 00 00  40 03 00 00 70 61 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:481:80: runtime error: member access within misaligned address 0x7ffc11c56344 for type 'struct xml_allocator', which requires 8 byte alignment
0x7ffc11c56344: note: pointer points here
  80 00 00 00 70 61 00 00  e8 02 00 00 70 61 00 00  40 03 00 00 70 61 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:484:10: runtime error: member access within misaligned address 0x7ffc11c56344 for type 'struct xml_allocator', which requires 8 byte alignment
0x7ffc11c56344: note: pointer points here
  80 00 00 00 f0 62 c5 11  fc 7f 00 00 00 80 00 00  00 00 00 00 70 61 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:1121:132: runtime error: constructor call on misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 00 00 00 00  80 63 c5 11 fc 7f 00 00  00 00 00 00 00 00 00 00  00 6c 69 66 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:258:23: runtime error: reference binding to misaligned address 0x7ffc11c5636c for type 'struct <unknown>', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 00 00 00 00  80 63 c5 11 fc 7f 00 00  00 00 00 00 00 00 00 00  00 6c 69 66 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:258:58: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 00 00 00 00  80 63 c5 11 fc 7f 00 00  00 00 00 00 00 00 00 00  00 6c 69 66 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:1124:12: runtime error: member access within misaligned address 0x7ffc11c56334 for type 'struct xml_document_struct', which requires 8 byte alignment
0x7ffc11c56334: note: pointer points here
  40 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00  80 00 00 00 f0 62 c5 11  fc 7f 00 00 00 80 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:1124:10: runtime error: member access within misaligned address 0x7ffc11c56334 for type 'struct xml_document_struct', which requires 8 byte alignment
0x7ffc11c56334: note: pointer points here
  40 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00  80 00 00 00 f0 62 c5 11  fc 7f 00 00 00 80 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:6712:66: runtime error: member access within misaligned address 0x7ffc11c56334 for type 'struct xml_document_struct', which requires 8 byte alignment
0x7ffc11c56334: note: pointer points here
  40 00 00 00 01 00 00 00  00 00 00 00 00 7d 00 00  80 00 00 00 f0 62 c5 11  fc 7f 00 00 00 80 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:6730:32: runtime error: member access within misaligned address 0x7ffc11c56334 for type 'struct xml_document_struct', which requires 8 byte alignment
0x7ffc11c56334: note: pointer points here
  40 00 00 00 01 00 00 00  00 00 00 00 00 7d 00 00  80 00 00 00 f0 62 c5 11  fc 7f 00 00 00 80 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:6751:51: runtime error: member access within misaligned address 0x7ffc11c56334 for type 'struct xml_document_struct', which requires 8 byte alignment
0x7ffc11c56334: note: pointer points here
  40 00 00 00 01 00 00 00  00 00 00 00 00 7d 00 00  80 00 00 00 f0 62 c5 11  fc 7f 00 00 00 80 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:6751:61: runtime error: member call on misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:264:8: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:4588:15: runtime error: member access within misaligned address 0x7ffc11c56334 for type 'struct xml_document_struct', which requires 8 byte alignment
0x7ffc11c56334: note: pointer points here
  40 00 00 00 01 00 00 00  00 00 00 00 00 7d 00 00  80 00 00 00 f0 62 c5 11  fc 7f 00 00 00 80 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:3419:57: runtime error: member access within misaligned address 0x7ffc11c56334 for type 'struct xml_document_struct', which requires 8 byte alignment
0x7ffc11c56334: note: pointer points here
  40 00 00 00 01 00 00 00  00 00 00 00 00 7d 00 00  80 00 00 00 f0 62 c5 11  fc 7f 00 00 00 80 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:2827:114: runtime error: reference binding to misaligned address 0x7ffc11c56344 for type 'const struct xml_allocator', which requires 8 byte alignment
0x7ffc11c56344: note: pointer points here
  80 00 00 00 f0 62 c5 11  fc 7f 00 00 00 80 00 00  00 00 00 00 6c 63 c5 11  fc 7f 00 00 00 04 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:673:25: runtime error: member call on misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:332:8: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:332:23: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:332:35: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:333:18: runtime error: member call on misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:370:19: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:378:26: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:382:7: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:385:13: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:386:10: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 00 00 00 00  00 00 00 00 20 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:788:56: runtime error: member access within misaligned address 0x7ffc11c56344 for type 'struct xml_allocator', which requires 8 byte alignment
0x7ffc11c56344: note: pointer points here
  80 00 00 00 f0 62 c5 11  fc 7f 00 00 00 80 00 00  00 00 00 00 6c 63 c5 11  fc 7f 00 00 00 04 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:788:69: runtime error: member call on misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:305:21: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:310:26: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:315:6: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:315:12: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:673:25: runtime error: member call on misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:332:8: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:332:23: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:332:35: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:835:62: runtime error: left shift of negative value -1
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:913:62: runtime error: left shift of negative value -4
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:835:62: runtime error: left shift of negative value -2
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:788:56: runtime error: member access within misaligned address 0x7ffc11c56344 for type 'struct xml_allocator', which requires 8 byte alignment
0x7ffc11c56344: note: pointer points here
  80 00 00 00 f0 62 c5 11  fc 7f 00 00 00 80 00 00  00 00 00 00 6c 63 c5 11  fc 7f 00 00 00 04 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:788:69: runtime error: member call on misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:305:21: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:310:26: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:315:6: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:315:12: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:783:79: runtime error: member access within misaligned address 0x7ffc11c56344 for type 'struct xml_allocator', which requires 8 byte alignment
0x7ffc11c56344: note: pointer points here
  80 00 00 00 f0 62 c5 11  fc 7f 00 00 00 80 00 00  00 00 00 00 6c 63 c5 11  fc 7f 00 00 00 04 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:783:90: runtime error: member call on misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 04 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:277:8: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 04 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:279:21: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 04 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:284:26: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 04 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:333:18: runtime error: member call on misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 09 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:370:42: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 09 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:379:8: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 09 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:378:26: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 09 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:380:33: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 09 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:380:16: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 09 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:383:27: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 05 00 00  50 61 00 00 20 00 00 00  00 00 00 00 09 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:788:56: runtime error: member access within misaligned address 0x7ffc11c56344 for type 'struct xml_allocator', which requires 8 byte alignment
0x7ffc11c56344: note: pointer points here
  80 00 00 00 f0 62 c5 11  fc 7f 00 00 00 80 00 00  00 00 00 00 6c 63 c5 11  fc 7f 00 00 00 04 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:788:69: runtime error: member call on misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 23 00 00  90 61 00 00 40 00 00 00  00 00 00 00 0f 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:305:21: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 23 00 00  90 61 00 00 40 00 00 00  00 00 00 00 0f 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:310:26: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 23 00 00  90 61 00 00 40 00 00 00  00 00 00 00 0f 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:315:6: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 23 00 00  90 61 00 00 40 00 00 00  00 00 00 00 0f 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:315:12: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 23 00 00  90 61 00 00 40 00 00 00  00 00 00 00 0f 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:783:79: runtime error: member access within misaligned address 0x7ffc11c56344 for type 'struct xml_allocator', which requires 8 byte alignment
0x7ffc11c56344: note: pointer points here
  80 00 00 00 f0 62 c5 11  fc 7f 00 00 00 80 00 00  00 00 00 00 6c 63 c5 11  fc 7f 00 00 00 04 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:783:90: runtime error: member call on misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 0a 00 00  d0 61 00 00 80 00 00 00  00 00 00 00 42 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:277:8: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 0a 00 00  d0 61 00 00 80 00 00 00  00 00 00 00 42 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:279:21: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 0a 00 00  d0 61 00 00 80 00 00 00  00 00 00 00 42 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:284:26: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 0a 00 00  d0 61 00 00 80 00 00 00  00 00 00 00 42 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:2833:17: runtime error: store to misaligned address 0x7ffc11c56344 for type 'struct xml_allocator', which requires 8 byte alignment
0x7ffc11c56344: note: pointer points here
  80 00 00 00 f0 62 c5 11  fc 7f 00 00 00 80 00 00  00 00 00 00 6c 63 c5 11  fc 7f 00 00 00 04 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:783:79: runtime error: member access within misaligned address 0x7ffc11c56344 for type 'struct xml_allocator', which requires 8 byte alignment
0x7ffc11c56344: note: pointer points here
  80 00 00 00 08 04 00 00  d0 62 00 00 c4 48 00 00  00 00 00 00 6c 63 c5 11  fc 7f 00 00 00 04 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:783:90: runtime error: member call on misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 0a 00 00  d0 61 00 00 80 00 00 00  00 00 00 00 42 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:277:8: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 0a 00 00  d0 61 00 00 80 00 00 00  00 00 00 00 42 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:279:21: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 0a 00 00  d0 61 00 00 80 00 00 00  00 00 00 00 42 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:284:26: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 0a 00 00  d0 61 00 00 80 00 00 00  00 00 00 00 42 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:1148:11: runtime error: reference binding to misaligned address 0x7ffc11c56344 for type 'struct xml_document_struct', which requires 8 byte alignment
0x7ffc11c56344: note: pointer points here
  80 00 00 00 08 04 00 00  d0 62 00 00 c4 48 00 00  00 00 00 00 6c 63 c5 11  fc 7f 00 00 00 04 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:6151:12: runtime error: member access within misaligned address 0x7ffc11c56334 for type 'struct xml_document_struct', which requires 8 byte alignment
0x7ffc11c56334: note: pointer points here
  40 00 00 00 01 00 00 00  00 00 00 00 ff 7d 00 00  80 00 00 00 08 04 00 00  d0 62 00 00 c4 48 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:6151:26: runtime error: member access within misaligned address 0x7ffc11c56334 for type 'struct xml_document_struct', which requires 8 byte alignment
0x7ffc11c56334: note: pointer points here
  40 00 00 00 01 00 00 00  00 00 00 00 ff 7d 00 00  80 00 00 00 08 04 00 00  d0 62 00 00 c4 48 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:6161:121: runtime error: member access within misaligned address 0x7ffc11c56334 for type 'struct xml_document_struct', which requires 8 byte alignment
0x7ffc11c56334: note: pointer points here
  40 00 00 00 01 00 00 00  00 00 00 00 ff 7d 00 00  80 00 00 00 08 04 00 00  d0 62 00 00 c4 48 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:266:28: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 0a 00 00  d0 61 00 00 80 00 00 00  00 00 00 00 42 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:267:12: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 80 0a 00 00  d0 61 00 00 80 00 00 00  00 00 00 00 42 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:268:15: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 00 00 00 00  00 00 00 00 80 00 00 00  00 00 00 00 42 00 00 00  00 00 00 00 00 00 00 00
              ^ 
/workspace/vtr-verilog-to-routing/libs/EXTERNAL/libpugixml/src/pugixml.cpp:269:12: runtime error: member access within misaligned address 0x7ffc11c5636c for type 'struct compact_hash_table', which requires 8 byte alignment
0x7ffc11c5636c: note: pointer points here
  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 42 00 00 00  00 00 00 00 00 00 00 00
              ^ 
--------------------------------------------------------------------
High-level synthesis Begin
Parser starting - we'll create an abstract syntax tree. Note this tree can be viewed using Grap Viz (see documentation)
Preprocessing verilog.
Optimizing module by AST based optimizations
Converting AST into a Netlist. Note this netlist can be viewed using GraphViz (see documentation)
==========================
Detected Top Level Module:  diffeq_f_systemC
==========================
Performing Optimizations of the Netlist
Performing Partial Map to target device
Outputting the netlist to the specified output format
Successful High-level synthesis by Odin
    Blif file available at default_out.blif
    Ran in 50.7ms
--------------------------------------------------------------------

Hard Multiplier Distribution
============================
5 X 5 => 3
5 X 10 => 2
5 X 27 => 7
27 X 5 => 3
27 X 10 => 2
27 X 27 => 7

Total # of multipliers = 24

Hard adder Distribution
============================

Total # of chains = 12

Hard adder chain Details
============================

The Number of Hard Block adders in the Longest Chain: 33

The Total Number of Hard Block adders: 146

Geometric mean adder/subtractor chain length: 11.61

Hard MINUS Distribution
============================

Total # of chains = 2

Hard sub chain Details
============================

The Number of Hard Block subs in the Longest Chain: 33

The Total Number of Hard Block subs: 66
--------------------------------------------------------------------
Odin ran with exit status: 0
Odin II took 0.10 seconds (max_rss 71.7 MiB)

=================================================================
==19505==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 6770 byte(s) in 194 object(s) allocated from:
    #0 0x7fd1e334fada in __interceptor_malloc /build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cc:144
    #1 0x55fc9dc5beda in vtr::malloc(unsigned long) /workspace/vtr-verilog-to-routing/libs/libvtrutil/src/vtr_memory.cpp:54

SUMMARY: AddressSanitizer: 6770 byte(s) leaked in 194 allocation(s).

with compact mode commented out

/odin_II -a ../vtr_flow/arch/timing/k6_frac_N10_4add_2chains_depop50_mem20K_22nm.xml -V ../vtr_flow/benchmarks/verilog/diffeq2.v

--------------------------------------------------------------------
Welcome to ODIN II version 0.1 - the better High level synthesis tools++ targetting FPGAs (mainly VPR)
Email: jamieson.peter@gmail.com and ken@unb.ca for support issues

Reading FPGA Architecture file
--------------------------------------------------------------------
High-level synthesis Begin
Parser starting - we'll create an abstract syntax tree. Note this tree can be viewed using Grap Viz (see documentation)
Preprocessing verilog.
Optimizing module by AST based optimizations
Converting AST into a Netlist. Note this netlist can be viewed using GraphViz (see documentation)
==========================
Detected Top Level Module:  diffeq_f_systemC
==========================
Performing Optimizations of the Netlist
Performing Partial Map to target device
Outputting the netlist to the specified output format
Successful High-level synthesis by Odin
    Blif file available at default_out.blif
    Ran in 51.9ms
--------------------------------------------------------------------

Hard Multiplier Distribution
============================
5 X 5 => 3
5 X 10 => 2
5 X 27 => 7
27 X 5 => 3
27 X 10 => 2
27 X 27 => 7

Total # of multipliers = 24

Hard adder Distribution
============================

Total # of chains = 12

Hard adder chain Details
============================

The Number of Hard Block adders in the Longest Chain: 33

The Total Number of Hard Block adders: 146

Geometric mean adder/subtractor chain length: 11.61

Hard MINUS Distribution
============================

Total # of chains = 2

Hard sub chain Details
============================

The Number of Hard Block subs in the Longest Chain: 33

The Total Number of Hard Block subs: 66
--------------------------------------------------------------------
Odin ran with exit status: 0
Odin II took 0.07 seconds (max_rss 71.5 MiB)

=================================================================
==30102==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 6770 byte(s) in 194 object(s) allocated from:
    #0 0x7fa48ad7dada in __interceptor_malloc /build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cc:144
    #1 0x55c3fee704fa in vtr::malloc(unsigned long) /workspace/vtr-verilog-to-routing/libs/libvtrutil/src/vtr_memory.cpp:54

SUMMARY: AddressSanitizer: 6770 byte(s) leaked in 194 allocation(s).
kmurray commented 5 years ago

Interesting, looks like the compact mode (#580) does some funky stuff in order to save space.

A short term work-around would be to disable compact mode when VTR_ENABLE_SANITIZE=on.

In the longer term there has been some discussion about using alternate methods to load the large RR Graph XML files which are more memory efficient than PUGI XML. At which point we could permanently disable compact mode.