Skip to Content.
Sympa Menu

charm - [charm] Question about POSE

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] Question about POSE


Chronological Thread 
  • From: Xuehan Xu <xxhdx1985126 AT gmail.com>
  • To: Ryan Mokos <ryan.mokos AT gmail.com>, charm AT cs.uiuc.edu
  • Subject: [charm] Question about POSE
  • Date: Tue, 28 Jun 2011 20:53:53 +0800
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Sir:
     Thank you! :-) I've fixed that problem.

     But a new one occurred:

------------- Processor 0 Exiting: Caught Signal ------------
Signal: segmentation violation
Suggestion: Try running with '++debug', or linking with '-memory paranoid' (memory paranoid requires '+netpoll' at runtime).
[0] Stack Traceback:
  [0:0] [0xb80b6400]
  [0:1] _ZN10eventQueue12CommitEventsEP3simx+0x2d9  [0x81dfceb]
  [0:2] _ZN3sim6CommitEv+0x194  [0x81e1c1a]
  [0:3] _ZN10pvtObjects6CommitEv+0x52  [0x81ed654]
  [0:4] _ZN3PVT6setGVTEP6GVTMsg+0x11a  [0x81dbfbc]
  [0:5] _ZN11CkIndex_PVT19_call_setGVT_GVTMsgEPvP3PVT+0x18  [0x81dc4a4]
  [0:6] CkDeliverMessageFree+0x44  [0x823c4c2]
  [0:7] /root/BigNetSim/trunk/BlueGene/../tmp/bigsimulator [0x823c562]
  [0:8] /root/BigNetSim/trunk/BlueGene/../tmp/bigsimulator [0x823c5f9]
  [0:9] /root/BigNetSim/trunk/BlueGene/../tmp/bigsimulator [0x823cc2c]
  [0:10] /root/BigNetSim/trunk/BlueGene/../tmp/bigsimulator [0x823d035]
  [0:11] _Z15_processHandlerPvP11CkCoreState+0x10d  [0x823dec7]
  [0:12] CmiHandleMessage+0x63  [0x82d4949]
  [0:13] CsdScheduleForever+0x6a  [0x82d4b4c]
  [0:14] CsdScheduler+0x11  [0x82d4ab7]
  [0:15] /root/BigNetSim/trunk/BlueGene/../tmp/bigsimulator [0x82d2e63]
  [0:16] ConverseInit+0x344  [0x82d3374]
  [0:17] main+0x49  [0x82449dd]
  [0:18] __libc_start_main+0xdc  [0xb5ee9c]
  [0:19] __gxx_personality_v0+0x38d  [0x8148151]
Fatal error on PE 0> segmentation violation

I ran the simulation like this:

../tmp/charmrun +p1 ../tmp/bigemulator 1 0 ++remote-shell ssh

I debugged the program, and I found that this error occurs at line 234 in evq.C, where it seems that POSE is trying to delete an Event, during which it has to delete the corresponding message ---- "msg". The error occurs when the program is trying to enter the deconstructor of "msg", I mean it seems that the address of the deconstructor of "msg" is invalid.

How should I deal with it, what kind of bug in my code can lead to this error? Please help me, Thank you very much:-)



Archive powered by MHonArc 2.6.16.

Top of Page