Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT on RedHat
SWT on RedHat [message #432846] Mon, 29 March 2004 13:13 Go to next message
Eclipse User
Originally posted by: andy.hamberg.fmr.com

I'm having trouble getting SWT applications to run on Linux. I have GTK+
2.4 & all it's dependencies. I compiled and successfully ran a GTK+
application. When I try to run a simple SWT app I get the following error:
------------------------------------------------------------ ----------------
-----------------
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0xFB1F577C
Function=[Unknown.]
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.


Current Java thread:
at org.eclipse.swt.internal.gtk.OS.gtk_widget_size_request(Nati ve Method)
- locked <0x488b3a68> (a java.lang.Class)
at org.eclipse.swt.widgets.Control.resizeHandle(Control.java:46 4)
at org.eclipse.swt.widgets.Control.setInitialSize(Control.java: 2481)
at org.eclipse.swt.widgets.Control.createWidget(Control.java:28 3)
at org.eclipse.swt.widgets.Button.createWidget(Button.java:236)
at org.eclipse.swt.widgets.Control.<init>(Control.java:86)
at org.eclipse.swt.widgets.Button.<init>(Button.java:86)
at HelloWorld.main(HelloWorld.java:12)

Dynamic libraries:
08048000-0804e000 r-xp 00000000 68:03 278006
/opt/applocal/hi/vendor/j2sdk1.4.2_04/bin/java
0804e000-0804f000 rw-p 00005000 68:03 278006
/opt/applocal/hi/vendor/j2sdk1.4.2_04/bin/java
40000000-40016000 r-xp 00000000 68:06 83099 /lib/ld-2.2.4.so
40016000-40017000 rw-p 00015000 68:06 83099 /lib/ld-2.2.4.so
40018000-40020000 r-xp 00000000 68:03 539632
/opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/i386/native_th reads/libhpi.so
40020000-40021000 rw-p 00007000 68:03 539632
/opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/i386/native_th reads/libhpi.so
40021000-4002e000 r-xp 00000000 68:06 37151 /lib/i686/libpthread-0.9.so
4002e000-40032000 rw-p 0000c000 68:06 37151 /lib/i686/libpthread-0.9.so
40052000-40055000 r-xp 00000000 68:06 83144 /lib/libdl-2.2.4.so
40055000-40056000 rw-p 00002000 68:06 83144 /lib/libdl-2.2.4.so
40056000-40189000 r-xp 00000000 68:06 33005 /lib/i686/libc-2.2.4.so
40189000-4018e000 rw-p 00132000 68:06 33005 /lib/i686/libc-2.2.4.so
40192000-4058d000 r-xp 00000000 68:03 899372
/opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/i386/client/li bjvm.so
4058d000-405a8000 rw-p 003fa000 68:03 899372
/opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/i386/client/li bjvm.so
405bb000-405ce000 r-xp 00000000 68:06 82153 /lib/libnsl-2.2.4.so
405ce000-405cf000 rw-p 00012000 68:06 82153 /lib/libnsl-2.2.4.so
405d1000-405f3000 r-xp 00000000 68:06 37149 /lib/i686/libm-2.2.4.so
405f3000-405f4000 rw-p 00021000 68:06 37149 /lib/i686/libm-2.2.4.so
405f4000-405f8000 rw-s 00000000 68:05 196611
/tmp/hsperfdata_a263552/9958
405f8000-405fb000 r--s 00000000 68:03 523279
/opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/ext/dnsns.jar
405fb000-405fc000 r--p 00000000 68:06 49183
/usr/lib/locale/en_US/LC_IDENTIFICATION
405fc000-405fd000 r--p 00000000 68:06 183890
/usr/lib/locale/en_US/LC_MEASUREMENT
405fd000-40607000 r-xp 00000000 68:06 82169 /lib/libnss_files-2.2.4.so
40607000-40608000 rw-p 00009000 68:06 82169 /lib/libnss_files-2.2.4.so
40608000-40612000 r-xp 00000000 68:06 82174 /lib/libnss_nis-2.2.4.so
40612000-40613000 rw-p 00009000 68:06 82174 /lib/libnss_nis-2.2.4.so
40613000-40623000 r-xp 00000000 68:03 539635
/opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/i386/libverify .so
40623000-40625000 rw-p 0000f000 68:03 539635
/opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/i386/libverify .so
40625000-40645000 r-xp 00000000 68:03 539636
/opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/i386/libjava.s o
40645000-40647000 rw-p 0001f000 68:03 539636
/opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/i386/libjava.s o
40647000-4065b000 r-xp 00000000 68:03 539638
/opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/i386/libzip.so
4065b000-4065e000 rw-p 00013000 68:03 539638
/opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/i386/libzip.so
4065e000-41ffe000 r--s 00000000 68:03 539709
/opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/rt.jar
42048000-4205e000 r--s 00000000 68:03 539660
/opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/sunrsasign.jar
4205e000-42139000 r--s 00000000 68:03 539693
/opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/jsse.jar
42139000-4214a000 r--s 00000000 68:03 539661
/opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/jce.jar
4214a000-426a3000 r--s 00000000 68:03 539694
/opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/charsets.jar
4474b000-4474f000 r-xp 00000000 68:03 670585
/opt/applocal/hi/vendor/gtk2.2/lib/libpangoxft-1.0.so.0.399. 1
4474f000-44750000 rw-p 00003000 68:03 670585
/opt/applocal/hi/vendor/gtk2.2/lib/libpangoxft-1.0.so.0.399. 1
4c953000-4c97e000 r--p 00000000 68:06 246015
/usr/lib/locale/en_US/LC_CTYPE
4cb82000-4cb9e000 r--s 00000000 68:03 523278
/opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/ext/sunjce_pro vider.jar
4cb9e000-4cbab000 r--s 00000000 68:03 523281
/opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/ext/ldapsec.ja r
4cbab000-4cc82000 r--s 00000000 00:0f 15830817 /home/a263552/swt/swt.jar
4cc82000-4cc8d000 r--s 00000000 00:0f 15830818
/home/a263552/swt/swt-pi.jar
4cc8d000-4ccbe000 r-xp 00000000 00:0f 15830828
/home/a263552/swt/libswt-pi-gtk-3044.so
4ccbe000-4ccbf000 rw-p 00031000 00:0f 15830828
/home/a263552/swt/libswt-pi-gtk-3044.so
4ccc0000-4cf2b000 r-xp 00000000 68:03 670600
/opt/applocal/hi/vendor/gtk2.2/lib/libgtk-x11-2.0.so.0.400.0
4cf2b000-4cf36000 rw-p 0026a000 68:03 670600
/opt/applocal/hi/vendor/gtk2.2/lib/libgtk-x11-2.0.so.0.400.0
4cf39000-4cf98000 r-xp 00000000 68:03 670596
/opt/applocal/hi/vendor/gtk2.2/lib/libgdk-x11-2.0.so.0.400.0
4cf98000-4cf9e000 rw-p 0005e000 68:03 670596
/opt/applocal/hi/vendor/gtk2.2/lib/libgdk-x11-2.0.so.0.400.0
4cf9e000-4cfb4000 r-xp 00000000 68:03 670563
/opt/applocal/hi/vendor/gtk2.2/lib/libatk-1.0.so.0.600.0
4cfb4000-4cfb6000 rw-p 00015000 68:03 670563
/opt/applocal/hi/vendor/gtk2.2/lib/libatk-1.0.so.0.600.0
4cfb6000-4cfca000 r-xp 00000000 68:03 670591
/opt/applocal/hi/vendor/gtk2.2/lib/libgdk_pixbuf-2.0.so.0.40 0.0
4cfca000-4cfcb000 rw-p 00013000 68:03 670591
/opt/applocal/hi/vendor/gtk2.2/lib/libgdk_pixbuf-2.0.so.0.40 0.0
4cfcb000-4cfd5000 r-xp 00000000 68:03 670567
/opt/applocal/hi/vendor/gtk2.2/lib/libpangox-1.0.so.0.399.1
4cfd5000-4cfd6000 rw-p 00009000 68:03 670567
/opt/applocal/hi/vendor/gtk2.2/lib/libpangox-1.0.so.0.399.1
4cfd6000-4d003000 r-xp 00000000 68:03 670498
/opt/applocal/hi/vendor/gtk2.2/lib/libpango-1.0.so.0.399.1
4d003000-4d008000 rw-p 0002c000 68:03 670498
/opt/applocal/hi/vendor/gtk2.2/lib/libpango-1.0.so.0.399.1
4d008000-4d040000 r-xp 00000000 68:03 670559
/opt/applocal/hi/vendor/gtk2.2/lib/libgobject-2.0.so.0.400.0
4d040000-4d043000 rw-p 00037000 68:03 670559
/opt/applocal/hi/vendor/gtk2.2/lib/libgobject-2.0.so.0.400.0
4d043000-4d046000 r-xp 00000000 68:03 670560
/opt/applocal/hi/vendor/gtk2.2/lib/libgmodule-2.0.so.0.400.0
4d046000-4d047000 rw-p 00002000 68:03 670560
/opt/applocal/hi/vendor/gtk2.2/lib/libgmodule-2.0.so.0.400.0
4d047000-4d04a000 r-xp 00000000 68:03 670561
/opt/applocal/hi/vendor/gtk2.2/lib/libgthread-2.0.so.0.400.0
4d04a000-4d04c000 rw-p 00002000 68:03 670561
/opt/applocal/hi/vendor/gtk2.2/lib/libgthread-2.0.so.0.400.0
4d04c000-4d0c1000 r-xp 00000000 68:03 670558
/opt/applocal/hi/vendor/gtk2.2/lib/libglib-2.0.so.0.400.0
4d0c1000-4d0c3000 rw-p 00074000 68:03 670558
/opt/applocal/hi/vendor/gtk2.2/lib/libglib-2.0.so.0.400.0
4d0c3000-4d0c7000 r-xp 00000000 68:06 83869
/usr/X11R6/lib/libXtst.so.6.1
4d0c7000-4d0c9000 rw-p 00003000 68:06 83869
/usr/X11R6/lib/libXtst.so.6.1
4d0c9000-4d1ba000 r-xp 00000000 68:06 83841
/usr/X11R6/lib/libX11.so.6.2
4d1ba000-4d1bf000 rw-p 000f0000 68:06 83841
/usr/X11R6/lib/libX11.so.6.2
4d1bf000-4d1cb000 r-xp 00000000 68:03 850514
/opt/applocal/hi/vendor/gtk2.2/usr/X11R6/lib/libXft.so.1.2
4d1cb000-4d1cc000 rw-p 0000b000 68:03 850514
/opt/applocal/hi/vendor/gtk2.2/usr/X11R6/lib/libXft.so.1.2
4d1cc000-4d223000 r-xp 00000000 68:03 670495
/opt/applocal/hi/vendor/gtk2.2/lib/libfreetype.so.6.3.5
4d223000-4d22b000 rw-p 00056000 68:03 670495
/opt/applocal/hi/vendor/gtk2.2/lib/libfreetype.so.6.3.5
4d22b000-4d231000 r-xp 00000000 68:03 850381
/opt/applocal/hi/vendor/gtk2.2/usr/X11R6/lib/libXrender.so.1 .1
4d231000-4d233000 rw-p 00005000 68:03 850381
/opt/applocal/hi/vendor/gtk2.2/usr/X11R6/lib/libXrender.so.1 .1
4d233000-4d252000 r-xp 00000000 68:03 670569
/opt/applocal/hi/vendor/gtk2.2/lib/libfontconfig.so.1.0
4d252000-4d256000 rw-p 0001e000 68:03 670569
/opt/applocal/hi/vendor/gtk2.2/lib/libfontconfig.so.1.0
4d257000-4d263000 r-xp 00000000 68:06 83849
/usr/X11R6/lib/libXext.so.6.4
4d263000-4d265000 rw-p 0000b000 68:06 83849
/usr/X11R6/lib/libXext.so.6.4
4d265000-4d274000 r-xp 00000000 68:03 670577
/opt/applocal/hi/vendor/gtk2.2/lib/libXft.so.2.0
4d274000-4d275000 rw-p 0000e000 68:03 670577
/opt/applocal/hi/vendor/gtk2.2/lib/libXft.so.2.0
4d275000-4d295000 r-xp 00000000 68:03 670582
/opt/applocal/hi/vendor/gtk2.2/lib/libpangoft2-1.0.so.0.399. 1
4d295000-4d297000 rw-p 0001f000 68:03 670582
/opt/applocal/hi/vendor/gtk2.2/lib/libpangoft2-1.0.so.0.399. 1
4d297000-4d298000 r--p 00000000 68:06 82070
/usr/lib/locale/en_US/LC_TELEPHONE
4d298000-4d299000 r--p 00000000 68:06 82168
/usr/lib/locale/en_US/LC_ADDRESS
4d299000-4d29a000 r--p 00000000 68:06 82155
/usr/lib/locale/en_US/LC_NAME
4d29a000-4d29b000 r--p 00000000 68:06 49394
/usr/lib/locale/en_US/LC_PAPER
4d29b000-4d29c000 r--p 00000000 68:06 131326
/usr/lib/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES
4d29c000-4d29d000 r--p 00000000 68:06 180486
/usr/lib/locale/en_US/LC_MONETARY
4d29d000-4d29e000 r--p 00000000 68:06 49397
/usr/lib/locale/en_US/LC_TIME
4d29e000-4d29f000 r--p 00000000 68:06 246001
/usr/lib/locale/en_US/LC_NUMERIC
4d2a0000-4d2ac000 r-xp 00000000 68:06 164254 /usr/lib/libz.so.1.1.4
4d2ac000-4d2ae000 rw-p 0000b000 68:06 164254 /usr/lib/libz.so.1.1.4
4d2ae000-4d2c9000 r-xp 00000000 68:06 164420 /usr/lib/libexpat.so.0.0.1
4d2c9000-4d2cb000 rw-p 0001a000 68:06 164420 /usr/lib/libexpat.so.0.0.1
4d2cb000-4d2d1000 r--p 00000000 68:06 65749
/usr/lib/locale/en_US/LC_COLLATE
4d2d1000-4d2d6000 r--s 00000000 68:06 229791
/usr/lib/gconv/gconv-modules.cache
4d2d6000-4d2d8000 r-xp 00000000 68:06 229739 /usr/lib/gconv/ISO8859-1.so
4d2d8000-4d2d9000 rw-p 00001000 68:06 229739 /usr/lib/gconv/ISO8859-1.so
4d2da000-4d2dd000 r-xp 00000000 68:06 82166 /lib/libnss_dns-2.2.4.so
4d2dd000-4d2df000 rw-p 00002000 68:06 82166 /lib/libnss_dns-2.2.4.so
4d2df000-4d2ed000 r-xp 00000000 68:06 82182 /lib/libresolv-2.2.4.so
4d2ed000-4d2ef000 rw-p 0000d000 68:06 82182 /lib/libresolv-2.2.4.so
4d2f1000-4d317000 r-xp 00000000 00:0f 15830829
/home/a263552/swt/libswt-gtk-3044.so
4d317000-4d319000 rw-p 00026000 00:0f 15830829
/home/a263552/swt/libswt-gtk-3044.so
4d319000-4d322000 r--p 00000000 68:06 50998
/usr/share/fonts/default/Type1/n019003l.pfb

Heap at VM Abort:
Heap
def new generation total 576K, used 215K [0x44750000, 0x447f0000,
0x44c30000)
eden space 512K, 29% used [0x44750000, 0x44775c78, 0x447d0000)
from space 64K, 99% used [0x447e0000, 0x447efff8, 0x447f0000)
to space 64K, 0% used [0x447d0000, 0x447d0000, 0x447e0000)
tenured generation total 1408K, used 33K [0x44c30000, 0x44d90000,
0x48750000)
the space 1408K, 2% used [0x44c30000, 0x44c386b8, 0x44c38800,
0x44d90000)
compacting perm gen total 4096K, used 1504K [0x48750000, 0x48b50000,
0x4c750000)
the space 4096K, 36% used [0x48750000, 0x488c8088, 0x488c8200,
0x48b50000)

Local Time = Mon Mar 29 13:01:25 2004
Elapsed Time = 0
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_04-b05 mixed mode)
#
------------------------------------------------------------ ----------------
-------

