Chrome bug with Applet and threading

Discussion in 'Java' started by Richard Maher, May 24, 2012.

  1. Hi,

    Please see Chrome bug report: -
    http://code.google.com/p/chromium/issues/detail?id=129528

    If you can identify a bug in my code that is causing the hang on Chrome them
    please let me know. Otherwise please vote for this issue by ticking the
    star. SSCCE provided and behaviour very easy to reproduce.

    Cheers Richard Maher

    PS. If you can get it to work or fail with other OS/Browser combinations not
    mentioned in the report (forget Safari on Windows) then please let me know.
    Richard Maher, May 24, 2012
    #1
    1. Advertising

  2. Richard Maher

    Evertjan. Guest

    Richard Maher wrote on 25 mei 2012 in comp.lang.javascript:
    > Please see Chrome bug report: -
    > http://code.google.com/p/chromium/issues/detail?id=129528
    >
    > If you can identify a bug in my code that is causing the hang on
    > Chrome them please let me know. Otherwise please vote for this issue
    > by ticking the star. SSCCE provided and behaviour very easy to
    > reproduce.


    Off topic, Java != Javascript.


    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)
    Evertjan., May 25, 2012
    #2
    1. Advertising

  3. "Evertjan." <> wrote in message
    news:XnsA05E5D966C1D2eejj99@194.109.133.133...
    > Richard Maher wrote on 25 mei 2012 in comp.lang.javascript:
    >> Please see Chrome bug report: -
    >> http://code.google.com/p/chromium/issues/detail?id=129528
    >>
    >> If you can identify a bug in my code that is causing the hang on
    >> Chrome them please let me know. Otherwise please vote for this issue
    >> by ticking the star. SSCCE provided and behaviour very easy to
    >> reproduce.

    >
    > Off topic, Java != Javascript.


    Can you please explain why you are so adamant that all of the Javascript on
    the readily available: -
    http://code.google.com/p/chromium/i...ken=uG9gNfEjUC8sTqGvGvrDTjpYD1E:1338292470931
    is not responsible for the hang with the Chrome browser?

    Perhaps the "dispatcher" method gets an exception and prevents the Applet
    callback from calling notifyAll()? But that would surely only block one TAB?

    Regardless, my decision to alter the Javascript so that the user's
    "callback" JS function no longer has to call a "rendezvous" method but
    rather return a true/false indicating end-of-stream for a reply/result-set
    culminated in a solution that now works with every browser except Chrome.
    Maybe a further tweak to the Javascript/DOM could get Chrome to obey the
    rules? (Certainly appending the DIV child to the document.body *before*
    seting its <object> innerHTML got IE8 over the line with Applet activation!)

    Anyway, underneath all this is a single Java thread multiplexing output to
    any number of TABs in a browser instance that constitute an Application, and
    I think a lot of people would find that very interesting! Having said that,
    to date, nobody could be bothered to tick a simple star so maybe no one
    cares?

    >
    >
    > --
    > Evertjan.
    > The Netherlands.


    Oh, I get it! It's just that you can't wait till August when you and your
    Cloggie mates get to take your caravans down to the autobahns and really
    give complete strangers the shits?

    Regards Richard Maher
    Richard Maher, May 29, 2012
    #3
  4. Richard Maher

    Scott Sauyet Guest

    Richard Maher wrote:
    > Evertjan wrote:
    >> Richard Maher wrote:
    >>> Please see Chrome bug report: -
    >>> http://code.google.com/p/chromium/issues/detail?id=129528

    >
    >>> If you can identify a bug in my code that is causing the hang on
    >>> Chrome them please let me know. Otherwise please vote for this issue
    >>> by ticking the star. SSCCE provided and behaviour very easy to
    >>> reproduce.

    >
    >> Off topic, Java != Javascript.

    >
    > Can you please explain why you are so adamant that all of the Javascript on
    > the readily available: -http://code.google.com/p/chromium/issues/attachmentText?id=129528&aid...
    > is not responsible for the hang with the Chrome browser?


    I did the same thing that Evertjan probably did. I looked at your
    note, clicked on the link, scanned the bug report, saw absolutely
    nothing in any of that sounded like a Javascript issue, getting turned
    off in the process by the detailed descriptions of how to compile and
    jar up your Java. (I don't know how the attachments work there, but
    would it not be possible to attach the jar file as well as the
    source?) I used to do mostly Java; I'm not scared of working with
    Java or the command line, but that seems to me far from my current day-
    to-day development with Javascript.

    But I had no real idea what your code was supposed to do until your
    follow-up here.


    > [ ... ]
    > Anyway, underneath all this is a single Java thread multiplexing output to
    > any number of TABs in a browser instance that constitute an Application, and
    > I think a lot of people would find that very interesting!


    That could be interesting, I imagine. But it's been a long time since
    I worked with an application that used multiple tabs.


    > Having said that, to date, nobody could be bothered to tick a simple star
    > so maybe no one cares?


    I'm not likely to tick a simple star unless I've actually tried it and
    saw the issue myself and decided that I thought it a reasonably high
    priority. It's been eight years since I did *anything* with an
    applet, so I really doubt that it would make it to that level.



    > [ ... ]
    > Oh, I get it! It's just that you can't wait till August when you and your
    > Cloggie mates get to take your caravans down to the autobahns and really
    > give complete strangers the shits?


    Even though I have absolutely no idea what you're talking about here,
    the obvious attitude makes me unwilling to go back and investigate
    further.

    -- Scott
    Scott Sauyet, May 29, 2012
    #4
  5. Richard Maher

    Lew Guest

    On 05/29/2012 05:17 AM, Richard Maher wrote:
    > "Evertjan."<> wrote in message
    > news:XnsA05E5D966C1D2eejj99@194.109.133.133...
    >> Richard Maher wrote on 25 mei 2012 in comp.lang.javascript:
    >>> Please see Chrome bug report: -
    >>> http://code.google.com/p/chromium/issues/detail?id=129528
    >>>
    >>> If you can identify a bug in my code that is causing the hang on
    >>> Chrome them please let me know. Otherwise please vote for this issue
    >>> by ticking the star. SSCCE provided and behaviour very easy to
    >>> reproduce.

    >>
    >> Off topic, Java != Javascript.

    >
    > Can you please explain why you are so adamant that all of the Javascript on
    > the readily available: -
    > http://code.google.com/p/chromium/i...ken=uG9gNfEjUC8sTqGvGvrDTjpYD1E:1338292470931
    > is not responsible for the hang with the Chrome browser?


    You are asking the respondent why they are "so adamant" about a claim they've
    never made. That is a logical fallacy and rhetorical dirty trick known as the
    "straw man" argument.

    > Perhaps the "dispatcher" method gets an exception and prevents the Applet
    > callback from calling notifyAll()? But that would surely only block one TAB?
    >
    > Regardless, my decision to alter the Javascript so that the user's
    > "callback" JS function no longer has to call a "rendezvous" method but
    > rather return a true/false indicating end-of-stream for a reply/result-set
    > culminated in a solution that now works with every browser except Chrome.
    > Maybe a further tweak to the Javascript/DOM could get Chrome to obey the
    > rules? (Certainly appending the DIV child to the document.body *before*
    > seting its<object> innerHTML got IE8 over the line with Applet activation!)
    >
    > Anyway, underneath all this is a single Java thread multiplexing output to
    > any number of TABs in a browser instance that constitute an Application, and
    > I think a lot of people would find that very interesting! Having said that,
    > to date, nobody could be bothered to tick a simple star so maybe no one
    > cares?


    What? What star? What are you talking about? What does that have to do with
    Java or Javascript? That comment seems so random and non-sequiturish. And why
    are you so aggrieved about whatever a "simple star" is?


    >> --
    >> Evertjan.
    >> The Netherlands.

    >
    > Oh, I get it! It's just that you can't wait till August when you and your
    > Cloggie mates get to take your caravans down to the autobahns and really
    > give complete strangers the shits?


    And thus you descend into simple trolldom. How is that a helpful remark,
    "Richard"?

    --
    Lew
    Honi soit qui mal y pense.
    http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg
    Lew, May 29, 2012
    #5
  6. "Scott Sauyet" <> wrote in message
    news:...
    > Richard Maher wrote:
    >> Evertjan wrote:
    >>> Richard Maher wrote:
    >>>> Please see Chrome bug report: -
    >>>> http://code.google.com/p/chromium/issues/detail?id=129528

    >>
    >>>> If you can identify a bug in my code that is causing the hang on
    >>>> Chrome them please let me know. Otherwise please vote for this issue
    >>>> by ticking the star. SSCCE provided and behaviour very easy to
    >>>> reproduce.

    >>
    >>> Off topic, Java != Javascript.

    >>
    >> Can you please explain why you are so adamant that all of the Javascript
    >> on
    >> the readily
    >> available: -http://code.google.com/p/chromium/issues/attachmentText?id=129528&aid...
    >> is not responsible for the hang with the Chrome browser?

    >
    > I did the same thing that Evertjan probably did. I looked at your
    > note, clicked on the link, scanned the bug report, saw absolutely
    > nothing in any of that sounded like a Javascript issue, getting turned
    > off in the process by the detailed descriptions of how to compile and
    > jar up your Java. (I don't know how the attachments work there, but
    > would it not be possible to attach the jar file as well as the
    > source?) I used to do mostly Java; I'm not scared of working with
    > Java or the command line, but that seems to me far from my current day-
    > to-day development with Javascript.
    >


    For those who don't want to dowload a JDK or worry about compiling anything,
    there is a version of "POC.JAR" now attached to the Chrome bug report: -
    http://code.google.com/p/chromium/issues/detail?id=129528#c9

    Simply copy that file and the "hydra.html" file to your web hosting
    directory and you're away. (To open the hydra.html example on other than the
    local host you must first edit hydra.html and change the "codebase" and
    "archive" object parameters from http://127.0.0.1/ to the correct URL for
    your server.)
    >
    > -- Scott


    Cheers Richard Maher
    Richard Maher, Jun 3, 2012
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    9
    Views:
    1,001
    Mark Space
    Dec 29, 2007
  2. Paul Hale
    Replies:
    0
    Views:
    287
    Paul Hale
    Sep 4, 2008
  3. Steven Woody
    Replies:
    0
    Views:
    393
    Steven Woody
    Jan 9, 2009
  4. Steven Woody
    Replies:
    0
    Views:
    428
    Steven Woody
    Jan 9, 2009
  5. Richard Maher
    Replies:
    13
    Views:
    1,271
    Richard Maher
    Nov 17, 2010
Loading...

Share This Page