Files
Martin T. H. Sandsmark ac59cc7e00 Fix hang on a lot of output from a program
Summary:
There is a bug in the Qt glib event loop leading to timers never being
able to deliver signals.

Work around this by disabling the glib event loop.

References:
http://lists.qt-project.org/pipermail/interest/2015-September/018846.html
https://bugreports.qt.io/browse/QTBUG-48344

Test plan:
From the referenced bug:
    Stefan Westerfeld 2010-03-10 11:40:24 UTC
    Running the following program within konsole:

        #include <stdio.h>

        int
        main()
        {
          for (int i = 0; i < 100000000; i++)
            {
              fprintf (stderr, "foo %d\n", i);
            }
        }

    leads to a freeze - not single message is printed - no reaction on
    return. Only after a long time (30 seconds) something happens.

    If I run the same program in an xterm, the messages are scrolling
    through, as I would expect from that kind of output.

Reviewers: #konsole, hindenburg

Reviewed By: #konsole, hindenburg

Subscribers: hindenburg

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D6078

BUG: 230184
2018-07-16 13:46:25 +02:00
..
2006-07-10 17:05:55 +00:00
1998-10-28 05:22:39 +00:00
2018-02-13 21:22:41 -05:00
1998-10-28 05:22:39 +00:00
2018-07-12 09:03:26 -04:00
2015-02-08 14:25:03 -10:00
2006-07-10 17:05:55 +00:00
1998-10-28 05:22:39 +00:00
2015-02-08 14:29:33 -10:00
1998-10-28 05:22:39 +00:00
2000-01-14 00:33:08 +00:00
2013-02-09 11:35:55 -05:00

Instead of adding all of xterm's tests, download the file from [1] and 
use the scripts in xterm-VERSION/vttests

[1] http://invisible-island.net/datafiles/release/xterm.tar.gz