MPI example failed by error "free(): invalid pointer"

306 views
Skip to first unread message

Jiaxing Zhao

unread,
Oct 28, 2020, 5:01:58 AM10/28/20
to Sniper simulator
Greetings,

I'm using sniper 7.3, pin 3.16(98275) and mpich 3.3.2-2build1, and I executed the test/mpi program using "make run" but I got the following:
===========================================================
../../run-sniper --mpi -n 4 -c gainestown -- ./pi
[SNIPER] Warning: Unable to use physical addresses for shared memory simulation.
[SNIPER] Start
[SNIPER] --------------------------------------------------------------------------------
[SNIPER] Sniper using SIFT/trace-driven frontend
[SNIPER] Running pre-ROI region in  CACHE_ONLY mode
[SNIPER] Running application ROI in DETAILED mode
[SNIPER] Running post-ROI region in FAST_FORWARD mode
[SNIPER] --------------------------------------------------------------------------------
[SIFT_RECORDER:0] Application started
[SIFT_RECORDER:1] Application started
[SIFT_RECORDER:2] Application started
[SIFT_RECORDER:3] Application started
free(): invalid pointer
free(): invalid pointer
[TRACE:1] -- DONE --
[TRACE:3] -- DONE --
Pin app terminated abnormally due to signal 6.
Pin app terminated abnormally due to signal 6.
[RECORD-TRACE] Using the Pin frontend (sift/recorder)
[RECORD-TRACE] Using the Pin frontend (sift/recorder)
free(): invalid pointer
[TRACE:2] -- DONE --
Pin app terminated abnormally due to signal 6.
[RECORD-TRACE] Using the Pin frontend (sift/recorder)
free(): invalid pointer
[TRACE:0] -- DONE --
Pin app terminated abnormally due to signal 6.
[RECORD-TRACE] Using the Pin frontend (sift/recorder)
[SNIPER] End
[SNIPER] Elapsed time: 8.75 seconds


Optional: Run '../../tools/cpistack.py' in this directory to generate cpi-stack output for this run
Optional: Run '../../tools/mcpat.py' in this directory to generate power output for this run
Optional: Run '../../tools/dumpstats.py' in this directory to view detailed statistics for this run
Optional: Run '../../tools/gen_topology.py' in this directory to view the system topology for this run
===================================================================

I have to mention that I am running in WSL 2.0 with Ubuntu 20.04, but tests other than mpi & mpi-omp works fine.

Thanks for any help!! I've been trying to install & use sniper for days but this finally blocks my way :( 
Reply all
Reply to author
Forward
0 new messages