whizard is hosted by Hepforge, IPPP Durham

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#177 closed defect (fixed)

simulate segfaults when integrate is missing

Reported by: sschmidt Owned by: kilian
Priority: P3 Milestone:
Component: core Version: 2.0.0beta
Severity: normal Keywords:
Cc:

Description

If simulate is executed without prior integrate statement, a segmentation fault occurs.

Runtime Error: commands.f90, line 4383: Reference to disassociated POINTER PROCESS
Program terminated by fatal error
commands.f90, line 4383: Error occurred in COMMANDS:CMD_SIMULATE_EXECUTE
commands.f90, line 1653: Called by COMMANDS:COMMAND_EXECUTE
commands.f90, line 5535: Called by COMMANDS:COMMAND_LIST_EXECUTE
whizard.f90, line 200: Called by WHIZARD:WHIZARD_PROCESS_STREAM
whizard.f90, line 176: Called by WHIZARD:WHIZARD_PROCESS_FILE
main.f90, line 216: Called by MAIN
Aborted

Thanks to Daniel for finding this.

Attachments (1)

bug14.sin (106 bytes) - added by sschmidt 14 years ago.
example input file

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by sschmidt

Attachment: bug14.sin added

example input file

comment:1 Changed 14 years ago by kilian

Resolution: fixed
Status: newclosed

in r1644: exit with fatal error in this situation.

comment:2 Changed 14 years ago by Juergen Reuter

Milestone: v2.0-rc1

Milestone v2.0-rc1 deleted

Note: See TracTickets for help on using tickets.