whizard is hosted by Hepforge, IPPP Durham

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#75 closed defect (wontfix)

Fix/workaround for the PACK bug in gfortran

Reported by: kilian Owned by: kilian
Priority: P1 Milestone:
Component: core Version: 2.0.0alpha
Severity: minor Keywords:
Cc:

Description

The evaluator code now contains references to the PACK routine, which is still buggy in gfortran 4.5. The result is a segfault. Either wait for a gfortran bug fix, or write a replacement routine.

Change History (10)

comment:1 Changed 14 years ago by Juergen Reuter

Milestone: v2.0-betav2.0-final
Priority: P2P3
Severity: blockernormal

This bug seems to have no effect on the WHIZARD tests. (But is not yet resolved in the gfortran trunk ?). This bug should be fixed until the final release of gfortran 4.5.0. So I move this report to the next milestone, or should we close it!?

comment:2 Changed 14 years ago by Juergen Reuter

The bugzilla URL for that gfortran bug is http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41478. It is not even assigned right now (should be fixed for the final 4.5.0 release). As yet, I don't see any consequences for 2.0.0_beta!?

comment:3 Changed 14 years ago by Juergen Reuter

Priority: P3P5
Severity: normalminor

There is movement again from the gfortran side. I guess, for the future there is nothing to from our side. I leave the ticket open for now as a reminder.

comment:4 Changed 14 years ago by Juergen Reuter

Tonight this gfortran bug (PR41478) has been assigned to Paul Thomas. It seems that he provided a solution and that this issue can be closed soon. Anyhow, at the moment it doesn't seem to affect the WHIZARD running at all.

comment:5 Changed 14 years ago by Juergen Reuter

According to the gfortran team, Paul Thomas has fixed this bug two days ago. Right now, this cannot be tested because of bug report #132.

comment:6 Changed 14 years ago by Juergen Reuter

I've looked into it, seems that now it's working, WK could you double-check, plz.

comment:7 Changed 14 years ago by Juergen Reuter

This is a quickie, so I rank it high.

comment:8 Changed 14 years ago by Juergen Reuter

Priority: P5P1

comment:9 Changed 14 years ago by kilian

Resolution: wontfix
Status: newclosed

With the gfortran svn version of today, the PACK bug is still present: if I reactivate the critical line, the program crashes with a double-free condition.

However, within WHIZARD the critical code has been replaced by a workaround anyway. We should investigate this and keep contact with the gfortran team, but for the WHIZARD project it is irrelevant. I close the ticket.

comment:10 Changed 14 years ago by Juergen Reuter

Milestone: v2.0.0final

Milestone v2.0.0final deleted

Note: See TracTickets for help on using tickets.