You are not logged in.

#1 2014-10-14 18:53:00

arnaudm
Member
Registered: 2014-10-14
Posts: 3

[SOLVED] cinnamon-settings doesn't start (segmentation fault)

Hi

I cannot start cinnamon-settings anymore, I get a segmentation fault error.

Here's the output of gdb:


Starting program: /usr/bin/python2 /usr/bin/cinnamon-settings
Got object file from memory but can't read symbols: File truncated.
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
process 1430 is executing new program: /usr/bin/python2.7
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffe97ee700 (LWP 1434)]
Error while mapping shared library sections:
`/usr/lib/python2.7/site-packages/PIL/_imaging.so': not in executable format: File format not recognized

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7a9314b in PyModule_GetDict () from /usr/lib/libpython2.7.so.1.0
(gdb) bt
#0  0x00007ffff7a9314b in PyModule_GetDict () from /usr/lib/libpython2.7.so.1.0
#1  0x00007fffe1ddc68e in ?? ()
#2  0x0000000000c1e310 in ?? ()
#3  0x00007ffff7dd5058 in extensions () from /usr/lib/libpython2.7.so.1.0
#4  0x0000000000c1e310 in ?? ()
#5  0x00007ffff7b03807 in _PyImport_LoadDynamicModule ()
   from /usr/lib/libpython2.7.so.1.0
#6  0x00007ffff7b018a1 in import_submodule () from /usr/lib/libpython2.7.so.1.0
#7  0x00007ffff7b01dc6 in ensure_fromlist () from /usr/lib/libpython2.7.so.1.0
#8  0x00007ffff7b02615 in PyImport_ImportModuleLevel ()
   from /usr/lib/libpython2.7.so.1.0
#9  0x00007ffff7ae7d48 in builtin___import__ ()
   from /usr/lib/libpython2.7.so.1.0
#10 0x00007ffff7a58773 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#11 0x00007ffff7ae9a87 in PyEval_CallObjectWithKeywords ()
   from /usr/lib/libpython2.7.so.1.0
#12 0x00007ffff7aecc96 in PyEval_EvalFrameEx ()
   from /usr/lib/libpython2.7.so.1.0
#13 0x00007ffff7af0a90 in PyEval_EvalCodeEx ()
   from /usr/lib/libpython2.7.so.1.0
#14 0x00007ffff7af0b89 in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
#15 0x00007ffff7b009b9 in PyImport_ExecCodeModuleEx ()
   from /usr/lib/libpython2.7.so.1.0
---Type <return> to continue, or q <return> to quit---
#16 0x00007ffff7b00c33 in load_source_module ()
   from /usr/lib/libpython2.7.so.1.0
#17 0x00007ffff7b018a1 in import_submodule () from /usr/lib/libpython2.7.so.1.0
#18 0x00007ffff7b01dc6 in ensure_fromlist () from /usr/lib/libpython2.7.so.1.0
#19 0x00007ffff7b02615 in PyImport_ImportModuleLevel ()
   from /usr/lib/libpython2.7.so.1.0
#20 0x00007ffff7ae7d48 in builtin___import__ ()
   from /usr/lib/libpython2.7.so.1.0
#21 0x00007ffff7a58773 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#22 0x00007ffff7ae9a87 in PyEval_CallObjectWithKeywords ()
   from /usr/lib/libpython2.7.so.1.0
#23 0x00007ffff7aecc96 in PyEval_EvalFrameEx ()
   from /usr/lib/libpython2.7.so.1.0
#24 0x00007ffff7af0a90 in PyEval_EvalCodeEx ()
   from /usr/lib/libpython2.7.so.1.0
#25 0x00007ffff7af0b89 in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
#26 0x00007ffff7b009b9 in PyImport_ExecCodeModuleEx ()
   from /usr/lib/libpython2.7.so.1.0
#27 0x00007ffff7b00c33 in load_source_module ()
   from /usr/lib/libpython2.7.so.1.0
#28 0x00007ffff7b018a1 in import_submodule () from /usr/lib/libpython2.7.so.1.0
#29 0x00007ffff7b01b1f in load_next () from /usr/lib/libpython2.7.so.1.0
#30 0x00007ffff7b024fe in PyImport_ImportModuleLevel ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libpython2.7.so.1.0
#31 0x00007ffff7ae7d48 in builtin___import__ ()
   from /usr/lib/libpython2.7.so.1.0
#32 0x00007ffff7a58773 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#33 0x00007ffff7ae9a87 in PyEval_CallObjectWithKeywords ()
   from /usr/lib/libpython2.7.so.1.0
#34 0x00007ffff7aecc96 in PyEval_EvalFrameEx ()
   from /usr/lib/libpython2.7.so.1.0
#35 0x00007ffff7af0a90 in PyEval_EvalCodeEx ()
   from /usr/lib/libpython2.7.so.1.0
#36 0x00007ffff7af0b89 in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
#37 0x00007ffff7b009b9 in PyImport_ExecCodeModuleEx ()
   from /usr/lib/libpython2.7.so.1.0
#38 0x00007ffff7b00c33 in load_source_module ()
   from /usr/lib/libpython2.7.so.1.0
#39 0x00007ffff7b018a1 in import_submodule () from /usr/lib/libpython2.7.so.1.0
#40 0x00007ffff7b01b1f in load_next () from /usr/lib/libpython2.7.so.1.0
#41 0x00007ffff7b024fe in PyImport_ImportModuleLevel ()
   from /usr/lib/libpython2.7.so.1.0
#42 0x00007ffff7ae7d48 in builtin___import__ ()
   from /usr/lib/libpython2.7.so.1.0
#43 0x00007ffff7a58773 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#44 0x00007ffff7ae9a87 in PyEval_CallObjectWithKeywords ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libpython2.7.so.1.0
#45 0x00007ffff7aecc96 in PyEval_EvalFrameEx ()
   from /usr/lib/libpython2.7.so.1.0
#46 0x00007ffff7af0a90 in PyEval_EvalCodeEx ()
   from /usr/lib/libpython2.7.so.1.0
#47 0x00007ffff7af0b89 in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
#48 0x00007ffff7b09fef in run_mod () from /usr/lib/libpython2.7.so.1.0
#49 0x00007ffff7b0b212 in PyRun_FileExFlags ()
   from /usr/lib/libpython2.7.so.1.0
#50 0x00007ffff7b0c427 in PyRun_SimpleFileExFlags ()
   from /usr/lib/libpython2.7.so.1.0
#51 0x00007ffff7b1d7ca in Py_Main () from /usr/lib/libpython2.7.so.1.0
#52 0x00007ffff746f040 in __libc_start_main () from /usr/lib/libc.so.6
#53 0x000000000040073e in _start ()
(gdb) 

Thanks for any help!

Last edited by arnaudm (2014-10-15 08:08:40)

Offline

#2 2014-10-14 20:30:55

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [SOLVED] cinnamon-settings doesn't start (segmentation fault)

Maybe this part is a hint at where to start? (I don't run cinnamon myself, so I don't know right off what the issue may be.)

Error while mapping shared library sections:
`/usr/lib/python2.7/site-packages/PIL/_imaging.so': not in executable format: File format not recognized

Matt

"It is very difficult to educate the educated."

Offline

#3 2014-10-15 08:08:21

arnaudm
Member
Registered: 2014-10-14
Posts: 3

Re: [SOLVED] cinnamon-settings doesn't start (segmentation fault)

The problem indeed came from _imaging.so, I reinstalled the package python2-pillow and everything works fine now.

Thank you!

Offline

#4 2014-10-17 12:28:06

Stevearch
Member
From: North Wales
Registered: 2014-04-21
Posts: 80

Re: [SOLVED] cinnamon-settings doesn't start (segmentation fault)

arnaudm wrote:

The problem indeed came from _imaging.so, I reinstalled the package python2-pillow and everything works fine now.

Thank you!

Hey man,

Sorry to be a pain but how did you figure out that it was 'python2-pillow' that needed reinstalling?

I cant see anywhere in the log that explicitly  states a problem with python2-pillow?

Offline

#5 2014-10-17 17:57:26

arnaudm
Member
Registered: 2014-10-14
Posts: 3

Re: [SOLVED] cinnamon-settings doesn't start (segmentation fault)

I used pacman -Qo to find out to which package the file belongs.

Offline

Board footer

Powered by FluxBB