public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/18961] New: Large output causes testsuite failure
@ 2004-12-13 17:14 chris at bubblescope dot net
  2004-12-13 17:21 ` [Bug other/18961] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: chris at bubblescope dot net @ 2004-12-13 17:14 UTC (permalink / raw)
  To: gcc-bugs

The following testsuite program fails when added to the libstdc++ testsuite:

#include <iostream>

int main()
{
  for(int i=0;i<1000000;i++)
    std::cout << "C" << std::endl;
}

Is there some reason for this?

-- 
           Summary: Large output causes testsuite failure
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: chris at bubblescope dot net
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug other/18961] Large output causes testsuite failure
  2004-12-13 17:14 [Bug debug/18961] New: Large output causes testsuite failure chris at bubblescope dot net
@ 2004-12-13 17:21 ` pinskia at gcc dot gnu dot org
  2004-12-13 17:56 ` chris at bubblescope dot net
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-13 17:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-13 17:21 -------
Are you sure that this is not a dejagnu bug?
Or are you sure that you just don't get a timeout?

Also anything this long will most likely get a timeout on slow machines so, I really doubt that we want 
this, also one thing, we will be filling up the long and with oldder machines with that much space left 
on their hd, I don't think we want this either.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|debug                       |other


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


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

* [Bug other/18961] Large output causes testsuite failure
  2004-12-13 17:14 [Bug debug/18961] New: Large output causes testsuite failure chris at bubblescope dot net
  2004-12-13 17:21 ` [Bug other/18961] " pinskia at gcc dot gnu dot org
@ 2004-12-13 17:56 ` chris at bubblescope dot net
  2005-02-07  4:51 ` jsm28 at gcc dot gnu dot org
  2005-02-08 18:31 ` chris at bubblescope dot net
  3 siblings, 0 replies; 5+ messages in thread
From: chris at bubblescope dot net @ 2004-12-13 17:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From chris at bubblescope dot net  2004-12-13 17:56 -------
I'm fairly sure it's not a timeout (It takes <5 seconds to run on my computer).
It might be a dejagnu bug. Unfortunatly I find it very hard to find out exactly
what is causing this bug.

While I agree that allowing program's output to run out of control is a bad
idea, the problem with the current cutoff system is that it seems quite
unreliable. Around the mark at which the bug occurs (round about 200,000-300,000
characters on my computer) the test will sometimes run and sometimes fail. This
kind of unpredictable behaviour led me to a merry afternoon of debugging (I was
writing a test which outputed a large quantity of state information for testing
reasons) as it randomly appeared and disappeared. I do think that the behaviour
could be more reliable, and at least better documented.

-- 


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


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

* [Bug other/18961] Large output causes testsuite failure
  2004-12-13 17:14 [Bug debug/18961] New: Large output causes testsuite failure chris at bubblescope dot net
  2004-12-13 17:21 ` [Bug other/18961] " pinskia at gcc dot gnu dot org
  2004-12-13 17:56 ` chris at bubblescope dot net
@ 2005-02-07  4:51 ` jsm28 at gcc dot gnu dot org
  2005-02-08 18:31 ` chris at bubblescope dot net
  3 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-02-07  4:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jsm28 at gcc dot gnu dot org  2005-02-06 18:46 -------
Does your version of expect include the patch in bug 12096?  If not, and
if using a version with that patch fixes your problem, then this would be
a duplicate of that bug.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jsm28 at gcc dot gnu dot org


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


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

* [Bug other/18961] Large output causes testsuite failure
  2004-12-13 17:14 [Bug debug/18961] New: Large output causes testsuite failure chris at bubblescope dot net
                   ` (2 preceding siblings ...)
  2005-02-07  4:51 ` jsm28 at gcc dot gnu dot org
@ 2005-02-08 18:31 ` chris at bubblescope dot net
  3 siblings, 0 replies; 5+ messages in thread
From: chris at bubblescope dot net @ 2005-02-08 18:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From chris at bubblescope dot net  2005-02-08 13:24 -------
Yep, that fixed it. Marking it as a dup.

*** This bug has been marked as a duplicate of 12096 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2005-02-08 13:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-13 17:14 [Bug debug/18961] New: Large output causes testsuite failure chris at bubblescope dot net
2004-12-13 17:21 ` [Bug other/18961] " pinskia at gcc dot gnu dot org
2004-12-13 17:56 ` chris at bubblescope dot net
2005-02-07  4:51 ` jsm28 at gcc dot gnu dot org
2005-02-08 18:31 ` chris at bubblescope dot net

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).