Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cinnamon Segmentation fault (incompatible with gtk3-3.3.10) #279

Closed
leigh123linux opened this issue Feb 2, 2012 · 10 comments
Closed

cinnamon Segmentation fault (incompatible with gtk3-3.3.10) #279

leigh123linux opened this issue Feb 2, 2012 · 10 comments

Comments

@leigh123linux
Copy link
Contributor

Here's a link to the error log as it's very long.

http://leigh123linux.fedorapeople.org/pub/bug_logs/cinnamon.txt

@leigh123linux
Copy link
Contributor Author

I will try to reproduce this with the nvidia driver once I manage to beat rawhide (f17) into submission.

Edit: I can still reproduce the crash with the nvidia driver installed.

This isn't a random crash and can be reproduced by using any application dropdown menu (I have been using cinnamon-settings "change layout" or firefox) to trigger the issue.

@leigh123linux
Copy link
Contributor Author

I'm also getting a lot of gtk depreciated warnings compiling cinnamon and muffin (with muffin I had to use the configure option --enable-compile-warnings=maximum )
I suspect cinnamon and muffin aren't that compatible with gtk3-3.3.10

@Fjodor42
Copy link

Fjodor42 commented Feb 6, 2012

Seems rather similar to what I'm seeing. I''m on Ubuntu 11.10, however, where libgtk-3-0 is version 3.2.0-0ubuntu5 .

Any thoughts?

@leigh123linux
Copy link
Contributor Author

Isn't mint 12 based on 11.10 if so they should have the same gtk3 version.
I haven't had any issue with 3.2.3

[root@main_pc leigh]# rpm -q gtk3
gtk3-3.2.3-1.fc16.x86_64

@Fjodor42
Copy link

Fjodor42 commented Feb 6, 2012

Well, I'm using fglrx and xorg-edgers ppa.

I upgraded gtk3 from another ppa now:

sune@tommelise:/src$ dpkg -l libgtk-3-0
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii libgtk-3-0 3.3.13+git2012 GTK+ graphical user interface library
sune@tommelise:
/src$

This, in turn, has reduced output to warnings along the lines of:

Gtk-WARNING **: Theme parsing error: gtk-misc.css:71:16: Not using units is deprecated. Assuming 'px'.

...but it still segfaults.

Having upgraded cogl to 1.9.5+git20120, I get the following from gdb (I imagine it's similar in stock cogl):

Program received signal SIGSEGV, Segmentation fault.
cogl_object_unref (obj=0x752d80) at ./cogl-object.c:104
104 unref_func (obj);
(gdb) bt
#0 cogl_object_unref (obj=0x752d80) at ./cogl-object.c:104
#1 0x00007fffee80f02f in _cogl_display_free (display=0x7416d0)
at ./cogl-display.c:78
#2 _cogl_object_display_indirect_free (obj=0x7416d0) at ./cogl-display.c:44
#3 0x00007fffee80e985 in cogl_renderer_check_onscreen_template (
renderer=, onscreen_template=0x752d80, error=0x7fffffffdca8)
at ./cogl-renderer.c:233
#4 0x00007ffff6d7175d in ?? ()
from /usr/lib/x86_64-linux-gnu/libclutter-glx-1.0.so.0
#5 0x00007ffff6da0139 in ?? ()
from /usr/lib/x86_64-linux-gnu/libclutter-glx-1.0.so.0
#6 0x00007ffff6db7396 in ?? ()
from /usr/lib/x86_64-linux-gnu/libclutter-glx-1.0.so.0
#7 0x00007ffff6dc281a in ?? ()
from /usr/lib/x86_64-linux-gnu/libclutter-glx-1.0.so.0
#8 0x00007ffff6dc2d30 in clutter_init ()
from /usr/lib/x86_64-linux-gnu/libclutter-glx-1.0.so.0
#9 0x00007ffff78c9a66 in meta_init () from /usr/lib/libmuffin.so.0
#10 0x0000000000402230 in main ()
(gdb)

So, at least for me, cogl seems to be the culprit, but I have no idea why, except that fglrx is generally reported to cause problems with gnome3 (and thus cinnamon).

To my mind, while I appreciate sentiments along the lines of "use FOSS drivers", they are simply not on par with the proprietary ones yet, so perhaps I should rephrase to "gnome3 is known to poop itself with fglrx (and possibly propr. nVidia)".

Hope the gdb bt is helpful to someone with enough knowledge to do something about it (do ask for any other info that I can provide).

@AlbertJP
Copy link
Contributor

"and possibly propr. nVidia"
That's limited to legacy drivers like 96 and 173. The latest nvidia works just fine with gnome 3, fglrx is the only known driver which causes gnome 3 issues with modern graphics cards.

@leigh123linux
Copy link
Contributor Author

Rat4 muffin branch fixes this issue here.

https://github.com/rat4/muffin/compare/gtk_3.3

@AlbertJP
Copy link
Contributor

I think we'll see a pull request from @rat4 when that gtk_3.3 branch is ready.

@AlbertJP
Copy link
Contributor

@leigh123linux This is a muffin issue, please close this one. Feel free to open an issue at muffin.

@leigh123linux
Copy link
Contributor Author

@AlbertJP done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants