Bug 17106 - Debug build ASSERTs on page load
Summary: Debug build ASSERTs on page load
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Alexey Proskuryakov
URL: http://publish.it168.com/2007/1208/20...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2008-01-30 18:01 PST by Eric Seidel (no email)
Modified: 2008-02-20 04:38 PST (History)
3 users (show)

See Also:


Attachments
proposed fix (5.72 KB, patch)
2008-02-19 00:39 PST, Alexey Proskuryakov
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2008-01-30 18:01:47 PST
Debug build ASSERTs on page load

http://publish.it168.com/2007/1208/20071208000801.shtml

ASSERTION FAILED: !HashTranslator::equal(KeyTraits::emptyValue(), key)
(/Users/eseidel/Projects/build/Debug/JavaScriptCore.framework/PrivateHeaders/HashTable.h:433 Value* WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::lookup(const T&) [with T = int, HashTranslator = WTF::IdentityHashTranslator<int, std::pair<int, int>, WTF::IntHash<unsigned int> >, Key = int, Value = std::pair<int, int>, Extractor = WTF::PairFirstExtractor<std::pair<int, int> >, HashFunctions = WTF::IntHash<unsigned int>, Traits = WTF::PairHashTraits<WTF::HashTraits<int32_t>, WTF::HashTraits<short int> >, KeyTraits = WTF::HashTraits<int32_t>])

Date/Time:      2008-01-30 17:20:33.480 -0800
OS Version:     10.4.11 (Build 8S2167)
Report Version: 4

Command: Safari
Path:    /Applications/Safari.app/Contents/MacOS/Safari
Parent:  perl [3541]

Version:        3.0.4 (523.12)
Build Version:  2
Project Name:   WebBrowser
Source Version: 45231200

PID:    3544
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0xbbadbeef

Thread 0 Crashed:
0   com.apple.WebCore              	0x017a07ef std::pair<int, int>* WTF::HashTable<int, std::pair<int, int>, WTF::PairFirstExtractor<std::pair<int, int> >, WTF::IntHash<unsigned>, WTF::PairHashTraits<WTF::HashTraits<int>, WTF::HashTraits<short> >, WTF::HashTraits<int> >::lookup<int, WTF::IdentityHashTranslator<int, std::pair<int, int>, WTF::IntHash<unsigned> > >(int const&) + 151 (HashTable.h:433)
1   com.apple.WebCore              	0x017a091a bool WTF::HashTable<int, std::pair<int, int>, WTF::PairFirstExtractor<std::pair<int, int> >, WTF::IntHash<unsigned>, WTF::PairHashTraits<WTF::HashTraits<int>, WTF::HashTraits<short> >, WTF::HashTraits<int> >::contains<int, WTF::IdentityHashTranslator<int, std::pair<int, int>, WTF::IntHash<unsigned> > >(int const&) const + 42 (HashTable.h:764)
2   com.apple.WebCore              	0x017a0944 WTF::HashTable<int, std::pair<int, int>, WTF::PairFirstExtractor<std::pair<int, int> >, WTF::IntHash<unsigned>, WTF::PairHashTraits<WTF::HashTraits<int>, WTF::HashTraits<short> >, WTF::HashTraits<int> >::contains(int const&) const + 24 (HashTable.h:316)
3   com.apple.WebCore              	0x017a0964 WTF::HashMap<int, unsigned short, WTF::IntHash<unsigned>, WTF::HashTraits<int>, WTF::HashTraits<unsigned short> >::contains(int const&) const + 24 (HashMap.h:262)
4   com.apple.WebCore              	0x013fc288 WebCore::gbkCallbackSubstitute(void const*, UConverterFromUnicodeArgs*, unsigned short const*, int, int, UConverterCallbackReason, UErrorCode*) + 28 (TextCodecICU.cpp:294)
5   libicucore.A.dylib             	0x90933002 ucnv_close + 389
6   com.apple.WebCore              	0x013fbb6e WebCore::TextCodecICU::releaseICUConverter() const + 50 (TextCodecICU.cpp:178)
7   com.apple.WebCore              	0x013fc4a7 WebCore::TextCodecICU::~TextCodecICU [in-charge deleting]() + 37 (TextCodecICU.cpp:171)
8   com.apple.WebCore              	0x017a007d std::auto_ptr<WebCore::TextCodec>::~auto_ptr [in-charge]() + 37 (memory:259)
9   com.apple.WebCore              	0x013ffb71 WebCore::TextEncoding::encode(unsigned short const*, unsigned long, bool) const + 519 (TextEncoding.cpp:103)
10  com.apple.WebCore              	0x012699ec WebCore::encodeRelativeString(WebCore::KURL const&, WebCore::DeprecatedString const&, WebCore::TextEncoding const&) + 456 (KURL.cpp:1478)
11  com.apple.WebCore              	0x01269c6c WebCore::KURL::init(WebCore::KURL const&, WebCore::DeprecatedString const&, WebCore::TextEncoding const&) + 384 (KURL.cpp:301)
12  com.apple.WebCore              	0x0126a667 WebCore::KURL::KURL[in-charge](WebCore::KURL const&, WebCore::DeprecatedString const&, WebCore::TextEncoding const&) + 49 (KURL.cpp:274)
13  com.apple.WebCore              	0x010e6796 WebCore::Document::completeURL(WebCore::DeprecatedString const&) + 386 (Document.cpp:2801)
14  com.apple.WebCore              	0x01170686 WebCore::HTMLFrameElementBase::isURLAllowed(WebCore::AtomicString const&) const + 110 (HTMLFrameElementBase.cpp:64)
15  com.apple.WebCore              	0x01170fcc WebCore::HTMLFrameElementBase::openURL() + 106 (HTMLFrameElementBase.cpp:99)
16  com.apple.WebCore              	0x01171657 WebCore::HTMLFrameElementBase::setNameAndOpenURL() + 223 (HTMLFrameElementBase.cpp:168)
17  com.apple.WebCore              	0x0117166f WebCore::HTMLFrameElementBase::setNameAndOpenURLCallback(WebCore::Node*) + 17 (HTMLFrameElementBase.cpp:173)
18  com.apple.WebCore              	0x0107f97d WebCore::ContainerNode::dispatchPostAttachCallbacks() + 83 (ContainerNode.cpp:615)
19  com.apple.WebCore              	0x0107fa2f WebCore::ContainerNode::attach() + 123 (ContainerNode.cpp:635)
20  com.apple.WebCore              	0x0110ba08 WebCore::Element::attach() + 28 (Element.cpp:682)
21  com.apple.WebCore              	0x011708d3 WebCore::HTMLFrameElementBase::attach() + 63 (HTMLFrameElementBase.cpp:201)
22  com.apple.WebCore              	0x01174925 WebCore::HTMLIFrameElement::attach() + 17 (HTMLIFrameElement.cpp:123)
23  com.apple.WebCore              	0x0119b87b WebCore::HTMLParser::insertNode(WebCore::Node*, bool) + 731 (HTMLParser.cpp:327)
24  com.apple.WebCore              	0x0119c186 WebCore::HTMLParser::parseToken(WebCore::Token*) + 1396 (HTMLParser.cpp:252)
25  com.apple.WebCore              	0x011ad138 WebCore::HTMLTokenizer::processToken() + 502 (HTMLTokenizer.cpp:1654)
26  com.apple.WebCore              	0x011b0041 WebCore::HTMLTokenizer::parseTag(WebCore::SegmentedString&, WebCore::HTMLTokenizer::State) + 5805 (HTMLTokenizer.cpp:1227)
27  com.apple.WebCore              	0x011b0a01 WebCore::HTMLTokenizer::write(WebCore::SegmentedString const&, bool) + 1215 (HTMLTokenizer.cpp:1456)
28  com.apple.WebCore              	0x011aced0 WebCore::HTMLTokenizer::notifyFinished(WebCore::CachedResource*) + 904 (HTMLTokenizer.cpp:1763)
29  com.apple.WebCore              	0x01069dec WebCore::CachedScript::checkNotify() + 68 (CachedScript.cpp:97)
30  com.apple.WebCore              	0x01069f4c WebCore::CachedScript::data(WTF::PassRefPtr<WebCore::SharedBuffer>, bool) + 278 (CachedScript.cpp:89)
31  com.apple.WebCore              	0x0145c44b WebCore::Loader::didFinishLoading(WebCore::SubresourceLoader*) + 307 (loader.cpp:116)
32  com.apple.WebCore              	0x013f9554 WebCore::SubresourceLoader::didFinishLoading() + 168 (SubresourceLoader.cpp:195)
33  com.apple.WebCore              	0x01347a8e WebCore::ResourceLoader::didFinishLoading(WebCore::ResourceHandle*) + 24 (ResourceLoader.cpp:373)
34  com.apple.WebCore              	0x01345ee3 -[WebCoreResourceHandleAsDelegate connectionDidFinishLoading:] + 115 (ResourceHandleMac.mm:456)
35  com.apple.Foundation           	0x9285dd7c -[NSURLConnection(NSURLConnectionInternal) _sendDidFinishLoadingCallback] + 176
36  com.apple.Foundation           	0x9285be21 -[NSURLConnection(NSURLConnectionInternal) _sendCallbacks] + 748
37  com.apple.Foundation           	0x9285babd _sendCallbacks + 201
38  com.apple.CoreFoundation       	0x9082cf32 CFRunLoopRunSpecific + 1213
39  com.apple.CoreFoundation       	0x9082ca6e CFRunLoopRunInMode + 61
40  com.apple.HIToolbox            	0x92df4878 RunCurrentEventLoopInMode + 285
41  com.apple.HIToolbox            	0x92df3f82 ReceiveNextEventCommon + 385
42  com.apple.HIToolbox            	0x92df3dd9 BlockUntilNextEventMatchingListInMode + 81
43  com.apple.AppKit               	0x9329b485 _DPSNextEvent + 572
44  com.apple.AppKit               	0x9329b076 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 137
45  com.apple.Safari               	0x00009208 0x1000 + 33288
46  com.apple.AppKit               	0x93294dfb -[NSApplication run] + 512
47  com.apple.AppKit               	0x93288d4f NSApplicationMain + 573
48  com.apple.Safari               	0x00090652 0x1000 + 587346
49  com.apple.Safari               	0x000027a9 0x1000 + 6057

