Mustang (java 1.6) [message #118235] |
Fri, 17 February 2006 10:15 |
Eclipse User |
|
|
|
Originally posted by: pierre.couvy.free.fr
Hi all :)
Does anyone know if there is any trouble using mustang with VE ?
I'm running linux + mustang + eclipse (3.1.2 and VE 1.1.0.1 or 3.2M4 and
VE 1.2M1). And i get horrible crash when i try the basic "New>Visual
Class". The JVM, itself, crashes when VE is trying to draw the component
in the design tab.
All i've got is a dialog window saying :
JVM terminated. Exit code=1
/usr/bin/java
-Xms40m
-Xmx256m
-jar /opt/eclipse/startup.jar
-os linux
-ws gtk
-arch x86
-launcher /opt/eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata 62000a
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx256m
-jar /opt/eclipse/startup.jar
I also find a .log file (44ko) in my home directory :
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb4bf9458, pid=18484, tid=3084839856
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-rc-b71 mixed mode, sharing)
# Problematic frame:
# C [libcairo.so.2+0x16458]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x08057800): JavaThread "main" [_thread_in_native,
id=18485]
siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00d487fb
Registers:
EAX=0x00000000, EBX=0xb4c37470, ECX=0xb4c37470, EDX=0x00d487c7
ESP=0xb7dece5c, EBP=0x08ef0170, ESI=0x08ef01f4, EDI=0x08ef0274
EIP=0xb4bf9458, CR2=0x00d487fb, EFLAGS=0x00010246
Top of Stack: (sp=0xb7dece5c)
0xb7dece5c: b4bed234 b5d1c86b 00000000 b5d1c86b
0xb7dece6c: b4bf03da 08ef01f4 b5d1c86b 40240000
0xb7dece7c: 00000000 40240000 b7f41880 00000030
0xb7dece8c: b4c37470 08ef0138 b5d1c86b b7decec8
0xb7dece9c: b4be98e4 b5d1c86b 08057800 b5d14d0d
0xb7deceac: 08058044 b451cd7c 9274b850 08057800
0xb7decebc: b45196c6 b5d1c86b 9274b850 b7decf08
0xb7dececc: b5d1c96d 080578e4 b7decf10 00000000
Instructions: (pc=0xb4bf9458)
0xb4bf9448: 2c c3 8d b6 00 00 00 00 8b 44 24 04 8b 10 31 c0
0xb4bf9458: 8b 4a 34 85 c9 75 0d 8b 42 30 83 f8 01 19 c0 f7
Stack: [0xb7d9e000,0xb7def000), sp=0xb7dece5c, free space=315k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
C=native code)
C [libcairo.so.2+0x16458]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.eclipse.swt.internal.cairo.Cairo.cairo_create()I+0
j org.eclipse.swt.graphics.GC.initCairo()V+27
j org.eclipse.swt.graphics.GC.setAlpha(I)V+35
j org.eclipse.draw2d.SWTGraphics.setAlpha(I)V+39
j
org.eclipse.ve.internal.cde.core.OutlineBorder.paint(Lorg/ec lipse/draw2d/IFigure;Lorg/eclipse/draw2d/Graphics;Lorg/eclip se/draw2d/geometry/Insets;)V+35
j org.eclipse.draw2d.Figure.paintBorder(Lorg/eclipse/draw2d/Gr aphics;)V+16
[...]
and so on
Do i found a regression ? do i win a sparc :)) ?
|
|
|
|
Re: Mustang (java 1.6) [message #118267 is a reply to message #118257] |
Fri, 17 February 2006 12:58 |
Eclipse User |
|
|
|
Originally posted by: pierre.couvy.free.fr
Jeff Myers a écrit :
> Looks like it's an SWT crash when working with cairo. Can you run Java
> 1.4 or 1.5 on the same system to see if the same problem occurs? What
> version of the cairo libs do you have installed on your system?
>
> Thanks,
> - Jeff
thanks for the reply
it's the next step... just have to find time to do this ;)
i previously upgrade mustang since i used on older version of 1.6 (b70).
i'll post the results with tiger.
|
|
|
Re: Mustang (java 1.6) [message #118277 is a reply to message #118257] |
Fri, 17 February 2006 13:08 |
Eclipse User |
|
|
|
Originally posted by: pierre.couvy.free.fr
Jeff Myers a écrit :
> Looks like it's an SWT crash when working with cairo. Can you run Java
> 1.4 or 1.5 on the same system to see if the same problem occurs? What
> version of the cairo libs do you have installed on your system?
>
> Thanks,
> - Jeff
Just another comment : it's a JVM crash when it's running SWT classe
(cairo) which running native code. I mean, i haven't got a
NullPointerException or something like that. The JVM crashes without any
"java" explanation.
|
|
|
Re: Mustang (java 1.6) [message #118311 is a reply to message #118267] |
Fri, 17 February 2006 17:53 |
Eclipse User |
|
|
|
Originally posted by: pierre.couvy.free.fr
Pico a écrit :
> Jeff Myers a écrit :
>
>> Looks like it's an SWT crash when working with cairo. Can you run Java
>> 1.4 or 1.5 on the same system to see if the same problem occurs? What
>> version of the cairo libs do you have installed on your system?
>>
>> Thanks,
>> - Jeff
>
>
> thanks for the reply
>
> it's the next step... just have to find time to do this ;)
> i previously upgrade mustang since i used on older version of 1.6 (b70).
>
> i'll post the results with tiger.
in fact tiger do the same. The only diff is that i haven't the .log file
....
will try with 1.4 later
|
|
|
|
Re: Mustang (java 1.6) [message #118329 is a reply to message #118320] |
Sat, 18 February 2006 00:00 |
Eclipse User |
|
|
|
Originally posted by: pierre.couvy.free.fr
Jeff Myers a écrit :
> Pico wrote:
>
>> in fact tiger do the same. The only diff is that i haven't the .log file
>
>
> That most likely indicates that the version of cairo that you have
> installed is not compatible with SWT. SWT requires Cairo version 0.4.0
> or later: http://www.eclipse.org/swt/faq.php#nographicslibrary
>
> Depending upon your Linux distribution you should be able to find
> install packages for Cairo 1.0.2 (which I know works with SWT).
>
> Hope this helps,
> - Jeff
you get it chief ;)
i had cairo1-0.3.0 installed...
i found and installed a cairo2-1.0.0 package.
the crash stayed
i removed the 1-0.3.0 one and now it's running fine !
many thanks.
|
|
|
|
Re: Mustang (java 1.6) [message #612141 is a reply to message #118257] |
Fri, 17 February 2006 12:58 |
Eclipse User |
|
|
|
Originally posted by: pierre.couvy.free.fr
Jeff Myers a écrit :
> Looks like it's an SWT crash when working with cairo. Can you run Java
> 1.4 or 1.5 on the same system to see if the same problem occurs? What
> version of the cairo libs do you have installed on your system?
>
> Thanks,
> - Jeff
thanks for the reply
it's the next step... just have to find time to do this ;)
i previously upgrade mustang since i used on older version of 1.6 (b70).
i'll post the results with tiger.
|
|
|
Re: Mustang (java 1.6) [message #612142 is a reply to message #118257] |
Fri, 17 February 2006 13:08 |
Eclipse User |
|
|
|
Originally posted by: pierre.couvy.free.fr
Jeff Myers a écrit :
> Looks like it's an SWT crash when working with cairo. Can you run Java
> 1.4 or 1.5 on the same system to see if the same problem occurs? What
> version of the cairo libs do you have installed on your system?
>
> Thanks,
> - Jeff
Just another comment : it's a JVM crash when it's running SWT classe
(cairo) which running native code. I mean, i haven't got a
NullPointerException or something like that. The JVM crashes without any
"java" explanation.
|
|
|
Re: Mustang (java 1.6) [message #612146 is a reply to message #118267] |
Fri, 17 February 2006 17:53 |
Eclipse User |
|
|
|
Originally posted by: pierre.couvy.free.fr
Pico a écrit :
> Jeff Myers a écrit :
>
>> Looks like it's an SWT crash when working with cairo. Can you run Java
>> 1.4 or 1.5 on the same system to see if the same problem occurs? What
>> version of the cairo libs do you have installed on your system?
>>
>> Thanks,
>> - Jeff
>
>
> thanks for the reply
>
> it's the next step... just have to find time to do this ;)
> i previously upgrade mustang since i used on older version of 1.6 (b70).
>
> i'll post the results with tiger.
in fact tiger do the same. The only diff is that i haven't the .log file
....
will try with 1.4 later
|
|
|
|
Re: Mustang (java 1.6) [message #612148 is a reply to message #118320] |
Sat, 18 February 2006 00:00 |
Eclipse User |
|
|
|
Originally posted by: pierre.couvy.free.fr
Jeff Myers a écrit :
> Pico wrote:
>
>> in fact tiger do the same. The only diff is that i haven't the .log file
>
>
> That most likely indicates that the version of cairo that you have
> installed is not compatible with SWT. SWT requires Cairo version 0.4.0
> or later: http://www.eclipse.org/swt/faq.php#nographicslibrary
>
> Depending upon your Linux distribution you should be able to find
> install packages for Cairo 1.0.2 (which I know works with SWT).
>
> Hope this helps,
> - Jeff
you get it chief ;)
i had cairo1-0.3.0 installed...
i found and installed a cairo2-1.0.0 package.
the crash stayed
i removed the 1-0.3.0 one and now it's running fine !
many thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.05396 seconds