Re: Segfault on OpenMP program

2007-04-19 Thread Jakub Jelinek
On Wed, Apr 18, 2007 at 07:38:40PM +0200, Kenneth Hoste wrote: > Is this only advised with parallel programs, or is it a general rule? > In my research, I statically link all my benchmarks because that I > measure stuff about them using instrumentation on a bunch of computer > (which might have

Re: Segfault on OpenMP program

2007-04-18 Thread Kenneth Hoste
On 18 Apr 2007, at 15:38, Paul Brook wrote: On Wednesday 18 April 2007 00:19, FX Coudert wrote: Someone reported on bug on a trivial statically-linked Fortran progam with OpenMP and a I/O operation. I can reproduce the segfault, which happens at: ... Andrew suggested on bugzilla that this migh

Re: Segfault on OpenMP program

2007-04-18 Thread Jakub Jelinek
On Wed, Apr 18, 2007 at 02:38:24PM +0100, Paul Brook wrote: > On Wednesday 18 April 2007 00:19, FX Coudert wrote: > > Someone reported on bug on a trivial statically-linked Fortran progam > > with OpenMP and a I/O operation. I can reproduce the segfault, which > > happens at: > >... > > Andrew sugg

Re: Segfault on OpenMP program

2007-04-18 Thread Paul Brook
On Wednesday 18 April 2007 00:19, FX Coudert wrote: > Someone reported on bug on a trivial statically-linked Fortran progam > with OpenMP and a I/O operation. I can reproduce the segfault, which > happens at: >... > Andrew suggested on bugzilla that this might be a GLIBC issue (I use > glibc-2.4 fr

Segfault on OpenMP program

2007-04-17 Thread FX Coudert
Someone reported on bug on a trivial statically-linked Fortran progam with OpenMP and a I/O operation. I can reproduce the segfault, which happens at: (gdb) where #0 0x in ?? () #1 0x0804cdbb in get_external_unit (n=6, do_create=1) at /home/fxcoudert/gfortran_nightbuild/trunk/li