Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 370653

Summary: The program 'Eclipse' received an X Window System error.... BadAlloc ... when clicking "Choose a previously entered comment" drop-down
Product: [Eclipse Project] Platform Reporter: fordkp Mising name <kai.ford>
Component: TeamAssignee: Platform Team Inbox <platform-team-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: critical    
Priority: P3 CC: remy.suen
Version: 4.2   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Whiteboard: stalebug
Attachments:
Description Flags
Screen capture of Eclipse error dialog none

Description fordkp Mising name CLA 2012-02-05 07:55:14 EST
Build Identifier: 20110218-0911

Somehow my eclipse installation has gotten into a state where it crashes every time I click the  "Choose a previously entered comment" drop-down in the Team->Commit dialog:

 85% /work1/helios/eclipse -clean &
 86% The program 'Eclipse' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 104984 error_code 11 request_code 53 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Is there any way to work around this problem?


Reproducible: Always

Steps to Reproduce:
1.Launch eclipse
2.Right click on project in Package Explorer
3.Select Team->Commit
4. Click on <Choose a previously entered comment> combo box (anywhere)
Comment 1 fordkp Mising name CLA 2012-02-05 07:58:15 EST
I started deleting things from my workspace/.metadata/.plugins directory and repeating steps 1-4.  Finally, one of the following rm commands seems to have fixed the problem:
rm .plugins/org.eclipse.team.core/.cache/org.tigris.subversion.subclipse.core/0
rm .plugins/org.tigris.subversion.subclipse.ui/commitCommentHistory.xml
rm .plugins/org.tigris.subversion.subclipse.core/.svnProviderState
Comment 2 fordkp Mising name CLA 2012-02-05 08:01:19 EST
Created attachment 210547 [details]
Screen capture of Eclipse error dialog
Comment 3 Remy Suen CLA 2012-02-05 08:42:08 EST
Do you get this problem with other combo boxes?
Comment 4 fordkp Mising name CLA 2012-02-05 23:18:15 EST
No
Comment 5 Tomasz Zarna CLA 2012-02-06 10:51:43 EST
Commit wizards are part of a repository provider UI. It looks that you're working with an SVN repo. What plug-in provider is that in your case, Subversive or Subclipse?
Comment 6 Lars Vogel CLA 2019-11-14 03:24:08 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.