Bug 15573
| Summary: | r26785(nightly) cannot be LoadLibrary-ed and therefore leads crash | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | 808caaa4.8ce9.9cd6c799e9f6 |
| Component: | Platform | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | mrowe |
| Priority: | P2 | ||
| Version: | 523.x (Safari 3) | ||
| Hardware: | PC | ||
| OS: | OS X 10.4 | ||
808caaa4.8ce9.9cd6c799e9f6
WebKit.dll cannot be LoadLibrary-ed.
ntsd says it crashes at WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary +0x12b,
it refers fs:2Ch and _tls_index, and both uninitialized (both NULL).
Some sites said __declspec(thread) cannot used for LoadLibrary-ed DLL.
http://msdn2.microsoft.com/en-us/library/2s9wt68x(VS.80).aspx
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Mark Rowe (bdash)
This is a known incompatibility between current WebKit on Windows and the publicly available builds of Safari for Windows. Using a newer build of Safari will prevent this issue from occurring.
808caaa4.8ce9.9cd6c799e9f6
hm... it seems it depends on var 'threadHeap' is on TLSByLoader[0],
may be Safari.exe have same initializer, since _tls_index may 0 if delayloaded.
// My 310A18 is v3.0.4(523.7) today, so cannot evaluate now.
BTW, may I use WebKit.dll with another app which doesn't initialize fs:2Ch ?
Mark Rowe (bdash)
*** This bug has been marked as a duplicate of 15586 ***