Bug#554595: visiting 'file:' URLs crashes or doesn't work

Simon Josefsson simon at josefsson.org
Thu Nov 5 15:07:44 UTC 2009


Package: epiphany-browser
Version: 2.28.1-1

If I start epiphany from scratch and type 'file:' in the URL field,
epiphany crashes.  If I first access some web site, and then type
'file:' in the URL field, epiphany just says 'Unable to load page'.
Crash debug backtrace below.

/Simon

jas at mocca:~$ gdb /usr/bin/epiphany-browser 
GNU gdb (GDB) 7.0-debian
Copyright (C) 2009 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/epiphany-browser...Reading symbols from /usr/lib/debug/usr/bin/epiphany-browser...done.
(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/epiphany-browser 
[Thread debugging using libthread_db enabled]
[New Thread 0xb3891b70 (LWP 9542)]
[New Thread 0xb2a9eb70 (LWP 9547)]
[Thread 0xb2a9eb70 (LWP 9547) exited]

Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/i386/i486/strlen.S:69
69	../sysdeps/i386/i486/strlen.S: No such file or directory.
	in ../sysdeps/i386/i486/strlen.S
Current language:  auto
The current source language is "auto; currently asm".
(gdb) bt
#0  strlen () at ../sysdeps/i386/i486/strlen.S:69
#1  0x080c5192 in ephy_web_view_can_go_up (view=0x85e7020)
    at /build/buildd-epiphany-browser_2.28.1-1-i386-xnx7X5/epiphany-browser-2.28.1/embed/ephy-web-view.c:1686
#2  0x080c5b6e in update_navigation_flags (view=0x85e7020)
    at /build/buildd-epiphany-browser_2.28.1-1-i386-xnx7X5/epiphany-browser-2.28.1/embed/ephy-web-view.c:1362
#3  0x080bb66c in load_status_changed_cb (view=0x85e7020, spec=0x84fb750, embed=0x84a1258)
    at /build/buildd-epiphany-browser_2.28.1-1-i386-xnx7X5/epiphany-browser-2.28.1/embed/ephy-embed.c:245
#4  0xb6920c5c in g_cclosure_marshal_VOID__PARAM () from /usr/lib/libgobject-2.0.so.0
#5  0xb6913de3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#6  0xb6927f0f in ?? () from /usr/lib/libgobject-2.0.so.0
#7  0xb6929359 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#8  0xb69297b6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#9  0xb69183c1 in ?? () from /usr/lib/libgobject-2.0.so.0
#10 0xb6914b0f in ?? () from /usr/lib/libgobject-2.0.so.0
#11 0xb6919c0d in g_object_notify () from /usr/lib/libgobject-2.0.so.0
#12 0xb701c678 in notifyStatus (frame=0x84fb980, loadStatus=WEBKIT_LOAD_PROVISIONAL)
    at ../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:104
#13 0xb746fdc6 in WebCore::FrameLoader::prepareForLoadStart (this=0xb2fa36a8) at ../WebCore/loader/FrameLoader.cpp:1756
#14 0xb7460609 in WebCore::DocumentLoader::prepareForLoadStart (this=0xb2fb3a00) at ../WebCore/loader/DocumentLoader.cpp:429
#15 0xb746f853 in WebCore::FrameLoader::continueLoadAfterWillSubmitForm (this=0xb2fa36a8)
    at ../WebCore/loader/FrameLoader.cpp:2936
#16 0xb747aa50 in WebCore::FrameLoader::continueLoadAfterNavigationPolicy (this=0xb2fa36a8, formState=..., 
    shouldContinue=true) at ../WebCore/loader/FrameLoader.cpp:3452
#17 0xb747aa95 in WebCore::FrameLoader::callContinueLoadAfterNavigationPolicy (argument=0xb2fa36a8, request=..., 
    formState=..., shouldContinue=<value optimized out>) at ../WebCore/loader/FrameLoader.cpp:3383
#18 0xb7490e59 in WebCore::PolicyCallback::call (this=0xbfffc440, shouldContinue=<value optimized out>)
    at ../WebCore/loader/PolicyCallback.cpp:101
#19 0xb7492779 in WebCore::PolicyChecker::continueAfterNavigationPolicy (this=0xb2fa36b0, policy=WebCore::PolicyUse)
    at ../WebCore/loader/PolicyChecker.cpp:160
#20 0xb70306c9 in webkit_web_policy_decision_use (decision=0x8649460) at ../WebKit/gtk/webkit/webkitwebpolicydecision.cpp:89
#21 0xb701e50b in WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction (this=0xb2fa0f20, 
    policyFunction=0xb74921c0 <WebCore::PolicyChecker::continueAfterNavigationPolicy(WebCore::PolicyAction)>, action=..., 
    resourceRequest=...) at ../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:419
#22 0xb7493205 in WebCore::PolicyChecker::checkNavigationPolicy (this=0xb2fa36b0, request=..., loader=0xb2fb3a00, 
    formState=..., 
    function=0xb747aa60 <WebCore::FrameLoader::callContinueLoadAfterNavigationPolicy(void*, WebCore::ResourceRequest const&, WTF::PassRefPtr<WebCore::FormState>, bool)>, argument=0xb2fa36a8) at ../WebCore/loader/PolicyChecker.cpp:88
#23 0xb747ae26 in WebCore::FrameLoader::loadWithDocumentLoader (this=0xb2fa36a8, loader=0xb2fb3a00, 
    type=WebCore::FrameLoadTypeStandard, prpFormState=...) at ../WebCore/loader/FrameLoader.cpp:2018
#24 0xb7480118 in WebCore::FrameLoader::load (this=0xb2fa36a8, newDocumentLoader=0xb2fb3a00)
    at ../WebCore/loader/FrameLoader.cpp:1972
#25 0xb7480277 in WebCore::FrameLoader::load (this=0xb2fa36a8, request=..., substituteData=..., lockHistory=false)
    at ../WebCore/loader/FrameLoader.cpp:1913
#26 0xb7480384 in WebCore::FrameLoader::load (this=0xb2fa36a8, request=..., lockHistory=<value optimized out>)
    at ../WebCore/loader/FrameLoader.cpp:1900
#27 0xb702bf88 in webkit_web_frame_load_uri (frame=0x84fb980, uri=0x862dfe0 "file:")
    at ../WebKit/gtk/webkit/webkitwebframe.cpp:514
#28 0xb7038246 in webkit_web_view_load_uri (webView=0x85e7020, uri=0x862dfe0 "file:")
---Type <return> to continue, or q <return> to quit---
    at ../WebKit/gtk/webkit/webkitwebview.cpp:2973
#29 0xb703841e in webkit_web_view_open (webView=0x85e7020, uri=0x862dfe0 "file:")
    at ../WebKit/gtk/webkit/webkitwebview.cpp:2933
#30 0x080c6d5d in ephy_web_view_load_url (view=0x85e7020, url=0x823e438 "file:")
    at /build/buildd-epiphany-browser_2.28.1-1-i386-xnx7X5/epiphany-browser-2.28.1/embed/ephy-web-view.c:1135
#31 0x0807ada9 in ephy_window_open_link (link=0x82210b8, address=0x823e438 "file:", embed=0x84a1258, 
    flags=EPHY_LINK_ALLOW_FIXUP)
    at /build/buildd-epiphany-browser_2.28.1-1-i386-xnx7X5/epiphany-browser-2.28.1/src/ephy-window.c:3605
#32 0x080e4b22 in ephy_marshal_OBJECT__STRING_OBJECT_FLAGS (closure=0x8232fe8, return_value=0xbfffcce0, n_param_values=4, 
    param_values=0x84cdc70, invocation_hint=0xbfffcccc, marshal_data=0x807ac40) at ephy-marshal.c:515
#33 0xb69125d7 in ?? () from /usr/lib/libgobject-2.0.so.0
#34 0xb6913de3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#35 0xb6927bb7 in ?? () from /usr/lib/libgobject-2.0.so.0
#36 0xb69291ef in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#37 0xb69297b6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#38 0x08097cb2 in ephy_link_open (link=0x82210b8, address=0x81e2030 "file:", embed=0x0, flags=EPHY_LINK_ALLOW_FIXUP)
    at /build/buildd-epiphany-browser_2.28.1-1-i386-xnx7X5/epiphany-browser-2.28.1/src/ephy-link.c:95
#39 0x080e4b22 in ephy_marshal_OBJECT__STRING_OBJECT_FLAGS (closure=0x8414de8, return_value=0xbfffd040, n_param_values=4, 
    param_values=0x84e5c68, invocation_hint=0xbfffd02c, marshal_data=0x8097c60) at ephy-marshal.c:515
#40 0xb6913de3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#41 0xb6927f0f in ?? () from /usr/lib/libgobject-2.0.so.0
#42 0xb69291ef in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#43 0xb69297b6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#44 0x08097cb2 in ephy_link_open (link=0x81739d8, address=0x84b3170 "file:", embed=0x0, flags=EPHY_LINK_ALLOW_FIXUP)
    at /build/buildd-epiphany-browser_2.28.1-1-i386-xnx7X5/epiphany-browser-2.28.1/src/ephy-link.c:95
#45 0x080e4b22 in ephy_marshal_OBJECT__STRING_OBJECT_FLAGS (closure=0x841aed0, return_value=0xbfffd3a0, n_param_values=4, 
    param_values=0x84e5f38, invocation_hint=0xbfffd38c, marshal_data=0x8097c60) at ephy-marshal.c:515
#46 0xb6913de3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#47 0xb6927f0f in ?? () from /usr/lib/libgobject-2.0.so.0
#48 0xb69291ef in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#49 0xb69297b6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#50 0x08097cb2 in ephy_link_open (link=0x8194300, address=0x8466a90 "file:", embed=0x0, flags=EPHY_LINK_ALLOW_FIXUP)
    at /build/buildd-epiphany-browser_2.28.1-1-i386-xnx7X5/epiphany-browser-2.28.1/src/ephy-link.c:95
#51 0x080991dc in entry_activate_cb (entry=0x824a188, proxy=0x84a5808)
    at /build/buildd-epiphany-browser_2.28.1-1-i386-xnx7X5/epiphany-browser-2.28.1/src/ephy-location-action.c:203
#52 0xb6921544 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#53 0xb6913de3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#54 0xb6927f0f in ?? () from /usr/lib/libgobject-2.0.so.0
#55 0xb6bac760 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#56 0xb6baccfc in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#57 0xb6bacf6d in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#58 0xb6bad0d6 in gtk_bindings_activate_event () from /usr/lib/libgtk-x11-2.0.so.0
#59 0xb6bf9577 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#60 0xb6c77f66 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#61 0xb6912569 in ?? () from /usr/lib/libgobject-2.0.so.0
#62 0xb6913d18 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#63 0xb6927bb7 in ?? () from /usr/lib/libgobject-2.0.so.0
#64 0xb69291ef in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#65 0xb69297b6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#66 0xb6d941b6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#67 0xb6da8e27 in gtk_window_propagate_key_event () from /usr/lib/libgtk-x11-2.0.so.0
#68 0xb6dac13c in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#69 0x0807c0d2 in ephy_window_key_press_event (widget=0x82210b8, event=0x84e5df8)
    at /build/buildd-epiphany-browser_2.28.1-1-i386-xnx7X5/epiphany-browser-2.28.1/src/ephy-window.c:1004
#70 0xb6c77f66 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#71 0xb6912569 in ?? () from /usr/lib/libgobject-2.0.so.0
#72 0xb6913de3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#73 0xb6927bb7 in ?? () from /usr/lib/libgobject-2.0.so.0
#74 0xb69291ef in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#75 0xb69297b6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#76 0xb6d941b6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#77 0xb6c707c1 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#78 0xb6c71a4f in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#79 0xb6ab457a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#80 0xb6883e98 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#81 0xb6887623 in ?? () from /lib/libglib-2.0.so.0
#82 0xb6887aea in g_main_loop_run () from /lib/libglib-2.0.so.0
#83 0xb6c71f09 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#84 0x080707ac in main (argc=Cannot access memory at address 0x0
)
    at /build/buildd-epiphany-browser_2.28.1-1-i386-xnx7X5/epiphany-browser-2.28.1/src/ephy-main.c:784
(gdb) 






More information about the pkg-gnome-maintainers mailing list