After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 521489 - crash in Epiphany Web Browser: disconnected from wirele...
crash in Epiphany Web Browser: disconnected from wirele...
Status: RESOLVED DUPLICATE of bug 516008
Product: epiphany
Classification: Core
Component: General
2.22.x
Other All
: High critical
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
: 521490 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-03-10 01:28 UTC by Sam Morris
Modified: 2008-03-31 21:46 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Sam Morris 2008-03-10 01:28:04 UTC
Version: 2.21.92

What were you doing when the application crashed?
disconnected from wireless network


Distribution: Debian lenny/sid
Gnome Release: 2.20.3 2008-01-12 (Debian)
BugBuddy Version: 2.20.1

System: Linux 2.6.24-1-686 #1 SMP Mon Feb 11 14:37:45 UTC 2008 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10400090
Selinux: No
Accessibility: Disabled
GTK+ Theme: ClearlooksClassic
Icon Theme: gnome

Memory status: size: 187412480 vsize: 187412480 resident: 79015936 share: 30212096 rss: 79015936 rss_rlim: 4294967295
CPU usage: start_time: 1205110777 rtime: 4220 utime: 3995 stime: 225 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/epiphany-browser'

Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb5e9d940 (LWP 13592)]
[New Thread 0xb1f3db90 (LWP 13599)]
[New Thread 0xb273eb90 (LWP 13598)]
[New Thread 0xb485eb90 (LWP 13594)]
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread 0xb5e9d940 (LWP 13592))

  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/i686/cmov/libpthread.so.0
  • #2 g_spawn_sync
    from /usr/lib/libglib-2.0.so.0
  • #3 g_spawn_command_line_sync
    from /usr/lib/libglib-2.0.so.0
  • #4 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #5 nsProfileLock::FatalSignalHandler
    at nsProfileLock.cpp line 210
  • #6 <signal handler called>
  • #7 child_changed
    at /home/sam/src/pkg-gnome/build-area/epiphany-browser-2.21.92/lib/ephy-node.c line 429
  • #8 g_hash_table_foreach
    from /usr/lib/libglib-2.0.so.0
  • #9 ephy_node_set_property
    at /home/sam/src/pkg-gnome/build-area/epiphany-browser-2.21.92/lib/ephy-node.c line 464
  • #10 resolver_found_cb
    at /home/sam/src/pkg-gnome/build-area/epiphany-browser-2.21.92/src/bookmarks/ephy-bookmarks.c line 979
  • #11 ga_signals_marshal_VOID__INT_ENUM_STRING_STRING_STRING_STRING_POINTER_INT_POINTER_INT
    at signals-marshal.c line 89
  • #12 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #13 ??
    from /usr/lib/libgobject-2.0.so.0
  • #14 ??
  • #15 ??
  • #0 __kernel_vsyscall


----------- .xsession-errors (929 sec old) ---------------------
b4a3a000-b4a3d000 r-xs 00000000 09:00 2148767    /home/sam/.fontconfig/f42505cb698f2466d63cf3ac675acd18-x86.cache-2
b4a3d000-b4a40000 r-xs 00000000 09:00 2148741    /home/sam/.fontconfig/83dd79e4422fceeba9ee3e52fd040e1b-x86.cache-2
b4a40000-b4a43000 r-xs 00000000 09:00 2147763    /home/sam/.fontconfig/4c5e1895d09e76177d5179c042f23dfd-x86.cache-2
b4a43000-b4a44000 r-xs 00000000 09:00 2147751    /home/sam/.fontconfig/89aff847a438451c51debeb30c322195-x86.cache-2
b4a44000-b4a47000 r-xs 00000000 09:00 2147694    /home/sam/.fontconfig/3f0d8df786251741c76ff72c5572ff82-x86.cache-2
b4a47000-b4a4a000 r-xs 00000000 09:00 2147628    /home/sam/.fontconfig/5e7514b9fe62d1fbe452e5f496662807-x86.cache-2
b4a4a000-b4a4d000 r-xs 00000000 09:00 2147110    /home/sam/.fontconfig/91f219033d4c490d97e19db95016f313-x86.cache-2
b4a4d000-b4a4e000 r-xs 00000000 09:00 2147069    /home/sam/.fontconfig/1051d071c1dab5b3a987e26324c907bb-x86.cache-2
b4a4e000-b4a52000 r-xs 00000000 09:00 2147047    /home/sam/.fontconfig/68b9129e43f3c54f5a6cd5ea758334a9-x86.cache-2
b4a52000-b4a60000 r-xs 00000000 09:00 16040565   /var/cache/fontconfig/865f88548240fee46819705c6468c165-x86.cache-2
b4a60000-b4a8a000 r-xs 00000000 09:00 2147000    /home/sam/.fontconfig/8b60d07cbca647d94aeffc5d1b89208a-x86.cache-2
b4a8a000-b4a8c000 r-xp 00000000 09:00 22429987   /usr/lib/epiphany-gecko/2.21/extensions/libtabstatesextension.so
b4a8c000-b4a8d000 rwxp 00001000 09:00 22429987   /usr/lib/epiphany-gecko/2.21/extensions/libtabstatesextension.so
b4a8d000-b4a91000 
...Too much output, ignoring rest...
--------------------------------------------------
Comment 1 Reinout van Schouwen 2008-03-10 09:25:26 UTC
*** Bug 521490 has been marked as a duplicate of this bug. ***
Comment 2 Reinout van Schouwen 2008-03-10 09:28:00 UTC
Thanks for the bug report.
Could you please also install debug symbols for GLib, and try to reproduce the problem? The stack trace will contain more information then. 

Also, could you try if the Tab States extension is involved? Does the problem still occur if you disable it?
Comment 3 Sam Morris 2008-03-15 16:25:03 UTC
This doesn't seem to be related to the tab state extention. I think the warnings in the logs were from a long time ago (note that the last line indicates this).
Comment 4 Sam Morris 2008-03-31 00:51:27 UTC
I have looked into this some more. The crash seems to be related to epiphany's use of Avahi for local bookmarks.

My system runs apache, that advertises itself using mod_dnssd. My system also has three network interfaces: eth0, wlan0 and wlan1. Thus, if I go to 'bookmarks|Nearby Sites' in Bookmarks, I see six sites:

  $ avahi-browse _http._tcp -t
  + wlan1 IPv6 xerces.local                                  Web Site             local
  + wlan1 IPv6 Sam Morris on xerces                          Web Site             local
  + wlan1 IPv4 xerces.local                                  Web Site             local
  + wlan1 IPv4 Sam Morris on xerces                          Web Site             local
  + eth0 IPv4 xerces.local                                  Web Site             local
  + eth0 IPv4 Sam Morris on xerces                          Web Site             local

Here's what happens when I run epiphany in gdb:

$ G_SLICE=debug LD_LIBRARY_PATH=/usr/lib/debug gdb epiphany-browser
Using host libthread_db library "/usr/lib/debug/libthread_db.so.1".

(gdb) break resolver_found_cb

Breakpoint 1 at 0x80ae7cc: file /tmp/x/epiphany-browser-2.22.0/src/bookmarks/ephy-bookmarks.c, line 927.

(gdb) run
Starting program: /usr/bin/epiphany-browser 
[Thread debugging using libthread_db enabled]
[New Thread 0xb5e72940 (LWP 8280)]
[New Thread 0xb548eb90 (LWP 8283)]
sys:1: Warning: value "((GaProtocol) 2)" of type `GaProtocol' is invalid or out of range for property `flags' of type `GaProtocol'

Thread 3051825472 (LWP 8280)

  • #0 child_changed
    at /tmp/x/epiphany-browser-2.22.0/lib/ephy-node.c line 429
  • #1 g_hash_table_foreach
    from /usr/lib/libglib-2.0.so.0
  • #2 ephy_node_set_property
    at /tmp/x/epiphany-browser-2.22.0/lib/ephy-node.c line 464
  • #3 resolver_found_cb
    at /tmp/x/epiphany-browser-2.22.0/src/bookmarks/ephy-bookmarks.c line 979
  • #4 ga_signals_marshal_VOID__INT_ENUM_STRING_STRING_STRING_STRING_POINTER_INT_POINTER_INT
    at signals-marshal.c line 89
  • #5 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #6 ??
    from /usr/lib/libgobject-2.0.so.0
  • #7 ??
  • #8 ??

The first six breaks occur during startup, as Epiphany finds out about the local web server. At this point, I disconnect from my wireless network. This is where Epiphany starts a couple of new threads... then it detects the local web server four more times; on the fourth time, it crashes. I guess the crash is caused by node_info being set to only 0x31 which seems a bit low for a pointer.

Anyway I hope you can reproduce this with this information. Please let me know if you need anything else as this crash is driving me up the wall!
Comment 5 Reinout van Schouwen 2008-03-31 12:10:52 UTC
Seems like an avahi-induced crash. Possibly related to bug 516008. Could you
try the patch there, please?
Comment 6 Christian Persch 2008-03-31 21:46:43 UTC
Definitely bug 516008.

*** This bug has been marked as a duplicate of 516008 ***