Bug 137813 - JSC::BlockAllocator::blockFreeingThreadMain() , too many thread be hang up.
Summary: JSC::BlockAllocator::blockFreeingThreadMain() , too many thread be hang up.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 523.x (Safari 3)
Hardware: iPhone / iPad iOS 7.0
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-17 02:15 PDT by YauzZ
Modified: 2014-10-17 21:54 PDT (History)
2 users (show)

See Also:


Attachments
crashlytics log (6.07 KB, application/octet-stream)
2014-10-17 02:15 PDT, YauzZ
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description YauzZ 2014-10-17 02:15:41 PDT
Created attachment 240007 [details]
crashlytics log

hi,

my app have a crash in crashlytics.com. the reason is the -[ASIHTTPRequest runPACScript:] , but too many JSC thread be hang up before the crash. finally as the memory too low , the system abort.

i search bug in webkit.org, example :
    https://bugs.webkit.org/show_bug.cgi?id=98084
    https://bugs.webkit.org/show_bug.cgi?id=90622

it refer to the free block in gc , especially follow code is not perfect. 

void BlockAllocator::blockFreeingThreadMain()
{
    while (!m_blockFreeingThreadShouldQuit) {
        // Generally wait for one second before scavenging free blocks. This
        // may return early, particularly when we're being asked to quit.
        waitForRelativeTime(1.0);
        if (m_blockFreeingThreadShouldQuit)
            break;


so can you verify this question is the bug in jsc? and how to fix it ?