Thread 1:
0   libSystem.B.dylib              	0x900248c7 semaphore_wait_signal_trap + 7
1   com.apple.WebCore              	0x01408566 WebCore::ThreadCondition::wait(WebCore::Mutex&) + 38 (ThreadingPthreads.cpp:184)
2   com.apple.WebCore              	0x011bebde WebCore::IconDatabase::syncThreadMainLoop() + 638 (IconDatabase.cpp:1313)
3   com.apple.WebCore              	0x011c03e2 WebCore::IconDatabase::iconDatabaseSyncThread() + 1194 (IconDatabase.cpp:1015)
4   com.apple.WebCore              	0x011c0411 WebCore::IconDatabase::iconDatabaseSyncThreadStart(void*) + 23 (IconDatabase.cpp:919)
5   libSystem.B.dylib              	0x90024227 _pthread_body + 84

Thread 2:
0   libSystem.B.dylib              	0x90009cd7 mach_msg_trap + 7
1   com.apple.CoreFoundation       	0x9082d253 CFRunLoopRunSpecific + 2014
2   com.apple.CoreFoundation       	0x9082ca6e CFRunLoopRunInMode + 61
3   com.apple.Foundation           	0x92853bca +[NSURLCache _diskCacheSyncLoop:] + 206
4   com.apple.Foundation           	0x927f72c0 forkThreadForFunction + 123
5   libSystem.B.dylib              	0x90024227 _pthread_body + 84

Thread 3:
0   libSystem.B.dylib              	0x90009cd7 mach_msg_trap + 7
1   com.apple.CoreFoundation       	0x9082d253 CFRunLoopRunSpecific + 2014
2   com.apple.CoreFoundation       	0x9082ca6e CFRunLoopRunInMode + 61
3   com.apple.Foundation           	0x9282c9ef +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:] + 259
4   com.apple.Foundation           	0x927f72c0 forkThreadForFunction + 123
5   libSystem.B.dylib              	0x90024227 _pthread_body + 84

Thread 4:
0   libSystem.B.dylib              	0x9001a1cc select + 12
1   libSystem.B.dylib              	0x90024227 _pthread_body + 84

Thread 5:
0   libSystem.B.dylib              	0x900248c7 semaphore_wait_signal_trap + 7
1   com.apple.Foundation           	0x9284d250 -[NSConditionLock lockWhenCondition:] + 39
2   com.apple.Syndication          	0x9b0e1966 -[AsyncDB _run:] + 181
3   com.apple.Foundation           	0x927f72c0 forkThreadForFunction + 123
4   libSystem.B.dylib              	0x90024227 _pthread_body + 84

Thread 6:
0   libSystem.B.dylib              	0x900248c7 semaphore_wait_signal_trap + 7
1   com.apple.Foundation           	0x9284d250 -[NSConditionLock lockWhenCondition:] + 39
2   com.apple.AppKit               	0x933722a4 -[NSUIHeartBeat _heartBeatThread:] + 377
3   com.apple.Foundation           	0x927f72c0 forkThreadForFunction + 123
4   libSystem.B.dylib              	0x90024227 _pthread_body + 84

Thread 7:
0   libSystem.B.dylib              	0x90009cd7 mach_msg_trap + 7
1   ...romedia.Flash Player.plugin 	0x1adcd341 memcopy_mmx + 709497
2   libSystem.B.dylib              	0x90024227 _pthread_body + 84

Thread 8:
0   libSystem.B.dylib              	0x900248c7 semaphore_wait_signal_trap + 7
1   ...romedia.Flash Player.plugin 	0x1ac94572 0x1a905000 + 3732850
2   ...romedia.Flash Player.plugin 	0x1accbe68 Flash_EnforceLocalSecurity + 124992
3   ...romedia.Flash Player.plugin 	0x1ac9481c 0x1a905000 + 3733532
4   libSystem.B.dylib              	0x90024227 _pthread_body + 84

Thread 9:
0   libSystem.B.dylib              	0x900248c7 semaphore_wait_signal_trap + 7
1   ...romedia.Flash Player.plugin 	0x1ac94572 0x1a905000 + 3732850
2   ...romedia.Flash Player.plugin 	0x1accbe68 Flash_EnforceLocalSecurity + 124992
3   ...romedia.Flash Player.plugin 	0x1ac9481c 0x1a905000 + 3733532
4   libSystem.B.dylib              	0x90024227 _pthread_body + 84

Thread 10:
0   libSystem.B.dylib              	0x900248c7 semaphore_wait_signal_trap + 7
1   com.apple.ColorSync            	0x915a96cf pthreadSemaphoreWait(t_pthreadSemaphore*) + 35
2   com.apple.ColorSync            	0x915c3de0 CMMConvTask(void*) + 60
3   libSystem.B.dylib              	0x90024227 _pthread_body + 84

Thread 11:
0   libSystem.B.dylib              	0x90026d5c kevent + 12
1   ...ple.CoreServices.CarbonCore 	0x90cb8c68 PrivateMPEntryPoint + 51
2   libSystem.B.dylib              	0x90024227 _pthread_body + 84

Thread 12:
0   libSystem.B.dylib              	0x900248c7 semaphore_wait_signal_trap + 7
1   ...ple.CoreServices.CarbonCore 	0x90cb8e0d MPWaitOnQueue + 198
2   com.apple.DesktopServices      	0x9271e953 TNodeSyncTask::SyncTaskProc(void*) + 143
3   ...ple.CoreServices.CarbonCore 	0x90cb8c68 PrivateMPEntryPoint + 51
4   libSystem.B.dylib              	0x90024227 _pthread_body + 84

Thread 13:
0   libSystem.B.dylib              	0x90009cd7 mach_msg_trap + 7
1   com.apple.CoreFoundation       	0x9082d253 CFRunLoopRunSpecific + 2014
2   com.apple.CoreFoundation       	0x9082ca6e CFRunLoopRunInMode + 61
3   com.apple.Foundation           	0x9282cd1a -[NSRunLoop runMode:beforeDate:] + 182
4   com.apple.Foundation           	0x9282cc16 -[NSRunLoop run] + 75
5   com.apple.Safari               	0x00047a63 0x1000 + 289379
6   com.apple.Foundation           	0x927f72c0 forkThreadForFunction + 123
7   libSystem.B.dylib              	0x90024227 _pthread_body + 84

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0xbbadbeef  ebx: 0x017a0764  ecx: 0xa0001e80  edx: 0x00000000
  edi: 0x1ddd8a50  esi: 0xbfffd26c  ebp: 0xbfffd148  esp: 0xbfffd100
   ss: 0x0000001f  efl: 0x00010282  eip: 0x017a07ef   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037

