Message: Re: Problem about Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Problem about  

Forum: Run Management
Re: Question Problem about "delete runManager"
Date: 22 Jun, 2010
From: Kosta Kliakhandler <Kosta Kliakhandler>

Hello,

I don't know whether this problem is related to yours, but maybe.

I get a segfault when trying to delete runManager, when running on a linux machine with Geant4 v4.9.3-p01, compiled with: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5659). I do not get this when running on an OSX Machine with v4.9, compiled with: gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3

Any ideas? Suggestions?

Here is the output:

 Idle> exit
 ending!
 Deleted session!
 Graphics systems deleted.
 Visualization Manager deleting...
 Deleted visManager!

  *** Break *** segmentation violation
 Attaching to program: /proc/1595/exe, process 1595
 [Thread debugging using libthread_db enabled]
 0x00007f4ed1eadf3e in waitpid () from /lib/libc.so.6
 error detected on stdin
 A debugging session is active.

        Inferior 1 [process 1595] will be detached.

 Quit anyway? (y or n) [answered Y; input not from terminal]
 Detaching from program: /proc/1595/exe, process 1595

And here is the code:

...
  // The end.
  G4cout << "ending!" << std::endl;
  delete session;
  G4cout << "Deleted session!" << std::endl;
#ifdef G4VIS_USE
  delete visManager;
  G4cout << "Deleted visManager!" << std::endl;
#endif // G4VIS_USE
  delete runManager;
  G4cout << "Deleted runManager!" << std::endl;

  RootIO::DeleteInstance();
  G4cout << "Deleted RootIO!" << std::endl;

  return 0;
}

If I comment out the "delete runManager" line, the program does not segfault. I do then get errors such as:

WARNING - Attempt to delete the physical volume store while geometry closed !

Any ideas? Did you sort out your problem? Thanks

 Add Message Add Message
to: "Re: Problem about "

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]