[Bug 1730241] Re: Evolution segfaults when NVidia driver is installed but not used

2018-10-09 Thread Paul Smith
Aha, looking at issue #109 then checking journalctl I see:

Oct 09 09:34:34 homebase kernel: NVRM: API mismatch: the client has the version 
340.107, but
 NVRM: this kernel module has the version 
340.106.  Please
 NVRM: make sure that this kernel module and 
all NVIDIA driver
 NVRM: components have the same version.
Oct 09 09:34:34 homebase kernel: NVRM: nvidia_frontend_ioctl: minor 255, 
module->ioctl failed, error -22

I suspect that maybe an "apt update" ran which installed a new nvidia
driver but I haven't rebooted so the old one is still active?  I'll try
rebooting to see if that helps.

I think it would be very helpful if libcogl could be enhanced to report
some sort of error rather than just dumping core...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1730241

Title:
  Evolution segfaults when NVidia driver is installed but not used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clutter-gtk/+bug/1730241/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1730241] Re: Evolution segfaults when NVidia driver is installed but not used

2018-10-09 Thread Paul Smith
Seems like it might be related to this:
https://gitlab.gnome.org/GNOME/cogl/issues/1 which similarly was
reported here: https://gitlab.gnome.org/GNOME/gnome-control-
center/issues/109

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1730241

Title:
  Evolution segfaults when NVidia driver is installed but not used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clutter-gtk/+bug/1730241/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1730241] Re: Evolution segfaults when NVidia driver is installed but not used

2018-10-09 Thread Paul Smith
** Attachment added: "GDB backtrace for crash in libcogl"
   
https://bugs.launchpad.net/ubuntu/+source/cogl/+bug/1730241/+attachment/5199322/+files/libcogl-crash.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1730241

Title:
  Evolution segfaults when NVidia driver is installed but not used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clutter-gtk/+bug/1730241/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1730241] Re: Evolution segfaults when NVidia driver is installed but not used

2018-10-09 Thread Paul Smith
I just restarted Evolution (but did not reboot my system or make any
other changes) and now Evolution is crashing for me in the identical way
described here.  I literally just quit Evolution, it was running fine,
and restarted it and now it just crashes with the same stacktrace shown
above, a null pointer passed to g_ascii_strtoull() (will add it as an
attachment) after this error:

  (evolution:14770): GLib-CRITICAL **: 19:35:04.237: g_strsplit:
assertion 'string != NULL' failed

I'm now a little afraid to restart my system in case more things start
to fail.

FYI, glxinfo shows:

$ glxinfo
name of display: :1
X Error of failed request:  BadValue (integer parameter out of range for 
operation)
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  93
  Current serial number in output stream:  94

I think if nothing else, a bug should be filed with libcogl asking them
to be more defensive in their programming here and handle badly
formatted GPU version string.  For example in my backtrace I can clearly
see that the strings being taken from the context are all null, and that
_cogl_gpu_info_parse_version_string() simply passes this to
g_ascii_strtoull() without checking.


I have Ubuntu 18.04.1 with:

ii  evolution 3.28.5-0ubuntu0.18.04.1
ii  evolution-common  3.28.5-0ubuntu0.18.04.1
ii  evolution-data-server 3.28.5-0ubuntu0.18.04.1
ii  evolution-data-server-common  3.28.5-0ubuntu0.18.04.1
ii  evolution-plugin-bogofilter   3.28.5-0ubuntu0.18.04.1
ii  evolution-plugin-pstimport3.28.5-0ubuntu0.18.04.1
ii  evolution-plugins 3.28.5-0ubuntu0.18.04.1
ii  libclutter-1.0-0:amd641.26.2+dfsg-4
ii  libclutter-1.0-0-dbgsym:amd64 1.26.2+dfsg-4
ii  libclutter-1.0-common 1.26.2+dfsg-4
ii  libclutter-gst-3.0-0:amd643.0.26-1
ii  libclutter-gtk-1.0-0:amd641.8.4-3
ii  libclutter-gtk-1.0-0-dbgsym:amd64 1.8.4-3
ii  libcogl-common1.22.2-3
ii  libcogl-pango20:amd64 1.22.2-3
ii  libcogl-path20:amd64  1.22.2-3
ii  libcogl20:amd64   1.22.2-3
ii  libcogl20-dbgsym:amd641.22.2-3
ii  libglib2.0-0:amd642.56.2-0ubuntu0.18.04.2
ii  libglib2.0-0-dbgsym:amd64 2.56.2-0ubuntu0.18.04.2
ii  libglib2.0-bin2.56.2-0ubuntu0.18.04.2
ii  libglib2.0-data   2.56.2-0ubuntu0.18.04.2
ii  libglib2.0-dev:amd64  2.56.2-0ubuntu0.18.04.2
ii  libglib2.0-dev-bin2.56.2-0ubuntu0.18.04.2

I'm running with NVidia proprietary drivers with my old crusty NVidia
GeForce 8400 GS with the proprietary driver version 340.107 that I've
been using, and has worked fine, for years.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1730241

Title:
  Evolution segfaults when NVidia driver is installed but not used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clutter-gtk/+bug/1730241/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1730241] Re: Evolution segfaults when NVidia driver is installed but not used

2017-11-07 Thread Sebastien Bacher
what's the output of "glxinfo" on your machine? it seems there that
glGetString() doesn't return what it should

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1730241

Title:
  Evolution segfaults when NVidia driver is installed but not used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clutter-gtk/+bug/1730241/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1730241] Re: Evolution segfaults when NVidia driver is installed but not used

2017-11-07 Thread Sebastien Bacher
** Changed in: evolution (Ubuntu)
   Status: Confirmed => Invalid

** Changed in: evolution (Ubuntu)
   Importance: Undecided => High

** Changed in: clutter-gtk (Ubuntu)
   Importance: Undecided => High

** Changed in: cogl (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1730241

Title:
  Evolution segfaults when NVidia driver is installed but not used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clutter-gtk/+bug/1730241/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1730241] Re: Evolution segfaults when NVidia driver is installed but not used

2017-11-07 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: clutter-gtk (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1730241

Title:
  Evolution segfaults when NVidia driver is installed but not used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clutter-gtk/+bug/1730241/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1730241] Re: Evolution segfaults when NVidia driver is installed but not used

2017-11-07 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: evolution (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1730241

Title:
  Evolution segfaults when NVidia driver is installed but not used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clutter-gtk/+bug/1730241/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1730241] Re: Evolution segfaults when NVidia driver is installed but not used

2017-11-07 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: cogl (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1730241

Title:
  Evolution segfaults when NVidia driver is installed but not used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clutter-gtk/+bug/1730241/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1730241] Re: Evolution segfaults when NVidia driver is installed but not used

2017-11-07 Thread Michael Scott
I resolved the problem by forcing the GL library to be taken from Mesa.

sudo update-alternatives --set x86_64-linux-gnu_gl_conf 
/usr/lib/x86_64-linux-gnu/mesa/ld.so.conf
sudo update-alternatives --set x86_64-linux-gnu_egl_conf 
/usr/lib/x86_64-linux-gnu/mesa-egl/ld.so.conf
sudo update-alternatives --set i386-linux-gnu_gl_conf 
/usr/lib/i386-linux-gnu/mesa/ld.so.conf
sudo update-alternatives --set i386-linux-gnu_egl_conf 
/usr/lib/i386-linux-gnu/mesa-egl/ld.so.conf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1730241

Title:
  Evolution segfaults when NVidia driver is installed but not used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clutter-gtk/+bug/1730241/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1730241] Re: Evolution segfaults when NVidia driver is installed but not used

2017-11-06 Thread Sebastien Bacher
Thank you for taking the time to report this bug and helping to make
Ubuntu better. The issue you are reporting is an upstream one and it
would be nice if somebody having it could send the bug to the developers
of the software by following the instructions at
https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please
tell us the number of the upstream bug (or the link), so we can add a
bugwatch that will inform us about its status. Thanks in advance.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1730241

Title:
  Evolution segfaults when NVidia driver is installed but not used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clutter-gtk/+bug/1730241/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1730241] Re: Evolution segfaults when NVidia driver is installed but not used

2017-11-06 Thread Michael Scott
** Also affects: evolution
   Importance: Undecided
   Status: New

** No longer affects: evolution

** Also affects: clutter-gtk (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: cogl (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1730241

Title:
  Evolution segfaults when NVidia driver is installed but not used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clutter-gtk/+bug/1730241/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1730241] Re: Evolution segfaults when NVidia driver is installed but not used

2017-11-05 Thread Michael Scott
** Summary changed:

- Evolution segfaults when NVidia driver is install but not used
+ Evolution segfaults when NVidia driver is installed but not used

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1730241

Title:
  Evolution segfaults when NVidia driver is installed but not used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1730241/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs