Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crashes in Java



I'm not too familiar with AWT and Swing, but here are some suggestions and
considerations:

1. Try running these apps with a newer JVM.  You're using an _old_ version
of 1.2 from Blackdown.  This means it likely has lots of bugs that have
since been worked out.  I'd highly recommend getting the 1.2.2 RC4 that came
out the other day.  That's your best bet for fixed Swing and other bugs.

2. Try running these programs without JIT enabled.  JIT can cause weird
problems, especially in an early beta like this JVM.  Running without JIT
will also show you line numbers in stack traces, but since these are Sun's
and someone else's apps segfaulting, there's nothing you could do to fix it.

3. Try running these apps with native threads instead of green.  Just
another blind attempt at reconfiguring the way the JVM's running, but it
could have a positive or detrimental effect.  Upgrading to an RC is better,
but it can't hurt to try running under native threads just to see what
happens.

4. Try an IBM JVM if you can run these with a 1.1 JVM.  Otherwise, forget
that one.

Scott Stirling
West Newton, MA


----- Original Message -----
From: "Richard R Malloy" <rrmalloy at mediaone.net>
To: <discuss at Blu.Org>; <java-linux at java.blackdown.org>
Sent: Thursday, February 03, 2000 9:38 PM
Subject: Crashes in Java


> I've been getting crashed in forte4j, and InstallShield for java and
> with ElixirIDE which all
> have dumps that look like the follow:
>
> (I've  been real busy lately so I haven't been follow the groups
> closely, so .. )
>
> Anybody have a clue. Forte used to work and I can for the life of me
> remember
> any system changes.
>
> Rich.
>
> Thanks ....
>
>
>
> SIGSEGV   11*  segmentation violation
>  stackpointer=0x41811128
>
> Full thread dump Classic VM (Linux_JDK_1.2_pre-release-v2, green
> threads):
>     "Screen Updater" (TID:0x40517048, sys_thread_t:0x87d5ed8, state:R)
> prio=4
>  at java.lang.Thread.setPriority0(Native Method)
>  at java.lang.Thread.setPriority(Compiled Code)
>  at sun.awt.ScreenUpdater.run(Compiled Code)
>     "Image Fetcher 2" (TID:0x4050a6b0, sys_thread_t:0x86cd2b8, state:CW)
> prio=8
>  at java.lang.Object.wait(Native Method)
>  at sun.awt.image.ImageFetcher.nextImage(Compiled Code)
>  at sun.awt.image.ImageFetcher.fetchloop(Compiled Code)
>  at sun.awt.image.ImageFetcher.run(Compiled Code)
>     "Image Fetcher 1" (TID:0x4050c380, sys_thread_t:0x870a028, state:CW)
> prio=8
>  at java.lang.Object.wait(Native Method)
>  at sun.awt.image.ImageFetcher.nextImage(Compiled Code)
>  at sun.awt.image.ImageFetcher.fetchloop(Compiled Code)
>  at sun.awt.image.ImageFetcher.run(Compiled Code)
>     "Image Fetcher 0" (TID:0x4050f6e0, sys_thread_t:0x8742580, state:CW)
> prio=8
>  at java.lang.Object.wait(Native Method)
>  at sun.awt.image.ImageFetcher.nextImage(Compiled Code)
>  at sun.awt.image.ImageFetcher.fetchloop(Compiled Code)
>  at sun.awt.image.ImageFetcher.run(Compiled Code)
>     "Image Fetcher 3" (TID:0x404fc7f8, sys_thread_t:0x85e0f58, state:CW)
> prio=8
>  at java.lang.Object.wait(Native Method)
>  at sun.awt.image.ImageFetcher.nextImage(Compiled Code)
>  at sun.awt.image.ImageFetcher.fetchloop(Compiled Code)
>  at sun.awt.image.ImageFetcher.run(Compiled Code)
>     "AWT-Motif" (TID:0x4050c7d8, sys_thread_t:0x8488a30, state:R) prio=5
>
>  at sun.awt.motif.MToolkit.run(Native Method)
>  at java.lang.Thread.run(Compiled Code)
>     "SunToolkit.PostEventQueue-0" (TID:0x4050eed8,
> sys_thread_t:0x8463c58, state:R) prio=5
>  at java.awt.EventQueue.postEvent(Compiled Code)
>  at sun.awt.PostEventQueue.run(Compiled Code)
>     "AWT-EventQueue-0" (TID:0x4050eea8, sys_thread_t:0x84c3548, state:R)
> prio=6
>  at sun.java2d.loops.DefaultComponent.IntIsomorphicCopy(Native Method)
>  at sun.java2d.loops.IntRgbToIntRgb.OpaqueBlit(Compiled Code)
>  at sun.java2d.loops.RasterOutputManager.performOpaqueBlit(Compiled
> Code)
>  at sun.java2d.loops.RasterOutputManager.compositeSrcDst(Compiled Code)
>  at sun.java2d.loops.RasterOutputManager.renderImage(Compiled Code)
>  at sun.java2d.SunGraphics2D.renderingPipeImage(Compiled Code)
>  at sun.java2d.SunGraphics2D.drawImage(Compiled Code)
>  at sun.awt.motif.X11Graphics.drawImage(Compiled Code)
>  at javax.swing.JComponent.paint(Compiled Code)
>  at java.awt.Container.paint(Compiled Code)
>  at sun.awt.motif.MComponentPeer.handleEvent(Compiled Code)
>  at java.awt.Component.dispatchEventImpl(Compiled Code)
>  at java.awt.Container.dispatchEventImpl(Compiled Code)
>  at java.awt.Window.dispatchEventImpl(Compiled Code)
>  at java.awt.Component.dispatchEvent(Compiled Code)
>  at java.awt.EventQueue.dispatchEvent(Compiled Code)
>  at java.awt.EventDispatchThread.run(Compiled Code)
>     "Finalizer" (TID:0x404f6320, sys_thread_t:0x81061d8, state:CW)
> prio=8
>  at java.lang.Object.wait(Native Method)
>  at java.lang.ref.ReferenceQueue.remove(Compiled Code)
>  at java.lang.ref.ReferenceQueue.remove(Compiled Code)
>  at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
>     "Reference Handler" (TID:0x404f63b0, sys_thread_t:0x8101848,
> state:CW) prio=10
>  at java.lang.Object.wait(Native Method)
>  at java.lang.Object.wait(Compiled Code)
>  at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
>     "Signal dispatcher" (TID:0x404f63e0, sys_thread_t:0x80fdfb8,
> state:CW) prio=5
>     "main" (TID:0x404f61e0, sys_thread_t:0x804c360, state:R) prio=5
>  at
> javax.swing.plaf.basic.BasicTabbedPaneUI.installKeyboardActions(Compiled
> Code)
>  at javax.swing.plaf.basic.BasicTabbedPaneUI.installUI(Compiled Code)
>  at javax.swing.JComponent.setUI(Compiled Code)
>  at javax.swing.JTabbedPane.setUI(Compiled Code)
>  at javax.swing.JTabbedPane.updateUI(Compiled Code)
>  at javax.swing.JTabbedPane.<init>(Compiled Code)
>  at com.elixirtech.fx.PanelSite.<init>(Compiled Code)
>  at com.elixirtech.fx.FrameManager.x577(Compiled Code)
>  at com.elixirtech.fx.FrameManager.createFrame(Compiled Code)
>  at com.elixirtech.ide.IDEFrame.<init>(Compiled Code)
>  at com.elixirtech.ide.IDEFrame.main(Compiled Code)
>  at com.elixirtech.IDE.main(Compiled Code)
> Monitor Cache Dump:
>     java.lang.Class at 4050E958/405975F0: owner "AWT-EventQueue-0"
> (0x84c3548) 1 entry
>     <unknown key> (0x4051a021): owner "main" (0x804c360) 1 entry
>     java.lang.ref.Reference$Lock at 404F63C0/4052B890: <unowned>
>  Waiting to be notified:
>      "Reference Handler" (0x8101848)
>     java.util.Vector at 404FC7B0/405BD7F0: <unowned>
>  Waiting to be notified:
>      "Image Fetcher 3" (0x85e0f58)
>      "Image Fetcher 0" (0x8742580)
>      "Image Fetcher 1" (0x870a028)
>      "Image Fetcher 2" (0x86cd2b8)
>     java.lang.ref.ReferenceQueue$Lock at 404F6338/4052BD60: <unowned>
>  Waiting to be notified:
>      "Finalizer" (0x81061d8)
> Registered Monitor Dump:
>     PCMap lock: <unowned>
>     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 "AWT-EventQueue-0" (0x84c3548) 1 entry
>     Dynamic loading lock: <unowned>
>     Monitor IO lock: <unowned>
>     User signal monitor: <unowned>
>  Waiting to be notified:
>      "Signal dispatcher" (0x80fdfb8)
>     Child death monitor: <unowned>
>     I/O monitor: owner "AWT-Motif" (0x8488a30) 1 entry
>     Alarm monitor: <unowned>
>  Waiting to be notified:
>      <unknown thread> (0x80577c8)
>     Thread queue lock: owner "AWT-EventQueue-0" (0x84c3548) 1 entry
>     Monitor registry: owner "AWT-EventQueue-0" (0x84c3548) 1

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org