Bug 377867 - Frequent segfaults in gtk widgets
Summary: Frequent segfaults in gtk widgets
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.2   Edit
Hardware: PC Linux
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2012-04-27 03:25 EDT by Dennis Bijwaard CLA
Modified: 2013-09-18 03:47 EDT (History)
5 users (show)

See Also:


Attachments
A number of gtk widgets related crashdumps (179.43 KB, application/x-zip-compressed)
2012-04-27 03:40 EDT, Dennis Bijwaard CLA
no flags Details
Ubuntu 12.04 x86_64 eclipse crashdump in gtk/swt (131.38 KB, text/x-log)
2012-07-25 18:24 EDT, Dennis Bijwaard CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Bijwaard CLA 2012-04-27 03:25:47 EDT
Build Identifier: I20110613-1736

Eclipse frequently crashes in gtk_wiget_realize. Unclear what causes it, can happen while typing and using the mouse. Result is lost work and associated frustration.

Reproducible: Sometimes

Steps to Reproduce:
1. Start eclipse on Ubuntu 11.10
2. Do editing, compiling, debugging work (CDT, Android and regular Java)
3. Use some other programs for a while
4. Return to eclipse using keyboard and mouse
5. Crash and loose your work
Comment 1 Dennis Bijwaard CLA 2012-04-27 03:40:59 EDT
Created attachment 214668 [details]
A number of gtk widgets related crashdumps
Comment 2 Dennis Bijwaard CLA 2012-04-27 03:48:27 EDT
I attached a number of crash reports, crashes appear in:
- org.eclipse.swt.internal.gtk.OS._gdk_window_set_cursor(JJ)V+0
- org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(JZ)Z
- org.eclipse.swt.internal.gtk.OS._gtk_widget_realize(J)V
- org.eclipse.swt.internal.gtk.OS._gtk_widget_map(J)V+0
- org.eclipse.swt.internal.gtk.OS._gtk_widget_destroy(J)V+0
- org.eclipse.swt.internal.gtk.OS._gdk_window_set_cursor(JJ)V+0
Comment 3 Arun Thondapu CLA 2012-07-25 05:24:58 EDT
The stack traces in the crash logs are all unique and there doesn't seem to be any common pattern, this is a bit strange.
Can you please try using the latest 4.2 build (I20120608-1400) and see if the crashes continue to occur? I have been using this build on Ubuntu 11.04 without any random crashes.

Are you using Unity or Gnome? Can you try with different workspaces and check if the crash happens with any particular workspace or with all of them?
Comment 4 Dennis Bijwaard CLA 2012-07-25 18:01:08 EDT
I've had these crashes under Unity, gnome shell and cinnamon in Ubuntu 11.10. I've now upgraded to Ubuntu 12.04 (includes eclipse 3.7.2-1 and cdt 8.0.2-1) and haven't seen as much crashes (I'll attach a new one). Note that I frequently have eclipse running for days.

I start eclipse from a shell script as follows (to have working scrollbars):
UBUNTU_MENUPROXY=0 LIBOVERLAY_SCROLLBAR=0 eclipse -Djava.library.path=/usr/lib/x86_64-linux-gnu/jni/ $@
Comment 5 Dennis Bijwaard CLA 2012-07-25 18:24:32 EDT
Created attachment 219190 [details]
Ubuntu 12.04 x86_64 eclipse crashdump in gtk/swt
Comment 6 Arun Thondapu CLA 2013-08-01 08:12:53 EDT
Hi Dennis,

Are you still seeing these Eclipse crashes? Since the earlier crash logs are from older versions of Eclipse, can you please use the latest Eclipse release (4.3) and report whether these crashes are continuing to occur? I have been using 4.3 myself on Ubuntu 12.04 x86_64 without any major issues. Please provide the crash logs again in case you are able to reproduce the problem. Thanks!
Comment 7 Arun Thondapu CLA 2013-09-17 11:25:46 EDT
Closing the bug for now as there has been no response. Please re-open with new error logs in case these crashes occur again. Thanks!