PrincetonUniversity / ILAng

A Modeling and Verification Platform for SoCs using ILAs
https://bo-yuan-huang.gitbook.io/ilang/
MIT License
75 stars 18 forks source link

Seg fault in VlgTargetGen unit tests #178

Closed Bo-Yuan-Huang closed 4 years ago

Bo-Yuan-Huang commented 4 years ago

Describe the bug The unit test TestVlgTargetGen.MemoryInternal fails due to segmentation fault.

To Reproduce

  1. Configure and build the default setting.
  2. run ./test/unit_test --gtest_filter=TestVlgTargetGen.MemoryInternal
  3. See error

Environment:

Additional context Found by the Semaphore 2 CI. https://ilang.semaphoreci.com/jobs/c330fed9-5665-4473-9d42-08005c3c147a#

zhanghongce commented 4 years ago

Thanks, I will look into this.

zhanghongce commented 4 years ago

@Bo-Yuan-Huang I'm afraid that I'm having difficulty to reproduce this. Are you sure it is using gcc-8? Line 866 of the log says: -- The CXX compiler identification is GNU 4.8.5

Bo-Yuan-Huang commented 4 years ago

Thanks for catching this - maybe it's due to the inconsistent setting. Let me test it and get back later.