<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>19572</bug_id>
          
          <creation_ts>2008-06-16 02:29:23 -0700</creation_ts>
          <short_desc>http/tests/xmlhttprequest/web-apps/016.html hangs</short_desc>
          <delta_ts>2008-06-16 15:19:31 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>19569</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Jean-Charles Verdié">jcverdie</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>83441</commentid>
    <comment_count>0</comment_count>
    <who name="Jean-Charles Verdié">jcverdie</who>
    <bug_when>2008-06-16 02:29:23 -0700</bug_when>
    <thetext>HangReport :

Call graph:
    964 Thread_2603
      964 start
        964 main
          964 dumpRenderTree(int, char const**)
            964 runTestingServerLoop()
              953 runTest(char const*)
                872 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
                  766 CFRunLoopRunInMode
                    722 CFRunLoopRunSpecific
                      458 mach_msg
                        447 mach_msg_trap
                          447 mach_msg_trap
                        11 mach_msg
                      120 __CFRunLoopDoObservers
                        62 __NSConnectionDoQueuedWork
                          12 NSPopAutoreleasePool
                            9 NSPopAutoreleasePool
                            2 _CFExecutableLinkedOnOrAfter
                              2 _CFExecutableLinkedOnOrAfter
                            1 objc_assign_strongCast
                              1 objc_assign_strongCast
                          9 -[NSLock unlock]
                            4 __spin_lock
                              4 __spin_lock
                            2 -[NSLock unlock]
                            2 pthread_mutex_unlock
                              2 pthread_mutex_unlock
                            1 object_getIndexedIvars
                              1 object_getIndexedIvars
                          9 __NSConnectionDoQueuedWork
                          8 -[NSLock lock]
                            3 object_getIndexedIvars
                              2 object_getIndexedIvars
                              1 _class_getInstanceSize
                                1 _class_getInstanceSize
                            2 -[NSLock lock]
                            2 pthread_mutex_lock
                              2 pthread_mutex_lock
                            1 _class_getInstanceSize
                              1 _class_getInstanceSize
                          8 lastConversationInfo
                            8 CFDictionaryGetValue
                              6 __CFDictionaryFindBuckets1b
                                3 __CFDictionaryFindBuckets1b
                                2 objc_msgSend
                                  2 objc_msgSend
                                1 CFHash
                                  1 -[NSObject hash]
                                    1 -[NSObject hash]
                              2 CFDictionaryGetValue
                          6 NSPushAutoreleasePool
                            5 NSPushAutoreleasePool
                            1 objc_assign_strongCast
                              1 objc_assign_strongCast
                          6 _CFArrayFastEnumeration
                            6 _CFArrayFastEnumeration
                          1 +[NSThread currentThread]
                            1 +[NSThread currentThread]
                          1 dyld_stub_objc_assign_strongCast
                            1 dyld_stub_objc_assign_strongCast
                          1 objc_collecting_enabled
                            1 objc_collecting_enabled
                          1 object_getIndexedIvars
                            1 object_getIndexedIvars
                        17 CFSetGetValues
                          17 CFSetGetValues
                        15 __CFRunLoopDoObservers
                        9 objc_msgSend
                          9 objc_msgSend
                        4 CFSetGetCount
                          4 CFSetGetCount
                        3 CFQSortArray
                          3 CFQSortArray
                        3 OSAtomicCompareAndSwapIntBarrier
                          2 OSAtomicCompareAndSwapIntBarrier
                          1 __compare_and_swap32
                            1 __compare_and_swap32
                        2 CFRelease
                          2 CFRelease
                        2 bsd_qsort
                          2 bsd_qsort
                        1 CFRetain
                          1 CFRetain
                        1 _CFRetain
                          1 _CFRetain
                        1 spin_unlock
                          1 spin_unlock
                      43 CFSetApplyFunction
                        31 __CFRunLoopCollectSources0
                          31 __CFRunLoopCollectSources0
                        12 CFSetApplyFunction
                      15 CFRunLoopRunSpecific
                      13 _CFRunLoop0
                        7 _CFRunLoop0
                        6 CFDictionaryGetValue
                          5 __CFDictionaryFindBuckets1a
                            5 __CFDictionaryFindBuckets1a
                          1 CFDictionaryGetValue
                      13 malloc_zone_malloc
                        12 checkedMalloc(_malloc_zone_t*, unsigned long)
                          8 szone_malloc
                            8 szone_malloc
                          2 checkedMalloc(_malloc_zone_t*, unsigned long)
                          1 __spin_lock
                            1 __spin_lock
                          1 dyld_stub__spin_lock
                            1 dyld_stub__spin_lock
                        1 malloc_zone_malloc
                      9 __CFRunLoopFindMode
                        5 CFSetGetValue
                          5 __CFSetFindBuckets1b
                            2 CFEqual
                              2 CFEqual
                            1 _CFHash
                              1 _CFHash
                            1 __CFSetFindBuckets1b
                            1 __CFStringHash
                              1 __CFStringHash
                        4 __CFRunLoopFindMode
                      8 CFAllocatorDeallocate
                        8 CFAllocatorDeallocate
                      7 __spin_lock
                        7 __spin_lock
                      7 szone_free
                        7 szone_free
                      4 __removeHandler2
                        4 __removeHandler2
                      3 __nanotime
                        3 __nanotime
                      3 dyld_stub_pthread_getspecific
                        3 dyld_stub_pthread_getspecific
                      3 spin_lock
                        3 spin_lock
                      2 CFSetGetCount
                        2 CFSetGetCount
                      2 __bzero
                        2 __bzero
                      2 malloc_zone_free
                        2 malloc_zone_free
                      2 objc_exception_try_exit
                        2 objc_exception_try_exit
                      2 spin_unlock
                        2 spin_unlock
                      1 __CFAllocatorSystemDeallocate
                        1 __CFAllocatorSystemDeallocate
                      1 __CFRunLoopModeIsEmpty
                        1 __CFRunLoopModeIsEmpty
                      1 __addHandler2
                        1 __addHandler2
                      1 dyld_stub_pthread_main_np
                        1 dyld_stub_pthread_main_np
                      1 mach_msg_trap
                        1 mach_msg_trap
                      1 pthread_getspecific
                        1 pthread_getspecific
                    24 __spin_lock
                      24 __spin_lock
                    9 CFRunLoopGetCurrent
                      5 _CFRunLoop0
                        3 _CFRunLoop0
                        2 CFDictionaryGetValue
                          2 __CFDictionaryFindBuckets1a
                            2 __CFDictionaryFindBuckets1a
                      2 __spin_lock
                        2 __spin_lock
                      1 CFRunLoopGetCurrent
                      1 pthread_equal
                        1 pthread_equal
                    3 _setjmp
                      3 _setjmp
                    3 dyld_stub_OSSpinLockUnlock
                      3 dyld_stub_OSSpinLockUnlock
                    2 spin_lock
                      2 spin_lock
                    1 CFRunLoopRunInMode
                    1 mach_absolute_time
                      1 mach_absolute_time
                    1 memset
                      1 memset
                  34 NSPopAutoreleasePool
                    14 NSPopAutoreleasePool
                    7 objc_assign_strongCast
                      7 objc_assign_strongCast
                    6 NSClassFromObject
                      4 NSClassFromObject
                      1 -[NSObject class]
                        1 -[NSObject class]
                      1 object_getClass
                        1 object_getClass
                    2 objc_collecting_enabled
                      2 objc_collecting_enabled
                    2 objc_msgSend
                      2 objc_msgSend
                    2 object_getClass
                      2 object_getClass
                    1 pthread_getspecific
                      1 pthread_getspecific
                  29 _CFRunLoopFinished
                    27 __CFRunLoopFindMode
                      26 CFSetGetValue
                        18 __CFSetFindBuckets1b
                          7 __CFSetFindBuckets1b
                          4 __CFStringHash
                            4 __CFStringHash
                          3 CFEqual
                            2 __CFRunLoopModeEqual
                              1 CFEqual
                                1 CFEqual
                              1 __CFRunLoopModeEqual
                            1 CFEqual
                          2 CFHash
                            2 CFHash
                          2 _CFHash
                            2 _CFHash
                        7 CFSetGetValue
                        1 _CFHash
                          1 _CFHash
                      1 _CFRuntimeSetInstanceTypeID
                        1 _CFRuntimeSetInstanceTypeID
                    1 _CFRunLoopFinished
                    1 __CFRunLoopModeIsEmpty
                      1 __CFRunLoopModeIsEmpty
                  10 CFAbsoluteTimeGetCurrent
                    4 CFAbsoluteTimeGetCurrent
                    3 __gettimeofday
                      3 __gettimeofday
                    3 gettimeofday
                      2 __gettimeofday
                        1 __gettimeofday
                        1 __nanotime
                          1 __nanotime
                      1 gettimeofday
                  10 CFRunLoopGetCurrent
                    5 _CFRunLoop0
                      4 _CFRunLoop0
                      1 CFDictionaryGetValue
                        1 __CFDictionaryFindBuckets1a
                          1 __CFDictionaryFindBuckets1a
                    2 CFRunLoopGetCurrent
                    2 __spin_lock
                      2 __spin_lock
                    1 pthread_self
                      1 pthread_self
                  5 -[NSCFString isEqual:]
                    2 CFStringGetLength
                      2 CFStringGetLength
                    2 NSClassFromObject
                      1 NSClassFromObject
                      1 object_getClass
                        1 object_getClass
                    1 -[NSCFString isEqual:]
                  5 CFDateGetAbsoluteTime
                    4 CFDateGetAbsoluteTime
                    1 CFDateGetTypeID
                      1 CFDateGetTypeID
                  4 objc_msgSend
                    4 objc_msgSend
                  3 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
                  3 objc_collecting_enabled
                    3 objc_collecting_enabled
                  1 -[__NSCFDate timeIntervalSinceReferenceDate]
                    1 -[__NSCFDate timeIntervalSinceReferenceDate]
                  1 NSPushAutoreleasePool
                    1 objc_assign_strongCast
                      1 objc_assign_strongCast
                  1 dyld_stub_objc_assign_strongCast
                    1 dyld_stub_objc_assign_strongCast
                34 NSPopAutoreleasePool
                  28 NSPopAutoreleasePool
                  3 objc_assign_strongCast
                    3 objc_assign_strongCast
                  1 +[NSObject self]
                    1 +[NSObject self]
                  1 dyld_stub_object_getClass
                    1 dyld_stub_object_getClass
                  1 objc_msgSend
                    1 objc_msgSend
                15 -[NSAutoreleasePool init]
                  11 -[NSAutoreleasePool initWithCapacity:]
                    4 NSPushAutoreleasePool
                      3 NSPushAutoreleasePool
                      1 objc_assign_strongCast
                        1 objc_assign_strongCast
                    2 -[NSAutoreleasePool initWithCapacity:]
                    2 NSClassFromObject
                      1 -[NSObject class]
                        1 -[NSObject class]
                      1 NSClassFromObject
                    2 objc_msgSend
                      2 objc_msgSend
                    1 objc_collecting_enabled
                      1 objc_collecting_enabled
                  2 objc_msgSend
                    2 objc_msgSend
                  1 -[NSAutoreleasePool init]
                  1 objc_collecting_enabled
                    1 objc_collecting_enabled
                13 objc_msgSend
                  13 objc_msgSend
                9 runTest(char const*)
                5 +[NSRunLoop(NSRunLoop) currentRunLoop]
                  2 +[NSRunLoop(NSRunLoop) currentRunLoop]
                  2 +[NSThread currentThread]
                    2 +[NSThread currentThread]
                  1 dyld_stub_pthread_getspecific
                    1 dyld_stub_pthread_getspecific
                2 -[NSAutoreleasePool release]
                  2 -[NSAutoreleasePool release]
                2 objc_msgSend_fpret
                  2 objc_msgSend_fpret
                1 +[NSObject alloc]
                  1 dyld_stub_objc_msgSend
                    1 dyld_stub_objc_msgSend
              9 objc_msgSend
                9 objc_msgSend
              2 dyld_stub_objc_msgSend
                2 dyld_stub_objc_msgSend
    964 Thread_2703
      964 thread_start
        964 _pthread_start
          964 CFURLCacheWorkerThread(void*)
            964 CFRunLoopRunInMode
              964 CFRunLoopRunSpecific
                964 mach_msg
                  964 mach_msg_trap
                    964 mach_msg_trap
    964 Thread_2803
      964 thread_start
        964 _pthread_start
          964 __NSThread__main__
            964 -[NSThread main]
              964 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:]
                964 CFRunLoopRunInMode
                  964 CFRunLoopRunSpecific
                    964 mach_msg
                      964 mach_msg_trap
                        964 mach_msg_trap
    964 Thread_2903
      964 thread_start
        964 _pthread_start
          964 select$DARWIN_EXTSN
            964 select$DARWIN_EXTSN

