[webkit-dev] How to run GtkLauncher in a debugger

ying lcs yinglcs at gmail.com
Sun Dec 14 03:29:13 PST 2008


Zoltan,

Thank you for your help. Yes, GtkLauncher does start (loads www.google.com)

Here is the result of the commands:
/media/olddata/WebKit/WebKitBuild/Debug/Programs> file
/media/olddata/WebKit/WebKitBuild/Debug/Programs/GtkLauncher
/media/olddata/WebKit/WebKitBuild/Debug/Programs/GtkLauncher:
Bourne-Again shell script text executable
/media/olddata/WebKit/WebKitBuild/Debug/Programs> ./GtkLauncher
UNIMPLEMENTED:
(../../WebCore/platform/gtk/PasteboardGtk.cpp:90
WebCore::Pasteboard::Pasteboard())
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:614 virtual
void WebKit::FrameLoaderClient::provisionalLoadStarted())
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:402 virtual
bool WebKit::FrameLoaderClient::hasWebView() const)
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:451 virtual
void WebKit::FrameLoaderClient::setCopiesOnScroll())
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:621 virtual
void WebKit::FrameLoaderClient::prepareForDataSourceReplacement())
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp:262 virtual void
WebKit::EditorClient::clearUndoRedoOperations())
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:357 virtual
WebCore::String WebKit::FrameLoaderClient::overrideMediaType() const)
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:413 virtual
void WebKit::FrameLoaderClient::frameLoadCompleted())
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:446 virtual
void WebKit::FrameLoaderClient::forceLayoutForNonHTML())
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:553 virtual
void WebKit::FrameLoaderClient::cancelPolicyCheck())
UNIMPLEMENTED:
(../../WebKit/gtk/webkit/webkitwebview.cpp:636
WebKitNavigationResponse
webkit_web_view_real_navigation_requested(WebKitWebView*,
WebKitWebFrame*, WebKitNetworkRequest*))
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:578 virtual
bool WebKit::FrameLoaderClient::canHandleRequest(const
WebCore::ResourceRequest&) const)
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:210 virtual
void WebKit::FrameLoaderClient::assignIdentifierToInitialRequest(long
unsigned int, WebCore::DocumentLoader*, const
WebCore::ResourceRequest&))
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:205 virtual
void WebKit::FrameLoaderClient::dispatchWillSendRequest(WebCore::DocumentLoader*,
long unsigned int, WebCore::ResourceRequest&, const
WebCore::ResourceResponse&))
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:590 virtual
bool WebKit::FrameLoaderClient::representationExistsForURLScheme(const
WebCore::String&) const)
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:542 virtual
void WebKit::FrameLoaderClient::dispatchDidFirstLayout())
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:584 virtual
bool WebKit::FrameLoaderClient::canShowMIMEType(const
WebCore::String&) const)
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:496 virtual
void WebKit::FrameLoaderClient::dispatchWillClose())
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:436 virtual
void WebKit::FrameLoaderClient::makeRepresentation(WebCore::DocumentLoader*))
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:754 virtual
void WebKit::FrameLoaderClient::updateGlobalHistory())
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:568 virtual
void WebKit::FrameLoaderClient::willChangeTitle(WebCore::DocumentLoader*))
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:632 virtual
void WebKit::FrameLoaderClient::dispatchDidReceiveContentLength(WebCore::DocumentLoader*,
long unsigned int, int))
UNIMPLEMENTED:
(../../WebCore/platform/network/curl/DNSCurl.cpp:35 void
WebCore::prefetchDNS(const WebCore::String&))
UNIMPLEMENTED:
(../../WebKit/gtk/webkit/webkitwebview.cpp:642 void
webkit_web_view_real_window_object_cleared(WebKitWebView*,
WebKitWebFrame*, OpaqueJSContext*, OpaqueJSValue*))
UNIMPLEMENTED:
(../../WebCore/platform/gtk/RenderThemeGtk.cpp:430 virtual void
WebCore::RenderThemeGtk::systemFont(int, WebCore::FontDescription&)
const)
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:558 virtual
void WebKit::FrameLoaderClient::dispatchDidLoadMainResource(WebCore::DocumentLoader*))
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:637 virtual
void WebKit::FrameLoaderClient::dispatchDidFinishLoading(WebCore::DocumentLoader*,
long unsigned int))
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:537 virtual
void WebKit::FrameLoaderClient::dispatchDidFinishDocumentLoad())
UNIMPLEMENTED:
(../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:668 virtual
WebCore::ResourceError WebKit::FrameLoaderClient::cancelledError(const
WebCore::ResourceRequest&))
ASSERTION FAILED: !m_singlePageGroup
(../../WebCore/page/Page.cpp:252 void WebCore::Page::initGroup())
Segmentation fault
/media/olddata/WebKit/WebKitBuild/Debug/Programs> gdb ./GtkLauncher
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
"/media/olddata/WebKit/WebKitBuild/Debug/Programs/GtkLauncher": not in
executable format: File format not recognized
(gdb)




On Sun, Dec 14, 2008 at 5:24 AM, Zoltan Horvath
<Horvath.Zoltan.6 at stud.u-szeged.hu> wrote:
>
> Was the GtkLauncher starting when you just start it without gdb?
>
> Please copy the output of
> the "file /media/olddata/WebKit/WebKitBuild/Debug/Programs/GtkLauncher"
> command.
>
> Zoltan
>
> ying lcs wrote at: 2008. 12. 14. 06.05.:
>> Zoltan,
>>
>> Thank you for your help. I did try what you said .
>>
>> The compile is now successfully. I get this:
>>
>> make[1]: Leaving directory `/media/olddata/WebKit/WebKitBuild/Debug'
>>
>> ===========================================================
>>  WebKit is now built. To run GtkLauncher with this newly-built
>>  code, use the "WebKitTools/Scripts/run-launcher" script.
>>
>>  NOTE: WebKit has been built with SVG support enabled.
>>  GtkLauncher will have SVG viewing capabilities.
>>  Your build supports the following (optional) SVG features:
>>   * Basic SVG animation.
>>   * SVG foreign object.
>>   * SVG fonts.
>>   * SVG as image.
>>   * SVG <use> support.
>>
>> But when I run it, i still get the same error:
>>
>> $ pwd
>> /media/olddata/WebKit/WebKitBuild/Debug/Programs
>> /media/olddata/WebKit/WebKitBuild/Debug/Programs> gdb GtkLauncher
>> GNU gdb 6.8-debian
>> Copyright (C) 2008 Free Software Foundation, Inc.
>> License GPLv3+: GNU GPL version 3 or later
>> <http://gnu.org/licenses/gpl.html> This is free software: you are free to
>> change and redistribute it. There is NO WARRANTY, to the extent permitted
>> by law.  Type "show copying" and "show warranty" for details.
>> This GDB was configured as "i486-linux-gnu"...
>> c": not in
>> executable format: File format not recognized
>> (gdb)
>>
>> Thank you for any more help.
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>


More information about the webkit-dev mailing list