Eclipse crashing when using autocomplete

Bug #567419 reported by Rubbinio
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
Incomplete
Undecided
Unassigned
Nominated for Lucid by Pascal T

Bug Description

Binary package hint: eclipse

Every time I use auto complete feature in eclipse and the suggestion windows closes eclipse is crashing with the following error

The error was 'RenderBadPicture (invalid Picture parameter)'.
  (Details: serial 62228 error_code 158 request_code 148 minor_code 7)
  (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.)

This started happening yesterday after performing an update on my Lucid install using all updates available. Before eclipse was working fine on Lucid. Also worth noticing this happens in both GNOME and KDE every single time I use eclipse.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: eclipse 3.5.2-2ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
Architecture: amd64
Date: Tue Apr 20 14:45:38 2010
InstallationMedia: Kubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: eclipse
xulrunner-versions:
 /usr/lib/xulrunner-1.9.1.6
 /usr/lib/xulrunner-1.9.1.9
 /usr/lib/xulrunner-1.9.2.3

Revision history for this message
Rubbinio (rsolomon-n-able) wrote :
Revision history for this message
Rubbinio (rsolomon-n-able) wrote :
Download full text (5.3 KiB)

In KDE I was able to get a trace but not in GNOME:

KDE Trace:

-- Backtrace:
Application: Plasma Workspace (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f9931d7f760 (LWP 4054))]

Thread 3 (Thread 0x7f990db99710 (LWP 4056)):
#0 0x00007f992ed76f53 in *__GI___poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007f992b73c4a9 in ?? () from /lib/libglib-2.0.so.0
#2 0x00007f992b73c8fc in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#3 0x00007f993037e566 in QEventDispatcherGlib::processEvents (this=0x12ff550,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4 0x00007f9930353992 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#5 0x00007f9930353d6c in QEventLoop::exec (this=0x7f990db98db0, flags=) at
kernel/qeventloop.cpp:201
#6 0x00007f993025dd59 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#7 0x00007f9930334178 in QInotifyFileSystemWatcherEngine::run (this=0xa62e20)
at io/qfilesystemwatcher_inotify.cpp:248
#8 0x00007f9930260775 in QThreadPrivate::start (arg=0xa62e20) at
thread/qthread_unix.cpp:248
#9 0x00007f992ffd09ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#10 0x00007f992ed8369d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f990cd74710 (LWP 4057)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00007f9924e302a6 in QTWTF::TCMalloc_PageHeap::scavengerThread
(this=0x7f992510e220) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2 0x00007f9924e302e9 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=0x7f992511c2ec) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3 0x00007f992ffd09ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#4 0x00007f992ed8369d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9931d7f760 (LWP 4054)):
[KCrash Handler]
#5 TaskManager::Task::icon (this=0x0, width=32, height=32, allowResize=true)
at ../../../libs/taskmanager/task.cpp:406
#6 0x00007f9911636869 in ?? () from /usr/lib/kde4/plasma_applet_daisy.so
#7 0x00007f991163dff7 in ?? () from /usr/lib/kde4/plasma_applet_daisy.so
#8 0x00007f9930367e3f in QMetaObject::activate (sender=0xd893b0, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x20) at
kernel/qobject.cpp:3293
#9 0x00007f99309d43bb in KWindowSystem::windowChanged (this=0x7fff083eea70,
_t1=52428803, _t2=0x7fff083eee50) at ./kwindowsystem.moc:178
#10 0x00007f99309d7471 in KWindowSystemPrivate::x11Event (this=0xca4520,
ev=0x7fff083ef610) at ../../kdeui/windowmanagement/kwindowsystem_x11.cpp:180
#11 0x00007f993089bd06 in KAppX11HackWidget::publicx11Event (this=<value
optimized out>, _event=0x7fff083ef610) at
../../kdeui/kernel/kapplication.cpp:903
#12 KApplication::x11EventFilter (this=<value optimized out>,
_event=0x7fff083ef610) at ../../kdeui/kernel/kapplication.cpp:953
#13 0x00007f99253a68c7 in...

Read more...

Revision history for this message
Pascal T (pascal-thivent) wrote :

I'm also affected by this bug on my 32-bit platform. FWIW, here are the relevant bugs in Eclipse and Debian:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571192
https://bugs.eclipse.org/bugs/show_bug.cgi?id=309718

According to the Debian bug, the real problem is in xulrunner:

> * debian/control:
> + Add Breaks for xulrunner and iceape until they're fixed

Here are the versions of the related packages I currently have on my machine:

- libcairo2 1.8.10-2ubuntu1
- xulrunner-1.9.1
- xulrunner-1.9.2

This is a critical problem for me, I use Eclipse as primary development platform and it's currently unusable.

Revision history for this message
Micah Gersten (micahg) wrote :

Thank you for reporting this to Ubuntu. Please try removing xulrunner-1.9.1 if you are on Lucid. It was just removed from the archive for Lucid.

Changed in eclipse (Ubuntu):
status: New → Incomplete
Revision history for this message
Micah Gersten (micahg) wrote :

Also, which version of eclipse are you running?

Revision history for this message
Rubbinio (rsolomon-n-able) wrote :

Thank you Micah for your solution. Removing xulrunner-1.9.1 does the trick and Eclipse is working as it should not. I tried 3 versions of eclipse, the one ubuntu provides, Eclipse 3.5 from Eclipse and Eclipse 3.6 M6. All 3 of them behaved exactly the same.

Revision history for this message
Micah Gersten (micahg) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 531719, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.