Info regarding the MacOS JProgressBar bug
Eirik Bakke
ebakke at mit.edu
Sat Jan 23 19:54:24 UTC 2016
Another Aqua JProgressBar-related crash (livelock?): Today my Java app
stopped responding with 100% CPU utilization; the attached VisualVM thread
dump shows the event dispatch thread stuck in the native method
apple.laf.JRSUIControl.paintImage, called via
com.apple.laf.AquaProgressBarUI.paint(AquaProgressBarUI.java:164).
This crash happened while doing a tab pane drag-and-drop operation in a
NetBeans Platform-based window system to relocate a sidebar in the window
layout. In this case the NetBeans window system does an offscreen paint of
the dragged panel (which contained a JProgressBar); this may have confused
the painting code. I was able to reproduce this crash several times,
getting the same stack trace in the event dispatch thread every time.
-- Eirik
On 1/13/16, 2:18 PM, "macosx-port-dev on behalf of Eirik Bakke"
<macosx-port-dev-bounces at openjdk.java.net on behalf of ebakke at mit.edu>
wrote:
>I just filed an official bug report on http://bugreport.java.com/ and
>received review ID JI-9028577. I'll wait for it to appear on JIRA.
>
>-- Eirik
>
>From: Saurav Sarkar
><saurav.sarkar1 at gmail.com<mailto:saurav.sarkar1 at gmail.com>>
>Date: Friday, January 1, 2016 at 10:18 PM
>To: Eirik Bakke <ebakke at mit.edu<mailto:ebakke at mit.edu>>
>Cc:
>"macosx-port-dev at openjdk.java.net<mailto:macosx-port-dev at openjdk.java.net>
>"
><macosx-port-dev at openjdk.java.net<mailto:macosx-port-dev at openjdk.java.net>
>>
>Subject: Re: Info regarding the MacOS JProgress Bar bug
>
>Hi Eirik,
>
>Please find the info below.
>
>We are on Mac OS and we see huge energy impact when the progress bar is
>shown.
>The wave like animation when showing the progress is causing the impact.
>
>Its related to JProgressBar. I haven't run your test case, but if it is
>reproducing the issue then it is better to raise a bug.
>
>Thanks and Regards,
>Saurav
>
>On Fri, Jan 1, 2016 at 9:00 PM, Eirik Bakke
><ebakke at mit.edu<mailto:ebakke at mit.edu>> wrote:
>Hi, Saurav.
>
>I'm happy to submit a JDK bug report on this. Some more information would
>be useful--what are the conditions under which you are able to reproduce
>it yourself? And what are you observing? High CPU usage? Flickering? Is it
>related to a JProgressBar? Are you on MacOS?
>
>-- Eirik
>
>On 12/28/15, 1:16 PM, "macosx-port-dev on behalf of Saurav Sarkar"
><macosx-port-dev-bounces at openjdk.java.net<mailto:macosx-port-dev-bounces at o
>penjdk.java.net> on behalf of
>saurav.sarkar1 at gmail.com<mailto:saurav.sarkar1 at gmail.com>> wrote:
>
>>Hi All,
>>
>>I stumbled onto this bug
>>http://mail.openjdk.java.net/pipermail/macosx-port-dev/2015-December/0069
>>8
>>9.html
>>raised by Erik few days back. We face a similar problem in our Mac
>>application
>>
>>Is there any update on this or is this being filed as a bug ?
>>
>>cheers,
>>
>>Saurav
>
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 160123 Stuck in AquaProgressBarUI.paint.txt
URL: <http://mail.openjdk.java.net/pipermail/macosx-port-dev/attachments/20160123/f5a8956e/160123StuckinAquaProgressBarUI.paint-0001.txt>
More information about the macosx-port-dev
mailing list