harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Petrenko (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-5264) [classlib][awt] XORMode leads to crash
Date Fri, 07 Dec 2007 13:38:43 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-5264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexey Petrenko resolved HARMONY-5264.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0M4

I can not reproduce the crash either.
However the patch looks reasonable for me, so I've applied it.

Please verify.

> [classlib][awt] XORMode leads to crash
> --------------------------------------
>
>                 Key: HARMONY-5264
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5264
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M4
>         Environment: Win32
>            Reporter: Linbin Yu
>            Assignee: Alexey Petrenko
>             Fix For: 5.0M4
>
>         Attachments: h-5264-fix.patch, H-5264.patch, xor.zip
>
>
> Drawing image in XOR Mode leads to crash.
> This issue doesn't appear in older version, like r580985.
> Attachment is reproducer. 
> Stack trace:
> Windows reported exception: 0xc0000005
> Registers:
>     EAX: 0x1c6c8501, EBX: 0x132e1428, ECX: 0x854d4b1b, EDX: 0x854d4b1b
>     ESI: 0x00000000, EDI: 0x00000060, ESP: 0x13e0ea2c, EBP: 0x13e0ec18
>     EIP: 0x13d2260c
> Stack trace:
>   0: updateCache (d:\harmony\classlib\modules\awt\src\main\native\gl\shared\surfacedatastructure.cpp:118)
>   1: initBitmap (d:\harmony\classlib\modules\awt\src\main\native\gl\windows\gdiblitter.cpp:642)
>   2: Java_org_apache_harmony_awt_gl_windows_GDIBlitter_xorImage (d:\harmony\classlib\modules\awt\src\main\native\gl\windows\gdiblitter.cpp:426)
>   3: 0x1C7F80EC  <Generated stub>
>   4: org/apache/harmony/awt/gl/windows/GDIBlitter.blit(IILorg/apache/harmony/awt/gl/Surface;IILorg/apache/harmony/awt/gl/Surface;IILjava/awt/geom/AffineTransform;Ljava/awt/Composite;Ljava/awt/Color;Lorg/apache/harmony/awt/gl/MultiRectArea;)V
(GDIBlitter.java:146)
>   5: org/apache/harmony/awt/gl/CommonGraphics2D.drawImage(Ljava/awt/Image;IILjava/awt/Color;Ljava/awt/image/ImageObserver;)Z
(CommonGraphics2D.java:359)
>   6: org/apache/harmony/awt/gl/CommonGraphics2D.drawImage(Ljava/awt/Image;IILjava/awt/image/ImageObserver;)Z
(CommonGraphics2D.java:366)
>   7: xor/demo.paint(Ljava/awt/Graphics;)V (demo.java:30)
>   8: javax/swing/JComponent.paintImmediately(Ljava/awt/Rectangle;)V (JComponent.java:1060)
>   9: javax/swing/RepaintManager.paintDirtyRegions()V (RepaintManager.java:186)
>  10: javax/swing/RepaintManager$1.run()V (RepaintManager.java:80)
>  11: java/awt/event/InvocationEvent.runAndNotify()V (InvocationEvent.java:98)
>  12: java/awt/event/InvocationEvent.dispatch()V (InvocationEvent.java:78)
>  13: java/awt/EventQueueCore.dispatchEventImpl(Ljava/awt/AWTEvent;)V (EventQueueCore.java:138)
>  14: java/awt/EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V (EventQueue.java:144)
>  15: java/awt/EventDispatchThread.runModalLoop(Ljava/awt/ModalContext;)V (EventDispatchThread.java:68)
>  16: java/awt/EventDispatchThread.run()V (EventDispatchThread.java:48)
>  17: java/lang/Thread.runImpl()V (Thread.java:668)
>  18: ?? (??:-1)
>  19: JIT_execute_method_default (d:\harmony\drlvm\vm\vmcore\src\util\ia32\base\ini_ia32.cpp:248)
>  20: DrlEMImpl::executeMethod (d:\harmony\drlvm\vm\em\src\drlemimpl.cpp:520)
> <end of stack trace>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message