Empathy opens and closes,

Empathy opens then promptly closes.

Find lines in /var/log/messages around when start Empathy

Warnings about segfault or folks-WARNING of oFono missing

Not a clue what can try for segfault .


2014-02-01T18:31:43.805726+11:00 linux-30s5 dbus[547]: [system] Successfully activated service 'org.freedesktop.PackageKit'
2014-02-01T18:33:33.532226+11:00  linux-30s5 gnome-session[2620]: (empathy:4942): folks-WARNING **:  backend-store.vala:409: Error preparing Backend 'ofono': No oFono object  manager running, so the oFono backend will be inactive. Either oFono  isn’t installed or the service can’t be started.
2014-02-01T18:33:34.010240+11:00  linux-30s5 kernel:  3997.388278] empathy[4942]: segfault at 10 ip  00007fc981039514 sp 00007fffcf524aa0 error 4 in  libglib-2.0.so.0.3800.2[7fc981005000+101000]
2014-02-01T18:33:34.054166+11:00  linux-30s5 gnome-session[2620]: Window manager warning: CurrentTime  used to choose focus window; focus window may not be correct.
2014-02-01T18:34:52.628502+11:00  linux-30s5 dbus[547]: [system] Activating via systemd: service  name='org.freedesktop.hostname1'  unit='dbus-org.freedesktop.hostname1.service'

Installed other Folk packages, they add report line with “com.meego.libsocialweb” and still seeing the other segfault and ofono messages:


2014-02-06T15:45:37.941087+11:00 linux-30s5 gnome-session[2748]: Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
2014-02-06T15:45:37.957082+11:00 linux-30s5 gnome-session[2748]: Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
2014-02-06T15:45:58.032088+11:00 linux-30s5 gnome-session[2748]: ** (empathy:4592): WARNING **: sw-client.c:172: Error getting list of services: The name com.meego.libsocialweb was not provided by any .service files
2014-02-06T15:45:58.045904+11:00 linux-30s5 gnome-session[2748]: (empathy:4592): folks-WARNING **: backend-store.vala:409: Error preparing Backend 'ofono': No oFono object manager running, so the oFono backend will be inactive. Either oFono isn’t installed or the service can’t be started.
2014-02-06T15:45:58.575775+11:00 linux-30s5 kernel:  2750.127980] empathy[4592]: segfault at 10 ip 00007ff36e89f514 sp 00007fff15fee660 error 4 in libglib-2.0.so.0.3800.2[7ff36e86b000+101000]
2014-02-06T15:47:56.918421+11:00 linux-30s5 gnome-session[2748]: ** (empathy:4653): WARNING **: sw-client.c:172: Error getting list of services: The name com.meego.libsocialweb was not provided by any .service files
2014-02-06T15:47:56.930682+11:00 linux-30s5 gnome-session[2748]: (empathy:4653): folks-WARNING **: backend-store.vala:409: Error preparing Backend 'ofono': No oFono object manager running, so the oFono backend will be inactive. Either oFono isn’t installed or the service can’t be started.
2014-02-06T15:47:57.472760+11:00 linux-30s5 kernel:  2869.181825] empathy[4653]: segfault at 10 ip 00007f9b61c58514 sp 00007fff5a65d270 error 4 in libglib-2.0.so.0.3800.2[7f9b61c24000+101000]
2014-02-06T15:49:00.385622+11:00 linux-30s5 gnome-session[2748]: ** (empathy:4721): WARNING **: sw-client.c:172: Error getting list of services: The name com.meego.libsocialweb was not provided by any .service files
2014-02-06T15:49:00.407884+11:00 linux-30s5 gnome-session[2748]: (empathy:4721): folks-WARNING **: backend-store.vala:409: Error preparing Backend 'ofono': No oFono object manager running, so the oFono backend will be inactive. Either oFono isn’t installed or the service can’t be started.
2014-02-06T15:49:00.945751+11:00 linux-30s5 kernel:  2932.737929] empathy[4721]: segfault at 10 ip 00007f2acf9b8514 sp 00007fff16f5de50 error 4 in libglib-2.0.so.0.3800.2[7f2acf984000+101000]
2014-02-06T15:53:17.400797+11:00 linux-30s5 gnome-session[2748]: (empathy:4760): folks-WARNING **: backend-store.vala:409: Error preparing Backend 'ofono': No oFono object manager running, so the oFono backend will be inactive. Either oFono isn’t installed or the service can’t be started.
2014-02-06T15:53:17.412283+11:00 linux-30s5 gnome-session[2748]: ** (empathy:4760): WARNING **: sw-client.c:172: Error getting list of services: The name com.meego.libsocialweb was not provided by any .service files
2014-02-06T15:53:17.954777+11:00 linux-30s5 kernel:  3190.085871] empathy[4760]: segfault at 10 ip 00007f1ed5e21514 sp 00007fffd0f91ae0 error 4 in libglib-2.0.so.0.3800.2[7f1ed5ded000+101000]

Appreciate explanation of how to have empathy work again, and whether a need to be concerned, or not…


linux-30s5:~ # grep -i  '2014-02-06T15:47:57.472760' /var/log/messages  
2014-02-06T15:47:57.472760+11:00 linux-30s5 kernel:  2869.181825] empathy[4653]: **segfault** at 10 ip 00007f9b61c58514 sp 00007fff5a65d270 **error 4 in libglib-2.0.so.0.3800.2**[7f9b61c24000+101000]
linux-30s5:~ #

Learn this reading about segfault (Segmentation Faults) from http://rgeissert.blogspot.com.au/2013/07/explaining-segmentation-fault-errors.html

Then using error 4 on page: http://rgeissert.blogspot.com.au/p/segmentation-fault-error.html

Where

the error codes enum from the linux kernel’s arch/x86/mm/fault.c source code file.
and did learn the
cause was a user-mode read resulting in no page being found.


linux-30s5:~ # whereis libglib-2.0.so.0.3800.2
libglib-2.0.so.0.3800: /usr/lib/libglib-2.0.so.0.3800.2 /usr/lib64/libglib-2.0.so.0.3800.2
linux-30s5:~ # 


linux-30s5:~ # dir /usr/lib/libglib*
**lrwxrwxrwx** 1 root root      23 Dec 12 07:17 /usr/lib/libglib-2.0.so.0 -> **libglib-2.0.so.0.3800.2**
**-rwxr-xr-x** 1 root root 1072080 Nov 25 21:50 /usr/lib/**libglib-2.0.so.0.3800.2**
linux-30s5:~ # 
linux-30s5:~ # dir /usr/lib64/libglib*
**lrwxrwxrwx** 1 root root      23 Jan 18 11:33 /usr/lib64/libglib-2.0.so -> **libglib-2.0.so.0.3800.2**
**lrwxrwxrwx** 1 root root      23 Dec 12 07:17 /usr/lib64/libglib-2.0.so.0 -> **libglib-2.0.so.0.3800.2**
 **-rwxr-xr-x** 1 root root 1057936 Nov 25 21:37 /usr/lib64/**libglib-2.0.so.0.3800.2**
lrwxrwxrwx 1 root root      22 Dec 12 07:17 /usr/lib64/libglibmm-2.4.so.1 -> libglibmm-2.4.so.1.3.0
-rwxr-xr-x 1 root root  482408 Nov 19 02:15 /usr/lib64/libglibmm-2.4.so.1.3.0
lrwxrwxrwx 1 root root      42 Dec 12 07:17 /usr/lib64/libglibmm_generate_extra_defs-2.4.so.1 -> libglibmm_generate_extra_defs-2.4.so.1.3.0
-rwxr-xr-x 1 root root   22936 Nov 19 02:15 /usr/lib64/libglibmm_generate_extra_defs-2.4.so.1.3.0
-rwxr-xr-x 1 root root   14680 Sep 28 18:16 /usr/lib64/libglibsharpglue-2.so
linux-30s5:~ # 

Seems both actual and links are there.

What is a user-mode read ?


linux-30s5:~ # dir   /usr/lib/libglib-2.0.so.0.3800.2
-rwxr-xr-x 1 root root 1072080 Nov 25 21:50 /usr/lib/libglib-2.0.so.0.3800.2
linux-30s5:~ # ld  /usr/lib/libglib-2.0.so.0.3800.2
/usr/lib/libglib-2.0.so.0.3800.2: could not read symbols: File in wrong format
linux-30s5:~ # 


linux-30s5:~ # dir   /usr/lib64/libglib-2.0.so.0.3800.2
-rwxr-xr-x 1 root root 1057936 Nov 25 21:37 /usr/lib64/libglib-2.0.so.0.3800.2
linux-30s5:~ # ld   /usr/lib64/libglib-2.0.so.0.3800.2
ld: warning: cannot find entry symbol _start; not setting start address
linux-30s5:~ # 

Self incorrectly reading ld (LD) when should be id (ID)


linux-30s5:~ # id  /usr/lib/libglib-2.0.so.0.3800.2
id: /usr/lib/libglib-2.0.so.0.3800.2: **no such user**
linux-30s5:~ # id   /usr/lib64/libglib-2.0.so.0.3800.2
id: /usr/lib64/libglib-2.0.so.0.3800.2: **no such user**
linux-30s5:~ # 


Yet see dir showing user:group as **root:root **?

.