Issue 142225 in chromium: HTML5 Web Worker crashes when the main thread calls multiple postMessage to it with big data passed.

128 views
Skip to first unread message

chro...@googlecode.com

unread,
Aug 12, 2012, 10:05:28 AM8/12/12
to chromi...@chromium.org
Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 Area-Undefined OS-Windows

New issue 142225 by mantrain...@gmail.com: HTML5 Web Worker crashes when
the main thread calls multiple postMessage to it with big data passed.
http://code.google.com/p/chromium/issues/detail?id=142225

Chrome Version : 20.0.1132.47
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari 5:
Firefox 4.x:
IE 7/8/9:

What steps will reproduce the problem?
1. create a Worker object with ajax posting with XMLHTTPRequest in its
onmessage listener
2. call postMessage of the worker with quite big data passed (base64
encoded file to post via ajax).
3. call it (send files) many times simultaneously (like queuing file
uploads), around 50 times

What is the expected result?
all uploads via ajax in worker are completed successfully

What happens instead?
sometimes it finishes ok,
but more often it crashes with the standard blue crash pages
when the postMessage is called many times (not while the worker is doing
its job).
it happens likely on the second batch of calls


Please provide any additional information below. Attach a screenshot if
possible.

UserAgentString: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.11 (KHTML,
like Gecko) Chrome/20.0.1132.47 Safari/536.11




chro...@googlecode.com

unread,
Aug 17, 2012, 8:28:39 AM8/17/12
to chromi...@chromium.org

Comment #2 on issue 142225 by mantrain...@gmail.com: HTML5 Web Worker
crashes when the main thread calls multiple postMessage to it with big data
passed.
http://code.google.com/p/chromium/issues/detail?id=142225

not valid, i've found error in my code.

actually i was spawning a lot of workers.
and never terminating them.

so after about >50 workers, chrome crashes in my case.

chro...@googlecode.com

unread,
Aug 17, 2012, 9:02:50 AM8/17/12
to chromi...@chromium.org
Updates:
Labels: -Area-Internals -Internals-Network-HTTP Area-WebKit

Comment #3 on issue 142225 by mme...@chromium.org: HTML5 Web Worker crashes
when the main thread calls multiple postMessage to it with big data passed.
http://code.google.com/p/chromium/issues/detail?id=142225

Leaving the bug open. Ideally should be doing something smarter than
crashing, I'd think.

chro...@googlecode.com

unread,
Sep 6, 2012, 4:02:27 PM9/6/12
to chromi...@chromium.org
Updates:
Labels: Action-FeedbackNeeded

Comment #4 on issue 142225 by kar...@google.com: HTML5 Web Worker crashes
when the main thread calls multiple postMessage to it with big data passed.
http://code.google.com/p/chromium/issues/detail?id=142225

are you still seeing this in current stable channel?

chro...@googlecode.com

unread,
Jan 31, 2013, 1:58:58 AM1/31/13
to chromi...@chromium.org
Updates:
Status: WontFix
Cc: nyerrami...@chromium.org
Labels: -Action-FeedbackNeeded

Comment #5 on issue 142225 by nyerrami...@chromium.org: HTML5 Web Worker
crashes when the main thread calls multiple postMessage to it with big data
passed.
http://code.google.com/p/chromium/issues/detail?id=142225

@ mantrainsilence, we are closing this issue due to lack of response.

If you are seeing this bug or have new data, please feel free to raise a
New Issue.

Reply all
Reply to author
Forward
0 new messages