Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: "Fatal IO error 11" (XServer crash) after launching Thunderbird

  1. #1
    Join Date
    Jan 2012
    Beans
    11

    "Fatal IO error 11" (XServer crash) after launching Thunderbird

    Hello,

    when starting the thunderbird on my brand new 12.10 installation (installed from scratch), the xserver is rebooting.

    This is from from .xsession-errors:
    Code:
    compiz (core) - Warn: Attempted to restack relative to 0xe00009 which is not a child of the root window or a window compiz owns
    ** Message: moving back from GtkStatusIcon to indicator
    (nm-applet:2058): Gdk-WARNING **: nm-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
    (polkit-gnome-authentication-agent-1:2067): Gdk-WARNING **: polkit-gnome-authentication-agent-1: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
    (gnome-settings-daemon:2017): Gdk-WARNING **: gnome-settings-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
    (nautilus:2053): Gdk-WARNING **: nautilus: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
    gnome-session[1935]: Gdk-WARNING: gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
    (bluetooth-applet:2059): Gdk-WARNING **: bluetooth-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
    gtk-window-decorator: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0
    (gnome-terminal:2256): Gdk-WARNING **: gnome-terminal: Fatal IO error 104 (Connection reset by peer) on X server :0.0.
    (telepathy-indicator:2231): Gdk-WARNING **: telepathy-indicator: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
    (gnome-fallback-mount-helper:2052): Gdk-WARNING **: gnome-fallback-mount-helper: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
    And this from Xorg.0.log.old:

    Code:
    [    49.995] (II) XKB: generating xkmfile /var/lib/xkb/server-8C3648A5FD728529D869F46730BE1BC287DB231C.xkm
    [    76.664] (EE)
    [    76.664] (EE) Backtrace:
    [    76.664] (EE) 0: /usr/bin/X (xorg_backtrace+0x36) [0x7fd617924ac6]
    [    76.664] (EE) 1: /usr/bin/X (0x7fd61777c000+0x1ac8f9) [0x7fd6179288f9]
    [    76.664] (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7fd616aa2000+0xfcb0) [0x7fd616ab1cb0]
    [    76.664] (EE) 3: /usr/lib/xorg/modules/drivers/nouveau_drv.so (0x7fd614582000+0x102b1) [0x7fd6145922b1]
    [    76.664] (EE) 4: /usr/lib/xorg/modules/libshadowfb.so (0x7fd61351a000+0x22e1) [0x7fd61351c2e1]
    [    76.664] (EE) 5: /usr/bin/X (miPaintWindow+0x220) [0x7fd617906b10]
    [    76.664] (EE) 6: /usr/bin/X (miWindowExposures+0xc8) [0x7fd617906c58]
    [    76.664] (EE) 7: /usr/bin/X (miHandleValidateExposures+0x68) [0x7fd61791cfd8]
    [    76.664] (EE) 8: /usr/bin/X (MapWindow+0x27f) [0x7fd6177fd6ff]
    [    76.664] (EE) 9: /usr/bin/X (0x7fd61777c000+0x50290) [0x7fd6177cc290]
    [    76.664] (EE) 10: /usr/bin/X (0x7fd61777c000+0x55a51) [0x7fd6177d1a51]
    [    76.664] (EE) 11: /usr/bin/X (0x7fd61777c000+0x4456a) [0x7fd6177c056a]
    [    76.664] (EE) 12: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xed) [0x7fd61572776d]
    [    76.664] (EE) 13: /usr/bin/X (0x7fd61777c000+0x448ad) [0x7fd6177c08ad]
    [    76.664] (EE)
    [    76.664] (EE) Segmentation fault at address 0x7fd614381668
    [    76.664]
    Fatal server error:
    [    76.664] Caught signal 11 (Segmentation fault). Server aborting
    [    76.664]
    [    76.664] (EE)
    Other apps as firefox, software center or skype are working fine. Starting thunderbird with gdb/strace give no reasonable output.

    When booting the LiveDVD everything works fine. I first installed Ubuntu from an USB-Stick on my SSD, now I repeated it with an DVD on a regular HDD - on both the the same error. In the next step I will try to downgrade to 11.04 - but if it's a topic with my video card (nvidia 640 GT) I will have there the same problems (?).

    Charly
    Attached Files Attached Files
    Last edited by blueSpirit; October 20th, 2012 at 09:52 PM. Reason: Adding LiveDVD section

  2. #2
    Join Date
    Jan 2012
    Beans
    11

    Re: "Fatal IO error 11" (XServer crash) after launching Thunderbird

    Anyone with an idea?

    I'm wondering, why just thunderbird let's the XServer die. When starting thunderbird with --safe-mode, the safe-mode dialog appears, but the crash follows...

  3. #3
    Join Date
    Apr 2010
    Beans
    212

    Re: "Fatal IO error 11" (XServer crash) after launching Thunderbird

    You are asking a plausible question. Xserver crashed due to loading some unusable library file, which is called for by certain application. Yet it's unlikely only thunderbird calls for that library then crashes Xserver. The crash itself indicates Xserver went wrong working with certain library in your system, which for most cases fell on the libraries installed via your video driver, the nvidia binary driver for example.

  4. #4
    Join Date
    Jan 2012
    Beans
    11

    Re: "Fatal IO error 11" (XServer crash) after launching Thunderbird

    I've just installed 12.04 and this version doesn't support my video chard -> wrong screen resolution. Thunderbird is starting, but applications like jockey-gtk are crashing, thus I cannot configure the nvidia driver by GUI. I will go back to 12.10...

    @funicorn: My questions would be:

    • Why is it working on the LiveDVD and not on my installed system? What is the difference? Kernel flags/boot options, drivers, ...?
    • Can I do something else than waiting for a fix by Ubuntu?
    • How can I identify the causing library - e.g. to be aware of future crashes. Would it make sense to downgrade to an ancient version of thunderbird?

    I already tried to start thunderbird with "DISPLAY=':0' thuderbird -g" from tty - but it's only caused by thunderbird: it's just terminating because Xserver is gone.

  5. #5
    Join Date
    Jan 2012
    Beans
    11

    Re: "Fatal IO error 11" (XServer crash) after launching Thunderbird

    After updating the system I was able to switch to the binary nvidia driver - and now also the screen resolution is supported. I ve attached the xorg.log of the working 12.04 with nvidia driver.
    Attached Files Attached Files

  6. #6
    Join Date
    Apr 2010
    Beans
    212

    Re: "Fatal IO error 11" (XServer crash) after launching Thunderbird

    OK I see libwfb.so in the xserver log. This library is used to provide software 3D acceleration for certain NVIDIA cards, i.e., the newest ones with Geforce8 series module which are not fully supported by nvidia binary driver.

    The answers to your questions would be:

    • Ubuntu livecd use nouveau, the open source nvidia driver by default. This driver works more consistently on 2D rendering as for certain NVIDIA cards, whereas lacks of genuine 3D acceleration support.
    • If your hardware platform deploys NVIDIA OPTIMUS technology, the best relief so far is to install bumblebee. OPTIMUS means you have both integrated Intel gpu and nvidia gpu working online.
    • If it's only thunderbird crashing your Xserver, you can install thunderbird-dbg, run 'gdb thunderbird' in gnome-terminal and trace what happens when the crash takes place. However I really don't see this coming. If thunderbird makes a crash, so does firefox. They are basically the same thing.


    Quote Originally Posted by blueSpirit View Post
    After updating the system I was able to switch to the binary nvidia driver - and now also the screen resolution is supported. I ve attached the xorg.log of the working 12.04 with nvidia driver.
    Last edited by funicorn; October 21st, 2012 at 06:35 AM.

  7. #7
    Join Date
    Jan 2012
    Beans
    11

    Re: "Fatal IO error 11" (XServer crash) after launching Thunderbird

    Quote Originally Posted by funicorn View Post
    Ubuntu livecd use nouveau, the open source nvidia driver by default. This driver works more consistently on 2D rendering as for certain NVIDIA cards, whereas lacks of genuine 3D acceleration support.
    My installed system also crashed with nouveau. I even removed everything (exept nvidia-common) - because I had some problems after switching to nvidia and back - and thunderbird still caused the crash.
    Quote Originally Posted by funicorn View Post
    If your hardware platform deploys NVIDIA OPTIMUS technology, the best relief so far is to install bumblebee. OPTIMUS means you have both integrated Intel gpu and nvidia gpu working online.
    Ok, I will try bumblebee and give feedback.
    Quote Originally Posted by funicorn View Post
    If it's only thunderbird crashing your Xserver, you can install thunderbird-dbg, run 'gdb thunderbird' in gnome-terminal and trace what happens when the crash takes place. However I really don't see this coming.
    gnome-terminal is a bad choice when the xserver crashes. Further more, you have to call "thunderbird -g" since thunderbird in the path is only a script (at least on ubuntu). I already did so, see
    Quote Originally Posted by blueSpirit View Post
    ready tried to start thunderbird with "DISPLAY=':0' thuderbird -g" from tty - but it's only caused by thunderbird: it's just terminating because Xserver is gone.
    The problem is, that thunderbird causes no SEGV or similar, so it would be really challenging to set the breakpoint directly before the crash. Do you have a tip for me, how to do it?
    Quote Originally Posted by funicorn View Post
    If thunderbird makes a crash, so does firefox. They are basically the same thing.
    Firefox definitly runs stable, while thunderbird crashes. I'm also wondering about this...
    Quote Originally Posted by blueSpirit View Post
    Other apps as firefox, software center or skype are working fine. Starting thunderbird with gdb/strace give no reasonable output.
    But anyway, thanks a lot for your time and care. So the next thing would be bumblebee - please cross your fingers If it fails, maybe I can compare Xorg.log of the LiveDVD with my current one, to find the difference...

    UPDATE: First, now also meld crashes. It runs fine one time - and after a while it crashes now like thunderbird. Further more I booted the liveDVD - and now the crash appears there too I compared it's Xorg.conf with mine, and they are quite the same - expect some different paths.
    Last edited by blueSpirit; October 21st, 2012 at 10:23 AM.

  8. #8
    Join Date
    Apr 2010
    Beans
    212

    Re: "Fatal IO error 11" (XServer crash) after launching Thunderbird

    Good luck. just that before you proceeding make sure your hardware does deploy NVIDIA OPTIMUS, that's crucially important.

  9. #9
    Join Date
    Jan 2012
    Beans
    11

    [SOLVED] "Fatal IO error 11" (XServer crash) after launching Thunderbird

    Now I remember why I don't like all these graphical tools: Switching to nvidia driver succeeded (in the GUI) but after reboot the desktop doesn't fill my screen. Xorg.log says that loading nvidia failed, and I should check my kernel log. But kern.log doesn't say a word about this failure.

    The reason was, that installing nvidia-current failed, because the "kernel sources" cannot be found. This is only visible with "sudo apt-get install --reinstall nvidia-current". Installing linux-sources doesn't help - but installing "linux-headers-generic". So after that - and restarting lightdm everything looks fine and thunderbird is working. So it seems that thunderbird requires some feature, which makes the nouveau crashing... but not nvidia.

    @bumblebee: After installing I realized that I had to check "lspci -vnn | grep '\''[030[02]\]'" first - which of course showed me, that my system does not support Nvidia Optimus - since it's a workstation and no notebook.

  10. #10
    Join Date
    Apr 2010
    Beans
    212

    Re: [SOLVED] "Fatal IO error 11" (XServer crash) after launching Thunderbird

    Finally I peered your bingo. All comes from that the kernel interface for nvidia-current can't be built because of missing headers. 'apt-get purge' anything you installed relevant to nvidia-current, then start this over with:
    Code:
    sudo apt-get install linux-source 
    sudo apt-get install linux-headers-generic 
    sudo apt-get install linux-image 
    sudo apt-get install nvidia-current 
    jockey-text -e xorg:nvidia_current
    sudo reboot

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •