[webkit-help] debug windows build - crash in WebKitCreateInstance
Brian Holt
brian.holt at samsung.com
Tue Oct 16 02:31:25 PDT 2012
My stacktrace is
$ valgrind --tool=callgrind --smc-check=all
./WebKitBuild/Debug/Programs/GtkLauncher
http://106.1.9.23:90/methanol/fire.html?iter=1
==26254== Process terminating with default action of signal 11 (SIGSEGV)
==26254== Access not within mapped region at address 0xBBADBEEF
==26254== at 0x5CE0DAE:
WTF::HashTableAddResult<WTF::HashTableIterator<WTF::RefPtr<WebCore::PluginPa
ckage>, WTF::RefPtr<WebCore::PluginPackage>, WTF::IdentityExtractor,
WebCore::PluginPackageHash,
WTF::HashTraits<WTF::RefPtr<WebCore::PluginPackage> >,
WTF::HashTraits<WTF::RefPtr<WebCore::PluginPackage> > > >
WTF::HashTable<WTF::RefPtr<WebCore::PluginPackage>,
WTF::RefPtr<WebCore::PluginPackage>, WTF::IdentityExtractor,
WebCore::PluginPackageHash,
WTF::HashTraits<WTF::RefPtr<WebCore::PluginPackage> >,
WTF::HashTraits<WTF::RefPtr<WebCore::PluginPackage> >
>::add<WTF::IdentityHashTranslator<WebCore::PluginPackageHash>,
WTF::RefPtr<WebCore::PluginPackage>, WTF::RefPtr<WebCore::PluginPackage>
>(WTF::RefPtr<WebCore::PluginPackage> const&,
WTF::RefPtr<WebCore::PluginPackage> const&) (HashTable.h:894)
==26254== by 0x5CDE67C:
WTF::HashTable<WTF::RefPtr<WebCore::PluginPackage>,
WTF::RefPtr<WebCore::PluginPackage>, WTF::IdentityExtractor,
WebCore::PluginPackageHash,
WTF::HashTraits<WTF::RefPtr<WebCore::PluginPackage> >,
WTF::HashTraits<WTF::RefPtr<WebCore::PluginPackage> >
>::add(WTF::RefPtr<WebCore::PluginPackage> const&) (HashTable.h:393)
==26254== by 0x5CDC456: WTF::HashSet<WTF::RefPtr<WebCore::PluginPackage>,
WebCore::PluginPackageHash,
WTF::HashTraits<WTF::RefPtr<WebCore::PluginPackage> >
>::add(WTF::RefPtr<WebCore::PluginPackage> const&) (HashSet.h:183)
==26254== by 0x5CDAB39:
WebCore::PluginDatabase::add(WTF::PassRefPtr<WebCore::PluginPackage>)
(PluginDatabase.cpp:330)
==26254== by 0x5CD9D84: WebCore::PluginDatabase::refresh()
(PluginDatabase.cpp:146)
==26254== by 0x5CD98FA: WebCore::PluginDatabase::installedPlugins(bool)
(PluginDatabase.cpp:75)
==26254== by 0x51C253D:
PlatformStrategiesGtk::getPluginInfo(WebCore::Page const*,
WTF::Vector<WebCore::PluginInfo, 0ul>&) (PlatformStrategiesGtk.cpp:75)
==26254== by 0x5CE4979: WebCore::PluginData::initPlugins(WebCore::Page
const*) (PluginData.cpp:77)
==26254== by 0x5CE46C3: WebCore::PluginData::PluginData(WebCore::Page
const*) (PluginData.cpp:36)
==26254== by 0x5B595FC: WebCore::PluginData::create(WebCore::Page const*)
(PluginData.h:74)
==26254== by 0x5B5614B: WebCore::Page::pluginData() const (Page.cpp:463)
==26254== by 0x5CD8A99: WebCore::DOMPluginArray::pluginData() const
(DOMPluginArray.cpp:97)
I was wondering if its the result of a bug in WTF::HashTable? Is there a
reason why webkit uses custom Strings, HashTables etc and not the STL?
Regards
Brian
-----Original Message-----
From: Frank Huberty [mailto:ppxnouse at gmail.com]
Sent: 15 October 2012 21:22
To: Brian Holt
Cc: webkit-help at lists.webkit.org
Subject: Re: [webkit-help] debug windows build - crash in
WebKitCreateInstance
Here it happens when a WebMutableURLRequest object is requested and created
for the first time in the class factory.
Frank
On Oct 15, 2012, at 6:30 PM, Brian Holt <brian.holt at samsung.com> wrote:
> I'm getting something very similar on my Linux gtk debug build. Its
> failing an ASSERTION in HastTable::add when inserting WTF::String of
> the plugin names into the plugin database. Haven't managed to figure
> out what the problem is yet though.
>
> Brian
>
> -----Original Message-----
> From: webkit-help-bounces at lists.webkit.org
> [mailto:webkit-help-bounces at lists.webkit.org] On Behalf Of Frank
> Huberty
> Sent: 15 October 2012 17:23
> To: webkit-help at lists.webkit.org
> Subject: [webkit-help] debug windows build - crash in
> WebKitCreateInstance
>
> Hallo,
>
> when launching Safari with a debug build (I build from code cloned
> 13.10) it immediately crashes in the first line of
> WebKitCreateInstance somewhere in Hashtable in WTF.
>
> Any hint what might cause this?
>
> Thank you
>
> ASSERT(!isDeletedBucket(*(lookupForWriting(Extractor::extract(entry)).
> first)
> ));
>
> WebKit.dll!WTF::HashTable<_GUID,WTF::KeyValuePair<_GUID,COMPtr<IClassF
> actory
>>
>> ,WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<_GUID,COMPtr<IClassF
>> actory
>>>
>> ,CLSIDHash,WTF::HashMapValueTraits<CLSIDHashTraits,WTF::HashTraits<CO
>> MPtr<I
> ClassFactory> >
>> ,CLSIDHashTraits>::reinsert(WTF::KeyValuePair<_GUID,COMPtr<IClassFact
>> ory> >
> & entry={...}) Line 953 + 0x51 bytes C++
>
>
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-help
>
More information about the webkit-help
mailing list