Binary Images Description:
    0x1000 -   0x119fff com.apple.Safari 3.0.4 (523.12)	/Applications/Safari.app/Contents/MacOS/Safari
  0x155000 -   0x156fff libgild.dylib 	/Library/Google/Frameworks/Gild.framework/Resources/libgild.dylib
  0x15b000 -   0x15efff com.google.Gild Framework 1.0.0 (1.0.0.26)	/Library/Google/Frameworks/Gild.framework/Versions/A/Gild
  0x305000 -   0x3fefff com.apple.WebKit 525.7+	/Users/eseidel/Projects/build/Debug/WebKit.framework/Versions/A/WebKit
  0x51e000 -   0x5e6fff com.apple.JavaScriptCore 525.7+	/Users/eseidel/Projects/build/Debug/JavaScriptCore.framework/Versions/A/JavaScriptCore
  0x6fd000 -   0x6fffff libgoogleml.dylib 	/Library/Google/GoogleML/GoogleML.bundle/Contents/Resources/libgoogleml.dylib
  0x75f000 -   0x767fff com.google.Desktop.SafariSearchResultsMod 1.4.1 (1.4.1.891)	/Library/Google/GoogleML/Modules/SafariSearchResults.googleml/Contents/MacOS/SafariSearchResults
  0x770000 -   0x77bfff com.google.Desktop.SafariWebHistoryMod 1.4.1 (1.4.1.891)	/Library/Google/GoogleML/Modules/SafariWebHistory.googleml/Contents/MacOS/SafariWebHistory
 0x1008000 -  0x17e2fff com.apple.WebCore 525.7+	/Users/eseidel/Projects/build/Debug/WebCore.framework/Versions/A/WebCore
0x16570000 - 0x16578fff com.apple.JavaScriptGlue 525.7+	/Users/eseidel/Projects/build/Debug/JavaScriptGlue.framework/Versions/A/JavaScriptGlue
0x17e51000 - 0x17e54fff com.apple.Tokenizer_ja 1.0.2	/System/Library/CoreServices/Tokenizers/ja.tokenizer/Contents/MacOS/ja
0x19905000 - 0x19976fff com.DivXInc.DivXDecoder 6.4.0	/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder
0x1a905000 - 0x1af02fff com.macromedia.Flash Player.plugin 9.0.115 (1.0.4f60)	/Library/Internet Plug-Ins/Flash Player.plugin/Contents/MacOS/Flash Player
0x1d38a000 - 0x1d3a3fff com.apple.applepixletvideo 1.2.9 (1.2d9)	/System/Library/QuickTime/ApplePixletVideo.component/Contents/MacOS/ApplePixletVideo
0x1d82b000 - 0x1d867fff com.apple.QuickTimeFireWireDV.component 7.3.1	/System/Library/QuickTime/QuickTimeFireWireDV.component/Contents/MacOS/QuickTimeFireWireDV
0x1eb07000 - 0x1ecfafff net.telestream.wmv.import 2.1.0.33	/Library/QuickTime/Flip4Mac WMV Import.component/Contents/MacOS/Flip4Mac WMV Import
0x89030000 - 0x890cffff com.apple.QuickTimeImporters.component 7.3.1	/System/Library/QuickTime/QuickTimeImporters.component/Contents/MacOS/QuickTimeImporters
0x8ef77000 - 0x8ef9afff com.apple.CoreMediaPrivate 1.2	/System/Library/PrivateFrameworks/CoreMediaPrivate.framework/Versions/A/CoreMediaPrivate
0x8efa9000 - 0x8efadfff com.apple.CoreMediaAuthoringPrivate 1.1	/System/Library/PrivateFrameworks/CoreMediaAuthoringPrivate.framework/Versions/A/CoreMediaAuthoringPrivate
0x8fe00000 - 0x8fe4afff dyld 46.16	/usr/lib/dyld
0x90000000 - 0x90171fff libSystem.B.dylib 	/usr/lib/libSystem.B.dylib
0x901c1000 - 0x901c3fff libmathCommon.A.dylib 	/usr/lib/system/libmathCommon.A.dylib
0x901c5000 - 0x90202fff com.apple.CoreText 1.1.3 (???)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x90229000 - 0x902fffff ATS 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x9031f000 - 0x90774fff com.apple.CoreGraphics 1.258.77 (???)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x9080b000 - 0x908d3fff com.apple.CoreFoundation 6.4.8 (368.31)	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x90911000 - 0x90911fff com.apple.CoreServices 10.4 (???)	/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x90913000 - 0x90a07fff libicucore.A.dylib 	/usr/lib/libicucore.A.dylib
0x90a57000 - 0x90ad6fff libobjc.A.dylib 	/usr/lib/libobjc.A.dylib
0x90aff000 - 0x90b63fff libstdc++.6.dylib 	/usr/lib/libstdc++.6.dylib
0x90bd2000 - 0x90bd9fff libgcc_s.1.dylib 	/usr/lib/libgcc_s.1.dylib
0x90bde000 - 0x90c51fff com.apple.framework.IOKit 1.4.8 (???)	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90c66000 - 0x90c78fff libauto.dylib 	/usr/lib/libauto.dylib
0x90c7e000 - 0x90f24fff com.apple.CoreServices.CarbonCore 682.28	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90f67000 - 0x90fcffff com.apple.CoreServices.OSServices 4.1	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x91008000 - 0x91047fff com.apple.CFNetwork 129.22	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x9105a000 - 0x9106afff com.apple.WebServices 1.1.3 (1.1.0)	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
0x91075000 - 0x910f4fff com.apple.SearchKit 1.0.7	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x9112e000 - 0x9114cfff com.apple.Metadata 10.4.4 (121.36)	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x91158000 - 0x91166fff libz.1.dylib 	/usr/lib/libz.1.dylib
0x91169000 - 0x91308fff com.apple.security 4.5.2 (29774)	/System/Library/Frameworks/Security.framework/Versions/A/Security
0x91406000 - 0x9140efff com.apple.DiskArbitration 2.1.2	/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x91415000 - 0x9141cfff libbsm.dylib 	/usr/lib/libbsm.dylib
0x91420000 - 0x91446fff com.apple.SystemConfiguration 1.8.6	/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x91458000 - 0x914cefff com.apple.audio.CoreAudio 3.0.5	/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x9151f000 - 0x9151ffff com.apple.ApplicationServices 10.4 (???)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x91521000 - 0x9154dfff com.apple.AE 314 (313)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x91560000 - 0x91634fff com.apple.ColorSync 4.4.9	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x9166f000 - 0x916e2fff com.apple.print.framework.PrintCore 4.6 (177.13)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x91710000 - 0x917b9fff com.apple.QD 3.10.25 (???)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x917df000 - 0x9182afff com.apple.HIServices 1.5.2 (???)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x91849000 - 0x9185ffff com.apple.LangAnalysis 1.6.3	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x9186b000 - 0x91886fff com.apple.FindByContent 1.5	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent
0x91891000 - 0x918cefff com.apple.LaunchServices 182	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x918e2000 - 0x918eefff com.apple.speech.synthesis.framework 3.5	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x918f5000 - 0x91935fff com.apple.ImageIO.framework 1.5.6	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x91948000 - 0x919fafff libcrypto.0.9.7.dylib 	/usr/lib/libcrypto.0.9.7.dylib
0x91a40000 - 0x91a56fff libcups.2.dylib 	/usr/lib/libcups.2.dylib
0x91a5b000 - 0x91a79fff libJPEG.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91a7e000 - 0x91addfff libJP2.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x91aef000 - 0x91af3fff libGIF.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91af5000 - 0x91b7dfff libRaw.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRaw.dylib
0x91b81000 - 0x91bbefff libTIFF.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91bc4000 - 0x91bdefff libPng.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x91be3000 - 0x91be5fff libRadiance.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91be7000 - 0x91cc5fff libxml2.2.dylib 	/usr/lib/libxml2.2.dylib
0x91ce2000 - 0x91ce2fff com.apple.Accelerate 1.3.1 (Accelerate 1.3.1)	/System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91ce4000 - 0x91d72fff com.apple.vImage 2.5	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x91d79000 - 0x91d79fff com.apple.Accelerate.vecLib 3.3.1 (vecLib 3.3.1)	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x91d7b000 - 0x91dd4fff libvMisc.dylib 	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x91ddd000 - 0x91e01fff libvDSP.dylib 	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x91e09000 - 0x92212fff libBLAS.dylib 	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x9224c000 - 0x92600fff libLAPACK.dylib 	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x9262d000 - 0x9271afff libiconv.2.dylib 	/usr/lib/libiconv.2.dylib
0x9271c000 - 0x92799fff com.apple.DesktopServices 1.3.6	/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x927da000 - 0x92a0afff com.apple.Foundation 6.4.9 (567.36)	/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92b24000 - 0x92b3ffff libGL.dylib 	/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x92b4b000 - 0x92ba3fff libGLU.dylib 	/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x92bb7000 - 0x92bb7fff com.apple.Carbon 10.4 (???)	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92bb9000 - 0x92bc9fff com.apple.ImageCapture 3.0.4	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x92bd8000 - 0x92be0fff com.apple.speech.recognition.framework 3.6	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x92be6000 - 0x92becfff com.apple.securityhi 2.0.1 (24742)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x92bf2000 - 0x92c83fff com.apple.ink.framework 101.2.1 (71)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x92c97000 - 0x92c9bfff com.apple.help 1.0.3 (32.1)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x92c9e000 - 0x92cbcfff com.apple.openscripting 1.2.5 (???)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x92cce000 - 0x92cd4fff com.apple.print.framework.Print 5.2 (192.4)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x92cda000 - 0x92d3dfff com.apple.htmlrendering 66.1 (1.1.3)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x92d64000 - 0x92da5fff com.apple.NavigationServices 3.4.4 (3.4.3)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x92dcc000 - 0x92ddafff com.apple.audio.SoundManager 3.9.1	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x92de1000 - 0x92de6fff com.apple.CommonPanels 1.2.3 (73)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x92deb000 - 0x930e0fff com.apple.HIToolbox 1.4.10 (???)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x931e6000 - 0x931f2fff com.apple.opengl 1.5.0	/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x931f7000 - 0x93212fff com.apple.DirectoryService.Framework 3.3	/System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService
0x93282000 - 0x93282fff com.apple.Cocoa 6.4 (???)	/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x93284000 - 0x9393afff com.apple.AppKit 6.4.9 (824.44)	/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x93cbb000 - 0x93d36fff com.apple.CoreData 91 (92.1)	/System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x93d6f000 - 0x93e28fff com.apple.audio.toolbox.AudioToolbox 1.4.7	/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x93e6b000 - 0x93e6bfff com.apple.audio.units.AudioUnit 1.4.3	/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x93e6d000 - 0x9402efff com.apple.QuartzCore 1.4.12	/System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x94074000 - 0x940b5fff libsqlite3.0.dylib 	/usr/lib/libsqlite3.0.dylib
0x940bd000 - 0x940fffff libGLImage.dylib 	/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x94103000 - 0x94119fff com.apple.CoreVideo 1.4.2	/System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x94129000 - 0x945c1fff libGLProgrammability.dylib 	/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
0x94745000 - 0x94783fff com.apple.vmutils 4.0.2 (93.1)	/System/Library/PrivateFrameworks/vmutils.framework/Versions/A/vmutils
0x947c7000 - 0x947d8fff com.apple.securityfoundation 2.2.1 (28150)	/System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
0x947e6000 - 0x94824fff com.apple.securityinterface 2.2.1 (27695)	/System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInterface
0x94840000 - 0x9484ffff libCGATS.A.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x94856000 - 0x94861fff libCSync.A.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x948ad000 - 0x948c7fff libRIP.A.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x948cd000 - 0x94be1fff com.apple.QuickTime 7.3.1	/System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x94d66000 - 0x94eacfff com.apple.AddressBook.framework 4.0.6 (488)	/System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
0x94f38000 - 0x94f47fff com.apple.DSObjCWrappers.Framework 1.1	/System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWrappers
0x94f4e000 - 0x94f77fff com.apple.LDAPFramework 1.4.2 (69.1.1)	/System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x94f7d000 - 0x94f8cfff libsasl2.2.dylib 	/usr/lib/libsasl2.2.dylib
0x94f90000 - 0x94fb5fff libssl.0.9.7.dylib 	/usr/lib/libssl.0.9.7.dylib
0x94fc1000 - 0x94fdefff libresolv.9.dylib 	/usr/lib/libresolv.9.dylib
0x963ce000 - 0x96406fff com.apple.PDFKit 1.0.4	/System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framework/PDFKit
0x9691c000 - 0x9691dfff libCyrillicConverter.dylib 	/System/Library/CoreServices/Encodings/libCyrillicConverter.dylib
0x9691f000 - 0x96920fff libGreekConverter.dylib 	/System/Library/CoreServices/Encodings/libGreekConverter.dylib
0x96924000 - 0x9693afff libJapaneseConverter.dylib 	/System/Library/CoreServices/Encodings/libJapaneseConverter.dylib
0x9693c000 - 0x9695dfff libKoreanConverter.dylib 	/System/Library/CoreServices/Encodings/libKoreanConverter.dylib
0x9696a000 - 0x96978fff libSimplifiedChineseConverter.dylib 	/System/Library/CoreServices/Encodings/libSimplifiedChineseConverter.dylib
0x9697d000 - 0x9697efff libThaiConverter.dylib 	/System/Library/CoreServices/Encodings/libThaiConverter.dylib
0x96980000 - 0x96992fff libTraditionalChineseConverter.dylib 	/System/Library/CoreServices/Encodings/libTraditionalChineseConverter.dylib
0x96a56000 - 0x96a5afff com.apple.LanguageAnalysisCore 1.0.3	/System/Library/PrivateFrameworks/LanguageAnalysisCore.framework/Versions/A/LanguageAnalysisCore
0x97334000 - 0x97334fff com.apple.vecLib 3.3.1 (vecLib 3.3.1)	/System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x978ae000 - 0x978b3fff com.apple.agl 2.6.2 (AGL-2.6.2)	/System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x97c5e000 - 0x97c72fff com.apple.audio.CoreAudioKit 1.0.1	/System/Library/Frameworks/CoreAudioKit.framework/Versions/A/CoreAudioKit
0x99390000 - 0x9a109fff com.apple.QuickTimeComponents.component 7.3.1	/System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTimeComponents
0x9a356000 - 0x9a358fff com.apple.QuickTimeH264.component 7.3.1	/System/Library/QuickTime/QuickTimeH264.component/Contents/MacOS/QuickTimeH264
0x9a626000 - 0x9a6edfff com.apple.QuickTimeMPEG4.component 7.3.1	/System/Library/QuickTime/QuickTimeMPEG4.component/Contents/MacOS/QuickTimeMPEG4
0x9b0df000 - 0x9b116fff com.apple.Syndication 1.0.6 (54)	/System/Library/PrivateFrameworks/Syndication.framework/Versions/A/Syndication
0x9b132000 - 0x9b144fff com.apple.SyndicationUI 1.0.6 (54)	/System/Library/PrivateFrameworks/SyndicationUI.framework/Versions/A/SyndicationUI