Total number in stack (recursive counted multiple, when &gt;=5):
        9       objc_msgSend
        6       __spin_lock
        6       objc_assign_strongCast
        5       objc_collecting_enabled

Sort by top of stack, same collapsed (when &gt;= 5):
        mach_msg_trap        2376
        select$DARWIN_EXTSN        964
        NSPopAutoreleasePool        51
        objc_msgSend        44
        __spin_lock        40
        __CFRunLoopCollectSources0        31
        CFSetGetValues        17
        CFRunLoopRunSpecific        15
        __CFRunLoopDoObservers        15
        _CFRunLoop0        14
        objc_assign_strongCast        14
        CFSetApplyFunction        12
        mach_msg        11
        __NSConnectionDoQueuedWork        9
        runTest(char const*)        9
        CFAllocatorDeallocate        8
        NSPushAutoreleasePool        8
        __CFDictionaryFindBuckets1a        8
        __CFSetFindBuckets1b        8
        objc_collecting_enabled        8
        szone_malloc        8
        CFSetGetValue        7
        szone_free        7
        CFSetGetCount        6
        NSClassFromObject        6
        _CFArrayFastEnumeration        6
        __CFStringHash        5
        spin_lock        5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83532</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-06-16 13:34:30 -0700</bug_when>
    <thetext>I didn&apos;t see this on a local debug build of r34600.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83537</commentid>
    <comment_count>2</comment_count>
    <who name="Jean-Charles Verdié">jcverdie</who>
    <bug_when>2008-06-16 13:50:03 -0700</bug_when>
    <thetext>On rev 34605 it still timeouts (I&apos;m running Leopard 10.5.3) 

http/tests/xmlhttprequest/web-apps/016.html -&gt; timed out
Sampling process 39913 for 10 seconds with 10 milliseconds of run time between samples
Sampling completed, processing symbols...
Sample analysis of process 39913 written to file /Users/jcverdie/Library/Logs/DumpRenderTree/HangReport.txt

43.26s total testing time

1 test case (100%) timed out

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83548</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-06-16 15:19:31 -0700</bug_when>
    <thetext>Oh, I see. The test is disabled, and for a reason. &quot;Wait at least 10 minutes&quot; is not what DumpRenderTree is going to do.

I think it makes sense to keep it disabled rather than delete, since otherwise, someone may want to get it from upstream again.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>