Problem 1034 - Character "_" in input macro causes application to crash !
Summary: Character "_" in input macro causes application to crash !
Status: CLOSED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: intercoms (show other problems)
Version: 9.1
Hardware: All All
: P2 normal
Assignee: Koichi Murakami
URL: http://geant4.org
Depends on:
Blocks:
 
Reported: 2008-11-18 11:50 CET by Gabriele Cosmo
Modified: 2008-11-21 12:01 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Gabriele Cosmo 2008-11-18 11:50:43 CET
Here is a nice one !    :-)

By adding the character "_" in any line inside a input macro .in
fed as batch macro to an application, will cause the application
to crash with a G4Exception.

For example, try to add the following (comment!) line in
exampleN02.in:

# Adding this character: _  makes Geant4 CRASH !!!

Then, run exampleN02 as usual:

exampleN02 exampleN02.in

You will get this:

unexpected character after line continuation character

*** G4Exception: Aborting execution ***
Comment 1 Koichi Murakami 2008-11-21 12:01:07 CET
The problem is fixed.