Home pageFind It!Contact PJAPJA documentation

PJA

 PJA Toolkit forum

This forum is dedicated to PJA Toolkit.
You may read freely the messages it contents. If you want to write a message or answer to a subject, subscribe to it first.

Subjects Recent messages Login Subscribe

Messages of subject SIGSEGV 11 segmentation violation

arabella

Location : Heidelberg
Member since : May 26, 2003
Messages : 1
 May 26, 2003 at 12:20 PM
Hi,
I am using jdk1.2 in Solaris 8 and I run this command with the following existing path and I get different errors:

command:
bash-2.03# /usr/java1.2/bin/java -Xbootclasspath/p:/pja_2.4/lib/pja.jar \
> -Dawt.toolkit=com.eteks.awt.PJAToolkit \
> -Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment \
> -Djava2d.font.usePlatformFont=false \
> -Djava.awt.fonts=/usr/java1.2/jre/lib/fonts \
> -Duser.home=/pja_2.4 -classpath /pja_2.4/lib/pjatools.jar ToolkitDemo

output:

Toolkit demo
© Copyright 2000-2001 eTeks <info@eteks.com>.
© Copyright 1996,1998 by Jef Poskanzer <jef@acme.com>.

SIGSEGV 11 segmentation violation
si_signo [11]: SEGV
si_errno [0]:
si_code [1]: SEGV_MAPERR [addr: 0x4d0]

stackpointer=FFBED360
"Finalizer" (TID:0x159680, sys_thread_t:0x1595b8, state:CW, thread_t: t@7, threadID:0xfeca1d70, stack_bottom:0xfeca1d70, stack_size:0x1fd70) prio=8

[1] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:145)
[2] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:167)
[3] java.lang.ref.Finalizer$FinalizerWorker$FinalizerThread.run(Finalizer.java:117)
-------------------
"Reference Handler" (TID:0x158e20, sys_thread_t:0x158d58, state:CW, thread_t: t@6, threadID:0xfece1d70, stack_bottom:0xfece1d70, stack_size:0x1fd70) prio=10

[1] java.lang.Object.wait(Object.java:417)
[2] java.lang.ref.Reference$ReferenceHandler.run(Reference.java:129)
-------------------
"Signal dispatcher" (TID:0x1429d0, sys_thread_t:0x142908, state:MW, thread_t: t@5, threadID:0xfed21d70, stack_bottom:0xfed21d70, stack_size:0x1fd70) prio=10

-------------------
"main" (TID:0x39380, sys_thread_t:0x392b8, state:R, thread_t: t@1, threadID:0x251d0, stack_bottom:0xffbf0000, stack_size:0x800000) prio=5 *current thread*

[1] sun.java2d.SunGraphicsEnvironment.validPropertiesFile(Native Method)
[2] sun.java2d.SunGraphicsEnvironment.initializeProps(SunGraphicsEnvironment.java:674)
[3] sun.java2d.SunGraphicsEnvironment.access$1(SunGraphicsEnvironment.java:571)
[4] sun.java2d.SunGraphicsEnvironment$1.run(SunGraphicsEnvironment.java:76)
[5] java.security.AccessController.doPrivileged(Native Method)
[6] sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:65)
[7] com.eteks.java2d.PJAGraphicsEnvironment.<init>(PJAGraphicsEnvironment.java:66)
[8] java.lang.Class.newInstance0(Native Method)
[9] java.lang.Class.newInstance(Class.java:234)
[10] java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:56)
[11] java.awt.Font.initializeFont(Font.java:255)
[12] java.awt.Font.<init>(Font.java:285)
[13] com.eteks.awt.PJAGraphicsManager.isFontInstantiableInternal(PJAGraphicsManager.java:308)
[14] com.eteks.awt.PJAGraphicsManager.useJava2D(PJAGraphicsManager.java:256)
[15] com.eteks.awt.PJAGraphicsManager.getDefaultGraphicsManager(PJAGraphicsManager.java:214)
[16] com.eteks.awt.PJAToolkit.<clinit>(PJAToolkit.java:256)
[17] java.lang.Class.forName0(Native Method)
[18] java.lang.Class.forName(Class.java:117)
[19] java.awt.Toolkit$2.run(Toolkit.java:492)
[20] java.security.AccessController.doPrivileged(Native Method)
[21] java.awt.Toolkit.getDefaultToolkit(Toolkit.java:485)
[22] ToolkitDemo.main(ToolkitDemo.java:106)
-------------------

Exiting Thread (sys_thread_t:0xff348380) : no stack
Abort (core dumped)


Th classes are found but it crash for other reasons
There is nothing in the FAQ about this error...
any help is really appreciated.
Thanks

A.
---
Arabella

Manu

Location : Paris / France
Member since : Apr 29, 2003
Messages : 394
 May 26, 2003 at 7:13 PM
> There is nothing in the FAQ about this error...

Please read the FAQ "Why the Java Virtual Machine crashes when I use fonts on UNIX platform ?" and try the proposed patch...
---
Manu (moderator/modérateur)


Home pageFind It!ContactTop

© Copyrights 1997-2023 eTeks - All rights reserved

PJAPJA documentation