GNOME Bugzilla – Bug 138997
Epiphany crashes at startup
Last modified: 2004-12-22 21:47:04 UTC
Start Ephiphany... *boom*
Created attachment 26301 [details] Backtrace
I was told it's better to put the backtrace in the bug report itself rather than as an attachment, so here it is: (gdb) run Starting program: /usr/bin/epiphany-bin (no debugging symbols found)... Program received signal SIGSEGV, Segmentation fault. 0x0000002a99ea1e21 in strncmp () from /lib/libc.so.6 (gdb) bt
+ Trace 45674
By the way, this is while running on AMD64 in Gentoo. I mentioned this when filing the bug report initially, but I don't see it on here now and I want to make sure you know since it could be the issue.
You said you're starting epiphany, but the trace has
+ Trace 45680
Can you please recompile epiphany (and glib and gtk+) with debugging symbols to get a better trace?
I cant look at the code right now. Maybe ephy_nautilus_view_new_component is just used for the registration of the bonobo component ? In that case it's done every time at startup, not only when creating a view object for real.
What do you mean "recompile with debugging symbols"? Those are debugging symbols up there. To get this backtrace, I'm running "gdb epiphany-bin". I'm not executing it from within Nautilus or anything.
> What do you mean "recompile with debugging symbols"? Those are debugging > symbols up there. I mean with full debuggin infos, so that the trace shows the function call arguments and the source code line numbers.
I'm not sure off hand how to build that in. What additional CFLAGS should I use? I currently have my CFLAGS set to "-g3"
My apologies.. I just learned how to get Gentoo to not strip stuff. So here is a better backtrace for you. (gdb) run Starting program: /usr/bin/epiphany-bin Program received signal SIGSEGV, Segmentation fault. 0x0000002a99ea1e21 in strncmp () from /lib/libc.so.6 (gdb) bt
+ Trace 45718
Created attachment 26358 [details] [review] possible fix Reporter: can you please try again after applying the attached patch to gtk+ and rebuilding that? Thanks.
Ping?
Sorry, I was out of town for a few days. I applied this patch and it appears to have fixed the problem. Epiphany started up correctly.
Okay, and also do the same thing to line 622 for the disconnection. This fixes a crasher that occurs when trying to add bookmarks.
Thanks for testing it, and for catching the disconnect problem too. Reopening...
Created attachment 26513 [details] [review] updated patch, also fixes disconnection ... attaching updated patch ...
... and reassigning to gtk+.
Comment on attachment 26513 [details] [review] updated patch, also fixes disconnection Looks good to commit
2004-04-09 Christian Persch <chpe@cvs.gnome.org> * gtk/gtkuimanager.c: (gtk_ui_manager_insert_action_group), (gtk_ui_manager_remove_action_group): Terminate g_object_[dis]connect() calls with NULL instead of 0. Fixes #138997.
*** Bug 139865 has been marked as a duplicate of this bug. ***
This patch also helps with Rhythmbox 8.0 when importing a folder (previously crashing with null/0 confusion), on my Pentium 4.
*** Bug 142826 has been marked as a duplicate of this bug. ***
*** Bug 145514 has been marked as a duplicate of this bug. ***
*** Bug 146230 has been marked as a duplicate of this bug. ***
*** Bug 146598 has been marked as a duplicate of this bug. ***
*** Bug 146919 has been marked as a duplicate of this bug. ***
*** Bug 147082 has been marked as a duplicate of this bug. ***
*** Bug 147112 has been marked as a duplicate of this bug. ***
*** Bug 147170 has been marked as a duplicate of this bug. ***
*** Bug 146742 has been marked as a duplicate of this bug. ***
*** Bug 147323 has been marked as a duplicate of this bug. ***
*** Bug 146890 has been marked as a duplicate of this bug. ***
*** Bug 149551 has been marked as a duplicate of this bug. ***
*** Bug 149852 has been marked as a duplicate of this bug. ***
*** Bug 151993 has been marked as a duplicate of this bug. ***