[Webkit-unassigned] [Bug 17814] Reading past end of string, for certain malformed <?xml ..?> tags

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 13 16:42:42 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=17814


oliver at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oliver at apple.com
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|WORKSFORME                  |




------- Comment #7 from oliver at apple.com  2008-03-13 16:42 PDT -------
After keeping the test case as my homepage for a few days i eventually hit this
crash:
0   com.apple.WebCore                   0x90989fa7
WebCore::TextResourceDecoder::checkForHeadCharset(char const*, unsigned long,
bool&) + 935
1   com.apple.WebCore                   0x90989a47
WebCore::TextResourceDecoder::decode(char const*, unsigned long) + 679
2   com.apple.WebCore                   0x90987f7e
WebCore::FrameLoader::write(char const*, int, bool) + 190
3   com.apple.WebCore                   0x909cab67
WebCore::FrameLoader::addData(char const*, int) + 39
4   com.apple.WebCore                   0x909c4ddd -[WebCoreFrameBridge
receivedData:textEncodingName:] + 205
5   com.apple.WebKit                    0x9544c900 -[WebHTMLRepresentation
receivedData:withDataSource:] + 224
6   com.apple.WebKit                    0x9544c7bb -[WebDataSource(WebInternal)
_receivedData:] + 91
7   com.apple.WebKit                    0x9544c739
WebFrameLoaderClient::committedLoad(WebCore::DocumentLoader*, char const*, int)
+ 137
8   com.apple.WebCore                   0x909c1d86
WebCore::DocumentLoader::commitLoad(char const*, int) + 70
9   com.apple.WebCore                   0x909c1925
WebCore::ResourceLoader::didReceiveData(char const*, int, long long, bool) + 69
10  com.apple.WebCore                   0x909c1897
WebCore::MainResourceLoader::didReceiveData(char const*, int, long long, bool)
+ 71
11  com.apple.WebCore                   0x909c1848
WebCore::ResourceLoader::didReceiveData(WebCore::ResourceHandle*, char const*,
int, int) + 56
12  com.apple.Foundation                0x950383b7
-[NSURLConnection(NSURLConnectionReallyInternal)
sendDidReceiveData:originalLength:] + 119
13  com.apple.Foundation                0x9503831e
_NSURLConnectionDidReceiveData + 94
14  com.apple.CFNetwork                 0x931a90af sendDidReceiveDataCallback +
518
15  com.apple.CFNetwork                 0x931a676d
_CFURLConnectionSendCallbacks + 1559
16  com.apple.CFNetwork                 0x931a60d9 muxerSourcePerform + 283
17  com.apple.CoreFoundation            0x933a862e CFRunLoopRunSpecific + 3166
18  com.apple.CoreFoundation            0x933a8d18 CFRunLoopRunInMode + 88
19  com.apple.HIToolbox                 0x913906a0 RunCurrentEventLoopInMode +
283
20  com.apple.HIToolbox                 0x913904b9 ReceiveNextEventCommon + 374
21  com.apple.HIToolbox                 0x9139032d
BlockUntilNextEventMatchingListInMode + 106
22  com.apple.AppKit                    0x942457d9 _DPSNextEvent + 657
23  com.apple.AppKit                    0x9424508e -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
24  com.apple.Safari                    0x0000804e 0x1000 + 28750
25  com.apple.AppKit                    0x9423e0c5 -[NSApplication run] + 795
26  com.apple.AppKit                    0x9420b30a NSApplicationMain + 574
27  com.apple.Safari                    0x000b9a76 0x1000 + 756342

Thread 1:
0   libSystem.B.dylib                   0x95e2cbce __semwait_signal + 10
1   libSystem.B.dylib                   0x95e578cd pthread_cond_wait$UNIX2003 +
73
2   com.apple.WebCore                   0x9094f56f
WebCore::IconDatabase::syncThreadMainLoop() + 239
3   com.apple.WebCore                   0x90907cd5
WebCore::IconDatabase::iconDatabaseSyncThread() + 181
4   libSystem.B.dylib                   0x95e56c55 _pthread_start + 321
5   libSystem.B.dylib                   0x95e56b12 thread_start + 34

Thread 2:
0   libSystem.B.dylib                   0x95e259e6 mach_msg_trap + 10
1   libSystem.B.dylib                   0x95e2d1dc mach_msg + 72
2   com.apple.CoreFoundation            0x933a80de CFRunLoopRunSpecific + 1806
3   com.apple.CoreFoundation            0x933a8d18 CFRunLoopRunInMode + 88
4   com.apple.CFNetwork                 0x931a16cc
CFURLCacheWorkerThread(void*) + 396
5   libSystem.B.dylib                   0x95e56c55 _pthread_start + 321
6   libSystem.B.dylib                   0x95e56b12 thread_start + 34

Thread 3:
0   libSystem.B.dylib                   0x95e259e6 mach_msg_trap + 10
1   libSystem.B.dylib                   0x95e2d1dc mach_msg + 72
2   com.apple.CoreFoundation            0x933a80de CFRunLoopRunSpecific + 1806
3   com.apple.CoreFoundation            0x933a8d18 CFRunLoopRunInMode + 88
4   com.apple.Foundation                0x95036ac0
+[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 320
5   com.apple.Foundation                0x94fd35ad -[NSThread main] + 45
6   com.apple.Foundation                0x94fd3154 __NSThread__main__ + 308
7   libSystem.B.dylib                   0x95e56c55 _pthread_start + 321
8   libSystem.B.dylib                   0x95e56b12 thread_start + 34

Thread 4:
0   libSystem.B.dylib                   0x95e75b3a select$DARWIN_EXTSN + 10
1   libSystem.B.dylib                   0x95e56c55 _pthread_start + 321
2   libSystem.B.dylib                   0x95e56b12 thread_start + 34


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list