Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 2002 14:34:58 +0800
From:      JY <leafy@leafy.idv.tw>
To:        freebsd-java@freebsd.org
Subject:   4.7, JDK1.3.1p7 native thread problem
Message-ID:  <20021015063458.GA26213@leafy.idv.tw>

next in thread | raw e-mail | index | archive | help
I am running 4.7-stable and JDK1.3.1p7 compiled with native thread.
When trying to run the SwingSet2.jar, the following error ocurred:

Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':<Key>osfActivate:		ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfBeginLine
Warning: ... found while parsing ':<Key>osfBeginLine:		ManagerGadgetTraverseHome()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfHelp
Warning: ... found while parsing ':<Key>osfHelp:			ManagerGadgetHelp()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':<Key>osfActivate:	DrawingAreaInput() ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfUp
Warning: ... found while parsing ':<Key>osfUp:		DrawingAreaInput() ManagerGadgetTraverseUp()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':<Key>osfActivate:	PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfHelp
Warning: ... found while parsing ':<Key>osfHelp:		Help()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':<Key>osfActivate:	PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfCancel
Warning: ... found while parsing ':<Key>osfCancel:	MenuEscape()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfSelect
Warning: ... found while parsing ':<Key>osfSelect:	ArmAndActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':<Key>osfActivate:		PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfCancel
Warning: ... found while parsing '<Key>osfCancel:			MenuEscape()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfSelect
Warning: ... found while parsing ':<Key>osfSelect:	ManagerGadgetSelect()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfSelect
Warning: ... found while parsing ':<Key>osfSelect:	MenuBarGadgetSelect()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':<Key>osfActivate:	ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfHelp
Warning: ... found while parsing ':<Key>osfHelp:		MenuHelp()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfPrimaryPaste
Warning: ... found while parsing ':m <Key>osfPrimaryPaste:cut-primary()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':<Key>osfActivate:		PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
SIGSEGV   11*  segmentation violation

Full thread dump Classic VM (1.3.1-p7-leafy-021015-13:55, native threads):
    "Thread-1" (TID:0x28e15aa0, sys_thread_t:0x8072280, state:CW, native ID:0x804f000) prio=5
    "Thread-0" (TID:0x28e15bd8, sys_thread_t:0x88aeb80, state:MW, native ID:0x8990000) prio=5
	at java.io.BufferedReader.readLine(BufferedReader.java:347)
	at java.io.BufferedReader.readLine(BufferedReader.java:362)
	at DemoModule.loadSourceCode(DemoModule.java:177)
	at DemoModule.<init>(DemoModule.java:105)
	at ButtonDemo.<init>(ButtonDemo.java:98)
	at java.lang.reflect.Constructor.newInstance(Native Method)
	at SwingSet2.loadDemo(SwingSet2.java:526)
	at SwingSet2.loadDemos(SwingSet2.java:83)
	at SwingSet2$DemoLoadThread.run(SwingSet2.java:912)
    "TimerQueue" (TID:0x28e3e848, sys_thread_t:0x81d1980, state:CW, native ID:0x8865800) prio=5
	at java.lang.Object.wait(Native Method)
	at javax.swing.TimerQueue.run(TimerQueue.java:233)
	at java.lang.Thread.run(Thread.java:484)
    "Image Fetcher 0" (TID:0x28e7fb80, sys_thread_t:0x83d6880, state:CW, native ID:0x83d5c00) prio=8
	at java.lang.Object.wait(Native Method)
	at sun.awt.image.ImageFetcher.nextImage(ImageFetcher.java:163)
	at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:212)
	at sun.awt.image.ImageFetcher.run(ImageFetcher.java:185)
    "AWT-Motif" (TID:0x28e80978, sys_thread_t:0x83a8a80, state:R, native ID:0x83c6000) prio=6
	at sun.awt.motif.MToolkit.run(Native Method)
	at java.lang.Thread.run(Thread.java:484)
    "SunToolkit.PostEventQueue-0" (TID:0x28e80de8, sys_thread_t:0x8382780, state:R, native ID:0x8391000) prio=6
	at java.awt.EventQueue.postEventPrivate(EventQueue.java:123)
	at java.awt.EventQueue.postEvent(EventQueue.java:110)
	at sun.awt.PostEventQueue.run(SunToolkit.java:497)
    "AWT-EventQueue-0" (TID:0x28e80dc0, sys_thread_t:0x8382580, state:MW, native ID:0x8380c00) prio=6
	at SwingSet2$5.run(SwingSet2.java:637)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
    "Finalizer" (TID:0x28e4f528, sys_thread_t:0x80f0380, state:CW, native ID:0x80f1400) prio=8
	at java.lang.Object.wait(Native Method)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)
    "Reference Handler" (TID:0x28e4f300, sys_thread_t:0x80f0080, state:MW, native ID:0x80f1000) prio=10
	at java.lang.ref.ReferenceQueue.enqueue(ReferenceQueue.java:53)
	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:117)
    "Signal dispatcher" (TID:0x28e4f330, sys_thread_t:0x80cde80, state:CW, native ID:0x80ec400) prio=5
Monitor Cache Dump:
    javax.swing.TimerQueue@28E3E838/290BE5D0: <unowned>
	Waiting to be notified:
	    "TimerQueue" (0x81d1980)
    java.lang.ref.ReferenceQueue$Lock@28E4F540/28E85410: <unowned>
	Waiting to be notified:
	    "Finalizer" (0x80f0380)
    java.awt.EventQueue@28E80D18/28EF16F8: owner "SunToolkit.PostEventQueue-0" (0x8382780) 1 entry
    java.util.Vector@28E7FB58/28EF3A90: <unowned>
	Waiting to be notified:
	    "Image Fetcher 0" (0x83d6880)
Registered Monitor Dump:
    utf8 hash table: <unowned>
    JNI pinning lock: <unowned>
    JNI global reference lock: <unowned>
    BinClass lock: <unowned>
    Class linking lock: <unowned>
    System class loader lock: <unowned>
    Code rewrite lock: <unowned>
    Heap lock: <unowned>
    Monitor cache lock: owner "SunToolkit.PostEventQueue-0" (0x8382780) 1 entry
	Waiting to enter:
	    "Thread-0" (0x88aeb80)
	    "AWT-EventQueue-0" (0x8382580)
	    "Reference Handler" (0x80f0080)
    Thread queue lock: owner "SunToolkit.PostEventQueue-0" (0x8382780) 1 entry
	Waiting to be notified:
	    "Thread-1" (0x8072280)
    Monitor registry: owner "SunToolkit.PostEventQueue-0" (0x8382780) 1 entry

Abort trap

Is this an expected behaviour?

JY


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021015063458.GA26213>