JDK-6344815 : crash with NB5.0 in Java_sun_java2d_loops_MaskBlit_MaskBlit+0x269
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 6
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: generic
  • Submitted: 2005-11-02
  • Updated: 2011-02-11
  • Resolved: 2011-02-11
Related Reports
Duplicate :  
Relates :  
Description
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0xb7510af6, pid=13445, tid=2759850928
#
# Java VM: Java HotSpot(TM) Server VM (1.6.0-ea-b57 mixed mode)
# Problematic frame:
# C  [libc.so.6+0x70af6]
#

---------------  T H R E A D  ---------------

Current thread (0xa40f1d00):  JavaThread "AWT-EventQueue-1" [_thread_in_native, id=13476]

siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0xf7bef7c6

Registers:
EAX=0xb75d46a8, EBX=0xb75d3d98, ECX=0xb75d4660, EDX=0xf7bef7be
ESP=0xa47fe388, EBP=0xa47fe3bc, ESI=0x088fab78, EDI=0x088fb000
EIP=0xb7510af6, CR2=0xf7bef7c6, EFLAGS=0x00010206

Top of Stack: (sp=0xa47fe388)
0xa47fe388:   a47fe3a8 a56a642f 082a1698 a47fe3e0
0xa47fe398:   b75d46a8 a5686b4f 088fb000 0000000c
0xa47fe3a8:   00000060 b75d4660 b75d3d98 b75d4660
0xa47fe3b8:   00000001 a47fe3e8 b7510500 b75d4660
0xa47fe3c8:   00000058 00000480 000021f8 00000058
0xa47fe3d8:   0a76be08 a57310e4 00000020 0820def0
0xa47fe3e8:   a47fe408 a5672041 00000001 00000058
0xa47fe3f8:   00000001 a57310e4 00000020 0820def0 

Instructions: (pc=0xb7510af6)
0xb7510ae6:   00 8b 7d e4 89 57 0c 89 7e 0c 8b 41 54 89 77 08
0xb7510af6:   89 7a 08 8b 7d dc 89 45 e4 39 f8 0f 85 79 ff ff 

