You are not logged in.

#1 2015-11-18 21:39:50

Bl4ckb0ne
Member
Registered: 2014-12-26
Posts: 70

Segmentation fault while launching cinnamon-settings

Hiya,

Fresh install of arch on my desktop, but I got a big problem with cinnamon : I can't open anything from cinnamon itself. I have absolutely no access to the settings panel and all.

Apparently, when the system try to do "cinnamon --version", cinnamon crashes.

[simon@azathoth ~]$ cinnamon-settings > dmp
/usr/lib/cinnamon-settings/cinnamon-settings.py:12: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gio, Gtk, GObject, GdkPixbuf, GLib, Pango, Gdk, cairo
Traceback (most recent call last):
  File "/usr/lib/cinnamon-settings/cinnamon-settings.py", line 38, in <module>
    modules = map(__import__, mod_files)
  File "/usr/lib/cinnamon-settings/modules/cs_applets.py", line 3, in <module>
    from ExtensionCore import ExtensionSidePage
  File "/usr/lib/cinnamon-settings/bin/ExtensionCore.py", line 29, in <module>
    curr_ver = subprocess.check_output(["cinnamon", "--version"]).splitlines()[0].split(" ")[1]
  File "/usr/lib/python2.7/subprocess.py", line 573, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['cinnamon', '--version']' returned non-zero exit status -11
Segmentation fault (core dumped)

I have absolutely no idea why it does this. I also tried to install cinnamon-git, but it always fails to build cinnamon-desktop-git.

Thanks!

Offline

#2 2015-11-18 21:56:52

loqs
Member
Registered: 2014-03-06
Posts: 18,853

Re: Segmentation fault while launching cinnamon-settings

What is the backtrace from the coredump and what is in the journal from that boot?
Examining_a_core_dump

Offline

#3 2015-11-18 22:06:10

Bl4ckb0ne
Member
Registered: 2014-12-26
Posts: 70

Re: Segmentation fault while launching cinnamon-settings

Here's the first entry of coredumpctl info cinnamon

 PID: 1138 (cinnamon)
           UID: 1000 (simon)
           GID: 100 (users)
        Signal: 11 (SEGV)
     Timestamp: Wed 2015-11-18 14:45:21 UTC (2h 18min ago)
  Command Line: cinnamon --version
    Executable: /usr/bin/cinnamon
 Control Group: /user.slice/user-1000.slice/session-c2.scope
          Unit: session-c2.scope
         Slice: user-1000.slice
       Session: c2
     Owner UID: 1000 (simon)
       Boot ID: 912d5285bb9744fa87f1db32d60cd410
    Machine ID: 2efa5f161bdd436f9138b3ea438566ed
      Hostname: azathoth
      Coredump: /var/lib/systemd/coredump/core.cinnamon.1000.912d5285bb9744fa87f
       Message: Process 1138 (cinnamon) of user 1000 dumped core.

And what dmesg says

[   13.426186] traps: lightdm-gtk-gre[370] general protection ip:7f6261ea37e0 sp:7ffdb0be2ea8 error:0 in libpthread-2.22.so[7f6261e91000+18000]
[   17.752011] traps: canberra-gtk-pl[580] general protection ip:7f69aecd97e0 sp:7ffc56b28e38 error:0 in libpthread-2.22.so[7f69aecc7000+18000]
[   27.789405] traps: cinnamon[630] general protection ip:7faacb9297e0 sp:7ffddb798a48 error:0 in libpthread-2.22.so[7faacb917000+18000]
[   27.809113] traps: python2[626] general protection ip:7fb4dd9257e0 sp:7ffc814eafc8 error:0 in libpthread-2.22.so[7fb4dd913000+18000]
[   38.237273] traps: cinnamon[646] general protection ip:7f458c5767e0 sp:7ffde7093968 error:0 in libpthread-2.22.so[7f458c564000+18000]
[   38.256629] traps: python2[643] general protection ip:7f6033a587e0 sp:7ffd30b8fe98 error:0 in libpthread-2.22.so[7f6033a46000+18000]
[  178.018641] traps: cinnamon[1367] general protection ip:7fab1adb97e0 sp:7ffebdcbec28 error:0 in libpthread-2.22.so[7fab1ada7000+18000]
[  178.039430] traps: python2[1364] general protection ip:7f4ef411a7e0 sp:7ffdccb8f618 error:0 in libpthread-2.22.so[7f4ef4108000+18000]
[  187.033531] traps: cinnamon[1373] general protection ip:7fab71fad7e0 sp:7ffc1e4d4a38 error:0 in libpthread-2.22.so[7fab71f9b000+18000]
[  187.054074] traps: python2[1370] general protection ip:7f8defc397e0 sp:7ffff7e00d18 error:0 in libpthread-2.22.so[7f8defc27000+18000]
[  205.906053] traps: gedit[1477] general protection ip:7ff7636c47e0 sp:7ffc9217f6d8 error:0 in libpthread-2.22.so[7ff7636b2000+18000]
[  219.102711] traps: cinnamon[1494] general protection ip:7f9e2b25e7e0 sp:7ffe82f6a0c8 error:0 in libpthread-2.22.so[7f9e2b24c000+18000]
[  219.122633] traps: python2[1491] general protection ip:7fde738ff7e0 sp:7ffc08f0fed8 error:0 in libpthread-2.22.so[7fde738ed000+18000]
[  554.135251] traps: cinnamon[1554] general protection ip:7f9a73e0d7e0 sp:7ffc29de43e8 error:0 in libpthread-2.22.so[7f9a73dfb000+18000]
[  554.156587] traps: python2[1551] general protection ip:7f4e360107e0 sp:7fff897d0e68 error:0 in libpthread-2.22.so[7f4e35ffe000+18000]
[  885.376297] traps: plugin-containe[1127] general protection ip:7f5b85c037e0 sp:7ffdab2b3498 error:0 in libpthread-2.22.so[7f5b85bf1000+18000]
[ 1802.716986] traps: cinnamon[5202] general protection ip:7fd3ff2e37e0 sp:7fff178f4d18 error:0 in libpthread-2.22.so[7fd3ff2d1000+18000]
[ 1802.738737] traps: python2[5199] general protection ip:7ff8cc1757e0 sp:7fff5728a568 error:0 in libpthread-2.22.so[7ff8cc163000+18000]
[ 1883.393654] traps: cinnamon[5479] general protection ip:7f40d1c5c7e0 sp:7ffd0a7f79e8 error:0 in libpthread-2.22.so[7f40d1c4a000+18000]
[ 1883.414284] traps: python2[5476] general protection ip:7f5c946a07e0 sp:7ffee56e2488 error:0 in libpthread-2.22.so[7f5c9468e000+18000]
[ 1959.466482] traps: cinnamon[5884] general protection ip:7f500ee9f7e0 sp:7ffe191dbc88 error:0 in libpthread-2.22.so[7f500ee8d000+18000]
[ 1959.492013] traps: python2[5881] general protection ip:7f6332b877e0 sp:7ffd22450a08 error:0 in libpthread-2.22.so[7f6332b75000+18000]

