Bug 39700

Summary: Clean up MimeClassInfo and PluginInfo
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, darin, dglazkov, eric, jparent, mrobinson, ossy, rolandsteiner, tony, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Bug Depends on: 39819    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch darin: review+

Anders Carlsson
Reported 2010-05-25 17:09:33 PDT
Clean up MimeClassInfo and PluginInfo.
Attachments
Patch (30.27 KB, patch)
2010-05-25 17:15 PDT, Anders Carlsson
no flags
Patch (33.58 KB, patch)
2010-05-26 10:07 PDT, Anders Carlsson
no flags
Patch (35.25 KB, patch)
2010-05-26 11:32 PDT, Anders Carlsson
no flags
Patch (35.21 KB, patch)
2010-05-26 13:09 PDT, Anders Carlsson
darin: review+
Anders Carlsson
Comment 1 2010-05-25 17:15:57 PDT
WebKit Review Bot
Comment 2 2010-05-25 18:16:55 PDT
Anders Carlsson
Comment 3 2010-05-26 10:07:47 PDT
Anders Carlsson
Comment 4 2010-05-26 10:08:13 PDT
The new patch should fix the Chromium build.
WebKit Review Bot
Comment 5 2010-05-26 11:24:25 PDT
Anders Carlsson
Comment 6 2010-05-26 11:32:39 PDT
WebKit Review Bot
Comment 7 2010-05-26 12:59:15 PDT
Anders Carlsson
Comment 8 2010-05-26 13:09:20 PDT
Darin Adler
Comment 9 2010-05-26 13:50:38 PDT
Comment on attachment 57129 [details] Patch > PluginData::~PluginData() > { > - deleteAllValues(m_plugins); > - deleteAllValues(m_mimes); > } It'd be nice to just let the compiler generate this and not define it explicitly at all.
Anders Carlsson
Comment 10 2010-05-26 14:01:10 PDT
(In reply to comment #9) > (From update of attachment 57129 [details]) > > PluginData::~PluginData() > > { > > - deleteAllValues(m_plugins); > > - deleteAllValues(m_mimes); > > } > > It'd be nice to just let the compiler generate this and not define it explicitly at all. The destructor? Sure!
Anders Carlsson
Comment 11 2010-05-26 16:21:12 PDT
WebKit Review Bot
Comment 12 2010-05-26 16:40:52 PDT
http://trac.webkit.org/changeset/60258 might have broken GTK Linux 32-bit Release and Qt Linux Release The following changes are on the blame list: http://trac.webkit.org/changeset/60257 http://trac.webkit.org/changeset/60258
Julie Parent
Comment 13 2010-05-26 17:14:35 PDT
This looks to have introduced a crash in fast/dom/prototype-inheritance-2.html. I see the crash on the following bots: * Chromium (linux, win, mac) * Leopard Intel Debug (Tests) * Snow Leopard Intel Leaks
Darin Adler
Comment 14 2010-05-26 17:15:13 PDT
Is there a URL for the backtrace from the crash?
Anders Carlsson
Comment 15 2010-05-26 17:20:33 PDT
I think that the crash was caused by another change - looks like Geoff fixed it in http://trac.webkit.org/changeset/60261
Julie Parent
Comment 16 2010-05-26 17:30:31 PDT
Here is the Chromium linux bot stack: StackTrace::StackTrace() [0x80eeacf] base::(anonymous namespace)::StackDumpSignalHandler() [0x80de9da] 0x4001c420 WebCore::collectionIndexedPropertyEnumerator<>() [0x89648a8] v8::internal::GetKeysForIndexedInterceptor() [0x81ba92e] Geoff's change was fixing a different crash.
Eric Seidel (no email)
Comment 17 2010-05-27 00:30:06 PDT
Looks like there may be new failures on Qt after this change? http://build.webkit.org/results/Qt%20Linux%20Release/r60258%20(12428)/results.html
Csaba Osztrogonác
Comment 18 2010-05-27 00:40:41 PDT
(In reply to comment #17) > Looks like there may be new failures on Qt after this change? > http://build.webkit.org/results/Qt%20Linux%20Release/r60258%20(12428)/results.html It seems this patch broke tests. I try to roll-out it locally now to confirm it.
Roland Steiner
Comment 19 2010-05-27 02:29:33 PDT
The crashing of fast/dom/prototype-inheritance-2.html also occurred during my WebKit gardening. I submitted and committed a quick fix in WebKit r60276. See https://bugs.webkit.org/show_bug.cgi?id=39811
Note You need to log in before you can comment on or make changes to this bug.