Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 65148 invoked from network); 7 Dec 2007 11:40:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Dec 2007 11:40:07 -0000 Received: (qmail 30401 invoked by uid 500); 7 Dec 2007 11:39:55 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 30309 invoked by uid 500); 7 Dec 2007 11:39:55 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 30072 invoked by uid 99); 7 Dec 2007 11:39:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2007 03:39:55 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2007 11:40:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1217E714243 for ; Fri, 7 Dec 2007 03:39:43 -0800 (PST) Message-ID: <31693399.1197027583041.JavaMail.jira@brutus> Date: Fri, 7 Dec 2007 03:39:43 -0800 (PST) From: "Igor V. Stolyarov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-5264) [classlib][awt] XORMode leads to crash In-Reply-To: <842880.1196933262994.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-5264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor V. Stolyarov updated HARMONY-5264: --------------------------------------- Attachment: H-5264.patch Attached alterd patch. But I nevertheless couldn't reproduce crash. Thanks, Igor > [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 > 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 > 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) > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.