GNOME Bugzilla – Bug 521489
crash in Epiphany Web Browser: disconnected from wirele...
Last modified: 2008-03-31 21:46:43 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 ()
+ Trace 191921
Thread 1 (Thread 0xb5e9d940 (LWP 13592))
----------- .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... --------------------------------------------------
*** Bug 521490 has been marked as a duplicate of this bug. ***
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?
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).
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'
+ Trace 193722
Thread 3051825472 (LWP 8280)
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!
Seems like an avahi-induced crash. Possibly related to bug 516008. Could you try the patch there, please?
Definitely bug 516008. *** This bug has been marked as a duplicate of 516008 ***