View Issue Details

IDProjectCategoryView StatusLast Update
0000343OpenFOAMBugpublic2012-01-02 23:15
Reporterwyldckat Assigned Tohenry  
PrioritynormalSeveritycrashReproducibilitysometimes
Status resolvedResolutionfixed 
Platformx86_64OSUbuntuOS Version11.10
Summary0000343: Fatal crash detected on tutorial './multiphase/twoPhaseEulerFoam/bed'
DescriptionTested OpenFOAM versions:
* OpenFOAM 2.0.x, commit 93ce41240e5c2b04690f15152e52f48e03d4df39, 2011-10-21 11:44:38
* OpenFOAM 2.0.x, commit 03233a7696f077372a090ce1efd19256bbbbf880, Tue Nov 8 12:28:44 2011

While running the whole stock of tutorials in the first commit indicated above, the tutorial './multiphase/twoPhaseEulerFoam/bed' crashed only in some of the following machine scenarios:
  - 2.0.x 64bit on Ubuntu 11.10 x86_64 with the system's gcc 4.6.1 on a real x86_64 machine - solver crashed.
  - 2.0.x 64bit on Ubuntu 11.10 x86_64 with the system's gcc 4.6.1 on a virtual x86_64 machine - solver crashed.
  - 2.0.x 64bit on Ubuntu 10.04 x86_64 with the system's gcc 4.4.3 on a virtual x86_64 machine - solver completed with success.
  - 2.0.x 32bit on Ubuntu 11.10 x86_64 with the system's gcc 4.6.1 on a real x86_64 machine - solver completed with success.
  - 2.0.x 32bit on Ubuntu 11.10 i686 with the system's gcc 4.6.1 on a virtual x86_64 machine - solver completed with success.

Attached is the log file of the one of the runs that crashed: log.twoPhaseEulerFoam
TagsNo tags attached.

Activities

wyldckat

2011-11-20 17:42

updater  

log.twoPhaseEulerFoam (396,755 bytes)

albertop

2011-11-22 03:42

reporter   ~0000808

Last edited: 2011-11-22 03:43

I tested this on openSUSE 12.1 (gcc 4.6.2 - 64 bit - not virtualized), and I cannot reproduce. The tutorial completes successfully.

wyldckat

2011-11-22 21:23

updater   ~0000813

Last edited: 2011-11-22 21:26

After the "false positive" I had in Issue 344, I made a new test with a clean and fully up-to-date installation of Ubuntu 11.10 x86_64 on a virtual machine with gcc 4.6.1, with a fresh clone with the latest commit: 97fb9ceaefc36d0ba6b5a967a9906bb32c71af76

The result was the same as I initially reported on this report.

I'll try installing openSUSE 12.1 x86_64 on a VM next and report back here once more, just in case the problem I'm triggering is either related to my real machine or my VM software.

Edit: still on the Ubuntu VM, running directly on the tutorial folder still resulted in the same crash.

wyldckat

2011-11-25 08:46

updater   ~0000821

I've now tested this tutorial as well in a VM with openSUSE 12.1 x86_64 with its own gcc 4.6.2 and the tutorial seemed to work fine as well.

So, so far the problems I've had have only been with Ubuntu 11.10 x86_64...
I think I'm going to also test the development version of Ubuntu 12.04 x86_64, since this might simply be yet another weird issue that I've been having with 11.10...

wyldckat

2011-12-04 18:40

updater   ~0000826

Tried and failed to get a development version of 12.04 to work. And ironically, I found out that my personal computer (an AMD 1055T) has gotten a "mild case" of RAM malfunction.

So I've redone the test with a fresh new download+install of Ubuntu 11.10 x86_64 on a new virtual machine on a laptop (with an i3 M350 CPU) and downloaded+built the latest commit of OpenFOAM 2.0.x. It still crashes!

So far it seems to be a problem isolated to gcc 4.6.1 in Ubuntu 11.10 x86_64. It seems to be a glitch in Ubuntu's stock gcc.

Next I'll try with gcc 4.5.3 from Ubuntu 11.10.

wyldckat

2011-12-04 20:45

updater   ~0000829

What I wrote on Issue #342, comment #828 also applies here and I quote:
«Just finished testing with "gcc version 4.5.4 (Ubuntu/Linaro 4.5.3-9ubuntu1)" on Ubuntu 11.10 x86_64 and it crashed as well.

It looks like it's the linker in Ubuntu 11.10 x86_64 that is "damaged".

If and when I can test on an alpha release of Ubuntu 12.04 x86_64, I'll report back with more results.»

user4

2011-12-05 10:31

  ~0000830

I tried on ubuntu11.10 64bit (virtual machine) and cannot repeat the problem but this is with a different (newer) solver. On 2.0.x it seems the unboundedness just gets slightly too large for the solver and this is due to the combination of solver+tutorial. The compiler/machine difference is just enough to push it over the threshold but is not the root of the problem.

henry

2011-12-29 14:36

manager   ~0000877

Are you able to reproduce the problem with OpenFOAM-2.1.x?

wyldckat

2011-12-29 14:46

updater   ~0000879

I haven't had the opportunity yet to test with OpenFOAM 2.1.x. I think I can test it this weekend.

wyldckat

2011-12-31 10:07

updater   ~0000887

I've (also) finished testing this tutorial with OpenFOAM 2.1.x (both binaries and tutorial are from 2.1.x), commit 4bebcad4693c18456a9d3f90f823cd8ee0a36464, using the same virtual machine (without any further updates system-wise) from the comments #829 and #826 and it ran successfully with both gcc 4.5.4 and 4.6.1.

I believe you can mark this report as resolved in 2.1.x :)

henry

2012-01-02 23:15

manager   ~0000888

Resolved in OpenFOAM-2.1.0/x

Issue History

Date Modified Username Field Change
2011-11-20 17:42 wyldckat New Issue
2011-11-20 17:42 wyldckat File Added: log.twoPhaseEulerFoam
2011-11-22 03:42 albertop Note Added: 0000808
2011-11-22 03:43 albertop Note Edited: 0000808
2011-11-22 21:23 wyldckat Note Added: 0000813
2011-11-22 21:26 wyldckat Note Edited: 0000813
2011-11-25 08:46 wyldckat Note Added: 0000821
2011-12-04 18:40 wyldckat Note Added: 0000826
2011-12-04 20:45 wyldckat Note Added: 0000829
2011-12-05 10:31 user4 Note Added: 0000830
2011-12-29 14:36 henry Note Added: 0000877
2011-12-29 14:46 wyldckat Note Added: 0000879
2011-12-31 10:07 wyldckat Note Added: 0000887
2012-01-02 23:15 henry Note Added: 0000888
2012-01-02 23:15 henry Status new => resolved
2012-01-02 23:15 henry Resolution open => fixed
2012-01-02 23:15 henry Assigned To => henry