Offline

#4 2015-11-18 22:15:45

loqs
Member
Registered: 2014-03-06
Posts: 18,853

Re: Segmentation fault while launching cinnamon-settings

Are you using nvidia proprietary drivers with a skylake cpu?

Offline

#5 2015-11-18 22:20:53

Bl4ckb0ne
Member
Registered: 2014-12-26
Posts: 70

Re: Segmentation fault while launching cinnamon-settings

I got a GTX970 and a Intel Core i5-4590 CPU.
Technically the drivers are up to date

Offline

#6 2015-11-18 22:25:49

loqs
Member
Registered: 2014-03-06
Posts: 18,853

Re: Segmentation fault while launching cinnamon-settings

Can you post the full dmesg please

Offline

#7 2015-11-18 22:53:21

Siron
Member
Registered: 2015-11-18
Posts: 1

Re: Segmentation fault while launching cinnamon-settings

Hi, I recently solved the exact same problem by following the instructions for loading microcode by the bootloader. This is required for Intel CPUs. The instructions can be found in the wiki.

Hope this helps

Offline

#8 2015-11-19 04:27:31

Bl4ckb0ne
Member
Registered: 2014-12-26
Posts: 70

Re: Segmentation fault while launching cinnamon-settings

Thanks a lot Siron, it works perfectly now.

Offline

#9 2016-01-29 20:18:31

burebista
Member
From: Scotland
Registered: 2015-11-12
Posts: 30

Re: Segmentation fault while launching cinnamon-settings

Hi my microcode (I followed the procedure in https://wiki.archlinux.org/index.php/microcode) is up-to-date and I still get this error. My processor is Intel® Core™ i7 Quad Core Processor 6820HK  and my graphical card is NVIDIA® GeForce® GTX 970M. Could it be another cause than the microcode?

Thank you.

Offline

#10 2016-01-29 20:55:34

loqs
Member
Registered: 2014-03-06
Posts: 18,853

Re: Segmentation fault while launching cinnamon-settings

burebista wrote:

Hi my microcode (I followed the procedure in https://wiki.archlinux.org/index.php/microcode) is up-to-date and I still get this error. My processor is Intel® Core™ i7 Quad Core Processor 6820HK  and my graphical card is NVIDIA® GeForce® GTX 970M. Could it be another cause than the microcode?

Thank you.

This thread should probably have been marked as solved and you should have started a fresh one.
Without more information all I can suggest is
https://bugs.archlinux.org/task/46064 is possible as you are using a skylake based cpu with nvidia its fix has not moved from testing to extra yet.

Offline

#11 2016-01-29 21:44:19

burebista
Member
From: Scotland
Registered: 2015-11-12
Posts: 30

Re: Segmentation fault while launching cinnamon-settings

Here is more info:

$ gdb python
(gdb) run /usr/bin/cinnamon --version

produces the following output:

Starting program: /usr/bin/python /usr/bin/cinnamon --version
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
  File "/usr/bin/cinnamon", line 1
SyntaxError: Non-UTF-8 code starting with '\x8d' in file /usr/bin/cinnamon on line 2, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
[Inferior 1 (process 8667) exited with code 01]


Besides, my processor is so new (released in Q3 of 2015) that it would be very unlikely to need a microcode update to fix this problem.

Please help if you can.
Thank you.

Offline

#12 2016-01-29 21:57:21

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,611

Re: Segmentation fault while launching cinnamon-settings

I don't think that is a microcode problem.   I am going to suggest you start a new thread.  Include the information in the post directly above, and post the first few lines of /usr/bin/cinnamon.  I somehow don't believe that is a python file, but I've been wrong before.

In the mean time, I am closing this thread.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB