← Back to team overview

openjdk team mailing list archive

[Bug 598371] Re: Java crashes during Eclipse Helios Start

 

I see here 2 places which can mess:
- g_object_set_qdata returns handle, which is then casted to int (in amd64 sizeof(int) is still 4!)
- if first arg (casted to GObect*) is greather than 2^63 we will have negative long value and it can cause segmentation fault (pointer to negative memory address) - shouldn't be unsigned long putted here?

-- 
Java crashes during Eclipse Helios Start
https://bugs.launchpad.net/bugs/598371
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “openjdk-6” package in Ubuntu: New

Bug description:
It happens when I press "OK" button on workspace-chose-window during Eclipse start (clean installation)

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fd843bb62b0, pid=2671, tid=140567681361680
#
# JRE version: 6.0_18-b18
# Java VM: OpenJDK 64-Bit Server VM (14.0-b16 mixed mode linux-amd64 )
# Derivative: IcedTea6 1.8
# Distribution: Ubuntu lucid (development branch), package 6b18-1.8-0ubuntu1
# Problematic frame:
# C  [libgobject-2.0.so.0+0xf2b0]  g_object_get_qdata+0x20
#
# An error report file with more information is saved as:
# /home/pawel/bin/hs_err_pid2671.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#





References