Bug 152595 - Assertion failure in NetscapePlugin::registerRedirect
Summary: Assertion failure in NetscapePlugin::registerRedirect
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: WebKit Local Build
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-30 00:20 PST by June Geol Kim
Modified: 2022-07-01 11:35 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description June Geol Kim 2015-12-30 00:20:27 PST
When loading http://www.ft.com, 

void NetscapePlugin::registerRedirect(NetscapePluginStream* stream, const URL& requestURL, int redirectResponseStatus, void* notificationData)
{
#if ENABLE(NETWORK_PROCESS)
    // NPP_URLRedirectNotify may synchronously request this stream back out, so set it first
    m_redirects.set(notificationData, std::make_pair(stream, requestURL.string()));

At this time, notificationData is always nullptr.

Below code throws KeyTraits::emptyValue 

    void HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::checkKey(const T& key)
    {
        if (!HashFunctions::safeToCompareToEmptyOrDeleted)
            return;
        ASSERT(!HashTranslator::equal(KeyTraits::emptyValue(), key));
Comment 1 Alexey Proskuryakov 2016-01-08 16:14:29 PST
Could you please post a full stack trace for the crash? Also, which WebKit port are you using?
Comment 2 Alexey Proskuryakov 2022-07-01 11:35:14 PDT
Mass closing plug-in bugs, as plug-in support has been removed from WebKit.

Please comment and/or reopen if this still affects WebKit in some way.