Stack: [0xa47af000,0xa4800000),  sp=0xa47fe388,  free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libc.so.6+0x70af6]
C  [libc.so.6+0x70500]  calloc+0xd0
C  [libX11.so.6+0x1f041]  XCreateImage+0x81
C  [libX11.so.6+0x1d470]  XGetImage+0x150
C  [libmawt.so+0x14dfd]
C  [libmawt.so+0x145bb]
C  [libawt.so+0x289e9]  Java_sun_java2d_loops_MaskBlit_MaskBlit+0x269
j  sun.java2d.loops.MaskBlit.MaskBlit(Lsun/java2d/SurfaceData;Lsun/java2d/SurfaceData;Ljava/awt/Composite;Lsun/java2d/pipe/Region;IIIIII[BII)V+0
j  sun.java2d.loops.Blit$GeneralMaskBlit.Blit(Lsun/java2d/SurfaceData;Lsun/java2d/SurfaceData;Ljava/awt/Composite;Lsun/java2d/pipe/Region;IIIIII)V+24
j  sun.java2d.pipe.DrawImage.blitSurfaceData(Lsun/java2d/SunGraphics2D;Lsun/java2d/pipe/Region;Lsun/java2d/SurfaceData;Lsun/java2d/SurfaceData;Lsun/java2d/loops/SurfaceType;Lsun/java2d/loops/SurfaceType;IIIIIILjava/awt/Color;)V+97
j  sun.java2d.pipe.DrawImage.renderImageCopy(Lsun/java2d/SunGraphics2D;Ljava/awt/Image;Ljava/awt/Color;IIIIII)Z+75
j  sun.java2d.pipe.DrawImage.copyImage(Lsun/java2d/SunGraphics2D;Ljava/awt/Image;IILjava/awt/Color;)Z+45
j  sun.java2d.pipe.DrawImage.copyImage(Lsun/java2d/SunGraphics2D;Ljava/awt/Image;IILjava/awt/Color;Ljava/awt/image/ImageObserver;)Z+15
j  sun.java2d.SunGraphics2D.drawImage(Ljava/awt/Image;IILjava/awt/Color;Ljava/awt/image/ImageObserver;)Z+18
j  sun.awt.image.ImageRepresentation.drawToBufImage(Ljava/awt/Graphics;Lsun/awt/image/ToolkitImage;IILjava/awt/Color;Ljava/awt/image/ImageObserver;)Z+152
j  sun.java2d.pipe.DrawImage.copyImage(Lsun/java2d/SunGraphics2D;Ljava/awt/Image;IILjava/awt/Color;Ljava/awt/image/ImageObserver;)Z+56
j  sun.java2d.SunGraphics2D.drawImage(Ljava/awt/Image;IILjava/awt/Color;Ljava/awt/image/ImageObserver;)Z+18
j  sun.java2d.SunGraphics2D.drawImage(Ljava/awt/Image;IILjava/awt/image/ImageObserver;)Z+7
j  javax.swing.ImageIcon.paintIcon(Ljava/awt/Component;Ljava/awt/Graphics;II)V+16
j  javax.swing.plaf.basic.BasicButtonUI.paintIcon(Ljava/awt/Graphics;Ljavax/swing/JComponent;Ljava/awt/Rectangle;)V+244
j  javax.swing.plaf.basic.BasicButtonUI.paint(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V+74
j  javax.swing.plaf.ComponentUI.update(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V+32
j  javax.swing.plaf.metal.MetalButtonUI.update(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V+131
j  javax.swing.JComponent.paintComponent(Ljava/awt/Graphics;)V+26
j  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+276
j  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+473
j  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+308
j  org.openide.awt.Toolbar.paint(Ljava/awt/Graphics;)V+2
j  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+473
j  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+308
j  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+473
j  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+308
j  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+473
j  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+308
j  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+473
j  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+308
j  javax.swing.JLayeredPane.paint(Ljava/awt/Graphics;)V+73
j  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+473
j  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+308
j  javax.swing.JComponent.paintToOffscreen(Ljava/awt/Graphics;IIIIII)V+41
j  javax.swing.BufferStrategyPaintManager.paint(Ljavax/swing/JComponent;Ljavax/swing/JComponent;Ljava/awt/Graphics;IIII)Z+157
j  javax.swing.RepaintManager.paint(Ljavax/swing/JComponent;Ljavax/swing/JComponent;Ljava/awt/Graphics;IIII)V+15
j  javax.swing.JComponent._paintImmediately(IIII)V+641
j  javax.swing.JComponent.paintImmediately(IIII)V+83
j  javax.swing.RepaintManager.paintDirtyRegions(Ljava/util/Map;)V+188
j  javax.swing.RepaintManager.paintDirtyRegions()V+46
j  javax.swing.RepaintManager.seqPaintDirtyRegions()V+20
j  javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run()V+36
j  java.awt.event.InvocationEvent.dispatch()V+47
j  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+26
j  java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z+156
j  java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+30
j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j  java.awt.EventDispatchThread.run()V+9
v  ~StubRoutines::call_stub
V  [libjvm.so+0x28811d]
V  [libjvm.so+0x3f2508]
V  [libjvm.so+0x287a30]
V  [libjvm.so+0x287abd]
V  [libjvm.so+0x2f3fb5]
V  [libjvm.so+0x496044]
V  [libjvm.so+0x3f3213]
C  [libpthread.so.0+0x4dac]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  sun.java2d.loops.MaskBlit.MaskBlit(Lsun/java2d/SurfaceData;Lsun/java2d/SurfaceData;Ljava/awt/Composite;Lsun/java2d/pipe/Region;IIIIII[BII)V+0
j  sun.java2d.loops.Blit$GeneralMaskBlit.Blit(Lsun/java2d/SurfaceData;Lsun/java2d/SurfaceData;Ljava/awt/Composite;Lsun/java2d/pipe/Region;IIIIII)V+24
j  sun.java2d.pipe.DrawImage.blitSurfaceData(Lsun/java2d/SunGraphics2D;Lsun/java2d/pipe/Region;Lsun/java2d/SurfaceData;Lsun/java2d/SurfaceData;Lsun/java2d/loops/SurfaceType;Lsun/java2d/loops/SurfaceType;IIIIIILjava/awt/Color;)V+97
j  sun.java2d.pipe.DrawImage.renderImageCopy(Lsun/java2d/SunGraphics2D;Ljava/awt/Image;Ljava/awt/Color;IIIIII)Z+75
j  sun.java2d.pipe.DrawImage.copyImage(Lsun/java2d/SunGraphics2D;Ljava/awt/Image;IILjava/awt/Color;)Z+45
j  sun.java2d.pipe.DrawImage.copyImage(Lsun/java2d/SunGraphics2D;Ljava/awt/Image;IILjava/awt/Color;Ljava/awt/image/ImageObserver;)Z+15
j  sun.java2d.SunGraphics2D.drawImage(Ljava/awt/Image;IILjava/awt/Color;Ljava/awt/image/ImageObserver;)Z+18
j  sun.awt.image.ImageRepresentation.drawToBufImage(Ljava/awt/Graphics;Lsun/awt/image/ToolkitImage;IILjava/awt/Color;Ljava/awt/image/ImageObserver;)Z+152
j  sun.java2d.pipe.DrawImage.copyImage(Lsun/java2d/SunGraphics2D;Ljava/awt/Image;IILjava/awt/Color;Ljava/awt/image/ImageObserver;)Z+56
j  sun.java2d.SunGraphics2D.drawImage(Ljava/awt/Image;IILjava/awt/Color;Ljava/awt/image/ImageObserver;)Z+18
j  sun.java2d.SunGraphics2D.drawImage(Ljava/awt/Image;IILjava/awt/image/ImageObserver;)Z+7
j  javax.swing.ImageIcon.paintIcon(Ljava/awt/Component;Ljava/awt/Graphics;II)V+16
j  javax.swing.plaf.basic.BasicButtonUI.paintIcon(Ljava/awt/Graphics;Ljavax/swing/JComponent;Ljava/awt/Rectangle;)V+244
j  javax.swing.plaf.basic.BasicButtonUI.paint(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V+74
j  javax.swing.plaf.ComponentUI.update(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V+32
j  javax.swing.plaf.metal.MetalButtonUI.update(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V+131
j  javax.swing.JComponent.paintComponent(Ljava/awt/Graphics;)V+26
j  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+276
j  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+473
j  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+308
j  org.openide.awt.Toolbar.paint(Ljava/awt/Graphics;)V+2
j  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+473
j  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+308
j  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+473
j  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+308
j  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+473
j  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+308
j  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+473
j  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+308
j  javax.swing.JLayeredPane.paint(Ljava/awt/Graphics;)V+73
j  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+473
j  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+308
j  javax.swing.JComponent.paintToOffscreen(Ljava/awt/Graphics;IIIIII)V+41
j  javax.swing.BufferStrategyPaintManager.paint(Ljavax/swing/JComponent;Ljavax/swing/JComponent;Ljava/awt/Graphics;IIII)Z+157
j  javax.swing.RepaintManager.paint(Ljavax/swing/JComponent;Ljavax/swing/JComponent;Ljava/awt/Graphics;IIII)V+15
j  javax.swing.JComponent._paintImmediately(IIII)V+641
j  javax.swing.JComponent.paintImmediately(IIII)V+83
j  javax.swing.RepaintManager.paintDirtyRegions(Ljava/util/Map;)V+188
j  javax.swing.RepaintManager.paintDirtyRegions()V+46
j  javax.swing.RepaintManager.seqPaintDirtyRegions()V+20
j  javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run()V+36
j  java.awt.event.InvocationEvent.dispatch()V+47
j  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+26
j  java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z+156
j  java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+30
j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j  java.awt.EventDispatchThread.run()V+9
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0xa40cd800 JavaThread "Inactive RequestProcessor thread [Was:Folder Instance Processor/org.openide.loaders.FolderInstance$2]" daemon [_thread_blocked, id=13489]
  0xa5212500 JavaThread "Text-Layout" [_thread_blocked, id=13488]
  0x09e72c00 JavaThread "Inactive RequestProcessor thread [Was:Hints RP/org.netbeans.modules.editor.hints.HintsOperator$HintPopupTaskImpl]" daemon [_thread_blocked, id=13487]
  0xa4427500 JavaThread "Inactive RequestProcessor thread [Was:JarFs - modification watcher/org.openide.filesystems.JarFileSystem$2]" daemon [_thread_blocked, id=13484]
  0x088cc300 JavaThread "Inactive RequestProcessor thread [Was:ToolTip-Evaluator/org.netbeans.modules.editor.NbToolTip$Request]" daemon [_thread_blocked, id=13483]
  0xa4dc5f00 JavaThread "Inactive RequestProcessor thread [Was:Default RequestProcessor/org.netbeans.core.windows.view.dnd.TopComponentDragSupport$2]" daemon [_thread_blocked, id=13482]
  0x081b6a00 JavaThread "Inactive RequestProcessor thread [Was:TimedWeakReference/org.netbeans.modules.projectapi.TimedWeakReference]" daemon [_thread_blocked, id=13481]
  0x084d7b00 JavaThread "Inactive RequestProcessor thread [Was:TimedSoftReference/org.openide.util.TimedSoftReference]" daemon [_thread_blocked, id=13480]
  0x08815e00 JavaThread "Inactive RequestProcessor thread [Was:Scanning Queue/org.netbeans.modules.javacore.JMManager$4]" daemon [_thread_blocked, id=13479]
  0x082ce300 JavaThread "MDR event dispatcher" daemon [_thread_blocked, id=13478]
  0xa40df900 JavaThread "DestroyJavaVM" [_thread_blocked, id=13445]
=>0xa40f1d00 JavaThread "AWT-EventQueue-1" [_thread_in_native, id=13476]
  0xa44acb00 JavaThread "TimerQueue" daemon [_thread_blocked, id=13475]
  0x088a9e00 JavaThread "Inactive RequestProcessor thread [Was:Java-Folds/org.netbeans.modules.editor.java.NbJavaFoldManager]" daemon [_thread_blocked, id=13474]
  0x082a2200 JavaThread "Inactive RequestProcessor thread [Was:Default RequestProcessor/org.netbeans.modules.editor.errorstripe.AnnotationView$RepaintTask]" daemon [_thread_blocked, id=13472]
  0x0818c400 JavaThread "Inactive RequestProcessor thread [Was:ListModelSupport loader/org.netbeans.modules.java.navigation.spi.ListModelSupport$Loader]" daemon [_thread_blocked, id=13471]
  0xa5235e00 JavaThread "AWT-Shutdown" [_thread_blocked, id=13469]
  0xa5208c00 JavaThread "Active Reference Queue Daemon" daemon [_thread_blocked, id=13467]
  0x083f4d00 JavaThread "Timer-0" daemon [_thread_blocked, id=13466]
  0xa5205800 JavaThread "CLI Requests Server" daemon [_thread_in_native, id=13464]
  0x082b3a00 JavaThread "AWT-XAWT" daemon [_thread_blocked, id=13460]
  0x0842a800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=13459]
  0x0812ec00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=13456]
  0x0812d700 JavaThread "CompilerThread1" daemon [_thread_in_native, id=13455]
  0x0812c500 JavaThread "CompilerThread0" daemon [_thread_blocked, id=13454]
  0x0812b500 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=13453]
  0x0811bb00 JavaThread "Finalizer" daemon [_thread_blocked, id=13452]
  0x0811b500 JavaThread "Reference Handler" daemon [_thread_blocked, id=13451]

Other Threads:
  0x08118e00 VMThread [id=13450]
  0x08130500 WatcherThread [id=13457]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 PSYoungGen      total 11520K, used 4890K [0xb3510000, 0xb4310000, 0xb4340000)
  eden space 8832K, 51% used [0xb3510000,0xb3976ba0,0xb3db0000)
  from space 2688K, 14% used [0xb4050000,0xb40b0010,0xb42f0000)
  to   space 2688K, 0% used [0xb3db0000,0xb3db0000,0xb4050000)
 PSOldGen        total 87552K, used 54033K [0xac340000, 0xb18c0000, 0xb3510000)
  object space 87552K, 61% used [0xac340000,0xaf804428,0xb18c0000)
 PSPermGen       total 81408K, used 38168K [0xa6340000, 0xab2c0000, 0xac340000)
  object space 81408K, 46% used [0xa6340000,0xa8886288,0xab2c0000)

Dynamic libraries:
06000000-0651b000 r-xp 00000000 00:1e 2587162    /.automount/archer/root/export3/re/jdk/6.0/promoted/ea/b57/binaries/linux-i586/jre/lib/i386/server/libjvm.so
0651b000-06554000 rw-p 0051b000 00:1e 2587162    /.automount/archer/root/export3/re/jdk/6.0/promoted/ea/b57/binaries/linux-i586/jre/lib/i386/server/libjvm.so
06554000-06971000 rw-p 00000000 00:00 0
08048000-08058000 r-xp 00000000 00:1e 7104745    /.automount/archer/root/export3/re/jdk/6.0/promoted/ea/b57/binaries/linux-i586/bin/java
08058000-0805a000 rw-p 0000f000 00:1e 7104745    /.automount/archer/root/export3/re/jdk/6.0/promoted/ea/b57/binaries/linux-i586/bin/java
0805a000-0a76e000 rw-p 00000000 00:00 0
a1800000-a1821000 rw-p 00000000 00:00 0
a1821000-a1900000 ---p 00000000 00:00 0
a1a00000-a1afc000 rw-p 00000000 00:00 0
a1afc000-a1b00000 ---p 00029000 00:00 0
a1c00000-a1d00000 rw-p 000a2000 00:00 0
a1f00000-a1ffc000 rw-p 00199000 00:00 0
a1ffc000-a2000000 ---p 00029000 00:00 0
a2100000-a2200000 rw-p 00082000 00:00 0
a2300000-a2400000 rw-p 00000000 00:00 0
a2500000-a2600000 rw-p 00087000 00:00 0
a2900000-a29fe000 rw-p 001fe000 00:00 0
a29fe000-a2a00000 ---p 00029000 00:00 0
a2b00000-a2c00000 rw-p 00021000 00:00 0
a2d00000-a2e00000 rw-p 00001000 00:00 0
a2f00000-a2fff000 rw-p 00058000 00:00 0
a2fff000-a3000000 ---p 0006f000 00:00 0
a3300000-a33fd000 rw-p 0005a000 00:00 0
a33fd000-a3400000 ---p 00029000 00:00 0
a3500000-a3600000 rw-p 0004d000 00:00 0
a3700000-a3800000 rw-p 00042000 00:00 0
a3900000-a39fb000 rw-p 000d3000 00:00 0
a39fb000-a3a00000 ---p 0002b000 00:00 0
a3b00000-a3bf9000 rw-p 000e2000 00:00 0
a3bf9000-a3c00000 ---p 00052000 00:00 0
a3daf000-a3db2000 ---p 00000000 00:00 0
a3db2000-a3e00000 rwxp 00003000 00:00 0
a3e00000-a3efd000 rw-p 001dc000 00:00 0
a3efd000-a3f00000 ---p 00121000 00:00 0
a3f0d000-a3f10000 ---p 00000000 00:00 0
a3f10000-a3f5e000 rwxp 00003000 00:00 0
a3f5e000-a3f61000 ---p 00000000 00:00 0
a3f61000-a3faf000 rwxp 00003000 00:00 0
a3faf000-a3fb

Comments
EVALUATION This bug was split from 6342381 before the cause for the other bug was found. At the time, there were multiple stack traces and so this was split out for separate investigation of this particular stack trace. Unfortunately, after the bug was split out the former bug was tracked down to a malloc corruption problem (a pointer was being freed twice). Such bugs tend to cause random crashes in a wide variety of native code and so the many stack traces were not likely to be due to separate problems, but simply randomized manifestations of the malloc corruption. Closing this as a duplicate of the original bug again. If more crashes are found which demonstrate similar stack traces, new bugs should be filed with new test cases.
11-02-2011

EVALUATION Possibly related to 6574350.
03-09-2008