WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
153973
ASSERTION FAILED: m_eventListeners.isEmpty() in WebKit::StorageManager::StorageArea::~StorageArea()
https://bugs.webkit.org/show_bug.cgi?id=153973
Summary
ASSERTION FAILED: m_eventListeners.isEmpty() in WebKit::StorageManager::Stora...
Michael Catanzaro
Reported
2016-02-07 21:37:23 PST
Created
attachment 270841
[details]
Backtrace This crash occurs seemingly-randomly in debug builds. It's been happening for several months now: ASSERTION FAILED: m_eventListeners.isEmpty() ../../Source/WebKit2/UIProcess/Storage/StorageManager.cpp(185) : WebKit::StorageManager::StorageArea::~StorageArea()
Attachments
Backtrace
(68.34 KB, text/plain)
2016-02-07 21:37 PST
,
Michael Catanzaro
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Michael Catanzaro
Comment 1
2017-02-11 14:05:31 PST
100% reproducible on
http://www.philly.com
. Load this page:
http://www.philly.com/philly/food/Pizzagate-target-Philly-favorites-Pizza-Brain-and-Little-Babys-.html
Then close it. It will crash. I added some debug in StorageManager.cpp: createLocalStorageMap: this=0x7f5afcfee3c0 storageMapID=1 storageNamespaceID=1 addListener: this=0x7f5aa7ba9150 storageMapID=1 createSessionStorageMap: this=0x7f5afcfee3c0 storageMapID=2 storageNamespaceID=3 addListener: this=0x7f5aa7ba9230 storageMapID=2 createTransientLocalStorageMap: this=0x7f5afcfee3c0 storageMapID=3 storageNamespaceID=1 addListener: this=0x7f5aa7ba93f0 storageMapID=3 createSessionStorageMap: this=0x7f5afcfee3c0 storageMapID=4 storageNamespaceID=3 addListener: this=0x7f5aa7ba94d0 storageMapID=4 createTransientLocalStorageMap: this=0x7f5afcfee3c0 storageMapID=5 storageNamespaceID=1 addListener: this=0x7f5aa7ba94d0 storageMapID=5 processDidCloseConnection: this=0x7f5afcfee3c0 operator(): this=0x7f5afcfee3c0 removing listener... removeListener: this=0x7f5aa7ba93f0 storageMapID=3 operator(): this=0x7f5afcfee3c0 removing listener... removeListener: this=0x7f5aa7ba9150 storageMapID=1 operator(): this=0x7f5afcfee3c0 removing listener... removeListener: this=0x7f5aa7ba94d0 storageMapID=5 operator(): this=0x7f5afcfee3c0 removing listener... removeListener: this=0x7f5aa7ba9230 storageMapID=2 ~StorageArea: this=0x7f5aa7ba9150 empty=1 ~StorageArea: this=0x7f5aa7ba9230 empty=1 ~StorageArea: this=0x7f5aa7ba94d0 empty=0 ASSERTION FAILED: m_eventListeners.isEmpty() ../../Source/WebKit2/UIProcess/Storage/StorageManager.cpp(180) : WebKit::StorageManager::StorageArea::~StorageArea() So the problem is the listener for the second session storage map (storageMapID=4) is not being removed.
Michael Catanzaro
Comment 2
2017-02-11 14:07:01 PST
(Not likely to be GTK-specific.)
Michael Catanzaro
Comment 3
2017-02-11 14:41:34 PST
(In reply to
comment #1
)
> So the problem is the listener for the second session storage map > (storageMapID=4) is not being removed.
It's session storage for
https://www.instagram.com
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug