* Erling Westenvik <[email protected]> [121001 21:50]:
> Installed latest CURRENT as of 25th of September and everything is
> working great except for nautilus which keeps on crashing. I'm running
> dbus-daemon. When launching from a terminal, I get:
> 
> ---8<---
> $ nautilus
> Initializing nautilus-open-terminal extension
> ** (nautilus:1832): WARNING **: Can not get _NET_WORKAREA
> ** (nautilus:1832): WARNING **: Can not determine workarea, guessing at layout
> (nautilus:1832): Pango-CRITICAL **: pango_glyph_item_split: assertion 
> `split_index < orig->item->length' failed
> (nautilus:1832): Pango-CRITICAL **: pango_glyph_item_split: assertion 
> `split_index < orig->item->length' failed
> Segmentation fault (core dumped) 
> --->8---
> 
> I'm starting X from .xinitrc like this:
> 
> ---8<---
> gnome-session &
> exec xmonad
> --->8---
> 
> which is pretty much how I do it on my other machines.
> 
> Any clues? Am I missing some not-so-obvious dependencies, or what?

It says xmonad doesn't support _NET_WORKAREA hint, which is a known issue,
see:
 
 http://code.google.com/p/xmonad/issues/detail?id=158

You may talk to xmonad people about this.

Crashing is not very nice from nautilus, though. Please report this to
GNOME people. I don't have hardware at hand to build nautilus, but I
got a diff which may help (or maybe not).

diff -urp nautilus-3.6.0.orig/src/nautilus-desktop-canvas-view.c 
nautilus-3.6.0/src/nautilus-desktop-canvas-view.c
--- nautilus-3.6.0.orig/src/nautilus-desktop-canvas-view.c      Fri Sep  7 
00:08:09 2012
+++ nautilus-3.6.0/src/nautilus-desktop-canvas-view.c   Tue Oct  2 00:32:14 2012
@@ -140,6 +140,7 @@ net_workarea_changed (NautilusDesktopCanvasView *canva
        int length_returned;
        NautilusCanvasContainer *canvas_container;
        GdkScreen *screen;
+       int screen_width, screen_height;
 
        g_return_if_fail (NAUTILUS_IS_DESKTOP_CANVAS_VIEW (canvas_view));
 
@@ -196,8 +197,10 @@ net_workarea_changed (NautilusDesktopCanvasView *canva
            || ((*nworkareas) * 4 * sizeof(long)) != length_returned
            || format_returned != 32) {
                g_warning("Can not determine workarea, guessing at layout");
+               screen_width  = gdk_screen_get_width (screen);
+               screen_height = gdk_screen_get_height (screen);
                nautilus_canvas_container_set_margins (canvas_container,
-                                                    0, 0, 0, 0);
+                                                    0, screen_width, 0, 
screen_height);
        } else {
                screen = gdk_window_get_screen (window);


This looks like a better "guess" to me.

--
open source wizard

Reply via email to