Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 132710 - Eclipse causes X to die and restart with certain text in the text editor or console output
Summary: Eclipse causes X to die and restart with certain text in the text editor or c...
Status: RESOLVED DUPLICATE of bug 87299
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.1.1   Edit
Hardware: PC Linux-GTK
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 132711 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-21 12:11 EST by Cameron Braid CLA
Modified: 2006-03-23 14:45 EST (History)
1 user (show)

See Also:


Attachments
Edit this log file in the text editor to cause X to crash (19.65 KB, text/plain)
2006-03-21 12:11 EST, Cameron Braid CLA
no flags Details
SImpler file, that causes the crash when scrolling left to right (4.22 KB, text/plain)
2006-03-21 12:25 EST, Cameron Braid CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cameron Braid CLA 2006-03-21 12:11:10 EST
I have been able to trigger this bug under a few conditions.  Originally, I thought it was limited to the console, with certain log entries, however, in trying to narrow down the cause, I found it also happens in the text editor when editing the same log file.

Linux Versions tested :
 * Ubuntu Dapper (as at 22/03/2006)
 * Ubuntu Breezy (as at 21/03/2006)

To repeat :

When I edit the attached text file in the text editor my X server is killed and restarts.  Sometimes I need to scroll the editor window up and down to get it to crash.

There are no log entries in workspace/.metadata/.log after loading the file.
There are no log entries in $home/.xsession-errors to indicate the problem.
Comment 1 Cameron Braid CLA 2006-03-21 12:11:50 EST
Created attachment 36673 [details]
Edit this log file in the text editor to cause X to crash
Comment 2 Cameron Braid CLA 2006-03-21 12:25:56 EST
Created attachment 36674 [details]
SImpler file, that causes the crash when scrolling left to right

can someone please delete attachment 36673 [details] in regards to privacy of its contents
Comment 3 Veronika Irvine CLA 2006-03-21 12:33:42 EST
*** Bug 132711 has been marked as a duplicate of this bug. ***
Comment 4 Cameron Braid CLA 2006-03-21 12:56:43 EST
I have created a simple main method that causes eclipse to crash when it it run.

It consists of 100 short lines and 1 long line.

Can someone please delete the attachments that I submitted to this bug.

String line = "ln momlnonmlnom lnm onm lnm lnlmnm onm nm onml nmo nlm m onm lnml nom nlm on lnmn";
for (int i = 0; i < 100; i++) {
	System.out.println(line);
}
for (int i = 0; i < 100; i++) {
	System.out.print(line);
}
Comment 5 Cameron Braid CLA 2006-03-21 12:59:03 EST
After further testing, it appears that it doesn't always cause eclipse to crash.

Sorry about this, but this bug is really being a pain to narrow down.
Comment 6 Cameron Braid CLA 2006-03-21 13:21:33 EST
I just rebooted into ubuntu breezy to try out some scenarios there.

I am able to kill X (and all running apps) by running this program and scrolling up and down in the console view :

public class LongLine2 {

        public static void main(String[] args) {
                String line = "ln momlnonmlnom lnm onm lnm lnlmnm onm nm onml nmo nlm m onm lnml nom nlm on lnmn";
                for (int i = 0; i < 100; i++) {
                        System.out.println(line);
                }
                for (int i = 0; i < 1000; i++) {
                        System.out.print(line);
                }
                for (int i = 0; i < 100; i++) {
                        System.out.println(line);
                }
        }
}
Comment 7 Billy Biggs CLA 2006-03-23 14:45:31 EST
This is happening when you create widgets that exceed the maximum size restrictions in X windows, triggering various bugs.

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