[oodisc] Мозила падает на java аплетах

Vlad Harchev hvv на hippo.ru
Чт Апр 3 10:34:38 MSD 2003


On Wed, Apr 02, 2003 at 09:01:10PM +0400, Andrew Muhametshin wrote:

У рута другая локаль.

А шрифтов у вас недостаточно стоит с кодировкой koi8-u.

Наверно оно перестанет падать когда комманда
 xlsfonts -fn '-*-*-medium-r-normal-sans-*-140-*-*-*-*-koi8-u'
будет выдавать хоть что-нибудь. У меня она на RH73 выдает вот что:

[hvv на h hvv]$ xlsfonts -fn '-*-*-medium-r-normal-sans-*-140-*-*-*-*-koi8-u'
-b&h-lucida-medium-r-normal-sans-14-140-75-75-p-81-koi8-u
-b&h-lucida-medium-r-normal-sans-14-140-75-75-p-81-koi8-u
-b&h-lucidatypewriter-medium-r-normal-sans-14-140-75-75-m-90-koi8-u
-b&h-lucidatypewriter-medium-r-normal-sans-14-140-75-75-m-90-koi8-u
[hvv на h hvv]$ 

> При попытке посмотреть сайт с java аплетом, запущенная от root-а 
> мозила1.3 работает отлично, но если тот же сайт с мозиллой от простого 
> юзера, мозилла падает, предварительно записав в ~/.xsession-errors мне 
> мало-понятный лог(лог привожу ниже).
> В общем, не оставьте рядового юзера, в трудную минут?
> 
> OS - FreeBSD4.8PR,
> Mozilla - пробовал и нативную 1.3, и 1.3-ALT
> JAVA:
> 	jdk-1.3.1p8_1       Java Development Kit 1.3
> 	jdk-nodebug-1.4.1p3_3 Java Development Kit 1.4.1
> 	linux-sun-jdk-1.3.1.07_1 Sun Java Development Kit 1.3 for Linux
> 	linux-sun-jdk-1.4.1_2 Sun Java Development Kit 1.4 for Linux
> 
> Содержимое .xsession-errors после краха мозилы.
> =====================================
> No running window found.
> Warning: Cannot convert string 
> "-*-*-medium-r-normal-sans-*-140-*-*-*-*-koi8-u" to type FontStruct
> SIGSEGV   11*  segmentation violation
> 
> Full thread dump Classic VM (1.3.1-p8-root-030302-13:38, green threads):
>     "TimerQueue" (TID:0x28e80d90, sys_thread_t:0x8701c80, state:CW) 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)
>     "AWT-Motif" (TID:0x28e75678, sys_thread_t:0x861a880, state:R) prio=6
> 	at sun.awt.motif.MToolkit.run(Native Method)
> 	at java.lang.Thread.run(Thread.java:484)
>     "SunToolkit.PostEventQueue-0" (TID:0x28e75230, 
> sys_thread_t:0x85cec80, state:CW) prio=6
> 	at java.lang.Object.wait(Native Method)
> 	at java.lang.Object.wait(Object.java:420)
> 	at sun.awt.PostEventQueue.run(SunToolkit.java:491)
>     "AWT-EventQueue-0" (TID:0x28e75258, sys_thread_t:0x85cea80, 
> state:R) prio=6
> 	at sun.awt.motif.MLabelPeer.setText(Native Method)
> 	at sun.awt.motif.MLabelPeer.initialize(MLabelPeer.java:24)
> 	at sun.awt.motif.MComponentPeer.init(MComponentPeer.java:175)
> 	at sun.awt.motif.MComponentPeer.<init>(MComponentPeer.java:179)
> 	at sun.awt.motif.MLabelPeer.<init>(MLabelPeer.java:33)
> 	at sun.awt.motif.MToolkit.createLabel(MToolkit.java:91)
> 	at java.awt.Label.addNotify(Label.java:145)
> 	at java.awt.Container.addNotify(Container.java:1579)
> 	at javax.swing.JComponent.addNotify(JComponent.java:3500)
> 	at java.awt.Container.addNotify(Container.java:1579)
> 	at javax.swing.JComponent.addNotify(JComponent.java:3500)
> 	at java.awt.Container.addNotify(Container.java:1579)
> 	at javax.swing.JComponent.addNotify(JComponent.java:3500)
> 	at java.awt.Container.addNotify(Container.java:1579)
> 	at javax.swing.JComponent.addNotify(JComponent.java:3500)
> 	at javax.swing.JRootPane.addNotify(JRootPane.java:483)
> 	at java.awt.Container.addNotify(Container.java:1579)
> 	at java.awt.Window.addNotify(Window.java:349)
> 	at java.awt.Frame.addNotify(Frame.java:361)
> 	at java.awt.Window.show(Window.java:387)
> 	at java.awt.Component.show(Component.java:946)
> 	at java.awt.Component.setVisible(Component.java:903)
> 	at sun.plugin.JavaRunTime$1.run(JavaRunTime.java:218)
> 	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:147)
> 	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:0x28e8f528, sys_thread_t:0x80d7280, state:CW) 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:0x28e8f300, sys_thread_t:0x809a680, 
> state:CW) prio=10
> 	at java.lang.Object.wait(Native Method)
> 	at java.lang.Object.wait(Object.java:420)
> 	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
>     "Signal dispatcher" (TID:0x28e8f330, sys_thread_t:0x809a480, 
> state:CW) prio=5
>     "main" (TID:0x28e8f1b0, sys_thread_t:0x8054080, state:R) prio=5
> 	at java.awt.EventQueue.postEventPrivate(EventQueue.java:135)
> 	at java.awt.EventQueue.postEvent(EventQueue.java:110)
> 	at java.awt.EventQueue.invokeAndWait(EventQueue.java:546)
> 	at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1146)
> 	at sun.plugin.JavaRunTime.showJavaConsole(JavaRunTime.java:183)
> 	at sun.plugin.AppletViewer.initEnvironment(AppletViewer.java:215)
> 	at sun.plugin.navig.motif.Plugin.doit(Plugin.java:159)
> 	at sun.plugin.navig.motif.Plugin.start(Plugin.java:101)
> Monitor Cache Dump:
>     java.lang.ref.Reference$Lock на 28E8F310/28EC4F98: <unowned>
> 	Waiting to be notified:
> 	    "Reference Handler" (0x809a680)
>     java.lang.ref.ReferenceQueue$Lock на 28E8F540/28EC5478: <unowned>
> 	Waiting to be notified:
> 	    "Finalizer" (0x80d7280)
>     javax.swing.TimerQueue на 28E80D98/290A6A50: <unowned>
> 	Waiting to be notified:
> 	    "TimerQueue" (0x8701c80)
>     sun.awt.PostEventQueue на 28E75230/28FEAEE0: <unowned>
> 	Waiting to be notified:
> 	    "SunToolkit.PostEventQueue-0" (0x85cec80)
>     java.awt.EventQueue$1$AWTInvocationLock на 28E80B10/2909DE90: owner 
> "main" (0x8054080) 1 entry
>     java.lang.Class на 28EA1490/28F2A1D0: owner "AWT-EventQueue-0" 
> (0x85cea80) 1 entry
>     java.awt.Component$AWTTreeLock на 28E983B8/28EFABF0: owner 
> "AWT-EventQueue-0" (0x85cea80) 8 entries
> 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 <unknown thread> (0x8054280) 1 entry
>     Dynamic loading lock: <unowned>
>     Monitor IO lock: <unowned>
>     User signal monitor: <unowned>
> 	Waiting to be notified:
> 	    "Signal dispatcher" (0x809a480)
>     Child death monitor: <unowned>
>     I/O monitor: owner "AWT-Motif" (0x861a880) 1 entry
>     Alarm monitor: owner <unknown thread> (0x8054280) 1 entry
>     Thread queue lock: owner <unknown thread> (0x8054280) 1 entry
>     Monitor registry: owner <unknown thread> (0x8054280) 1 entry
> 
> SIGABRT   6*   abort (generated by abort(3) routine)
> 
> Full thread dump Classic VM (1.3.1-p8-root-030302-13:38, green threads):
>     "TimerQueue" (TID:0x28e80d90, sys_thread_t:0x8701c80, state:CW) 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)
>     "AWT-Motif" (TID:0x28e75678, sys_thread_t:0x861a880, state:R) prio=6
> 	at sun.awt.motif.MToolkit.run(Native Method)
> 	at java.lang.Thread.run(Thread.java:484)
>     "SunToolkit.PostEventQueue-0" (TID:0x28e75230, 
> sys_thread_t:0x85cec80, state:CW) prio=6
> 	at java.lang.Object.wait(Native Method)
> 	at java.lang.Object.wait(Object.java:420)
> 	at sun.awt.PostEventQueue.run(SunToolkit.java:491)
>     "AWT-EventQueue-0" (TID:0x28e75258, sys_thread_t:0x85cea80, 
> state:R) prio=6
> 	at sun.awt.motif.MLabelPeer.setText(Native Method)
> 	at sun.awt.motif.MLabelPeer.initialize(MLabelPeer.java:24)
> 	at sun.awt.motif.MComponentPeer.init(MComponentPeer.java:175)
> 	at sun.awt.motif.MComponentPeer.<init>(MComponentPeer.java:179)
> 	at sun.awt.motif.MLabelPeer.<init>(MLabelPeer.java:33)
> 	at sun.awt.motif.MToolkit.createLabel(MToolkit.java:91)
> 	at java.awt.Label.addNotify(Label.java:145)
> 	at java.awt.Container.addNotify(Container.java:1579)
> 	at javax.swing.JComponent.addNotify(JComponent.java:3500)
> 	at java.awt.Container.addNotify(Container.java:1579)
> 	at javax.swing.JComponent.addNotify(JComponent.java:3500)
> 	at java.awt.Container.addNotify(Container.java:1579)
> 	at javax.swing.JComponent.addNotify(JComponent.java:3500)
> 	at java.awt.Container.addNotify(Container.java:1579)
> 	at javax.swing.JComponent.addNotify(JComponent.java:3500)
> 	at javax.swing.JRootPane.addNotify(JRootPane.java:483)
> 	at java.awt.Container.addNotify(Container.java:1579)
> 	at java.awt.Window.addNotify(Window.java:349)
> 	at java.awt.Frame.addNotify(Frame.java:361)
> 	at java.awt.Window.show(Window.java:387)
> 	at java.awt.Component.show(Component.java:946)
> 	at java.awt.Component.setVisible(Component.java:903)
> 	at sun.plugin.JavaRunTime$1.run(JavaRunTime.java:218)
> 	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:147)
> 	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:0x28e8f528, sys_thread_t:0x80d7280, state:CW) 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:0x28e8f300, sys_thread_t:0x809a680, 
> state:CW) prio=10
> 	at java.lang.Object.wait(Native Method)
> 	at java.lang.Object.wait(Object.java:420)
> 	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
>     "Signal dispatcher" (TID:0x28e8f330, sys_thread_t:0x809a480, 
> state:CW) prio=5
>     "main" (TID:0x28e8f1b0, sys_thread_t:0x8054080, state:R) prio=5
> 	at java.awt.EventQueue.postEventPrivate(EventQueue.java:135)
> 	at java.awt.EventQueue.postEvent(EventQueue.java:110)
> 	at java.awt.EventQueue.invokeAndWait(EventQueue.java:546)
> 	at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1146)
> 	at sun.plugin.JavaRunTime.showJavaConsole(JavaRunTime.java:183)
> 	at sun.plugin.AppletViewer.initEnvironment(AppletViewer.java:215)
> 	at sun.plugin.navig.motif.Plugin.doit(Plugin.java:159)
> 	at sun.plugin.navig.motif.Plugin.start(Plugin.java:101)
> Monitor Cache Dump:
>     java.lang.ref.Reference$Lock на 28E8F310/28EC4F98: <unowned>
> 	Waiting to be notified:
> 	    "Reference Handler" (0x809a680)
>     java.lang.ref.ReferenceQueue$Lock на 28E8F540/28EC5478: <unowned>
> 	Waiting to be notified:
> 	    "Finalizer" (0x80d7280)
>     javax.swing.TimerQueue на 28E80D98/290A6A50: <unowned>
> 	Waiting to be notified:
> 	    "TimerQueue" (0x8701c80)
>     sun.awt.PostEventQueue на 28E75230/28FEAEE0: <unowned>
> 	Waiting to be notified:
> 	    "SunToolkit.PostEventQueue-0" (0x85cec80)
>     java.awt.EventQueue$1$AWTInvocationLock на 28E80B10/2909DE90: owner 
> "main" (0x8054080) 1 entry
>     java.lang.Class на 28EA1490/28F2A1D0: owner "AWT-EventQueue-0" 
> (0x85cea80) 1 entry
>     java.awt.Component$AWTTreeLock на 28E983B8/28EFABF0: owner 
> "AWT-EventQueue-0" (0x85cea80) 8 entries
> 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 <unknown thread> (0x8054280) 1 entry
>     Dynamic loading lock: <unowned>
>     Monitor IO lock: <unowned>
>     User signal monitor: <unowned>
> 	Waiting to be notified:
> 	    "Signal dispatcher" (0x809a480)
>     Child death monitor: <unowned>
>     I/O monitor: owner "AWT-Motif" (0x861a880) 1 entry
>     Alarm monitor: owner <unknown thread> (0x8054280) 1 entry
>     Thread queue lock: owner <unknown thread> (0x8054280) 1 entry
>     Monitor registry: owner <unknown thread> (0x8054280) 1 entry
> 
> INTERNAL ERROR on Browser End: Could not read ack from browser
> System error?:: Resource temporarily unavailable
> No running window found.
> 
> _______________________________________________
> Oo-discuss mailing list
> Oo-discuss на openoffice.ru
> http://www.openoffice.ru/mailman/listinfo/oo-discuss

-- 
 Best regards,
  -Vlad



Подробная информация о списке рассылки Oo-discuss