Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162206 - dev-util/eclipse-sdk 3.2.1-r1 crashes intermittently: 'Gecko' received an X Window System error
Summary: dev-util/eclipse-sdk 3.2.1-r1 crashes intermittently: 'Gecko' received an X W...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Development Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-15 14:06 UTC by Alexander Wessel
Modified: 2009-11-07 04:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Information on possibly involved libs (eclipse-gecko_crash-attachement#1,7.49 KB, text/plain)
2007-01-15 14:11 UTC, Alexander Wessel
Details
Bug report that was generated after the crash (gecko-bugreport.txt,37.75 KB, text/plain)
2008-04-11 13:25 UTC, Adam Bowers
Details
another crash log (hs_err_pid5684.log,73.21 KB, text/plain)
2008-07-11 00:58 UTC, Alex Barker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Wessel 2007-01-15 14:06:21 UTC
Since quite a while now, I intermittently get the following error when working with dev-util/eclipse-sdk 3.2.1-r1 (-branding cairo gnome opengl seamonkey):

The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
  (Details: serial 10057118 error_code 1 request_code 0 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.)

I set the bug critical since those intermittent crashes may cause data loss. I save very frequently so I did not loose more than a few minutes worth of work, but my annoyance level has gotten high lately. I tried a google search and one on this site but while gecko-related crashes of X apps is very common, I found nothing much about it happening with eclipse...

The error so far never occured shortly after (re)starting the application, but about 1/2 to 5 hours after application start when working extensively with it. I was not able to reproduce the problem deliberately so far, however it appears the problem is triggered by clipboard and/or selection actions (most crashes happen when I use <shift>-<cursor> to select something or use <ctrl>-<ins> to copy <shift>-<ins> to paste. I work on Java code mostly. The problem is not confined to the JDT/Java editor though, I've seen it happen in other editors (like the SQL Editor of the Quantum Plugin), too. I have also never seen this problem when the application is idle (i. e. no editors are being used).

The Problem occurs with different Sun JDK's 1.5.0.08 - 1.6.0-r1 at least.

Since I thought this might be related to Bug 140089 I unmerged gecko-sdk and reemerged eclipse without luck. Binaries of Eclipse 3.3M4 (taken from eclipse.org) installed in a private directory also show the error. That installation does not use /usr/bin/eclipse-3.2 to start up, so that file should be irrelevant to the error. The description of bug 145691 sounds somewhat familiar, however the bug definetely occurs with 3.2.1-r1 here.

IIRC the error did not occur before moving to the modular xorg build, so maybe the problem was introduced there.

In case its relevant: I have not seen a similar crash with any other application so far.

In the attachement I add some information on my setup that might help squash this one. Since I am not an expert in debugging X or Gecko apps, if you need more information please let me know what to do/what you need.


Any help is much appreciated,
Alexander "Flexx" Wessel
Comment 1 Alexander Wessel 2007-01-15 14:11:38 UTC
Created attachment 107061 [details]
Information on possibly involved libs
Comment 2 Alexander Wessel 2007-02-27 12:36:05 UTC
One thing I noticed:
Few days ago I globally enable the xcb use flag (in /etc/make.conf). Since then I got the following error & crash with comparable frequency as the one I describe in comment #1:

Gecko: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

This seems to proove that the problem is related to the clipboard/cutbuffer. 

Should this be filed to upstream?
Comment 3 Alexander Wessel 2007-03-02 10:33:18 UTC
To confirm that xcb was involved (see comment 2), I re-emerged x11-libs/libX11-1.1.1, media-libs/mesa-6.5.2-r1 and x11-libs/cairo-1.3.14 without the xcb useflag. After that, I get the original message again.
Comment 4 Adam Bowers 2008-04-11 13:24:27 UTC
I am experiencing the same exact problem with Eclipse on my machine (a colleague is also experiencing this problem).  I have tried various binary builds as well as two versions in portage.  I will attach a bug report that was generated after the latest crash.

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r4 x86_64 Intel(R) Xeon(R) CPU X5460 @ 3.16GHz
Timestamp of tree: Fri, 11 Apr 2008 01:45:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://lug.mtu.edu/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j17"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://132.228.91.84/gentoo-portage"
USE="3dnow X a52 aac acl acpi adns alsa amd64 avahi bash-completion berkdb branding bzip2 cairo caps cddb cdparanoia cdr cli cracklib crypt css cups curl curlwrappers cvs dbus dts dvd dvdr dvdread encode esd evo exif ffmpeg firefox flac fontconfig foomaticdb ftp gdbm gif gnome gnutls gpm gstreamer gtk gtkhtml hal hddtemp iconv isdnlog java java6 javascript jbig jpeg jpeg2k lame lash lcms libnotify lm_sensors lzo mad midi mmap mmx mng mono mp3 mpeg mpi mudflap nautilus ncurses networkmanager nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcntl pcre pdf perl png posix pppd python quicktime raw rdesktop readline rss samba session sharedmem snmp sockets spell spl sse sse2 ssl startup-notification svg symlink syslog sysvipc szip tcpd threads tiff truetype unicode usb vorbis wmf x264 xattr xcomposite xml xorg xprint xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 5 Adam Bowers 2008-04-11 13:25:00 UTC
Created attachment 149400 [details]
Bug report that was generated after the crash
Comment 6 Alex Barker 2008-07-11 00:58:36 UTC
Created attachment 160098 [details]
another crash log

same sort of issue, doubt this will get fixed as 3.4 is already out.
Comment 7 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2009-11-06 14:25:11 UTC
3.2 is no longer supported.
Comment 8 Alexander Wessel 2009-11-07 04:25:38 UTC
(In reply to comment #7)
> 3.2 is no longer supported.

No worries, I guess we have all moved on by now... ;)