public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/47296] New: I/O Segfault when running out of file descriptors
@ 2011-01-14 16:48 burnus at gcc dot gnu.org
  2011-01-14 20:01 ` [Bug fortran/47296] " burnus at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-01-14 16:48 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47296

           Summary: I/O Segfault when running out of file descriptors
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: burnus@gcc.gnu.org
                CC: jvdelisle@gcc.gnu.org


Found at
http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/8843f2317cb565cd#

On Linux, I need to use either much higher numbers (> 1024) or set the number
of file descriptors down using, e.g.   ulimit -S -n 20

Valgrind then shows:

 Begin assignment unit
  ** try to connect chosen unit =           27
==26968== Warning: invalid file descriptor 25 in syscall open()
==26968== Use of uninitialised value of size 8
==26968==    at 0x4EFC6BF: _gfortrani_new_unit (open.c:509)
==26968==    by 0x4EFC994: _gfortran_st_open (open.c:702)
==26968==    by 0x400BF5: assignunit.1532 (hj4.f90:38)


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-01-22 14:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-14 16:48 [Bug fortran/47296] New: I/O Segfault when running out of file descriptors burnus at gcc dot gnu.org
2011-01-14 20:01 ` [Bug fortran/47296] " burnus at gcc dot gnu.org
2011-01-14 20:01 ` jvdelisle at gcc dot gnu.org
2011-01-15  6:42 ` jvdelisle at gcc dot gnu.org
2011-01-15  9:18 ` jvdelisle at gcc dot gnu.org
2011-01-15 10:49 ` jb at gcc dot gnu.org
2011-01-15 15:23 ` jvdelisle at frontier dot com
2011-01-15 19:31 ` jvdelisle at gcc dot gnu.org
2011-01-15 21:50 ` jb at gcc dot gnu.org
2011-01-16  8:35 ` jvdelisle at gcc dot gnu.org
2011-01-16 20:15 ` jb at gcc dot gnu.org
2011-01-17  8:01 ` jvdelisle at gcc dot gnu.org
2011-01-22 15:55 ` jvdelisle at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).