Message: Example B1 crashing Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Example B1 crashing  

Forum: Installation and Configuration
Date: 11 Apr, 2016
From: Christopher Walker <Christopher Walker>

Hello, OS: Microsoft Windows 7 CMake version: 3.5.1 Geant4 version: 10.02.p01 Compiler: MS Visual Studio 14 (2015)

I had been getting messages about "Cannot find the PDB file", but I solved that by running in administrator.

I now get the message: Exception thrown at 0x0297ECA8 (G4analysis.dll) in exampleB1.exe: 0xC0000005: Access violation reading location 0x80000008.

when attempting to run exampleB1.

Geant4_DIR is: C:/GoogleDrive/UserFiles2/Geant4/geant4_10_02_p01-install/lib/Geant4-10.2.1

CMAKE_INSTALL_PREFIX is: C:/GoogleDrive/UserFiles2/Geant4/B1-install

Call stack is:
>	G4analysis.dll!std::vector<G4String,std::allocator<G4String> >::_Orphan_range(G4String * _First, G4String * _Last) Line 1804	C++
 	G4analysis.dll!std::vector<G4String,std::allocator<G4String> >::push_back(G4String && _Val) Line 915	C++
 	G4analysis.dll!G4UIcommand::SetGuidance(const char * aGuidance) Line 163	C++
 	G4analysis.dll!G4AnalysisMessengerHelper::CreateHnDirectory() Line 137	C++
 	G4analysis.dll!G4PlotMessenger::G4PlotMessenger(G4PlotParameters * plotParameters) Line 59	C++
 	G4analysis.dll!G4Analysis::make_unique<G4PlotMessenger,G4PlotParameters * const>(G4PlotParameters * const && <args_0>) Line 86	C++
 	G4analysis.dll!G4PlotParameters::G4PlotParameters() Line 65	C++
 	G4analysis.dll!`dynamic initializer for 'G4PlotManager::fgPlotParameters''() Line 149	C++
 	[External Code]	
 	[Frames below may be incorrect and/or missing, no symbols loaded for ucrtbased.dll]	

The fact that it is making several calls from within G4analysis.dll suggests to me it is not a case of not finding the dll.

Any help appreciated. Thanks Chris

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Example B1 crashing   (Christopher Walker - 12 Apr, 2016)
 Add Message Add Message
to: "Example B1 crashing "

 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 ]