Model: MacBookPro2,2, BootROM MBP22.00A5.B07, 2 processors, Intel Core 2 Duo, 2.33 GHz, 2 GB
Graphics: ATI Radeon X1600, ATY,RadeonX1600, PCIe, 256 MB
Memory Module: BANK 0/DIMM0, 1 GB, DDR2 SDRAM, 667 MHz
Memory Module: BANK 1/DIMM1, 1 GB, DDR2 SDRAM, 667 MHz
AirPort: AirPort Extreme, 1.2.2
Bluetooth: Version 1.9.5f4, 2 service, 1 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: FUJITSU MHW2120BH, 111.79 GB
Parallel ATA Device: MATSHITADVD-R   UJ-857D
USB Device: Built-in iSight, Micron, Up to 480 Mb/sec, 500 mA
USB Device: Apple Internal Keyboard / Trackpad, Apple Computer, Up to 12 Mb/sec, 500 mA
USB Device: IR Receiver, Apple Computer, Inc., Up to 12 Mb/sec, 500 mA
USB Device: Bluetooth USB Host Controller, Apple, Inc., Up to 12 Mb/sec, 500 mA
Comment 1 mitz 2008-01-30 18:06:36 PST
<http://paste.lisp.org/display/53839>.
Comment 2 Oliver Hunt 2008-01-30 19:41:09 PST
r=me on tthat patch -- we can always switch back to something like switch.hashtable at a later date if it turns out to be necessary.
Comment 3 Alexey Proskuryakov 2008-01-31 02:43:00 PST
But... but this patch needs a layout test and a ChangeLog entry!
Comment 4 Alexey Proskuryakov 2008-02-18 22:16:18 PST
<rdar://problem/5750722>
Comment 5 Alexey Proskuryakov 2008-02-19 00:39:34 PST
Created attachment 19207 [details]
proposed fix

Added a check for a reason for the call and a test case.
Comment 6 Darin Adler 2008-02-19 09:08:52 PST
Comment on attachment 19207 [details]
proposed fix

+        (WebCore::getGbkEscape): Changed to use an if/else sequence instead of a HashMap, as there
+        are only four values.

Why not a switch/case?

r=me
Comment 7 Alexey Proskuryakov 2008-02-20 04:38:21 PST
Changed to a switch.

Committed revision 30424.