Bug 465485 - CRASH: Failed to write core dump. Core dumps have been disabled.
Summary: CRASH: Failed to write core dump. Core dumps have been disabled.
Status: CLOSED DUPLICATE of bug 419729
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.4.2   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: core
Depends on:
Blocks:
 
Reported: 2015-04-25 23:48 EDT by RPG Maker CLA
Modified: 2016-04-05 13:06 EDT (History)
3 users (show)

See Also:


Attachments
Error log (138.27 KB, text/x-log)
2015-04-25 23:48 EDT, RPG Maker CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description RPG Maker CLA 2015-04-25 23:48:08 EDT
Created attachment 252767 [details]
Error log

I can use eclipse just fine for a while, for hours sometimes, but after a while it freezes up and starts to use more and more memory and then it just crashes. I reviewed all other bugs suggested by the tracker but none of them seemed to be the same. This one produces a similar dump but it's for another component entirely, it seems: https://bugs.eclipse.org/bugs/show_bug.cgi?id=25386

I set the compiler to target java 6 instead of 7 and the crash hasn't happened again but I doubt that's really the fix for this. I will update this report if it happens again.
Comment 1 RPG Maker CLA 2015-04-25 23:50:52 EDT
I classified it as 'major' because in the report it says "A fatal error", I didn't see a 'fatal' classification. Feel free to re-classify it as you see fit.
Comment 2 Jay Arthanareeswaran CLA 2015-04-26 02:56:08 EDT
I see you are using the max heap of 512m. Have you tried a higher value and see if that has any effect?
Comment 3 Stephan Herrmann CLA 2015-04-26 10:22:56 EDT
There's a number of SWT bugs showing the same 

#  SIGSEGV [...]
# Problematic frame:
# C  [libglib-2.0.so.0+0x38fe0]  g_str_hash+0x0

I'm marking as duplicate of the one with most details.

If you are running Ubuntu, please search the other bug for remarks regarding UBUNTU_MENUPROXY

*** This bug has been marked as a duplicate of bug 461311 ***
Comment 4 Stephan Herrmann CLA 2015-04-26 10:23:37 EDT
moving to SWT
Comment 5 RPG Maker CLA 2015-04-26 11:07:53 EDT
I can reproduce bug 461311 but that is not how my crashes happened at all. I never use the 'new window' menu or two eclipse windows for that matter. They occurred randomly, the last time I was toggling a breakpoint and it crashed. Underneath, eclipse may be invoking the same behavior although it doesn't seem likely, you can make that call but if it's not then my crash seems to be triggered by something else and this shouldn't be marked a duplicate.
Comment 6 Stephan Herrmann CLA 2015-04-26 11:18:54 EDT
Marking as duplicate is just a way to group related issues for more efficient investigation.

If you can't provide steps for reproducing, it's quite impossible to investigate this issue on its own.

OTOH, I suggest you try the workaround mentioned in the other bug and observe if the crash still happens. If it is resolved by the same workaround/solution this should suffice as indication for a common cause indeed.
Comment 7 Markus Keller CLA 2016-04-05 13:06:02 EDT
Bug 419729 has fixed the general problem, no matter who created a radio menu item, i.e. all traces like this:

j  org.eclipse.swt.internal.gtk.OS._gtk_widget_show(J)V+0
j  org.eclipse.swt.internal.gtk.OS.gtk_widget_show(J)V+8
j  org.eclipse.swt.widgets.MenuItem.createHandle(I)V+248
j  org.eclipse.swt.widgets.Widget.createWidget(I)V+2
j  org.eclipse.swt.widgets.MenuItem.<init>(Lorg/eclipse/swt/widgets/Menu;II)V+38

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