sfc-aqua / quisp

Open source implementation of quantum internet simulation package
BSD 3-Clause "New" or "Revised" License
89 stars 37 forks source link

Segmentation fault when I define a variable to store `temporal_tomography_output[local_qnic.address][partner_addr]` #235

Open Chibikuri opened 3 years ago

Chibikuri commented 3 years ago

Describe the bug When I create a variable to store temporal_tomography_output[local_qnic.address][partner_addr] at HardwareMonitor, I found segmentation fault at final() function in the HardwareMonitor.

https://github.com/sfc-aqua/quisp/blob/fb969565b333c3f14fc0a19fe2eb165c7ce9187a/quisp/modules/QRSA/HardwareMonitor/HardwareMonitor.cc#L179

To Reproduce Steps to reproduce the behavior:

  1. .ini file name 'omnetpp.ini'
  2. Network name 'EntanglementSwapping_Realistic_Layer2_Star_Sep_Test'
  3. Any parameter settings 'Same as the master'
  4. Any additional actions to cause the bug '...'
  5. If it's deep in the simulation, timestamp/event #.
  6. What we see (how you know it's a bug).

Expected behavior Should not point out invalid address

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

Naphann commented 1 year ago

@Chibikuri Is this issue still relevant? If not we should close it for the moment and reopen later if there are still issues about it.