Trunk, SEGV during startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Midori Web Browser |
In Progress
|
Undecided
|
Unassigned |
Bug Description
During startup of a fresh build of Midori from trunk checkout, I get a segv as it paints
the first window. gdb shows it to be a dereference of error->message, where "error" is a
null pointer. This is at line 445 in midori/
run Midori.
=== modified file 'midori/
--- midori/
+++ midori/
@@ -445,8 +445,10 @@
pixbuf = gtk_icon_
g_strfreev (icon_names);
if (pixbuf == NULL) {
- g_warning ("Could not load pixbuf for icon '%s': %s\n", icon_name, error->message);
- g_clear_error (&error);
+ if (error) {
+ g_warning ("Could not load pixbuf for icon '%s': %s\n", icon_name, error->message);
+ g_clear_error (&error);
+ }
/* view->icon cannot be set to NULL, so we simply leave it as-is */
This looks good, but it'd be nice to have more info on what caused the crash. Can you figure out which icon name it was looking for? Do you have any icon themes installed?