public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/26094]  New: Segmentation fault in  Linux 7.1 GCC 3.1 Kernel 2.4.9-45lxset34smp
@ 2006-02-03 23:23 mahek2k1 at yahoo dot com
  2006-02-04 18:49 ` [Bug libstdc++/26094] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: mahek2k1 at yahoo dot com @ 2006-02-03 23:23 UTC (permalink / raw)
  To: gcc-bugs

Hi ALL,

Machine A : Linux 7.1 GCC 3.1 Kernel 2.4.9-45lxset34smp
Machine B : Linux 7.1 GCC 3.1 Kernel 2.4.2-2

The following piece of code when run and compiled in Linux7.1 Machine A, runs
fine, also compiled and run in Machine B, runs fine.

But when the code is compiled in Machine A and run in Machine B, it crashes
with segmentation fault:

--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

int main () {
ifstream is;
is.open ("test.txt");
if ( (is.rdstate() & ifstream::failbit ) != 0 )
printf( "Error opening 'test.txt'\n");
return 0;
}

Any IDEAS??

Rgds,
LearningAllTheTime


-- 
           Summary: Segmentation fault in  Linux 7.1 GCC 3.1 Kernel 2.4.9-
                    45lxset34smp
           Product: gcc
           Version: 3.1
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mahek2k1 at yahoo dot com


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


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

end of thread, other threads:[~2006-02-08 16:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-03 23:23 [Bug libstdc++/26094] New: Segmentation fault in Linux 7.1 GCC 3.1 Kernel 2.4.9-45lxset34smp mahek2k1 at yahoo dot com
2006-02-04 18:49 ` [Bug libstdc++/26094] " pinskia at gcc dot gnu dot org
2006-02-04 20:51 ` rguenth at gcc dot gnu dot org
2006-02-05 15:41 ` pinskia at gcc dot gnu dot org
2006-02-06 21:05 ` mahek2k1 at yahoo dot com
2006-02-08 16:34 ` bkoz at gcc dot gnu dot 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).