Here is the code I'm trying to run:
------------------------------------------------------------ ----------------
-------
import org.eclipse.swt.widgets.*;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.*;

public class HelloWorld{
public static void main (String [] args) {
Display display = new Display();
Shell shell = new Shell(display);
shell.setLayout(new GridLayout(2, false));
//Text text1 = new Text(shell, SWT.SINGLE | SWT.BORDER);
//text1.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
Button btn = new Button(shell, SWT.PUSH);
shell.open();
while(!shell.isDisposed())
{
if(!display.readAndDispatch())
display.sleep();
}
display.dispose();
}
}

------------------------------------------------------------ ----------------
-------

Any help is appreciated. Thanks.
Re: SWT on RedHat [message #433096 is a reply to message #432846] Thu, 01 April 2004 09:17 Go to previous message
Grant Gayed is currently offline Grant Gayed
Messages: 2148
Registered: July 2009
Senior Member
This has not been reported before. If it's still not working for you then
please log a bug report with Platform - SWT, and be sure to mention that
you're using gtk 2.4.0 and include a small stand-alone snippet that shows
the problem happening.

Thanks,
Grant

"Andrew Hamberg" <andy.hamberg@fmr.com> wrote in message
news:c49okp$1p8$1@eclipse.org...
> I'm having trouble getting SWT applications to run on Linux. I have GTK+
> 2.4 & all it's dependencies. I compiled and successfully ran a GTK+
> application. When I try to run a simple SWT app I get the following
error:
> ------------------------------------------------------------ --------------
--
> -----------------
> An unexpected exception has been detected in native code outside the VM.
> Unexpected Signal : 11 occurred at PC=0xFB1F577C
> Function=[Unknown.]
> Library=(N/A)
>
> NOTE: We are unable to locate the function name symbol for the error
> just occurred. Please refer to release documentation for possible
> reason and solutions.
>
>
> Current Java thread:
> at org.eclipse.swt.internal.gtk.OS.gtk_widget_size_request(Nati ve Method)
> - locked <0x488b3a68> (a java.lang.Class)
> at org.eclipse.swt.widgets.Control.resizeHandle(Control.java:46 4)
> at org.eclipse.swt.widgets.Control.setInitialSize(Control.java: 2481)
> at org.eclipse.swt.widgets.Control.createWidget(Control.java:28 3)
> at org.eclipse.swt.widgets.Button.createWidget(Button.java:236)
> at org.eclipse.swt.widgets.Control.<init>(Control.java:86)
> at org.eclipse.swt.widgets.Button.<init>(Button.java:86)
> at HelloWorld.main(HelloWorld.java:12)
>
> Dynamic libraries:
> 08048000-0804e000 r-xp 00000000 68:03 278006
> /opt/applocal/hi/vendor/j2sdk1.4.2_04/bin/java
> 0804e000-0804f000 rw-p 00005000 68:03 278006
> /opt/applocal/hi/vendor/j2sdk1.4.2_04/bin/java
> 40000000-40016000 r-xp 00000000 68:06 83099 /lib/ld-2.2.4.so
> 40016000-40017000 rw-p 00015000 68:06 83099 /lib/ld-2.2.4.so
> 40018000-40020000 r-xp 00000000 68:03 539632
>
/opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/i386/native_th reads/libhpi.so
> 40020000-40021000 rw-p 00007000 68:03 539632
>
/opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/i386/native_th reads/libhpi.so
> 40021000-4002e000 r-xp 00000000 68:06 37151
/lib/i686/libpthread-0.9.so
> 4002e000-40032000 rw-p 0000c000 68:06 37151
/lib/i686/libpthread-0.9.so
> 40052000-40055000 r-xp 00000000 68:06 83144 /lib/libdl-2.2.4.so
> 40055000-40056000 rw-p 00002000 68:06 83144 /lib/libdl-2.2.4.so
> 40056000-40189000 r-xp 00000000 68:06 33005 /lib/i686/libc-2.2.4.so
> 40189000-4018e000 rw-p 00132000 68:06 33005 /lib/i686/libc-2.2.4.so
> 40192000-4058d000 r-xp 00000000 68:03 899372
> /opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/i386/client/li bjvm.so
> 4058d000-405a8000 rw-p 003fa000 68:03 899372
> /opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/i386/client/li bjvm.so
> 405bb000-405ce000 r-xp 00000000 68:06 82153 /lib/libnsl-2.2.4.so
> 405ce000-405cf000 rw-p 00012000 68:06 82153 /lib/libnsl-2.2.4.so
> 405d1000-405f3000 r-xp 00000000 68:06 37149 /lib/i686/libm-2.2.4.so
> 405f3000-405f4000 rw-p 00021000 68:06 37149 /lib/i686/libm-2.2.4.so
> 405f4000-405f8000 rw-s 00000000 68:05 196611
> /tmp/hsperfdata_a263552/9958
> 405f8000-405fb000 r--s 00000000 68:03 523279
> /opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/ext/dnsns.jar
> 405fb000-405fc000 r--p 00000000 68:06 49183
> /usr/lib/locale/en_US/LC_IDENTIFICATION
> 405fc000-405fd000 r--p 00000000 68:06 183890
> /usr/lib/locale/en_US/LC_MEASUREMENT
> 405fd000-40607000 r-xp 00000000 68:06 82169
/lib/libnss_files-2.2.4.so
> 40607000-40608000 rw-p 00009000 68:06 82169
/lib/libnss_files-2.2.4.so
> 40608000-40612000 r-xp 00000000 68:06 82174 /lib/libnss_nis-2.2.4.so
> 40612000-40613000 rw-p 00009000 68:06 82174 /lib/libnss_nis-2.2.4.so
> 40613000-40623000 r-xp 00000000 68:03 539635
> /opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/i386/libverify .so
> 40623000-40625000 rw-p 0000f000 68:03 539635
> /opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/i386/libverify .so
> 40625000-40645000 r-xp 00000000 68:03 539636
> /opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/i386/libjava.s o
> 40645000-40647000 rw-p 0001f000 68:03 539636
> /opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/i386/libjava.s o
> 40647000-4065b000 r-xp 00000000 68:03 539638
> /opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/i386/libzip.so
> 4065b000-4065e000 rw-p 00013000 68:03 539638
> /opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/i386/libzip.so
> 4065e000-41ffe000 r--s 00000000 68:03 539709
> /opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/rt.jar
> 42048000-4205e000 r--s 00000000 68:03 539660
> /opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/sunrsasign.jar
> 4205e000-42139000 r--s 00000000 68:03 539693
> /opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/jsse.jar
> 42139000-4214a000 r--s 00000000 68:03 539661
> /opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/jce.jar
> 4214a000-426a3000 r--s 00000000 68:03 539694
> /opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/charsets.jar
> 4474b000-4474f000 r-xp 00000000 68:03 670585
> /opt/applocal/hi/vendor/gtk2.2/lib/libpangoxft-1.0.so.0.399. 1
> 4474f000-44750000 rw-p 00003000 68:03 670585
> /opt/applocal/hi/vendor/gtk2.2/lib/libpangoxft-1.0.so.0.399. 1
> 4c953000-4c97e000 r--p 00000000 68:06 246015
> /usr/lib/locale/en_US/LC_CTYPE
> 4cb82000-4cb9e000 r--s 00000000 68:03 523278
> /opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/ext/sunjce_pro vider.jar
> 4cb9e000-4cbab000 r--s 00000000 68:03 523281
> /opt/applocal/hi/vendor/j2sdk1.4.2_04/jre/lib/ext/ldapsec.ja r
> 4cbab000-4cc82000 r--s 00000000 00:0f 15830817 /home/a263552/swt/swt.jar
> 4cc82000-4cc8d000 r--s 00000000 00:0f 15830818
> /home/a263552/swt/swt-pi.jar
> 4cc8d000-4ccbe000 r-xp 00000000 00:0f 15830828
> /home/a263552/swt/libswt-pi-gtk-3044.so
> 4ccbe000-4ccbf000 rw-p 00031000 00:0f 15830828
> /home/a263552/swt/libswt-pi-gtk-3044.so
> 4ccc0000-4cf2b000 r-xp 00000000 68:03 670600
> /opt/applocal/hi/vendor/gtk2.2/lib/libgtk-x11-2.0.so.0.400.0
> 4cf2b000-4cf36000 rw-p 0026a000 68:03 670600
> /opt/applocal/hi/vendor/gtk2.2/lib/libgtk-x11-2.0.so.0.400.0
> 4cf39000-4cf98000 r-xp 00000000 68:03 670596
> /opt/applocal/hi/vendor/gtk2.2/lib/libgdk-x11-2.0.so.0.400.0
> 4cf98000-4cf9e000 rw-p 0005e000 68:03 670596
> /opt/applocal/hi/vendor/gtk2.2/lib/libgdk-x11-2.0.so.0.400.0
> 4cf9e000-4cfb4000 r-xp 00000000 68:03 670563
> /opt/applocal/hi/vendor/gtk2.2/lib/libatk-1.0.so.0.600.0
> 4cfb4000-4cfb6000 rw-p 00015000 68:03 670563
> /opt/applocal/hi/vendor/gtk2.2/lib/libatk-1.0.so.0.600.0
> 4cfb6000-4cfca000 r-xp 00000000 68:03 670591
> /opt/applocal/hi/vendor/gtk2.2/lib/libgdk_pixbuf-2.0.so.0.40 0.0
> 4cfca000-4cfcb000 rw-p 00013000 68:03 670591
> /opt/applocal/hi/vendor/gtk2.2/lib/libgdk_pixbuf-2.0.so.0.40 0.0
> 4cfcb000-4cfd5000 r-xp 00000000 68:03 670567
> /opt/applocal/hi/vendor/gtk2.2/lib/libpangox-1.0.so.0.399.1
> 4cfd5000-4cfd6000 rw-p 00009000 68:03 670567
> /opt/applocal/hi/vendor/gtk2.2/lib/libpangox-1.0.so.0.399.1
> 4cfd6000-4d003000 r-xp 00000000 68:03 670498
> /opt/applocal/hi/vendor/gtk2.2/lib/libpango-1.0.so.0.399.1
> 4d003000-4d008000 rw-p 0002c000 68:03 670498
> /opt/applocal/hi/vendor/gtk2.2/lib/libpango-1.0.so.0.399.1
> 4d008000-4d040000 r-xp 00000000 68:03 670559
> /opt/applocal/hi/vendor/gtk2.2/lib/libgobject-2.0.so.0.400.0
> 4d040000-4d043000 rw-p 00037000 68:03 670559
> /opt/applocal/hi/vendor/gtk2.2/lib/libgobject-2.0.so.0.400.0
> 4d043000-4d046000 r-xp 00000000 68:03 670560
> /opt/applocal/hi/vendor/gtk2.2/lib/libgmodule-2.0.so.0.400.0
> 4d046000-4d047000 rw-p 00002000 68:03 670560
> /opt/applocal/hi/vendor/gtk2.2/lib/libgmodule-2.0.so.0.400.0
> 4d047000-4d04a000 r-xp 00000000 68:03 670561
> /opt/applocal/hi/vendor/gtk2.2/lib/libgthread-2.0.so.0.400.0
> 4d04a000-4d04c000 rw-p 00002000 68:03 670561
> /opt/applocal/hi/vendor/gtk2.2/lib/libgthread-2.0.so.0.400.0
> 4d04c000-4d0c1000 r-xp 00000000 68:03 670558
> /opt/applocal/hi/vendor/gtk2.2/lib/libglib-2.0.so.0.400.0
> 4d0c1000-4d0c3000 rw-p 00074000 68:03 670558
> /opt/applocal/hi/vendor/gtk2.2/lib/libglib-2.0.so.0.400.0
> 4d0c3000-4d0c7000 r-xp 00000000 68:06 83869
> /usr/X11R6/lib/libXtst.so.6.1
> 4d0c7000-4d0c9000 rw-p 00003000 68:06 83869
> /usr/X11R6/lib/libXtst.so.6.1
> 4d0c9000-4d1ba000 r-xp 00000000 68:06 83841
> /usr/X11R6/lib/libX11.so.6.2
> 4d1ba000-4d1bf000 rw-p 000f0000 68:06 83841
> /usr/X11R6/lib/libX11.so.6.2
> 4d1bf000-4d1cb000 r-xp 00000000 68:03 850514
> /opt/applocal/hi/vendor/gtk2.2/usr/X11R6/lib/libXft.so.1.2
> 4d1cb000-4d1cc000 rw-p 0000b000 68:03 850514
> /opt/applocal/hi/vendor/gtk2.2/usr/X11R6/lib/libXft.so.1.2
> 4d1cc000-4d223000 r-xp 00000000 68:03 670495
> /opt/applocal/hi/vendor/gtk2.2/lib/libfreetype.so.6.3.5
> 4d223000-4d22b000 rw-p 00056000 68:03 670495
> /opt/applocal/hi/vendor/gtk2.2/lib/libfreetype.so.6.3.5
> 4d22b000-4d231000 r-xp 00000000 68:03 850381
> /opt/applocal/hi/vendor/gtk2.2/usr/X11R6/lib/libXrender.so.1 .1
> 4d231000-4d233000 rw-p 00005000 68:03 850381
> /opt/applocal/hi/vendor/gtk2.2/usr/X11R6/lib/libXrender.so.1 .1
> 4d233000-4d252000 r-xp 00000000 68:03 670569
> /opt/applocal/hi/vendor/gtk2.2/lib/libfontconfig.so.1.0
> 4d252000-4d256000 rw-p 0001e000 68:03 670569
> /opt/applocal/hi/vendor/gtk2.2/lib/libfontconfig.so.1.0
> 4d257000-4d263000 r-xp 00000000 68:06 83849
> /usr/X11R6/lib/libXext.so.6.4
> 4d263000-4d265000 rw-p 0000b000 68:06 83849
> /usr/X11R6/lib/libXext.so.6.4
> 4d265000-4d274000 r-xp 00000000 68:03 670577
> /opt/applocal/hi/vendor/gtk2.2/lib/libXft.so.2.0
> 4d274000-4d275000 rw-p 0000e000 68:03 670577
> /opt/applocal/hi/vendor/gtk2.2/lib/libXft.so.2.0
> 4d275000-4d295000 r-xp 00000000 68:03 670582
> /opt/applocal/hi/vendor/gtk2.2/lib/libpangoft2-1.0.so.0.399. 1
> 4d295000-4d297000 rw-p 0001f000 68:03 670582
> /opt/applocal/hi/vendor/gtk2.2/lib/libpangoft2-1.0.so.0.399. 1
> 4d297000-4d298000 r--p 00000000 68:06 82070
> /usr/lib/locale/en_US/LC_TELEPHONE
> 4d298000-4d299000 r--p 00000000 68:06 82168
> /usr/lib/locale/en_US/LC_ADDRESS
> 4d299000-4d29a000 r--p 00000000 68:06 82155
> /usr/lib/locale/en_US/LC_NAME
> 4d29a000-4d29b000 r--p 00000000 68:06 49394
> /usr/lib/locale/en_US/LC_PAPER
> 4d29b000-4d29c000 r--p 00000000 68:06 131326
> /usr/lib/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES
> 4d29c000-4d29d000 r--p 00000000 68:06 180486
> /usr/lib/locale/en_US/LC_MONETARY
> 4d29d000-4d29e000 r--p 00000000 68:06 49397
> /usr/lib/locale/en_US/LC_TIME
> 4d29e000-4d29f000 r--p 00000000 68:06 246001
> /usr/lib/locale/en_US/LC_NUMERIC
> 4d2a0000-4d2ac000 r-xp 00000000 68:06 164254 /usr/lib/libz.so.1.1.4
> 4d2ac000-4d2ae000 rw-p 0000b000 68:06 164254 /usr/lib/libz.so.1.1.4
> 4d2ae000-4d2c9000 r-xp 00000000 68:06 164420
/usr/lib/libexpat.so.0.0.1
> 4d2c9000-4d2cb000 rw-p 0001a000 68:06 164420
/usr/lib/libexpat.so.0.0.1
> 4d2cb000-4d2d1000 r--p 00000000 68:06 65749
> /usr/lib/locale/en_US/LC_COLLATE
> 4d2d1000-4d2d6000 r--s 00000000 68:06 229791
> /usr/lib/gconv/gconv-modules.cache
> 4d2d6000-4d2d8000 r-xp 00000000 68:06 229739
/usr/lib/gconv/ISO8859-1.so
> 4d2d8000-4d2d9000 rw-p 00001000 68:06 229739
/usr/lib/gconv/ISO8859-1.so
> 4d2da000-4d2dd000 r-xp 00000000 68:06 82166 /lib/libnss_dns-2.2.4.so
> 4d2dd000-4d2df000 rw-p 00002000 68:06 82166 /lib/libnss_dns-2.2.4.so
> 4d2df000-4d2ed000 r-xp 00000000 68:06 82182 /lib/libresolv-2.2.4.so
> 4d2ed000-4d2ef000 rw-p 0000d000 68:06 82182 /lib/libresolv-2.2.4.so
> 4d2f1000-4d317000 r-xp 00000000 00:0f 15830829
> /home/a263552/swt/libswt-gtk-3044.so
> 4d317000-4d319000 rw-p 00026000 00:0f 15830829
> /home/a263552/swt/libswt-gtk-3044.so
> 4d319000-4d322000 r--p 00000000 68:06 50998
> /usr/share/fonts/default/Type1/n019003l.pfb
>
> Heap at VM Abort:
> Heap
> def new generation total 576K, used 215K [0x44750000, 0x447f0000,
> 0x44c30000)
> eden space 512K, 29% used [0x44750000, 0x44775c78, 0x447d0000)
> from space 64K, 99% used [0x447e0000, 0x447efff8, 0x447f0000)
> to space 64K, 0% used [0x447d0000, 0x447d0000, 0x447e0000)
> tenured generation total 1408K, used 33K [0x44c30000, 0x44d90000,
> 0x48750000)
> the space 1408K, 2% used [0x44c30000, 0x44c386b8, 0x44c38800,
> 0x44d90000)
> compacting perm gen total 4096K, used 1504K [0x48750000, 0x48b50000,
> 0x4c750000)
> the space 4096K, 36% used [0x48750000, 0x488c8088, 0x488c8200,
> 0x48b50000)
>
> Local Time = Mon Mar 29 13:01:25 2004
> Elapsed Time = 0
> #
> # The exception above was detected in native code outside the VM
> #
> # Java VM: Java HotSpot(TM) Client VM (1.4.2_04-b05 mixed mode)
> #
> ------------------------------------------------------------ --------------
--
> -------
>
> Here is the code I'm trying to run:
> ------------------------------------------------------------ --------------
--
> -------
> import org.eclipse.swt.widgets.*;
> import org.eclipse.swt.SWT;
> import org.eclipse.swt.layout.*;
>
> public class HelloWorld{
> public static void main (String [] args) {
> Display display = new Display();
> Shell shell = new Shell(display);
> shell.setLayout(new GridLayout(2, false));
> //Text text1 = new Text(shell, SWT.SINGLE | SWT.BORDER);
> //text1.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
> Button btn = new Button(shell, SWT.PUSH);
> shell.open();
> while(!shell.isDisposed())
> {
> if(!display.readAndDispatch())
> display.sleep();
> }
> display.dispose();
> }
> }
>
> ------------------------------------------------------------ --------------
--
> -------
>
> Any help is appreciated. Thanks.
>
>
Previous Topic:Text Orientation for TableViewers
Next Topic:[Text] Edit text using an edit mask
Goto Forum:
  


Current Time: Mon Jul 28 20:51:11 EDT 2014

Powered by FUDForum. Page generated in 0.04636 seconds