Discussion:
meld crashing vnc on starting
j***@wipro.com
2016-06-10 11:53:42 UTC
Permalink
Hi Team,

I have installed meld and when I try to invoke the meld binary, my vnc is crashing.


1. First of all, I have installed this on NFS share, including the dependencies like gtk etc., to be accessed across multiple machines (having similar configuration)
OS: Redhat Linux 6.3

2. I have not started the dbus yet (which is also installed on shared NFS). The pid and lockfiles etc. however, installed locally (will start it individually in each server to avoid conflict)

3. So, I was starting meld without starting dbus. Could this be the reason for vnc crashing? The following are the errors, I see before the tool got crashing:

In VNC of server1 (from where I have done all the compilation and installation, the vnc is crashing here and shows the following error before crash):
* (meld:63603): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.

I see the following messages in /var/log/messages:
Jun 9 09:28:43 oulnxc53 kernel: Xvnc[18978]: segfault at 18 ip 0000000000799561 sp 00007fffdead6e50 error 4 in Xvnc[400000+542000]
Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure unregistering from session: Connection is closed
Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure unregistering from session: Connection is closed


In VNC of server2 (I have not done installation here. It uses shared installation, the vnc is NOT crashing here. But tool unable to start and shows the following error):
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.

(meld:1083): GLib-GIO-ERROR **: Settings schema 'org.gnome.desktop.interface' is not installed

Trace/breakpoint trap (core dumped)

The following are the installation directories:
bin etc include lib lib64 libexec sbin share var

--
Thanks and Regards,
Jeevan Patnaik B | Project Engineer
Nokia IT - HEE Platform | WIPRO Technologies - Hyderabad
Mob: +91-9000607181 | Off: +91-4030970347.

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
j***@wipro.com
2016-06-10 11:53:57 UTC
Permalink
Hi,

Also I have started the dbus now with different user dbus_1.8:

daemon --check messagebus_1.8 dbus-daemon -system

But still vnc crashes with the same previous mentioned errors.

This is the 3rd time I have installed the meld, same issue.

But, when I installed the meld for the first time. There was no vnc crash and I was able to open the tool, but the functionality failed as I have installed the dependencies in different directory as of tool (and links missing).

So, I reinstalled it again twice after some days, all in same directory, but each time a different way.

But I see vnc crash everytime.

Unfortunately, I do not remember how I installed for the first time :(

Please help.

Regards,
Jeevan.


From: Jeevan Behara Patnaik (GIS)
Sent: 10 June 2016 17:24
To: 'meld-***@gnome.org'
Subject: meld crashing vnc on starting

Hi Team,

I have installed meld and when I try to invoke the meld binary, my vnc is crashing.


1. First of all, I have installed this on NFS share, including the dependencies like gtk etc., to be accessed across multiple machines (having similar configuration)
OS: Redhat Linux 6.3

2. I have not started the dbus yet (which is also installed on shared NFS). The pid and lockfiles etc. however, installed locally (will start it individually in each server to avoid conflict)

3. So, I was starting meld without starting dbus. Could this be the reason for vnc crashing? The following are the errors, I see before the tool got crashing:

In VNC of server1 (from where I have done all the compilation and installation, the vnc is crashing here and shows the following error before crash):
* (meld:63603): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.

I see the following messages in /var/log/messages:
Jun 9 09:28:43 oulnxc53 kernel: Xvnc[18978]: segfault at 18 ip 0000000000799561 sp 00007fffdead6e50 error 4 in Xvnc[400000+542000]
Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure unregistering from session: Connection is closed
Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure unregistering from session: Connection is closed


In VNC of server2 (I have not done installation here. It uses shared installation, the vnc is NOT crashing here. But tool unable to start and shows the following error):
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.

(meld:1083): GLib-GIO-ERROR **: Settings schema 'org.gnome.desktop.interface' is not installed

Trace/breakpoint trap (core dumped)

The following are the installation directories:
bin etc include lib lib64 libexec sbin share var

--
Thanks and Regards,
Jeevan Patnaik B | Project Engineer
Nokia IT - HEE Platform | WIPRO Technologies - Hyderabad
Mob: +91-9000607181 | Off: +91-4030970347.

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
j***@wipro.com
2016-06-10 10:51:11 UTC
Permalink
Hi Team,

I have installed meld and when I try to invoke the meld binary, my vnc is crashing.


1. First of all, I have installed this on NFS share, including the dependencies like gtk etc., to be accessed across multiple machines (having similar configuration)
OS: Redhat Linux 6.3

2. I have not started the dbus yet (which is also installed on shared NFS). The pid and lockfiles etc. however, installed locally (will start it individually in each server to avoid conflict)

3. So, I was starting meld without starting dbus. Could this be the reason for vnc crashing? The following are the errors, I see before the tool got crashing:

In VNC of server1 (from where I have done all the compilation and installation, the vnc is crashing here and shows the following error before crash):
* (meld:63603): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.

I see the following messages in /var/log/messages:
Jun 9 09:28:43 oulnxc53 kernel: Xvnc[18978]: segfault at 18 ip 0000000000799561 sp 00007fffdead6e50 error 4 in Xvnc[400000+542000]
Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure unregistering from session: Connection is closed
Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure unregistering from session: Connection is closed


In VNC of server2 (I have not done installation here. It uses shared installation, the vnc is NOT crashing here. But tool unable to start and shows the following error):
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.

(meld:1083): GLib-GIO-ERROR **: Settings schema 'org.gnome.desktop.interface' is not installed

Trace/breakpoint trap (core dumped)

The following are the installation directories:
bin etc include lib lib64 libexec sbin share var

[WNC_Logo]--
Thanks and Regards,
Jeevan Patnaik B | Project Engineer
Nokia IT - HEE Platform | WIPRO Technologies - Hyderabad
Mob: +91-9000607181 | Off: +91-4030970347.

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
Vasily Galkin
2016-06-11 15:38:17 UTC
Permalink
As far as I can understand in one case vnc server crashes and in the other meld is crashing.

The message previous to "core dumped" says that meld crashing may be related to the problems with absence/bad install of "gsettings-desktop-schemas" package.

For both crashes the following information can be helpful:
Line from var log messages with basic crash information (like you give it for Xvnc)
Exact package versions of crashed module (Xvnc binary for Xvnc crash, some gtk lib for meld crash I think).
Core dump that is created for meld.

> Hi Team,
>
> I have installed meld and when I try to invoke the meld binary, my vnc is crashing.
>
> 1.
> First of all, I have installed this on NFS share, including the dependencies like gtk etc., to be accessed across multiple machines (having similar configuration)
>
> OS: Redhat Linux 6.3
>
> 2.
> I have not started the dbus yet (which is also installed on shared NFS). The pid and lockfiles etc. however, installed locally (will start it individually in each server to avoid conflict)
>
> 3.
> So, I was starting meld without starting dbus. Could this be the reason for vnc crashing? The following are the errors, I see before the tool got crashing:
>
> In VNC of server1 (from where I have done all the compilation and installation, the vnc is crashing here and shows the following error before crash):
>
> * (meld:63603): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
>
> Gtk-Message: Failed to load module "canberra-gtk-module"
>
> Gtk-Message: Failed to load module "canberra-gtk-module"
>
> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>
> I see the following messages in /var/log/messages:
>
> Jun 9 09:28:43 oulnxc53 kernel: Xvnc[18978]: segfault at 18 ip 0000000000799561 sp 00007fffdead6e50 error 4 in Xvnc[400000+542000]
>
> Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure unregistering from session: Connection is closed
>
> Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure unregistering from session: Connection is closed
>
> In VNC of server2 (I have not done installation here. It uses shared installation, the vnc is NOT crashing here. But tool unable to start and shows the following error):
>
> Gtk-Message: Failed to load module "canberra-gtk-module"
>
> Gtk-Message: Failed to load module "canberra-gtk-module"
>
> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>
> (meld:1083): GLib-GIO-ERROR **: Settings schema 'org.gnome.desktop.interface' is not installed
>
> Trace/breakpoint trap (core dumped)
>
> The following are the installation directories:
>
> bin etc include lib lib64 libexec sbin share var
>
> --
>
> Thanks and Regards,
>
> Jeevan Patnaik B
> | Project Engineer
>
> Nokia IT - HEE Platform |
> WIPRO Technologies - Hyderabad
>
> Mob: +91-9000607181
> | Off: +91-4030970347.
>
> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should
> not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments
> for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
j***@wipro.com
2016-06-13 11:56:22 UTC
Permalink
Hi Vasily,

I tried to see the abrt dump.

I found the following messages:
$cat reason
Process /NFS_share/python/python_2_7_11/bin/python2.7 was killed by signal 5 (SIGTRAP)

$cat var_log_messages
Jun 13 12:28:42 oulnxc54 abrt[28298]: Saved core dump of pid 28276 (/NFS_share/python/python_2_7_11/bin/python2.7) to /var/spool/abrt/ccpp-2016-06-13-12:28:42-28276 (11911168 bytes)
Jun 13 12:28:42 oulnxc54 abrtd: Executable '/NFS_share/python/python_2_7_11/bin/python2.7' doesn't belong to any package
Jun 13 13:51:27 oulnxc54 abrt[5492]: Saved core dump of pid 5491 (/NFS_share/python/python_2_7_11/bin/python2.7) to /var/spool/abrt/ccpp-2016-06-13-13:51:27-5491 (11902976 bytes)

Let me know how can I share you the whole ccpp directory. The compressed directory takes 11M.

If it is issue with the installation of gsettings-desktop-schemas, it might be due to the fact that I installed it from other machine. I will try to read about it and fix it. But kindly let me know if you already have any ideas.

Regards,
Jeevan.

-----Original Message-----
From: Vasily Galkin [mailto:galkin-***@yandex.ru]
Sent: 11 June 2016 21:08
To: Jeevan Behara Patnaik (GIS)
Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R (Product Engineering Service); meld-***@gnome.org
Subject: Re:meld crashing vnc on starting

** This mail has been sent from an external source **

As far as I can understand in one case vnc server crashes and in the other meld is crashing.

The message previous to "core dumped" says that meld crashing may be related to the problems with absence/bad install of "gsettings-desktop-schemas" package.

For both crashes the following information can be helpful:
Line from var log messages with basic crash information (like you give it for Xvnc) Exact package versions of crashed module (Xvnc binary for Xvnc crash, some gtk lib for meld crash I think).
Core dump that is created for meld.

> Hi Team,
>
> I have installed meld and when I try to invoke the meld binary, my vnc is crashing.
>
> 1.
> First of all, I have installed this on NFS share, including the
> dependencies like gtk etc., to be accessed across multiple machines
> (having similar configuration)
>
> OS: Redhat Linux 6.3
>
> 2.
> I have not started the dbus yet (which is also installed on shared
> NFS). The pid and lockfiles etc. however, installed locally (will
> start it individually in each server to avoid conflict)
>
> 3.
> So, I was starting meld without starting dbus. Could this be the reason for vnc crashing? The following are the errors, I see before the tool got crashing:
>
> In VNC of server1 (from where I have done all the compilation and installation, the vnc is crashing here and shows the following error before crash):
>
> * (meld:63603): WARNING **: Error retrieving accessibility bus
> address: org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.a11y.Bus was not provided by any .service files
>
> Gtk-Message: Failed to load module "canberra-gtk-module"
>
> Gtk-Message: Failed to load module "canberra-gtk-module"
>
> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>
> I see the following messages in /var/log/messages:
>
> Jun 9 09:28:43 oulnxc53 kernel: Xvnc[18978]: segfault at 18 ip
> 0000000000799561 sp 00007fffdead6e50 error 4 in Xvnc[400000+542000]
>
> Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure
> unregistering from session: Connection is closed
>
> Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure
> unregistering from session: Connection is closed
>
> In VNC of server2 (I have not done installation here. It uses shared installation, the vnc is NOT crashing here. But tool unable to start and shows the following error):
>
> Gtk-Message: Failed to load module "canberra-gtk-module"
>
> Gtk-Message: Failed to load module "canberra-gtk-module"
>
> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>
> (meld:1083): GLib-GIO-ERROR **: Settings schema
> 'org.gnome.desktop.interface' is not installed
>
> Trace/breakpoint trap (core dumped)
>
> The following are the installation directories:
>
> bin etc include lib lib64 libexec sbin share var
>
> --
>
> Thanks and Regards,
>
> Jeevan Patnaik B
> | Project Engineer
>
> Nokia IT - HEE Platform |
> WIPRO Technologies - Hyderabad
>
> Mob: +91-9000607181
> | Off: +91-4030970347.
>
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> addressee(s) and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately and destroy all copies of this message and any
> attachments. WARNING: Computer viruses can be transmitted via email.
> The recipient should check this email and any attachments for the
> presence of viruses. The company accepts no liability for any damage
> caused by any virus transmitted by this email. www.wipro.com
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
j***@wipro.com
2016-06-13 11:57:55 UTC
Permalink
Hi Vasily,

And besides, any ideas why the vnc was crashing in the other server?

Regards,
Jeevan.

-----Original Message-----
From: Jeevan Behara Patnaik (GIS)
Sent: 13 June 2016 17:26
To: 'Vasily Galkin'
Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R (Product Engineering Service); meld-***@gnome.org
Subject: RE: Re:meld crashing vnc on starting

Hi Vasily,

I tried to see the abrt dump.

I found the following messages:
$cat reason
Process /NFS_share/python/python_2_7_11/bin/python2.7 was killed by signal 5 (SIGTRAP)

$cat var_log_messages
Jun 13 12:28:42 oulnxc54 abrt[28298]: Saved core dump of pid 28276 (/NFS_share/python/python_2_7_11/bin/python2.7) to /var/spool/abrt/ccpp-2016-06-13-12:28:42-28276 (11911168 bytes) Jun 13 12:28:42 oulnxc54 abrtd: Executable '/NFS_share/python/python_2_7_11/bin/python2.7' doesn't belong to any package Jun 13 13:51:27 oulnxc54 abrt[5492]: Saved core dump of pid 5491 (/NFS_share/python/python_2_7_11/bin/python2.7) to /var/spool/abrt/ccpp-2016-06-13-13:51:27-5491 (11902976 bytes)

Let me know how can I share you the whole ccpp directory. The compressed directory takes 11M.

If it is issue with the installation of gsettings-desktop-schemas, it might be due to the fact that I installed it from other machine. I will try to read about it and fix it. But kindly let me know if you already have any ideas.

Regards,
Jeevan.

-----Original Message-----
From: Vasily Galkin [mailto:galkin-***@yandex.ru]
Sent: 11 June 2016 21:08
To: Jeevan Behara Patnaik (GIS)
Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R (Product Engineering Service); meld-***@gnome.org
Subject: Re:meld crashing vnc on starting

** This mail has been sent from an external source **

As far as I can understand in one case vnc server crashes and in the other meld is crashing.

The message previous to "core dumped" says that meld crashing may be related to the problems with absence/bad install of "gsettings-desktop-schemas" package.

For both crashes the following information can be helpful:
Line from var log messages with basic crash information (like you give it for Xvnc) Exact package versions of crashed module (Xvnc binary for Xvnc crash, some gtk lib for meld crash I think).
Core dump that is created for meld.

> Hi Team,
>
> I have installed meld and when I try to invoke the meld binary, my vnc is crashing.
>
> 1.
> First of all, I have installed this on NFS share, including the
> dependencies like gtk etc., to be accessed across multiple machines
> (having similar configuration)
>
> OS: Redhat Linux 6.3
>
> 2.
> I have not started the dbus yet (which is also installed on shared
> NFS). The pid and lockfiles etc. however, installed locally (will
> start it individually in each server to avoid conflict)
>
> 3.
> So, I was starting meld without starting dbus. Could this be the reason for vnc crashing? The following are the errors, I see before the tool got crashing:
>
> In VNC of server1 (from where I have done all the compilation and installation, the vnc is crashing here and shows the following error before crash):
>
> * (meld:63603): WARNING **: Error retrieving accessibility bus
> address: org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.a11y.Bus was not provided by any .service files
>
> Gtk-Message: Failed to load module "canberra-gtk-module"
>
> Gtk-Message: Failed to load module "canberra-gtk-module"
>
> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>
> I see the following messages in /var/log/messages:
>
> Jun 9 09:28:43 oulnxc53 kernel: Xvnc[18978]: segfault at 18 ip
> 0000000000799561 sp 00007fffdead6e50 error 4 in Xvnc[400000+542000]
>
> Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure
> unregistering from session: Connection is closed
>
> Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure
> unregistering from session: Connection is closed
>
> In VNC of server2 (I have not done installation here. It uses shared installation, the vnc is NOT crashing here. But tool unable to start and shows the following error):
>
> Gtk-Message: Failed to load module "canberra-gtk-module"
>
> Gtk-Message: Failed to load module "canberra-gtk-module"
>
> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>
> (meld:1083): GLib-GIO-ERROR **: Settings schema
> 'org.gnome.desktop.interface' is not installed
>
> Trace/breakpoint trap (core dumped)
>
> The following are the installation directories:
>
> bin etc include lib lib64 libexec sbin share var
>
> --
>
> Thanks and Regards,
>
> Jeevan Patnaik B
> | Project Engineer
>
> Nokia IT - HEE Platform |
> WIPRO Technologies - Hyderabad
>
> Mob: +91-9000607181
> | Off: +91-4030970347.
>
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> addressee(s) and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately and destroy all copies of this message and any
> attachments. WARNING: Computer viruses can be transmitted via email.
> The recipient should check this email and any attachments for the
> presence of viruses. The company accepts no liability for any damage
> caused by any virus transmitted by this email. www.wipro.com
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
j***@wipro.com
2016-06-14 09:33:27 UTC
Permalink
Hi,

I have decided to install meld again - both meld3.14.2 and meld3.16.0 in parallel.

Please let me know which gtk+ version, I should install. In the requirements, it is mentioned 3.14.
But nowhere it is mentioned if it can support higher.

Can I install or 3.14.8 or 3.14.15 or any version higher than 3.14.0?

Regards,
Jeevan.

-----Original Message-----
From: Jeevan Behara Patnaik (GIS)
Sent: 13 June 2016 17:28
To: 'Vasily Galkin'
Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R (Product Engineering Service); 'meld-***@gnome.org'
Subject: RE: Re:meld crashing vnc on starting

Hi Vasily,

And besides, any ideas why the vnc was crashing in the other server?

Regards,
Jeevan.

-----Original Message-----
From: Jeevan Behara Patnaik (GIS)
Sent: 13 June 2016 17:26
To: 'Vasily Galkin'
Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R (Product Engineering Service); meld-***@gnome.org
Subject: RE: Re:meld crashing vnc on starting

Hi Vasily,

I tried to see the abrt dump.

I found the following messages:
$cat reason
Process /NFS_share/python/python_2_7_11/bin/python2.7 was killed by signal 5 (SIGTRAP)

$cat var_log_messages
Jun 13 12:28:42 oulnxc54 abrt[28298]: Saved core dump of pid 28276 (/NFS_share/python/python_2_7_11/bin/python2.7) to /var/spool/abrt/ccpp-2016-06-13-12:28:42-28276 (11911168 bytes) Jun 13 12:28:42 oulnxc54 abrtd: Executable '/NFS_share/python/python_2_7_11/bin/python2.7' doesn't belong to any package Jun 13 13:51:27 oulnxc54 abrt[5492]: Saved core dump of pid 5491 (/NFS_share/python/python_2_7_11/bin/python2.7) to /var/spool/abrt/ccpp-2016-06-13-13:51:27-5491 (11902976 bytes)

Let me know how can I share you the whole ccpp directory. The compressed directory takes 11M.

If it is issue with the installation of gsettings-desktop-schemas, it might be due to the fact that I installed it from other machine. I will try to read about it and fix it. But kindly let me know if you already have any ideas.

Regards,
Jeevan.

-----Original Message-----
From: Vasily Galkin [mailto:galkin-***@yandex.ru]
Sent: 11 June 2016 21:08
To: Jeevan Behara Patnaik (GIS)
Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R (Product Engineering Service); meld-***@gnome.org
Subject: Re:meld crashing vnc on starting

** This mail has been sent from an external source **

As far as I can understand in one case vnc server crashes and in the other meld is crashing.

The message previous to "core dumped" says that meld crashing may be related to the problems with absence/bad install of "gsettings-desktop-schemas" package.

For both crashes the following information can be helpful:
Line from var log messages with basic crash information (like you give it for Xvnc) Exact package versions of crashed module (Xvnc binary for Xvnc crash, some gtk lib for meld crash I think).
Core dump that is created for meld.

> Hi Team,
>
> I have installed meld and when I try to invoke the meld binary, my vnc is crashing.
>
> 1.
> First of all, I have installed this on NFS share, including the
> dependencies like gtk etc., to be accessed across multiple machines
> (having similar configuration)
>
> OS: Redhat Linux 6.3
>
> 2.
> I have not started the dbus yet (which is also installed on shared
> NFS). The pid and lockfiles etc. however, installed locally (will
> start it individually in each server to avoid conflict)
>
> 3.
> So, I was starting meld without starting dbus. Could this be the reason for vnc crashing? The following are the errors, I see before the tool got crashing:
>
> In VNC of server1 (from where I have done all the compilation and installation, the vnc is crashing here and shows the following error before crash):
>
> * (meld:63603): WARNING **: Error retrieving accessibility bus
> address: org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.a11y.Bus was not provided by any .service files
>
> Gtk-Message: Failed to load module "canberra-gtk-module"
>
> Gtk-Message: Failed to load module "canberra-gtk-module"
>
> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>
> I see the following messages in /var/log/messages:
>
> Jun 9 09:28:43 oulnxc53 kernel: Xvnc[18978]: segfault at 18 ip
> 0000000000799561 sp 00007fffdead6e50 error 4 in Xvnc[400000+542000]
>
> Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure
> unregistering from session: Connection is closed
>
> Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure
> unregistering from session: Connection is closed
>
> In VNC of server2 (I have not done installation here. It uses shared installation, the vnc is NOT crashing here. But tool unable to start and shows the following error):
>
> Gtk-Message: Failed to load module "canberra-gtk-module"
>
> Gtk-Message: Failed to load module "canberra-gtk-module"
>
> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>
> (meld:1083): GLib-GIO-ERROR **: Settings schema
> 'org.gnome.desktop.interface' is not installed
>
> Trace/breakpoint trap (core dumped)
>
> The following are the installation directories:
>
> bin etc include lib lib64 libexec sbin share var
>
> --
>
> Thanks and Regards,
>
> Jeevan Patnaik B
> | Project Engineer
>
> Nokia IT - HEE Platform |
> WIPRO Technologies - Hyderabad
>
> Mob: +91-9000607181
> | Off: +91-4030970347.
>
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> addressee(s) and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately and destroy all copies of this message and any
> attachments. WARNING: Computer viruses can be transmitted via email.
> The recipient should check this email and any attachments for the
> presence of viruses. The company accepts no liability for any damage
> caused by any virus transmitted by this email. www.wipro.com
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
andré
2016-06-15 05:21:38 UTC
Permalink
***@wipro.com a écrit :
> Hi,
>
> I have decided to install meld again - both meld3.14.2 and meld3.16.0 in parallel.
>
> Please let me know which gtk+ version, I should install. In the requirements, it is mentioned 3.14.
> But nowhere it is mentioned if it can support higher.
>
> Can I install or 3.14.8 or 3.14.15 or any version higher than 3.14.0?
>
The interface for every 3.14.x would be identical, so it shouldn't make
any difference. The .x is generally for bug fixes & very minor changes.

Generally higher versions with the same major (e.g. 3.15) would work,
but I'm not certain.

> Regards,
> Jeevan.
>

--
André
Vasily Galkin
2016-06-14 10:33:58 UTC
Permalink
Hi Jeevan.

I'm successfully using recent meld with gtk 3.18 and 3.20.
I think that 3.18 is the most tested with meld.

About meld crash: now I noticed that dump is created after SIGTRAP (not SIGSEGV), so it's for sure the problem with gsettings schemas: according to glib's gio/gsettings.c absence of schema is non-recoverable error that exits application with SIGTRAP and message like yours
GLib-GIO-ERROR **: Settings schema 'org.gnome.desktop.interface' is not installed.
So dumps are not needed. According to your SO topic http://stackoverflow.com/questions/35784566/meld-glib-gio-error-no-gsettings-schemas-are-installed-on-the-system you have set GSETTINGS_SCHEMA_DIR to some nfs path.
I think that for meld this directory must contain both org.gnome.meld.gschema.xml and org.gnome.desktop.interface.xml


About Xvnc crash during meld start: The instruction of crash is known from
Jun 9 09:28:43 oulnxc53 kernel: Xvnc[18978]: segfault at 18 ip 0000000000799561 sp 00007fffdead6e50 error 4 in Xvnc[400000+542000]
It seems to be at offset 0x399561 out of 0x542000 code section of Xvnc binary.

To minimally diagnose the issue further the exact code line of Xvnc (compiled/installed with debug symbols) is needed.
You can try to extract it with echo 0x0000000000799561 | addr2line -Cfipe /path/to/Xvnc

--
Best regards, Vasily

> Hi,
>
> I have decided to install meld again - both meld3.14.2 and meld3.16.0 in parallel.
>
> Please let me know which gtk+ version, I should install. In the requirements, it is mentioned 3.14.
> But nowhere it is mentioned if it can support higher.
>
> Can I install or 3.14.8 or 3.14.15 or any version higher than 3.14.0?
>
> Regards,
> Jeevan.
>
> -----Original Message-----
> From: Jeevan Behara Patnaik (GIS)
> Sent: 13 June 2016 17:28
> To: 'Vasily Galkin'
> Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R (Product Engineering Service); 'meld-***@gnome.org'
> Subject: RE: Re:meld crashing vnc on starting
>
> Hi Vasily,
>
> And besides, any ideas why the vnc was crashing in the other server?
>
> Regards,
> Jeevan.
>
> -----Original Message-----
> From: Jeevan Behara Patnaik (GIS)
> Sent: 13 June 2016 17:26
> To: 'Vasily Galkin'
> Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R (Product Engineering Service); meld-***@gnome.org
> Subject: RE: Re:meld crashing vnc on starting
>
> Hi Vasily,
>
> I tried to see the abrt dump.
>
> I found the following messages:
> $cat reason
> Process /NFS_share/python/python_2_7_11/bin/python2.7 was killed by signal 5 (SIGTRAP)
>
> $cat var_log_messages
> Jun 13 12:28:42 oulnxc54 abrt[28298]: Saved core dump of pid 28276 (/NFS_share/python/python_2_7_11/bin/python2.7) to /var/spool/abrt/ccpp-2016-06-13-12:28:42-28276 (11911168 bytes) Jun 13 12:28:42 oulnxc54 abrtd: Executable '/NFS_share/python/python_2_7_11/bin/python2.7' doesn't belong to any package Jun 13 13:51:27 oulnxc54 abrt[5492]: Saved core dump of pid 5491 (/NFS_share/python/python_2_7_11/bin/python2.7) to /var/spool/abrt/ccpp-2016-06-13-13:51:27-5491 (11902976 bytes)
>
> Let me know how can I share you the whole ccpp directory. The compressed directory takes 11M.
>
> If it is issue with the installation of gsettings-desktop-schemas, it might be due to the fact that I installed it from other machine. I will try to read about it and fix it. But kindly let me know if you already have any ideas.
>
> Regards,
> Jeevan.
>
> -----Original Message-----
> From: Vasily Galkin [mailto:galkin-***@yandex.ru]
> Sent: 11 June 2016 21:08
> To: Jeevan Behara Patnaik (GIS)
> Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R (Product Engineering Service); meld-***@gnome.org
> Subject: Re:meld crashing vnc on starting
>
> ** This mail has been sent from an external source **
>
> As far as I can understand in one case vnc server crashes and in the other meld is crashing.
>
> The message previous to "core dumped" says that meld crashing may be related to the problems with absence/bad install of "gsettings-desktop-schemas" package.
>
> For both crashes the following information can be helpful:
> Line from var log messages with basic crash information (like you give it for Xvnc) Exact package versions of crashed module (Xvnc binary for Xvnc crash, some gtk lib for meld crash I think).
> Core dump that is created for meld.
>
>> Hi Team,
>>
>> I have installed meld and when I try to invoke the meld binary, my vnc is crashing.
>>
>> 1.
>> First of all, I have installed this on NFS share, including the
>> dependencies like gtk etc., to be accessed across multiple machines
>> (having similar configuration)
>>
>> OS: Redhat Linux 6.3
>>
>> 2.
>> I have not started the dbus yet (which is also installed on shared
>> NFS). The pid and lockfiles etc. however, installed locally (will
>> start it individually in each server to avoid conflict)
>>
>> 3.
>> So, I was starting meld without starting dbus. Could this be the reason for vnc crashing? The following are the errors, I see before the tool got crashing:
>>
>> In VNC of server1 (from where I have done all the compilation and installation, the vnc is crashing here and shows the following error before crash):
>>
>> * (meld:63603): WARNING **: Error retrieving accessibility bus
>> address: org.freedesktop.DBus.Error.ServiceUnknown: The name
>> org.a11y.Bus was not provided by any .service files
>>
>> Gtk-Message: Failed to load module "canberra-gtk-module"
>>
>> Gtk-Message: Failed to load module "canberra-gtk-module"
>>
>> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>>
>> I see the following messages in /var/log/messages:
>>
>> Jun 9 09:28:43 oulnxc53 kernel: Xvnc[18978]: segfault at 18 ip
>> 0000000000799561 sp 00007fffdead6e50 error 4 in Xvnc[400000+542000]
>>
>> Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure
>> unregistering from session: Connection is closed
>>
>> Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure
>> unregistering from session: Connection is closed
>>
>> In VNC of server2 (I have not done installation here. It uses shared installation, the vnc is NOT crashing here. But tool unable to start and shows the following error):
>>
>> Gtk-Message: Failed to load module "canberra-gtk-module"
>>
>> Gtk-Message: Failed to load module "canberra-gtk-module"
>>
>> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>>
>> (meld:1083): GLib-GIO-ERROR **: Settings schema
>> 'org.gnome.desktop.interface' is not installed
>>
>> Trace/breakpoint trap (core dumped)
>>
>> The following are the installation directories:
>>
>> bin etc include lib lib64 libexec sbin share var
>>
>> --
>>
>> Thanks and Regards,
>>
>> Jeevan Patnaik B
>> | Project Engineer
>>
>> Nokia IT - HEE Platform |
>> WIPRO Technologies - Hyderabad
>>
>> Mob: +91-9000607181
>> | Off: +91-4030970347.
>>
>> The information contained in this electronic message and any
>> attachments to this message are intended for the exclusive use of the
>> addressee(s) and may contain proprietary, confidential or privileged
>> information. If you are not the intended recipient, you should not
>> disseminate, distribute or copy this e-mail. Please notify the sender
>> immediately and destroy all copies of this message and any
>> attachments. WARNING: Computer viruses can be transmitted via email.
>> The recipient should check this email and any attachments for the
>> presence of viruses. The company accepts no liability for any damage
>> caused by any virus transmitted by this email. www.wipro.com
>
> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
j***@wipro.com
2016-06-14 11:13:19 UTC
Permalink
Hi Vasily,

Thanks for the suggestions.

I have the following in the current schema directory:
gschema.dtd
org.gnome.meld.gschema.xml
org.gtk.exampleapp.gschema.xml
org.gtk.Settings.Debug.gschema.xml
gschemas.compiled
org.gtk.Demo.gschema.xml
org.gtk.Settings.ColorChooser.gschema.xml
org.gtk.Settings.FileChooser.gschema.xml

And the following were in the previous installation schemas directory (which was 3 months ago - then I was able to invoke the tool, but the functionality was not working, as I installed the dependencies separately and so linking of some file failed. Hence I had to reinstall it again. And I see org.desktop.* xml files are there, I am not sure how I am missing those this time. Any idea?):
gschema.dtd org.gnome.desktop.enums.xml org.gnome.desktop.thumbnail-cache.gschema.xml
gschemas.compiled org.gnome.desktop.input-sources.gschema.xml org.gnome.desktop.thumbnailers.gschema.xml
org.gnome.desktop.a11y.applications.gschema.xml org.gnome.desktop.interface.gschema.xml org.gnome.desktop.wm.keybindings.gschema.xml
org.gnome.desktop.a11y.gschema.xml org.gnome.desktop.lockdown.gschema.xml org.gnome.desktop.wm.preferences.gschema.xml
org.gnome.desktop.a11y.keyboard.gschema.xml org.gnome.desktop.media-handling.gschema.xml org.gnome.meld.gschema.xml
org.gnome.desktop.a11y.magnifier.gschema.xml org.gnome.desktop.notifications.gschema.xml org.gnome.system.locale.gschema.xml
org.gnome.desktop.a11y.mouse.gschema.xml org.gnome.desktop.privacy.gschema.xml org.gnome.system.proxy.gschema.xml
org.gnome.desktop.app-folders.gschema.xml org.gnome.desktop.screensaver.gschema.xml org.gtk.Demo.gschema.xml
org.gnome.desktop.background.gschema.xml org.gnome.desktop.search-providers.gschema.xml org.gtk.exampleapp.gschema.xml
org.gnome.desktop.datetime.gschema.xml org.gnome.desktop.session.gschema.xml org.gtk.Settings.ColorChooser.gschema.xml
org.gnome.desktop.default-applications.gschema.xml org.gnome.desktop.sound.gschema.xml org.gtk.Settings.FileChooser.gschema.xml

Also the following is the output related Xvnc crash. p option, I had to remove, as it shows not recognized option:
$echo 0x0000000000799561 | addr2line -Cfie /usr/bin/Xvnc
??
??:0

Regards,
Jeevan.
-----Original Message-----
From: Vasily Galkin [mailto:galkin-***@yandex.ru]
Sent: 14 June 2016 16:04
To: Jeevan Behara Patnaik (GIS)
Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R (Product Engineering Service); meld-***@gnome.org
Subject: Re:meld crashing vnc on starting

** This mail has been sent from an external source **

Hi Jeevan.

I'm successfully using recent meld with gtk 3.18 and 3.20.
I think that 3.18 is the most tested with meld.

About meld crash: now I noticed that dump is created after SIGTRAP (not SIGSEGV), so it's for sure the problem with gsettings schemas: according to glib's gio/gsettings.c absence of schema is non-recoverable error that exits application with SIGTRAP and message like yours GLib-GIO-ERROR **: Settings schema 'org.gnome.desktop.interface' is not installed.
So dumps are not needed. According to your SO topic http://stackoverflow.com/questions/35784566/meld-glib-gio-error-no-gsettings-schemas-are-installed-on-the-system you have set GSETTINGS_SCHEMA_DIR to some nfs path.
I think that for meld this directory must contain both org.gnome.meld.gschema.xml and org.gnome.desktop.interface.xml


About Xvnc crash during meld start: The instruction of crash is known from Jun 9 09:28:43 oulnxc53 kernel: Xvnc[18978]: segfault at 18 ip 0000000000799561 sp 00007fffdead6e50 error 4 in Xvnc[400000+542000] It seems to be at offset 0x399561 out of 0x542000 code section of Xvnc binary.

To minimally diagnose the issue further the exact code line of Xvnc (compiled/installed with debug symbols) is needed.
You can try to extract it with echo 0x0000000000799561 | addr2line -Cfipe /path/to/Xvnc

--
Best regards, Vasily

> Hi,
>
> I have decided to install meld again - both meld3.14.2 and meld3.16.0 in parallel.
>
> Please let me know which gtk+ version, I should install. In the requirements, it is mentioned 3.14.
> But nowhere it is mentioned if it can support higher.
>
> Can I install or 3.14.8 or 3.14.15 or any version higher than 3.14.0?
>
> Regards,
> Jeevan.
>
> -----Original Message-----
> From: Jeevan Behara Patnaik (GIS)
> Sent: 13 June 2016 17:28
> To: 'Vasily Galkin'
> Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R (Product Engineering Service); 'meld-***@gnome.org'
> Subject: RE: Re:meld crashing vnc on starting
>
> Hi Vasily,
>
> And besides, any ideas why the vnc was crashing in the other server?
>
> Regards,
> Jeevan.
>
> -----Original Message-----
> From: Jeevan Behara Patnaik (GIS)
> Sent: 13 June 2016 17:26
> To: 'Vasily Galkin'
> Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R
> (Product Engineering Service); meld-***@gnome.org
> Subject: RE: Re:meld crashing vnc on starting
>
> Hi Vasily,
>
> I tried to see the abrt dump.
>
> I found the following messages:
> $cat reason
> Process /NFS_share/python/python_2_7_11/bin/python2.7 was killed by
> signal 5 (SIGTRAP)
>
> $cat var_log_messages
> Jun 13 12:28:42 oulnxc54 abrt[28298]: Saved core dump of pid 28276
> (/NFS_share/python/python_2_7_11/bin/python2.7) to
> /var/spool/abrt/ccpp-2016-06-13-12:28:42-28276 (11911168 bytes) Jun 13
> 12:28:42 oulnxc54 abrtd: Executable
> '/NFS_share/python/python_2_7_11/bin/python2.7' doesn't belong to any
> package Jun 13 13:51:27 oulnxc54 abrt[5492]: Saved core dump of pid
> 5491 (/NFS_share/python/python_2_7_11/bin/python2.7) to
> /var/spool/abrt/ccpp-2016-06-13-13:51:27-5491 (11902976 bytes)
>
> Let me know how can I share you the whole ccpp directory. The compressed directory takes 11M.
>
> If it is issue with the installation of gsettings-desktop-schemas, it might be due to the fact that I installed it from other machine. I will try to read about it and fix it. But kindly let me know if you already have any ideas.
>
> Regards,
> Jeevan.
>
> -----Original Message-----
> From: Vasily Galkin [mailto:galkin-***@yandex.ru]
> Sent: 11 June 2016 21:08
> To: Jeevan Behara Patnaik (GIS)
> Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R
> (Product Engineering Service); meld-***@gnome.org
> Subject: Re:meld crashing vnc on starting
>
> ** This mail has been sent from an external source **
>
> As far as I can understand in one case vnc server crashes and in the other meld is crashing.
>
> The message previous to "core dumped" says that meld crashing may be related to the problems with absence/bad install of "gsettings-desktop-schemas" package.
>
> For both crashes the following information can be helpful:
> Line from var log messages with basic crash information (like you give it for Xvnc) Exact package versions of crashed module (Xvnc binary for Xvnc crash, some gtk lib for meld crash I think).
> Core dump that is created for meld.
>
>> Hi Team,
>>
>> I have installed meld and when I try to invoke the meld binary, my vnc is crashing.
>>
>> 1.
>> First of all, I have installed this on NFS share, including the
>> dependencies like gtk etc., to be accessed across multiple machines
>> (having similar configuration)
>>
>> OS: Redhat Linux 6.3
>>
>> 2.
>> I have not started the dbus yet (which is also installed on shared
>> NFS). The pid and lockfiles etc. however, installed locally (will
>> start it individually in each server to avoid conflict)
>>
>> 3.
>> So, I was starting meld without starting dbus. Could this be the reason for vnc crashing? The following are the errors, I see before the tool got crashing:
>>
>> In VNC of server1 (from where I have done all the compilation and installation, the vnc is crashing here and shows the following error before crash):
>>
>> * (meld:63603): WARNING **: Error retrieving accessibility bus
>> address: org.freedesktop.DBus.Error.ServiceUnknown: The name
>> org.a11y.Bus was not provided by any .service files
>>
>> Gtk-Message: Failed to load module "canberra-gtk-module"
>>
>> Gtk-Message: Failed to load module "canberra-gtk-module"
>>
>> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>>
>> I see the following messages in /var/log/messages:
>>
>> Jun 9 09:28:43 oulnxc53 kernel: Xvnc[18978]: segfault at 18 ip
>> 0000000000799561 sp 00007fffdead6e50 error 4 in Xvnc[400000+542000]
>>
>> Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure
>> unregistering from session: Connection is closed
>>
>> Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure
>> unregistering from session: Connection is closed
>>
>> In VNC of server2 (I have not done installation here. It uses shared installation, the vnc is NOT crashing here. But tool unable to start and shows the following error):
>>
>> Gtk-Message: Failed to load module "canberra-gtk-module"
>>
>> Gtk-Message: Failed to load module "canberra-gtk-module"
>>
>> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>>
>> (meld:1083): GLib-GIO-ERROR **: Settings schema
>> 'org.gnome.desktop.interface' is not installed
>>
>> Trace/breakpoint trap (core dumped)
>>
>> The following are the installation directories:
>>
>> bin etc include lib lib64 libexec sbin share var
>>
>> --
>>
>> Thanks and Regards,
>>
>> Jeevan Patnaik B
>> | Project Engineer
>>
>> Nokia IT - HEE Platform |
>> WIPRO Technologies - Hyderabad
>>
>> Mob: +91-9000607181
>> | Off: +91-4030970347.
>>
>> The information contained in this electronic message and any
>> attachments to this message are intended for the exclusive use of the
>> addressee(s) and may contain proprietary, confidential or privileged
>> information. If you are not the intended recipient, you should not
>> disseminate, distribute or copy this e-mail. Please notify the sender
>> immediately and destroy all copies of this message and any
>> attachments. WARNING: Computer viruses can be transmitted via email.
>> The recipient should check this email and any attachments for the
>> presence of viruses. The company accepts no liability for any damage
>> caused by any virus transmitted by this email. www.wipro.com
>
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> addressee(s) and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately and destroy all copies of this message and any
> attachments. WARNING: Computer viruses can be transmitted via email.
> The recipient should check this email and any attachments for the
> presence of viruses. The company accepts no liability for any damage
> caused by any virus transmitted by this email. www.wipro.com
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
Vasily Galkin
2016-06-14 12:49:51 UTC
Permalink
The org.gnome.desktop.interface.gschema.xml is absent in your current install, and was present in your previous install - this is the reason that meld is crashing now.
Unfortunately I'm not gtk packaging/installation expert, the only thing I know - in debian this file is result of building this source package https://packages.debian.org/source/jessie/gsettings-desktop-schemas
Maybe you can just (fast&unsupported) copy this xml from previous install.

About Xvnc crash during meld start: It looks that your Xvnc binary lacks the debugging information.

What is exact package version it is? I think it can be found via
rpm -q --whatprovides /usr/bin/Xvnc

You have somehow to get debuginfo installed for Xvnc binary, maybe this helps after finding pa - https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Developer_Guide/intro.debuginfo.html
(I think that you need install tigervnc-debuginfo, but i'm not sure)
Otherwise, you can try recompiling Xvnc from binaries with debug info and try to reproduce crash on it.
Note: the debugging symbols and the crash information from log must correspond to exactly same binary. So, if you recompile/reinstall binary - you need to get new crash information.

The result of addr2line for correctly found debug symbols expected to be some Xvnc's source filename and line number.
--
Best regards, Vasily

> Hi Vasily,
>
> Thanks for the suggestions.
>
> I have the following in the current schema directory:
> gschema.dtd
> org.gnome.meld.gschema.xml
> org.gtk.exampleapp.gschema.xml
> org.gtk.Settings.Debug.gschema.xml
> gschemas.compiled
> org.gtk.Demo.gschema.xml
> org.gtk.Settings.ColorChooser.gschema.xml
> org.gtk.Settings.FileChooser.gschema.xml
>
> And the following were in the previous installation schemas directory (which was 3 months ago - then I was able to invoke the tool, but the functionality was not working, as I installed the dependencies separately and so linking of some file failed. Hence I had to reinstall it again. And I see org.desktop.* xml files are there, I am not sure how I am missing those this time. Any idea?):
> gschema.dtd org.gnome.desktop.enums.xml org.gnome.desktop.thumbnail-cache.gschema.xml
> gschemas.compiled org.gnome.desktop.input-sources.gschema.xml org.gnome.desktop.thumbnailers.gschema.xml
> org.gnome.desktop.a11y.applications.gschema.xml org.gnome.desktop.interface.gschema.xml org.gnome.desktop.wm.keybindings.gschema.xml
> org.gnome.desktop.a11y.gschema.xml org.gnome.desktop.lockdown.gschema.xml org.gnome.desktop.wm.preferences.gschema.xml
> org.gnome.desktop.a11y.keyboard.gschema.xml org.gnome.desktop.media-handling.gschema.xml org.gnome.meld.gschema.xml
> org.gnome.desktop.a11y.magnifier.gschema.xml org.gnome.desktop.notifications.gschema.xml org.gnome.system.locale.gschema.xml
> org.gnome.desktop.a11y.mouse.gschema.xml org.gnome.desktop.privacy.gschema.xml org.gnome.system.proxy.gschema.xml
> org.gnome.desktop.app-folders.gschema.xml org.gnome.desktop.screensaver.gschema.xml org.gtk.Demo.gschema.xml
> org.gnome.desktop.background.gschema.xml org.gnome.desktop.search-providers.gschema.xml org.gtk.exampleapp.gschema.xml
> org.gnome.desktop.datetime.gschema.xml org.gnome.desktop.session.gschema.xml org.gtk.Settings.ColorChooser.gschema.xml
> org.gnome.desktop.default-applications.gschema.xml org.gnome.desktop.sound.gschema.xml org.gtk.Settings.FileChooser.gschema.xml
>
> Also the following is the output related Xvnc crash. p option, I had to remove, as it shows not recognized option:
> $echo 0x0000000000799561 | addr2line -Cfie /usr/bin/Xvnc
> ??
> ??:0
>
> Regards,
> Jeevan.
> -----Original Message-----
> From: Vasily Galkin [mailto:galkin-***@yandex.ru]
> Sent: 14 June 2016 16:04
> To: Jeevan Behara Patnaik (GIS)
> Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R (Product Engineering Service); meld-***@gnome.org
> Subject: Re:meld crashing vnc on starting
>
> ** This mail has been sent from an external source **
>
> Hi Jeevan.
>
> I'm successfully using recent meld with gtk 3.18 and 3.20.
> I think that 3.18 is the most tested with meld.
>
> About meld crash: now I noticed that dump is created after SIGTRAP (not SIGSEGV), so it's for sure the problem with gsettings schemas: according to glib's gio/gsettings.c absence of schema is non-recoverable error that exits application with SIGTRAP and message like yours GLib-GIO-ERROR **: Settings schema 'org.gnome.desktop.interface' is not installed.
> So dumps are not needed. According to your SO topic http://stackoverflow.com/questions/35784566/meld-glib-gio-error-no-gsettings-schemas-are-installed-on-the-system you have set GSETTINGS_SCHEMA_DIR to some nfs path.
> I think that for meld this directory must contain both org.gnome.meld.gschema.xml and org.gnome.desktop.interface.xml
>
> About Xvnc crash during meld start: The instruction of crash is known from Jun 9 09:28:43 oulnxc53 kernel: Xvnc[18978]: segfault at 18 ip 0000000000799561 sp 00007fffdead6e50 error 4 in Xvnc[400000+542000] It seems to be at offset 0x399561 out of 0x542000 code section of Xvnc binary.
>
> To minimally diagnose the issue further the exact code line of Xvnc (compiled/installed with debug symbols) is needed.
> You can try to extract it with echo 0x0000000000799561 | addr2line -Cfipe /path/to/Xvnc
>
> --
> Best regards, Vasily
>
>> Hi,
>>
>> I have decided to install meld again - both meld3.14.2 and meld3.16.0 in parallel.
>>
>> Please let me know which gtk+ version, I should install. In the requirements, it is mentioned 3.14.
>> But nowhere it is mentioned if it can support higher.
>>
>> Can I install or 3.14.8 or 3.14.15 or any version higher than 3.14.0?
>>
>> Regards,
>> Jeevan.
>>
>> -----Original Message-----
>> From: Jeevan Behara Patnaik (GIS)
>> Sent: 13 June 2016 17:28
>> To: 'Vasily Galkin'
>> Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R (Product Engineering Service); 'meld-***@gnome.org'
>> Subject: RE: Re:meld crashing vnc on starting
>>
>> Hi Vasily,
>>
>> And besides, any ideas why the vnc was crashing in the other server?
>>
>> Regards,
>> Jeevan.
>>
>> -----Original Message-----
>> From: Jeevan Behara Patnaik (GIS)
>> Sent: 13 June 2016 17:26
>> To: 'Vasily Galkin'
>> Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R
>> (Product Engineering Service); meld-***@gnome.org
>> Subject: RE: Re:meld crashing vnc on starting
>>
>> Hi Vasily,
>>
>> I tried to see the abrt dump.
>>
>> I found the following messages:
>> $cat reason
>> Process /NFS_share/python/python_2_7_11/bin/python2.7 was killed by
>> signal 5 (SIGTRAP)
>>
>> $cat var_log_messages
>> Jun 13 12:28:42 oulnxc54 abrt[28298]: Saved core dump of pid 28276
>> (/NFS_share/python/python_2_7_11/bin/python2.7) to
>> /var/spool/abrt/ccpp-2016-06-13-12:28:42-28276 (11911168 bytes) Jun 13
>> 12:28:42 oulnxc54 abrtd: Executable
>> '/NFS_share/python/python_2_7_11/bin/python2.7' doesn't belong to any
>> package Jun 13 13:51:27 oulnxc54 abrt[5492]: Saved core dump of pid
>> 5491 (/NFS_share/python/python_2_7_11/bin/python2.7) to
>> /var/spool/abrt/ccpp-2016-06-13-13:51:27-5491 (11902976 bytes)
>>
>> Let me know how can I share you the whole ccpp directory. The compressed directory takes 11M.
>>
>> If it is issue with the installation of gsettings-desktop-schemas, it might be due to the fact that I installed it from other machine. I will try to read about it and fix it. But kindly let me know if you already have any ideas.
>>
>> Regards,
>> Jeevan.
>>
>> -----Original Message-----
>> From: Vasily Galkin [mailto:galkin-***@yandex.ru]
>> Sent: 11 June 2016 21:08
>> To: Jeevan Behara Patnaik (GIS)
>> Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R
>> (Product Engineering Service); meld-***@gnome.org
>> Subject: Re:meld crashing vnc on starting
>>
>> ** This mail has been sent from an external source **
>>
>> As far as I can understand in one case vnc server crashes and in the other meld is crashing.
>>
>> The message previous to "core dumped" says that meld crashing may be related to the problems with absence/bad install of "gsettings-desktop-schemas" package.
>>
>> For both crashes the following information can be helpful:
>> Line from var log messages with basic crash information (like you give it for Xvnc) Exact package versions of crashed module (Xvnc binary for Xvnc crash, some gtk lib for meld crash I think).
>> Core dump that is created for meld.
>>
>>> Hi Team,
>>>
>>> I have installed meld and when I try to invoke the meld binary, my vnc is crashing.
>>>
>>> 1.
>>> First of all, I have installed this on NFS share, including the
>>> dependencies like gtk etc., to be accessed across multiple machines
>>> (having similar configuration)
>>>
>>> OS: Redhat Linux 6.3
>>>
>>> 2.
>>> I have not started the dbus yet (which is also installed on shared
>>> NFS). The pid and lockfiles etc. however, installed locally (will
>>> start it individually in each server to avoid conflict)
>>>
>>> 3.
>>> So, I was starting meld without starting dbus. Could this be the reason for vnc crashing? The following are the errors, I see before the tool got crashing:
>>>
>>> In VNC of server1 (from where I have done all the compilation and installation, the vnc is crashing here and shows the following error before crash):
>>>
>>> * (meld:63603): WARNING **: Error retrieving accessibility bus
>>> address: org.freedesktop.DBus.Error.ServiceUnknown: The name
>>> org.a11y.Bus was not provided by any .service files
>>>
>>> Gtk-Message: Failed to load module "canberra-gtk-module"
>>>
>>> Gtk-Message: Failed to load module "canberra-gtk-module"
>>>
>>> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>>>
>>> I see the following messages in /var/log/messages:
>>>
>>> Jun 9 09:28:43 oulnxc53 kernel: Xvnc[18978]: segfault at 18 ip
>>> 0000000000799561 sp 00007fffdead6e50 error 4 in Xvnc[400000+542000]
>>>
>>> Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure
>>> unregistering from session: Connection is closed
>>>
>>> Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure
>>> unregistering from session: Connection is closed
>>>
>>> In VNC of server2 (I have not done installation here. It uses shared installation, the vnc is NOT crashing here. But tool unable to start and shows the following error):
>>>
>>> Gtk-Message: Failed to load module "canberra-gtk-module"
>>>
>>> Gtk-Message: Failed to load module "canberra-gtk-module"
>>>
>>> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>>>
>>> (meld:1083): GLib-GIO-ERROR **: Settings schema
>>> 'org.gnome.desktop.interface' is not installed
>>>
>>> Trace/breakpoint trap (core dumped)
>>>
>>> The following are the installation directories:
>>>
>>> bin etc include lib lib64 libexec sbin share var
>>>
>>> --
>>>
>>> Thanks and Regards,
>>>
>>> Jeevan Patnaik B
>>> | Project Engineer
>>>
>>> Nokia IT - HEE Platform |
>>> WIPRO Technologies - Hyderabad
>>>
>>> Mob: +91-9000607181
>>> | Off: +91-4030970347.
>>>
>>> The information contained in this electronic message and any
>>> attachments to this message are intended for the exclusive use of the
>>> addressee(s) and may contain proprietary, confidential or privileged
>>> information. If you are not the intended recipient, you should not
>>> disseminate, distribute or copy this e-mail. Please notify the sender
>>> immediately and destroy all copies of this message and any
>>> attachments. WARNING: Computer viruses can be transmitted via email.
>>> The recipient should check this email and any attachments for the
>>> presence of viruses. The company accepts no liability for any damage
>>> caused by any virus transmitted by this email. www.wipro.com
>>
>> The information contained in this electronic message and any
>> attachments to this message are intended for the exclusive use of the
>> addressee(s) and may contain proprietary, confidential or privileged
>> information. If you are not the intended recipient, you should not
>> disseminate, distribute or copy this e-mail. Please notify the sender
>> immediately and destroy all copies of this message and any
>> attachments. WARNING: Computer viruses can be transmitted via email.
>> The recipient should check this email and any attachments for the
>> presence of viruses. The company accepts no liability for any damage
>> caused by any virus transmitted by this email. www.wipro.com
>
> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
j***@wipro.com
2016-06-15 12:55:04 UTC
Permalink
Hi,

After installing gsettings-desktop-schemas, meld is not crashing.
Now, the issue is with vnc in both the servers.

I am trying to install the debug package as you have suggested. Issue with repos. Let's see.

Thanks so much.

Regards,
Jeevan.

-----Original Message-----
From: Vasily Galkin [mailto:galkin-***@yandex.ru]
Sent: Tuesday, June 14, 2016 6:20 PM
To: Jeevan Behara Patnaik (GIS)
Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R (Product Engineering Service); meld-***@gnome.org
Subject: Re:meld crashing vnc on starting

** This mail has been sent from an external source **

The org.gnome.desktop.interface.gschema.xml is absent in your current install, and was present in your previous install - this is the reason that meld is crashing now.
Unfortunately I'm not gtk packaging/installation expert, the only thing I know - in debian this file is result of building this source package https://packages.debian.org/source/jessie/gsettings-desktop-schemas
Maybe you can just (fast&unsupported) copy this xml from previous install.

About Xvnc crash during meld start: It looks that your Xvnc binary lacks the debugging information.

What is exact package version it is? I think it can be found via rpm -q --whatprovides /usr/bin/Xvnc

You have somehow to get debuginfo installed for Xvnc binary, maybe this helps after finding pa - https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Developer_Guide/intro.debuginfo.html
(I think that you need install tigervnc-debuginfo, but i'm not sure) Otherwise, you can try recompiling Xvnc from binaries with debug info and try to reproduce crash on it.
Note: the debugging symbols and the crash information from log must correspond to exactly same binary. So, if you recompile/reinstall binary - you need to get new crash information.

The result of addr2line for correctly found debug symbols expected to be some Xvnc's source filename and line number.
--
Best regards, Vasily

> Hi Vasily,
>
> Thanks for the suggestions.
>
> I have the following in the current schema directory:
> gschema.dtd
> org.gnome.meld.gschema.xml
> org.gtk.exampleapp.gschema.xml
> org.gtk.Settings.Debug.gschema.xml
> gschemas.compiled
> org.gtk.Demo.gschema.xml
> org.gtk.Settings.ColorChooser.gschema.xml
> org.gtk.Settings.FileChooser.gschema.xml
>
> And the following were in the previous installation schemas directory (which was 3 months ago - then I was able to invoke the tool, but the functionality was not working, as I installed the dependencies separately and so linking of some file failed. Hence I had to reinstall it again. And I see org.desktop.* xml files are there, I am not sure how I am missing those this time. Any idea?):
> gschema.dtd org.gnome.desktop.enums.xml
> org.gnome.desktop.thumbnail-cache.gschema.xml
> gschemas.compiled org.gnome.desktop.input-sources.gschema.xml
> org.gnome.desktop.thumbnailers.gschema.xml
> org.gnome.desktop.a11y.applications.gschema.xml
> org.gnome.desktop.interface.gschema.xml
> org.gnome.desktop.wm.keybindings.gschema.xml
> org.gnome.desktop.a11y.gschema.xml
> org.gnome.desktop.lockdown.gschema.xml
> org.gnome.desktop.wm.preferences.gschema.xml
> org.gnome.desktop.a11y.keyboard.gschema.xml
> org.gnome.desktop.media-handling.gschema.xml
> org.gnome.meld.gschema.xml
> org.gnome.desktop.a11y.magnifier.gschema.xml
> org.gnome.desktop.notifications.gschema.xml
> org.gnome.system.locale.gschema.xml
> org.gnome.desktop.a11y.mouse.gschema.xml
> org.gnome.desktop.privacy.gschema.xml
> org.gnome.system.proxy.gschema.xml
> org.gnome.desktop.app-folders.gschema.xml
> org.gnome.desktop.screensaver.gschema.xml org.gtk.Demo.gschema.xml
> org.gnome.desktop.background.gschema.xml
> org.gnome.desktop.search-providers.gschema.xml
> org.gtk.exampleapp.gschema.xml org.gnome.desktop.datetime.gschema.xml
> org.gnome.desktop.session.gschema.xml
> org.gtk.Settings.ColorChooser.gschema.xml
> org.gnome.desktop.default-applications.gschema.xml
> org.gnome.desktop.sound.gschema.xml
> org.gtk.Settings.FileChooser.gschema.xml
>
> Also the following is the output related Xvnc crash. p option, I had to remove, as it shows not recognized option:
> $echo 0x0000000000799561 | addr2line -Cfie /usr/bin/Xvnc ??
> ??:0
>
> Regards,
> Jeevan.
> -----Original Message-----
> From: Vasily Galkin [mailto:galkin-***@yandex.ru]
> Sent: 14 June 2016 16:04
> To: Jeevan Behara Patnaik (GIS)
> Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R
> (Product Engineering Service); meld-***@gnome.org
> Subject: Re:meld crashing vnc on starting
>
> ** This mail has been sent from an external source **
>
> Hi Jeevan.
>
> I'm successfully using recent meld with gtk 3.18 and 3.20.
> I think that 3.18 is the most tested with meld.
>
> About meld crash: now I noticed that dump is created after SIGTRAP (not SIGSEGV), so it's for sure the problem with gsettings schemas: according to glib's gio/gsettings.c absence of schema is non-recoverable error that exits application with SIGTRAP and message like yours GLib-GIO-ERROR **: Settings schema 'org.gnome.desktop.interface' is not installed.
> So dumps are not needed. According to your SO topic http://stackoverflow.com/questions/35784566/meld-glib-gio-error-no-gsettings-schemas-are-installed-on-the-system you have set GSETTINGS_SCHEMA_DIR to some nfs path.
> I think that for meld this directory must contain both
> org.gnome.meld.gschema.xml and org.gnome.desktop.interface.xml
>
> About Xvnc crash during meld start: The instruction of crash is known from Jun 9 09:28:43 oulnxc53 kernel: Xvnc[18978]: segfault at 18 ip 0000000000799561 sp 00007fffdead6e50 error 4 in Xvnc[400000+542000] It seems to be at offset 0x399561 out of 0x542000 code section of Xvnc binary.
>
> To minimally diagnose the issue further the exact code line of Xvnc (compiled/installed with debug symbols) is needed.
> You can try to extract it with echo 0x0000000000799561 | addr2line
> -Cfipe /path/to/Xvnc
>
> --
> Best regards, Vasily
>
>> Hi,
>>
>> I have decided to install meld again - both meld3.14.2 and meld3.16.0 in parallel.
>>
>> Please let me know which gtk+ version, I should install. In the requirements, it is mentioned 3.14.
>> But nowhere it is mentioned if it can support higher.
>>
>> Can I install or 3.14.8 or 3.14.15 or any version higher than 3.14.0?
>>
>> Regards,
>> Jeevan.
>>
>> -----Original Message-----
>> From: Jeevan Behara Patnaik (GIS)
>> Sent: 13 June 2016 17:28
>> To: 'Vasily Galkin'
>> Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R (Product Engineering Service); 'meld-***@gnome.org'
>> Subject: RE: Re:meld crashing vnc on starting
>>
>> Hi Vasily,
>>
>> And besides, any ideas why the vnc was crashing in the other server?
>>
>> Regards,
>> Jeevan.
>>
>> -----Original Message-----
>> From: Jeevan Behara Patnaik (GIS)
>> Sent: 13 June 2016 17:26
>> To: 'Vasily Galkin'
>> Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R
>> (Product Engineering Service); meld-***@gnome.org
>> Subject: RE: Re:meld crashing vnc on starting
>>
>> Hi Vasily,
>>
>> I tried to see the abrt dump.
>>
>> I found the following messages:
>> $cat reason
>> Process /NFS_share/python/python_2_7_11/bin/python2.7 was killed by
>> signal 5 (SIGTRAP)
>>
>> $cat var_log_messages
>> Jun 13 12:28:42 oulnxc54 abrt[28298]: Saved core dump of pid 28276
>> (/NFS_share/python/python_2_7_11/bin/python2.7) to
>> /var/spool/abrt/ccpp-2016-06-13-12:28:42-28276 (11911168 bytes) Jun
>> 13
>> 12:28:42 oulnxc54 abrtd: Executable
>> '/NFS_share/python/python_2_7_11/bin/python2.7' doesn't belong to any
>> package Jun 13 13:51:27 oulnxc54 abrt[5492]: Saved core dump of pid
>> 5491 (/NFS_share/python/python_2_7_11/bin/python2.7) to
>> /var/spool/abrt/ccpp-2016-06-13-13:51:27-5491 (11902976 bytes)
>>
>> Let me know how can I share you the whole ccpp directory. The compressed directory takes 11M.
>>
>> If it is issue with the installation of gsettings-desktop-schemas, it might be due to the fact that I installed it from other machine. I will try to read about it and fix it. But kindly let me know if you already have any ideas.
>>
>> Regards,
>> Jeevan.
>>
>> -----Original Message-----
>> From: Vasily Galkin [mailto:galkin-***@yandex.ru]
>> Sent: 11 June 2016 21:08
>> To: Jeevan Behara Patnaik (GIS)
>> Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R
>> (Product Engineering Service); meld-***@gnome.org
>> Subject: Re:meld crashing vnc on starting
>>
>> ** This mail has been sent from an external source **
>>
>> As far as I can understand in one case vnc server crashes and in the other meld is crashing.
>>
>> The message previous to "core dumped" says that meld crashing may be related to the problems with absence/bad install of "gsettings-desktop-schemas" package.
>>
>> For both crashes the following information can be helpful:
>> Line from var log messages with basic crash information (like you give it for Xvnc) Exact package versions of crashed module (Xvnc binary for Xvnc crash, some gtk lib for meld crash I think).
>> Core dump that is created for meld.
>>
>>> Hi Team,
>>>
>>> I have installed meld and when I try to invoke the meld binary, my vnc is crashing.
>>>
>>> 1.
>>> First of all, I have installed this on NFS share, including the
>>> dependencies like gtk etc., to be accessed across multiple machines
>>> (having similar configuration)
>>>
>>> OS: Redhat Linux 6.3
>>>
>>> 2.
>>> I have not started the dbus yet (which is also installed on shared
>>> NFS). The pid and lockfiles etc. however, installed locally (will
>>> start it individually in each server to avoid conflict)
>>>
>>> 3.
>>> So, I was starting meld without starting dbus. Could this be the reason for vnc crashing? The following are the errors, I see before the tool got crashing:
>>>
>>> In VNC of server1 (from where I have done all the compilation and installation, the vnc is crashing here and shows the following error before crash):
>>>
>>> * (meld:63603): WARNING **: Error retrieving accessibility bus
>>> address: org.freedesktop.DBus.Error.ServiceUnknown: The name
>>> org.a11y.Bus was not provided by any .service files
>>>
>>> Gtk-Message: Failed to load module "canberra-gtk-module"
>>>
>>> Gtk-Message: Failed to load module "canberra-gtk-module"
>>>
>>> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>>>
>>> I see the following messages in /var/log/messages:
>>>
>>> Jun 9 09:28:43 oulnxc53 kernel: Xvnc[18978]: segfault at 18 ip
>>> 0000000000799561 sp 00007fffdead6e50 error 4 in Xvnc[400000+542000]
>>>
>>> Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure
>>> unregistering from session: Connection is closed
>>>
>>> Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure
>>> unregistering from session: Connection is closed
>>>
>>> In VNC of server2 (I have not done installation here. It uses shared installation, the vnc is NOT crashing here. But tool unable to start and shows the following error):
>>>
>>> Gtk-Message: Failed to load module "canberra-gtk-module"
>>>
>>> Gtk-Message: Failed to load module "canberra-gtk-module"
>>>
>>> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>>>
>>> (meld:1083): GLib-GIO-ERROR **: Settings schema
>>> 'org.gnome.desktop.interface' is not installed
>>>
>>> Trace/breakpoint trap (core dumped)
>>>
>>> The following are the installation directories:
>>>
>>> bin etc include lib lib64 libexec sbin share var
>>>
>>> --
>>>
>>> Thanks and Regards,
>>>
>>> Jeevan Patnaik B
>>> | Project Engineer
>>>
>>> Nokia IT - HEE Platform |
>>> WIPRO Technologies - Hyderabad
>>>
>>> Mob: +91-9000607181
>>> | Off: +91-4030970347.
>>>
>>> The information contained in this electronic message and any
>>> attachments to this message are intended for the exclusive use of
>>> the
>>> addressee(s) and may contain proprietary, confidential or privileged
>>> information. If you are not the intended recipient, you should not
>>> disseminate, distribute or copy this e-mail. Please notify the
>>> sender immediately and destroy all copies of this message and any
>>> attachments. WARNING: Computer viruses can be transmitted via email.
>>> The recipient should check this email and any attachments for the
>>> presence of viruses. The company accepts no liability for any damage
>>> caused by any virus transmitted by this email. www.wipro.com
>>
>> The information contained in this electronic message and any
>> attachments to this message are intended for the exclusive use of the
>> addressee(s) and may contain proprietary, confidential or privileged
>> information. If you are not the intended recipient, you should not
>> disseminate, distribute or copy this e-mail. Please notify the sender
>> immediately and destroy all copies of this message and any
>> attachments. WARNING: Computer viruses can be transmitted via email.
>> The recipient should check this email and any attachments for the
>> presence of viruses. The company accepts no liability for any damage
>> caused by any virus transmitted by this email. www.wipro.com
>
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> addressee(s) and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately and destroy all copies of this message and any
> attachments. WARNING: Computer viruses can be transmitted via email.
> The recipient should check this email and any attachments for the
> presence of viruses. The company accepts no liability for any damage
> caused by any virus transmitted by this email. www.wipro.com
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
j***@wipro.com
2016-06-16 08:40:37 UTC
Permalink
Hi Vasily,

The tool is crashing when I open in servers with RealVNC. So, I have tested in servers with TigerVNC and surprisingly it's not crashing. However, the functionality doesn't work:

When I try to open file comparison and select file, the meld is not crashing, but I can see the error in the background:

** (meld:25229): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
Gtk-Message: Failed to load module "pk-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "pk-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
Traceback (most recent call last):
File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/sourceview.py", line 154, in __init__
self.on_setting_changed(meldsettings, 'style-scheme')
File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/sourceview.py", line 180, in on_setting_changed
"meld:current-line-highlight", "background")
File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/misc.py", line 189, in colour_lookup_with_fallback
style = source_style.get_style(name)
AttributeError: 'NoneType' object has no attribute 'get_style'

As you can see, source_style seems to be a None object.

def colour_lookup_with_fallback(name, attribute):
from meld.settings import meldsettings
source_style = meldsettings.style_scheme

So meldsettings.style_scheme returns None.

The following is the definition (removed unnecessary declarations here):

meldsettings = MeldSettings()

class MeldSettings(GObject.GObject):
def __init__(self):
GObject.GObject.__init__(self)
self.style_scheme = self._style_scheme_from_gsettings()

def _style_scheme_from_gsettings(self):
manager = GtkSource.StyleSchemeManager.get_default()
return manager.get_scheme(settings.get_string('style-scheme'))

I am not much into Python. But as you can see meldsettings=MeldSettings() (there is no argument).

But MeldSettings is expecting an argument GObject.GObject in the definition. How can it be?

Ok, let's say argument is not needed and I have done some debugging and found that get_string used in style_scheme_from_gsettings definition is not defined anywhere.
May be it is due to the warning I am receiving in the beginning:
** (meld:25229): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

I found that in a new python shell:
import meld.settings generates the above error. Is it somehow linked to the get_string method?

I vaguely remember I have fixed the same issue last time or maybe not.

Regards,
Jeevan.

-----Original Message-----
From: Jeevan Behara Patnaik (GIS)
Sent: Wednesday, June 15, 2016 6:25 PM
To: 'Vasily Galkin'; meld-***@gnome.org
Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R (Product Engineering Service)
Subject: RE: Re:meld crashing vnc on starting

Hi,

After installing gsettings-desktop-schemas, meld is not crashing.
Now, the issue is with vnc in both the servers.

I am trying to install the debug package as you have suggested. Issue with repos. Let's see.

Thanks so much.

Regards,
Jeevan.

-----Original Message-----
From: Vasily Galkin [mailto:galkin-***@yandex.ru]
Sent: Tuesday, June 14, 2016 6:20 PM
To: Jeevan Behara Patnaik (GIS)
Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R (Product Engineering Service); meld-***@gnome.org
Subject: Re:meld crashing vnc on starting

** This mail has been sent from an external source **

The org.gnome.desktop.interface.gschema.xml is absent in your current install, and was present in your previous install - this is the reason that meld is crashing now.
Unfortunately I'm not gtk packaging/installation expert, the only thing I know - in debian this file is result of building this source package https://packages.debian.org/source/jessie/gsettings-desktop-schemas
Maybe you can just (fast&unsupported) copy this xml from previous install.

About Xvnc crash during meld start: It looks that your Xvnc binary lacks the debugging information.

What is exact package version it is? I think it can be found via rpm -q --whatprovides /usr/bin/Xvnc

You have somehow to get debuginfo installed for Xvnc binary, maybe this helps after finding pa - https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Developer_Guide/intro.debuginfo.html
(I think that you need install tigervnc-debuginfo, but i'm not sure) Otherwise, you can try recompiling Xvnc from binaries with debug info and try to reproduce crash on it.
Note: the debugging symbols and the crash information from log must correspond to exactly same binary. So, if you recompile/reinstall binary - you need to get new crash information.

The result of addr2line for correctly found debug symbols expected to be some Xvnc's source filename and line number.
--
Best regards, Vasily

> Hi Vasily,
>
> Thanks for the suggestions.
>
> I have the following in the current schema directory:
> gschema.dtd
> org.gnome.meld.gschema.xml
> org.gtk.exampleapp.gschema.xml
> org.gtk.Settings.Debug.gschema.xml
> gschemas.compiled
> org.gtk.Demo.gschema.xml
> org.gtk.Settings.ColorChooser.gschema.xml
> org.gtk.Settings.FileChooser.gschema.xml
>
> And the following were in the previous installation schemas directory (which was 3 months ago - then I was able to invoke the tool, but the functionality was not working, as I installed the dependencies separately and so linking of some file failed. Hence I had to reinstall it again. And I see org.desktop.* xml files are there, I am not sure how I am missing those this time. Any idea?):
> gschema.dtd org.gnome.desktop.enums.xml
> org.gnome.desktop.thumbnail-cache.gschema.xml
> gschemas.compiled org.gnome.desktop.input-sources.gschema.xml
> org.gnome.desktop.thumbnailers.gschema.xml
> org.gnome.desktop.a11y.applications.gschema.xml
> org.gnome.desktop.interface.gschema.xml
> org.gnome.desktop.wm.keybindings.gschema.xml
> org.gnome.desktop.a11y.gschema.xml
> org.gnome.desktop.lockdown.gschema.xml
> org.gnome.desktop.wm.preferences.gschema.xml
> org.gnome.desktop.a11y.keyboard.gschema.xml
> org.gnome.desktop.media-handling.gschema.xml
> org.gnome.meld.gschema.xml
> org.gnome.desktop.a11y.magnifier.gschema.xml
> org.gnome.desktop.notifications.gschema.xml
> org.gnome.system.locale.gschema.xml
> org.gnome.desktop.a11y.mouse.gschema.xml
> org.gnome.desktop.privacy.gschema.xml
> org.gnome.system.proxy.gschema.xml
> org.gnome.desktop.app-folders.gschema.xml
> org.gnome.desktop.screensaver.gschema.xml org.gtk.Demo.gschema.xml
> org.gnome.desktop.background.gschema.xml
> org.gnome.desktop.search-providers.gschema.xml
> org.gtk.exampleapp.gschema.xml org.gnome.desktop.datetime.gschema.xml
> org.gnome.desktop.session.gschema.xml
> org.gtk.Settings.ColorChooser.gschema.xml
> org.gnome.desktop.default-applications.gschema.xml
> org.gnome.desktop.sound.gschema.xml
> org.gtk.Settings.FileChooser.gschema.xml
>
> Also the following is the output related Xvnc crash. p option, I had to remove, as it shows not recognized option:
> $echo 0x0000000000799561 | addr2line -Cfie /usr/bin/Xvnc ??
> ??:0
>
> Regards,
> Jeevan.
> -----Original Message-----
> From: Vasily Galkin [mailto:galkin-***@yandex.ru]
> Sent: 14 June 2016 16:04
> To: Jeevan Behara Patnaik (GIS)
> Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R
> (Product Engineering Service); meld-***@gnome.org
> Subject: Re:meld crashing vnc on starting
>
> ** This mail has been sent from an external source **
>
> Hi Jeevan.
>
> I'm successfully using recent meld with gtk 3.18 and 3.20.
> I think that 3.18 is the most tested with meld.
>
> About meld crash: now I noticed that dump is created after SIGTRAP (not SIGSEGV), so it's for sure the problem with gsettings schemas: according to glib's gio/gsettings.c absence of schema is non-recoverable error that exits application with SIGTRAP and message like yours GLib-GIO-ERROR **: Settings schema 'org.gnome.desktop.interface' is not installed.
> So dumps are not needed. According to your SO topic http://stackoverflow.com/questions/35784566/meld-glib-gio-error-no-gsettings-schemas-are-installed-on-the-system you have set GSETTINGS_SCHEMA_DIR to some nfs path.
> I think that for meld this directory must contain both
> org.gnome.meld.gschema.xml and org.gnome.desktop.interface.xml
>
> About Xvnc crash during meld start: The instruction of crash is known from Jun 9 09:28:43 oulnxc53 kernel: Xvnc[18978]: segfault at 18 ip 0000000000799561 sp 00007fffdead6e50 error 4 in Xvnc[400000+542000] It seems to be at offset 0x399561 out of 0x542000 code section of Xvnc binary.
>
> To minimally diagnose the issue further the exact code line of Xvnc (compiled/installed with debug symbols) is needed.
> You can try to extract it with echo 0x0000000000799561 | addr2line
> -Cfipe /path/to/Xvnc
>
> --
> Best regards, Vasily
>
>> Hi,
>>
>> I have decided to install meld again - both meld3.14.2 and meld3.16.0 in parallel.
>>
>> Please let me know which gtk+ version, I should install. In the requirements, it is mentioned 3.14.
>> But nowhere it is mentioned if it can support higher.
>>
>> Can I install or 3.14.8 or 3.14.15 or any version higher than 3.14.0?
>>
>> Regards,
>> Jeevan.
>>
>> -----Original Message-----
>> From: Jeevan Behara Patnaik (GIS)
>> Sent: 13 June 2016 17:28
>> To: 'Vasily Galkin'
>> Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R (Product Engineering Service); 'meld-***@gnome.org'
>> Subject: RE: Re:meld crashing vnc on starting
>>
>> Hi Vasily,
>>
>> And besides, any ideas why the vnc was crashing in the other server?
>>
>> Regards,
>> Jeevan.
>>
>> -----Original Message-----
>> From: Jeevan Behara Patnaik (GIS)
>> Sent: 13 June 2016 17:26
>> To: 'Vasily Galkin'
>> Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R
>> (Product Engineering Service); meld-***@gnome.org
>> Subject: RE: Re:meld crashing vnc on starting
>>
>> Hi Vasily,
>>
>> I tried to see the abrt dump.
>>
>> I found the following messages:
>> $cat reason
>> Process /NFS_share/python/python_2_7_11/bin/python2.7 was killed by
>> signal 5 (SIGTRAP)
>>
>> $cat var_log_messages
>> Jun 13 12:28:42 oulnxc54 abrt[28298]: Saved core dump of pid 28276
>> (/NFS_share/python/python_2_7_11/bin/python2.7) to
>> /var/spool/abrt/ccpp-2016-06-13-12:28:42-28276 (11911168 bytes) Jun
>> 13
>> 12:28:42 oulnxc54 abrtd: Executable
>> '/NFS_share/python/python_2_7_11/bin/python2.7' doesn't belong to any
>> package Jun 13 13:51:27 oulnxc54 abrt[5492]: Saved core dump of pid
>> 5491 (/NFS_share/python/python_2_7_11/bin/python2.7) to
>> /var/spool/abrt/ccpp-2016-06-13-13:51:27-5491 (11902976 bytes)
>>
>> Let me know how can I share you the whole ccpp directory. The compressed directory takes 11M.
>>
>> If it is issue with the installation of gsettings-desktop-schemas, it might be due to the fact that I installed it from other machine. I will try to read about it and fix it. But kindly let me know if you already have any ideas.
>>
>> Regards,
>> Jeevan.
>>
>> -----Original Message-----
>> From: Vasily Galkin [mailto:galkin-***@yandex.ru]
>> Sent: 11 June 2016 21:08
>> To: Jeevan Behara Patnaik (GIS)
>> Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R
>> (Product Engineering Service); meld-***@gnome.org
>> Subject: Re:meld crashing vnc on starting
>>
>> ** This mail has been sent from an external source **
>>
>> As far as I can understand in one case vnc server crashes and in the other meld is crashing.
>>
>> The message previous to "core dumped" says that meld crashing may be related to the problems with absence/bad install of "gsettings-desktop-schemas" package.
>>
>> For both crashes the following information can be helpful:
>> Line from var log messages with basic crash information (like you give it for Xvnc) Exact package versions of crashed module (Xvnc binary for Xvnc crash, some gtk lib for meld crash I think).
>> Core dump that is created for meld.
>>
>>> Hi Team,
>>>
>>> I have installed meld and when I try to invoke the meld binary, my vnc is crashing.
>>>
>>> 1.
>>> First of all, I have installed this on NFS share, including the
>>> dependencies like gtk etc., to be accessed across multiple machines
>>> (having similar configuration)
>>>
>>> OS: Redhat Linux 6.3
>>>
>>> 2.
>>> I have not started the dbus yet (which is also installed on shared
>>> NFS). The pid and lockfiles etc. however, installed locally (will
>>> start it individually in each server to avoid conflict)
>>>
>>> 3.
>>> So, I was starting meld without starting dbus. Could this be the reason for vnc crashing? The following are the errors, I see before the tool got crashing:
>>>
>>> In VNC of server1 (from where I have done all the compilation and installation, the vnc is crashing here and shows the following error before crash):
>>>
>>> * (meld:63603): WARNING **: Error retrieving accessibility bus
>>> address: org.freedesktop.DBus.Error.ServiceUnknown: The name
>>> org.a11y.Bus was not provided by any .service files
>>>
>>> Gtk-Message: Failed to load module "canberra-gtk-module"
>>>
>>> Gtk-Message: Failed to load module "canberra-gtk-module"
>>>
>>> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>>>
>>> I see the following messages in /var/log/messages:
>>>
>>> Jun 9 09:28:43 oulnxc53 kernel: Xvnc[18978]: segfault at 18 ip
>>> 0000000000799561 sp 00007fffdead6e50 error 4 in Xvnc[400000+542000]
>>>
>>> Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure
>>> unregistering from session: Connection is closed
>>>
>>> Jun 9 09:28:43 oulnxc53 gnome-keyring-daemon[19064]: dbus failure
>>> unregistering from session: Connection is closed
>>>
>>> In VNC of server2 (I have not done installation here. It uses shared installation, the vnc is NOT crashing here. But tool unable to start and shows the following error):
>>>
>>> Gtk-Message: Failed to load module "canberra-gtk-module"
>>>
>>> Gtk-Message: Failed to load module "canberra-gtk-module"
>>>
>>> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>>>
>>> (meld:1083): GLib-GIO-ERROR **: Settings schema
>>> 'org.gnome.desktop.interface' is not installed
>>>
>>> Trace/breakpoint trap (core dumped)
>>>
>>> The following are the installation directories:
>>>
>>> bin etc include lib lib64 libexec sbin share var
>>>
>>> --
>>>
>>> Thanks and Regards,
>>>
>>> Jeevan Patnaik B
>>> | Project Engineer
>>>
>>> Nokia IT - HEE Platform |
>>> WIPRO Technologies - Hyderabad
>>>
>>> Mob: +91-9000607181
>>> | Off: +91-4030970347.
>>>
>>> The information contained in this electronic message and any
>>> attachments to this message are intended for the exclusive use of
>>> the
>>> addressee(s) and may contain proprietary, confidential or privileged
>>> information. If you are not the intended recipient, you should not
>>> disseminate, distribute or copy this e-mail. Please notify the
>>> sender immediately and destroy all copies of this message and any
>>> attachments. WARNING: Computer viruses can be transmitted via email.
>>> The recipient should check this email and any attachments for the
>>> presence of viruses. The company accepts no liability for any damage
>>> caused by any virus transmitted by this email. www.wipro.com
>>
>> The information contained in this electronic message and any
>> attachments to this message are intended for the exclusive use of the
>> addressee(s) and may contain proprietary, confidential or privileged
>> information. If you are not the intended recipient, you should not
>> disseminate, distribute or copy this e-mail. Please notify the sender
>> immediately and destroy all copies of this message and any
>> attachments. WARNING: Computer viruses can be transmitted via email.
>> The recipient should check this email and any attachments for the
>> presence of viruses. The company accepts no liability for any damage
>> caused by any virus transmitted by this email. www.wipro.com
>
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> addressee(s) and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately and destroy all copies of this message and any
> attachments. WARNING: Computer viruses can be transmitted via email.
> The recipient should check this email and any attachments for the
> presence of viruses. The company accepts no liability for any damage
> caused by any virus transmitted by this email. www.wipro.com
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
Vasily Galkin
2016-06-16 17:57:03 UTC
Permalink
Hi!
It looks like some problems with GtkSourceView theme installation - it hasn't "classic.xml" theme installed or can't find it.

You may try check something like following in the interactive python-on-NFS_share shell to verify the reason. This is output from working install:
Python 2.7.10+ (default, Oct 10 2015, 09:11:24)
[GCC 5.2.1 20151028] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gi.repository import GtkSource
__main__:1: PyGIWarning: GtkSource was imported without specifying a version first. Use gi.require_version('GtkSource', '3.0') before import to ensure that the right version gets loaded.
>>> GtkSource.StyleSchemeManager.get_default().get_scheme('classic')
<StyleScheme object at 0xf6b24cac (GtkSourceStyleScheme at 0x8804b48)>
>>> GtkSource.StyleSchemeManager.get_default().get_search_path()
['/home/galkinvv/.local/share/gtksourceview-3.0/styles', '/usr/local/share/gtksourceview-3.0/styles', '/usr/share/gtksourceview-3.0/styles']
>>> GtkSource.StyleSchemeManager.get_default().get_scheme_ids()
['classic', 'cobalt', 'kate', 'oblivion', 'solarized-dark', 'solarized-light', 'tango']
>>> from gi.repository import Gio
>>> settings = Gio.Settings.new('org.gnome.meld')
>>> settings.get_string('style-scheme')
'classic'

On my system with standard installation I have /usr/share/gtksourceview-3.0/styles/classic.xml file installed by libgtksourceview-3.0-common package (built from libgtksourceview).

Also see some python details in comments below.
> Hi Vasily,
>
> The tool is crashing when I open in servers with RealVNC. So, I have tested in servers with TigerVNC and surprisingly it's not crashing. However, the functionality doesn't work:
>
> When I try to open file comparison and select file, the meld is not crashing, but I can see the error in the background:
>
> ** (meld:25229): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
> Gtk-Message: Failed to load module "pk-gtk-module"
> Gtk-Message: Failed to load module "canberra-gtk-module"
> Gtk-Message: Failed to load module "pk-gtk-module"
> Gtk-Message: Failed to load module "canberra-gtk-module"
> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
> Traceback (most recent call last):
> File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/sourceview.py", line 154, in __init__
> self.on_setting_changed(meldsettings, 'style-scheme')
> File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/sourceview.py", line 180, in on_setting_changed
> "meld:current-line-highlight", "background")
> File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/misc.py", line 189, in colour_lookup_with_fallback
> style = source_style.get_style(name)
> AttributeError: 'NoneType' object has no attribute 'get_style'
>
> As you can see, source_style seems to be a None object.
>
> def colour_lookup_with_fallback(name, attribute):
> from meld.settings import meldsettings
> source_style = meldsettings.style_scheme
>
> So meldsettings.style_scheme returns None.
>
> The following is the definition (removed unnecessary declarations here):
>
> meldsettings = MeldSettings()
>
> class MeldSettings(GObject.GObject):
> def __init__(self):
> GObject.GObject.__init__(self)
> self.style_scheme = self._style_scheme_from_gsettings()
>
> def _style_scheme_from_gsettings(self):
> manager = GtkSource.StyleSchemeManager.get_default()
> return manager.get_scheme(settings.get_string('style-scheme'))
>
> I am not much into Python. But as you can see meldsettings=MeldSettings() (there is no argument).
>
> But MeldSettings is expecting an argument GObject.GObject in the definition. How can it be?

This declaration means "class derived from GObject", there is no explicit object with GObject value. The "self" argument is

> Ok, let's say argument is not needed and I have done some debugging and found that get_string used in style_scheme_from_gsettings definition is not defined anywhere.
> May be it is due to the warning I am receiving in the beginning:
> ** (meld:25229): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
>
> I found that in a new python shell:
> import meld.settings generates the above error. Is it somehow linked to the get_string method?

settings is Gio.Settings instance and settings.get_string is method of Gio.Settings: https://lazka.github.io/pgi-docs/#Gio-2.0/classes/Settings.html#Gio.Settings.get_string
It is not related to
> ** (meld:25229): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
but can be related to
> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
j***@wipro.com
2016-06-17 04:03:14 UTC
Permalink
Thanks Vasily,


Yes, I was wrong about get_string, the method is defined and I didn't import necessary module while testing yesterday.


>>> from gi.repository import Gio
>>> settings = Gio.Settings.new('org.gnome.meld')
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>>> settings.get_string('style-scheme')
'classic'


And the classic scheme is not there:

>>> GtkSource.StyleSchemeManager.get_default().get_scheme_ids()
[]
>>> type(GtkSource.StyleSchemeManager.get_default().get_scheme('classic'))
<type 'NoneType'>

And as you have mentioned about GtkSourceView, it seems I need to reinstall it.

Is it safe to uninstall from the source dir and run distclean and make clean install again? I remember GtkSourceView is the last package I have install while installing meld. Of course, later I installed meld tool itself.

And what could be the reason for the themes to be missing?


--
Thanks and Regards,
Jeevan Patnaik B | Project Engineer | HEE Platform | NSN-IT | Ph. No: +919000607181.




________________________________
From: Vasily Galkin <galkin-***@yandex.ru>
Sent: 16 June 2016 11:27 PM
To: Jeevan Behara Patnaik (GIS)
Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R (Product Engineering Service); meld-***@gnome.org
Subject: Re:meld crashing vnc on starting

** This mail has been sent from an external source **

Hi!
It looks like some problems with GtkSourceView theme installation - it hasn't "classic.xml" theme installed or can't find it.

You may try check something like following in the interactive python-on-NFS_share shell to verify the reason. This is output from working install:
Python 2.7.10+ (default, Oct 10 2015, 09:11:24)
[GCC 5.2.1 20151028] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gi.repository import GtkSource
__main__:1: PyGIWarning: GtkSource was imported without specifying a version first. Use gi.require_version('GtkSource', '3.0') before import to ensure that the right version gets loaded.
>>> GtkSource.StyleSchemeManager.get_default().get_scheme('classic')
<StyleScheme object at 0xf6b24cac (GtkSourceStyleScheme at 0x8804b48)>
>>> GtkSource.StyleSchemeManager.get_default().get_search_path()
['/home/galkinvv/.local/share/gtksourceview-3.0/styles', '/usr/local/share/gtksourceview-3.0/styles', '/usr/share/gtksourceview-3.0/styles']
>>> GtkSource.StyleSchemeManager.get_default().get_scheme_ids()
['classic', 'cobalt', 'kate', 'oblivion', 'solarized-dark', 'solarized-light', 'tango']
>>> from gi.repository import Gio
>>> settings = Gio.Settings.new('org.gnome.meld')
>>> settings.get_string('style-scheme')
'classic'

On my system with standard installation I have /usr/share/gtksourceview-3.0/styles/classic.xml file installed by libgtksourceview-3.0-common package (built from libgtksourceview).

Also see some python details in comments below.
> Hi Vasily,
>
> The tool is crashing when I open in servers with RealVNC. So, I have tested in servers with TigerVNC and surprisingly it's not crashing. However, the functionality doesn't work:
>
> When I try to open file comparison and select file, the meld is not crashing, but I can see the error in the background:
>
> ** (meld:25229): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
> Gtk-Message: Failed to load module "pk-gtk-module"
> Gtk-Message: Failed to load module "canberra-gtk-module"
> Gtk-Message: Failed to load module "pk-gtk-module"
> Gtk-Message: Failed to load module "canberra-gtk-module"
> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
> Traceback (most recent call last):
> File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/sourceview.py", line 154, in __init__
> self.on_setting_changed(meldsettings, 'style-scheme')
> File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/sourceview.py", line 180, in on_setting_changed
> "meld:current-line-highlight", "background")
> File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/misc.py", line 189, in colour_lookup_with_fallback
> style = source_style.get_style(name)
> AttributeError: 'NoneType' object has no attribute 'get_style'
>
> As you can see, source_style seems to be a None object.
>
> def colour_lookup_with_fallback(name, attribute):
> from meld.settings import meldsettings
> source_style = meldsettings.style_scheme
>
> So meldsettings.style_scheme returns None.
>
> The following is the definition (removed unnecessary declarations here):
>
> meldsettings = MeldSettings()
>
> class MeldSettings(GObject.GObject):
> def __init__(self):
> GObject.GObject.__init__(self)
> self.style_scheme = self._style_scheme_from_gsettings()
>
> def _style_scheme_from_gsettings(self):
> manager = GtkSource.StyleSchemeManager.get_default()
> return manager.get_scheme(settings.get_string('style-scheme'))
>
> I am not much into Python. But as you can see meldsettings=MeldSettings() (there is no argument).
>
> But MeldSettings is expecting an argument GObject.GObject in the definition. How can it be?

This declaration means "class derived from GObject", there is no explicit object with GObject value. The "self" argument is

> Ok, let's say argument is not needed and I have done some debugging and found that get_string used in style_scheme_from_gsettings definition is not defined anywhere.
> May be it is due to the warning I am receiving in the beginning:
> ** (meld:25229): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
>
> I found that in a new python shell:
> import meld.settings generates the above error. Is it somehow linked to the get_string method?

settings is Gio.Settings instance and settings.get_string is method of Gio.Settings: https://lazka.github.io/pgi-docs/#Gio-2.0/classes/Settings.html#Gio.Settings.get_string
It is not related to
> ** (meld:25229): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
but can be related to
> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
j***@wipro.com
2016-06-17 04:27:48 UTC
Permalink
Ok,


I missed about the search path here:


['/home/jbehara/.local/share/gtksourceview-3.0/styles', '/usr/local/share/gtksourceview-3.0/styles', '/usr/share/gtksourceview-3.0/styles']


The NFS_share path where the new gtksourceview-3.0 is present is not included.

I have copied temporarily to one of the search location and that issue fixed. But still another issue.


File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/newdifftab.py", line 119, in on_button_compare_clicked
tab = self.diff_methods[self.diff_type](compare_paths)
File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/meldwindow.py", line 690, in append_filedif
doc = filediff.FileDiff(len(files)
File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/filediff.py", line 248, in __init__
from meld.gutterrendererchunk import GutterRendererChunkAction, GutterRendererChunkLines
File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/gutterrendererchunk.py", line 96, in <module>
GtkSource.GutterRendererPixbuf, MeldGutterRenderer):
File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/gutterrendererchunk.py", line 101, in GutterRendererChunkAction
MODE_REPLACE: load("meld-change-apply-right"),
File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/gutterrendererchunk.py", line 35, in load
return icon_theme.load_icon(icon_name, LINE_HEIGHT, 0)
GLib.Error: gtk-icon-theme-error-quark: Icon 'meld-change-apply-right' not present in theme (0)


The reason I started installing the meld again is last time I had faced exactly the same issues. Creating soft links was one option then to fix this icon issue. But we want it to be clean and so I did reinstalling. This time, wierdly I was getting vnc issues and I had been stuck there for weeks and now back to the original meld functionlity issues after workaround with tigervnc :(


On a good side, you taught me some really good things and thing that are new to me. I am looking to get it fixed in any manner troubleshooting. But also to learn the clean way, could I have possibly miss any important options while compilation of these packages?

--
Thanks and Regards,
Jeevan Patnaik B | Project Engineer | HEE Platform | NSN-IT | Ph. No: +919000607181.



________________________________
From: Jeevan Behara Patnaik (GIS)
Sent: 17 June 2016 09:33:14
To: Vasily Galkin; meld-***@gnome.org
Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R (Product Engineering Service)
Subject: Re: Re:meld crashing vnc on starting


Thanks Vasily,


Yes, I was wrong about get_string, the method is defined and I didn't import necessary module while testing yesterday.


>>> from gi.repository import Gio
>>> settings = Gio.Settings.new('org.gnome.meld')
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>>> settings.get_string('style-scheme')
'classic'


And the classic scheme is not there:

>>> GtkSource.StyleSchemeManager.get_default().get_scheme_ids()
[]
>>> type(GtkSource.StyleSchemeManager.get_default().get_scheme('classic'))
<type 'NoneType'>

And as you have mentioned about GtkSourceView, it seems I need to reinstall it.

Is it safe to uninstall from the source dir and run distclean and make clean install again? I remember GtkSourceView is the last package I have install while installing meld. Of course, later I installed meld tool itself.

And what could be the reason for the themes to be missing?


--
Thanks and Regards,
Jeevan Patnaik B | Project Engineer | HEE Platform | NSN-IT | Ph. No: +919000607181.




________________________________
From: Vasily Galkin <galkin-***@yandex.ru>
Sent: 16 June 2016 11:27 PM
To: Jeevan Behara Patnaik (GIS)
Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R (Product Engineering Service); meld-***@gnome.org
Subject: Re:meld crashing vnc on starting

** This mail has been sent from an external source **

Hi!
It looks like some problems with GtkSourceView theme installation - it hasn't "classic.xml" theme installed or can't find it.

You may try check something like following in the interactive python-on-NFS_share shell to verify the reason. This is output from working install:
Python 2.7.10+ (default, Oct 10 2015, 09:11:24)
[GCC 5.2.1 20151028] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gi.repository import GtkSource
__main__:1: PyGIWarning: GtkSource was imported without specifying a version first. Use gi.require_version('GtkSource', '3.0') before import to ensure that the right version gets loaded.
>>> GtkSource.StyleSchemeManager.get_default().get_scheme('classic')
<StyleScheme object at 0xf6b24cac (GtkSourceStyleScheme at 0x8804b48)>
>>> GtkSource.StyleSchemeManager.get_default().get_search_path()
['/home/galkinvv/.local/share/gtksourceview-3.0/styles', '/usr/local/share/gtksourceview-3.0/styles', '/usr/share/gtksourceview-3.0/styles']
>>> GtkSource.StyleSchemeManager.get_default().get_scheme_ids()
['classic', 'cobalt', 'kate', 'oblivion', 'solarized-dark', 'solarized-light', 'tango']
>>> from gi.repository import Gio
>>> settings = Gio.Settings.new('org.gnome.meld')
>>> settings.get_string('style-scheme')
'classic'

On my system with standard installation I have /usr/share/gtksourceview-3.0/styles/classic.xml file installed by libgtksourceview-3.0-common package (built from libgtksourceview).

Also see some python details in comments below.
> Hi Vasily,
>
> The tool is crashing when I open in servers with RealVNC. So, I have tested in servers with TigerVNC and surprisingly it's not crashing. However, the functionality doesn't work:
>
> When I try to open file comparison and select file, the meld is not crashing, but I can see the error in the background:
>
> ** (meld:25229): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
> Gtk-Message: Failed to load module "pk-gtk-module"
> Gtk-Message: Failed to load module "canberra-gtk-module"
> Gtk-Message: Failed to load module "pk-gtk-module"
> Gtk-Message: Failed to load module "canberra-gtk-module"
> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
> Traceback (most recent call last):
> File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/sourceview.py", line 154, in __init__
> self.on_setting_changed(meldsettings, 'style-scheme')
> File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/sourceview.py", line 180, in on_setting_changed
> "meld:current-line-highlight", "background")
> File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/misc.py", line 189, in colour_lookup_with_fallback
> style = source_style.get_style(name)
> AttributeError: 'NoneType' object has no attribute 'get_style'
>
> As you can see, source_style seems to be a None object.
>
> def colour_lookup_with_fallback(name, attribute):
> from meld.settings import meldsettings
> source_style = meldsettings.style_scheme
>
> So meldsettings.style_scheme returns None.
>
> The following is the definition (removed unnecessary declarations here):
>
> meldsettings = MeldSettings()
>
> class MeldSettings(GObject.GObject):
> def __init__(self):
> GObject.GObject.__init__(self)
> self.style_scheme = self._style_scheme_from_gsettings()
>
> def _style_scheme_from_gsettings(self):
> manager = GtkSource.StyleSchemeManager.get_default()
> return manager.get_scheme(settings.get_string('style-scheme'))
>
> I am not much into Python. But as you can see meldsettings=MeldSettings() (there is no argument).
>
> But MeldSettings is expecting an argument GObject.GObject in the definition. How can it be?

This declaration means "class derived from GObject", there is no explicit object with GObject value. The "self" argument is

> Ok, let's say argument is not needed and I have done some debugging and found that get_string used in style_scheme_from_gsettings definition is not defined anywhere.
> May be it is due to the warning I am receiving in the beginning:
> ** (meld:25229): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
>
> I found that in a new python shell:
> import meld.settings generates the above error. Is it somehow linked to the get_string method?

settings is Gio.Settings instance and settings.get_string is method of Gio.Settings: https://lazka.github.io/pgi-docs/#Gio-2.0/classes/Settings.html#Gio.Settings.get_string
It is not related to
> ** (meld:25229): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
but can be related to
> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
Vasily Galkin
2016-06-17 11:13:20 UTC
Permalink
Hi, Jeevan.
About search path for gtksourceview themes: it looks that glib respects XDG_DATA_DIRS environment variable with defaulting to /usr + /usr/local

I tried launching interactive python with this variable modified and the path was added to search path:

$ XDG_DATA_DIRS=/opt/some_app/share:/usr/share:/usr/local/share python
Python 2.7.10+ (default, Oct 10 2015, 09:11:24)
[GCC 5.2.1 20151028] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gi.repository import GtkSource
__main__:1: PyGIWarning: GtkSource was imported without specifying a version first. Use gi.require_version('GtkSource', '3.0') before import to ensure that the right version gets loaded.
>>> GtkSource.StyleSchemeManager.get_default().get_search_path()
['/home/vgalkin/.local/share/gtksourceview-3.0/styles', '/opt/some_app/share/gtksourceview-3.0/styles', '/usr/share/gtksourceview-3.0/styles', '/usr/local/share/gtksourceview-3.0/styles']
>>>

So I can suggest to try launching meld with
XDG_DATA_DIRS=/NFS_share/meld/meld_3_16_0/share:/usr/share:/usr/local/share
environment variable to correctly fix problems with gtksourceview.

Chances are that it also helps with icons, but I'm not sure.
--
Best regards, Vasily.

> Ok,
>
> I missed about the search path here:
>
> ['/home/jbehara/.local/share/gtksourceview-3.0/styles', '/usr/local/share/gtksourceview-3.0/styles', '/usr/share/gtksourceview-3.0/styles']
>
> The NFS_share path where the new gtksourceview-3.0 is present is not included.
>
> I have copied temporarily to one of the search location and that issue fixed. But still another issue.
>
> File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/newdifftab.py", line 119, in on_button_compare_clicked
>
> tab = self.diff_methods[self.diff_type](compare_paths)
>
> File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/meldwindow.py", line 690, in append_filedif
>
> doc = filediff.FileDiff(len(files)
>
> File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/filediff.py", line 248, in __init__
>
> from meld.gutterrendererchunk import GutterRendererChunkAction, GutterRendererChunkLines
>
> File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/gutterrendererchunk.py", line 96, in <module>
>
> GtkSource.GutterRendererPixbuf, MeldGutterRenderer):
>
> File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/gutterrendererchunk.py", line 101, in GutterRendererChunkAction
>
> MODE_REPLACE: load("meld-change-apply-right"),
>
> File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/gutterrendererchunk.py", line 35, in load
>
> return icon_theme.load_icon(icon_name, LINE_HEIGHT, 0)
>
> GLib.Error: gtk-icon-theme-error-quark: Icon 'meld-change-apply-right' not present in theme (0)
>
> The reason I started installing the meld again is last time I had faced exactly the same issues. Creating soft links was one option then to fix this icon issue. But we want it to be clean and so I did reinstalling. This time, wierdly I was getting vnc issues
> and I had been stuck there for weeks and now back to the original meld functionlity issues after workaround with tigervnc :(
>
> On a good side, you taught me some really good things and thing that are new to me. I am looking to get it fixed in any manner troubleshooting. But also to learn the clean way, could I have possibly miss any important options
> while compilation of these packages?
>
> --
>
> Thanks and Regards,
>
> Jeevan Patnaik B
> | Project Engineer | HEE Platform | NSN-IT | Ph. No: +919000607181.
>
> From: Jeevan Behara Patnaik (GIS)
>
> Sent: 17 June 2016 09:33:14
>
> To: Vasily Galkin; meld-***@gnome.org
>
> Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R (Product Engineering Service)
>
> Subject: Re: Re:meld crashing vnc on starting
>
> Thanks Vasily,
>
> Yes, I was wrong about get_string, the method is defined and I didn't import necessary module while testing yesterday.
>
>>>> from gi.repository import Gio
>
>>>> settings = Gio.Settings.new('org.gnome.meld')
>
> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>
>>>> settings.get_string('style-scheme')
>
> 'classic'
>
> And the classic scheme is not there:
>
>>>> GtkSource.StyleSchemeManager.get_default().get_scheme_ids()
>
> []
>
>>>> type(GtkSource.StyleSchemeManager.get_default().get_scheme('classic'))
>
> <type 'NoneType'>
>
> And as you have mentioned about GtkSourceView, it seems I need to reinstall it.
>
> Is it safe to uninstall from the source dir and run distclean and make clean install again? I remember GtkSourceView is the last package I have install while installing meld. Of course, later I installed meld tool itself.
>
> And what could be the reason for the themes to be missing?
>
> --
>
> Thanks and Regards,
>
> Jeevan Patnaik B
> | Project Engineer | HEE Platform | NSN-IT | Ph. No: +919000607181.
>
> From: Vasily Galkin <galkin-***@yandex.ru>
>
> Sent: 16 June 2016 11:27 PM
>
> To: Jeevan Behara Patnaik (GIS)
>
> Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R (Product Engineering Service); meld-***@gnome.org
>
> Subject: Re:meld crashing vnc on starting
>
> ** This mail has been sent from an external source **
>
> Hi!
>
> It looks like some problems with GtkSourceView theme installation - it hasn't "classic.xml" theme installed or can't find it.
>
> You may try check something like following in the interactive python-on-NFS_share shell to verify the reason. This is output from working install:
>
> Python 2.7.10+ (default, Oct 10 2015, 09:11:24)
>
> [GCC 5.2.1 20151028] on linux2
>
> Type "help", "copyright", "credits" or "license" for more information.
>
>>>> from gi.repository import GtkSource
>
> __main__:1: PyGIWarning: GtkSource was imported without specifying a version first. Use gi.require_version('GtkSource', '3.0') before import to ensure that the right version gets loaded.
>
>>>> GtkSource.StyleSchemeManager.get_default().get_scheme('classic')
>
> <StyleScheme object at 0xf6b24cac (GtkSourceStyleScheme at 0x8804b48)>
>
>>>> GtkSource.StyleSchemeManager.get_default().get_search_path()
>
> ['/home/galkinvv/.local/share/gtksourceview-3.0/styles', '/usr/local/share/gtksourceview-3.0/styles', '/usr/share/gtksourceview-3.0/styles']
>
>>>> GtkSource.StyleSchemeManager.get_default().get_scheme_ids()
>
> ['classic', 'cobalt', 'kate', 'oblivion', 'solarized-dark', 'solarized-light', 'tango']
>
>>>> from gi.repository import Gio
>
>>>> settings = Gio.Settings.new('org.gnome.meld')
>
>>>> settings.get_string('style-scheme')
>
> 'classic'
>
> On my system with standard installation I have /usr/share/gtksourceview-3.0/styles/classic.xml file installed by libgtksourceview-3.0-common package (built from libgtksourceview).
>
> Also see some python details in comments below.
>
>> Hi Vasily,
>
>>
>
>> The tool is crashing when I open in servers with RealVNC. So, I have tested in servers with TigerVNC and surprisingly it's not crashing. However, the functionality doesn't work:
>
>>
>
>> When I try to open file comparison and select file, the meld is not crashing, but I can see the error in the background:
>
>>
>
>> ** (meld:25229): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
>
>> Gtk-Message: Failed to load module "pk-gtk-module"
>
>> Gtk-Message: Failed to load module "canberra-gtk-module"
>
>> Gtk-Message: Failed to load module "pk-gtk-module"
>
>> Gtk-Message: Failed to load module "canberra-gtk-module"
>
>> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>
>> Traceback (most recent call last):
>
>> File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/sourceview.py", line 154, in __init__
>
>> self.on_setting_changed(meldsettings, 'style-scheme')
>
>> File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/sourceview.py", line 180, in on_setting_changed
>
>> "meld:current-line-highlight", "background")
>
>> File "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/misc.py", line 189, in colour_lookup_with_fallback
>
>> style = source_style.get_style(name)
>
>> AttributeError: 'NoneType' object has no attribute 'get_style'
>
>>
>
>> As you can see, source_style seems to be a None object.
>
>>
>
>> def colour_lookup_with_fallback(name, attribute):
>
>> from meld.settings import meldsettings
>
>> source_style = meldsettings.style_scheme
>
>>
>
>> So meldsettings.style_scheme returns None.
>
>>
>
>> The following is the definition (removed unnecessary declarations here):
>
>>
>
>> meldsettings = MeldSettings()
>
>>
>
>> class MeldSettings(GObject.GObject):
>
>> def __init__(self):
>
>> GObject.GObject.__init__(self)
>
>> self.style_scheme = self._style_scheme_from_gsettings()
>
>>
>
>> def _style_scheme_from_gsettings(self):
>
>> manager = GtkSource.StyleSchemeManager.get_default()
>
>> return manager.get_scheme(settings.get_string('style-scheme'))
>
>>
>
>> I am not much into Python. But as you can see meldsettings=MeldSettings() (there is no argument).
>
>>
>
>> But MeldSettings is expecting an argument GObject.GObject in the definition. How can it be?
>
> This declaration means "class derived from GObject", there is no explicit object with GObject value. The "self" argument is
>
>> Ok, let's say argument is not needed and I have done some debugging and found that get_string used in style_scheme_from_gsettings definition is not defined anywhere.
>
>> May be it is due to the warning I am receiving in the beginning:
>
>> ** (meld:25229): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
>
>>
>
>> I found that in a new python shell:
>
>> import meld.settings generates the above error. Is it somehow linked to the get_string method?
>
> settings is Gio.Settings instance and settings.get_string is method of Gio.Settings:
>
> https://lazka.github.io/pgi-docs/#Gio-2.0/classes/Settings.html#Gio.Settings.get_string
>
> It is not related to
>
>> ** (meld:25229): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
>
> but can be related to
>
>> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>
> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should
> not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments
> for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
j***@wipro.com
2016-06-17 11:59:42 UTC
Permalink
Haaa :D It's working and meld is working at laaast!!! :D

Thanks Vasily for all the help! :)

I will work on why realvnc is crashing. Now it makes sense of everything about the environment and the installation.

Regards,
Jeevan.

-----Original Message-----
From: Vasily Galkin [mailto:galkin-***@yandex.ru]
Sent: Friday, June 17, 2016 4:43 PM
To: Jeevan Behara Patnaik (GIS) <***@wipro.com>
Cc: Amit Kumar Singh (GIS) <***@wipro.com>; Shashidhar Basavanahally Shivarama R (Product Engineering Service) <***@wipro.com>; meld-***@gnome.org
Subject: Re:meld crashing vnc on starting

** This mail has been sent from an external source **

Hi, Jeevan.
About search path for gtksourceview themes: it looks that glib respects XDG_DATA_DIRS environment variable with defaulting to /usr + /usr/local

I tried launching interactive python with this variable modified and the path was added to search path:

$ XDG_DATA_DIRS=/opt/some_app/share:/usr/share:/usr/local/share python Python 2.7.10+ (default, Oct 10 2015, 09:11:24) [GCC 5.2.1 20151028] on linux2 Type "help", "copyright", "credits" or "license" for more information.
>>> from gi.repository import GtkSource
__main__:1: PyGIWarning: GtkSource was imported without specifying a version first. Use gi.require_version('GtkSource', '3.0') before import to ensure that the right version gets loaded.
>>> GtkSource.StyleSchemeManager.get_default().get_search_path()
['/home/vgalkin/.local/share/gtksourceview-3.0/styles', '/opt/some_app/share/gtksourceview-3.0/styles', '/usr/share/gtksourceview-3.0/styles', '/usr/local/share/gtksourceview-3.0/styles']
>>>

So I can suggest to try launching meld with XDG_DATA_DIRS=/NFS_share/meld/meld_3_16_0/share:/usr/share:/usr/local/share
environment variable to correctly fix problems with gtksourceview.

Chances are that it also helps with icons, but I'm not sure.
--
Best regards, Vasily.

> Ok,
>
> I missed about the search path here:
>
> ['/home/jbehara/.local/share/gtksourceview-3.0/styles',
> '/usr/local/share/gtksourceview-3.0/styles',
> '/usr/share/gtksourceview-3.0/styles']
>
> The NFS_share path where the new gtksourceview-3.0 is present is not included.
>
> I have copied temporarily to one of the search location and that issue fixed. But still another issue.
>
> File
> "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/newdifft
> ab.py", line 119, in on_button_compare_clicked
>
> tab = self.diff_methods[self.diff_type](compare_paths)
>
> File
> "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/meldwind
> ow.py", line 690, in append_filedif
>
> doc = filediff.FileDiff(len(files)
>
> File
> "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/filediff
> .py", line 248, in __init__
>
> from meld.gutterrendererchunk import GutterRendererChunkAction,
> GutterRendererChunkLines
>
> File
> "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/gutterre
> ndererchunk.py", line 96, in <module>
>
> GtkSource.GutterRendererPixbuf, MeldGutterRenderer):
>
> File
> "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/gutterre
> ndererchunk.py", line 101, in GutterRendererChunkAction
>
> MODE_REPLACE: load("meld-change-apply-right"),
>
> File
> "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/gutterre
> ndererchunk.py", line 35, in load
>
> return icon_theme.load_icon(icon_name, LINE_HEIGHT, 0)
>
> GLib.Error: gtk-icon-theme-error-quark: Icon 'meld-change-apply-right'
> not present in theme (0)
>
> The reason I started installing the meld again is last time I had
> faced exactly the same issues. Creating soft links was one option then
> to fix this icon issue. But we want it to be clean and so I did
> reinstalling. This time, wierdly I was getting vnc issues and I had
> been stuck there for weeks and now back to the original meld
> functionlity issues after workaround with tigervnc :(
>
> On a good side, you taught me some really good things and thing that
> are new to me. I am looking to get it fixed in any manner troubleshooting. But also to learn the clean way, could I have possibly miss any important options while compilation of these packages?
>
> --
>
> Thanks and Regards,
>
> Jeevan Patnaik B
> | Project Engineer | HEE Platform | NSN-IT | Ph. No: +919000607181.
>
> From: Jeevan Behara Patnaik (GIS)
>
> Sent: 17 June 2016 09:33:14
>
> To: Vasily Galkin; meld-***@gnome.org
>
> Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R
> (Product Engineering Service)
>
> Subject: Re: Re:meld crashing vnc on starting
>
> Thanks Vasily,
>
> Yes, I was wrong about get_string, the method is defined and I didn't import necessary module while testing yesterday.
>
>>>> from gi.repository import Gio
>
>>>> settings = Gio.Settings.new('org.gnome.meld')
>
> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>
>>>> settings.get_string('style-scheme')
>
> 'classic'
>
> And the classic scheme is not there:
>
>>>> GtkSource.StyleSchemeManager.get_default().get_scheme_ids()
>
> []
>
>>>> type(GtkSource.StyleSchemeManager.get_default().get_scheme('classic
>>>> '))
>
> <type 'NoneType'>
>
> And as you have mentioned about GtkSourceView, it seems I need to reinstall it.
>
> Is it safe to uninstall from the source dir and run distclean and make clean install again? I remember GtkSourceView is the last package I have install while installing meld. Of course, later I installed meld tool itself.
>
> And what could be the reason for the themes to be missing?
>
> --
>
> Thanks and Regards,
>
> Jeevan Patnaik B
> | Project Engineer | HEE Platform | NSN-IT | Ph. No: +919000607181.
>
> From: Vasily Galkin <galkin-***@yandex.ru>
>
> Sent: 16 June 2016 11:27 PM
>
> To: Jeevan Behara Patnaik (GIS)
>
> Cc: Amit Kumar Singh (GIS); Shashidhar Basavanahally Shivarama R
> (Product Engineering Service); meld-***@gnome.org
>
> Subject: Re:meld crashing vnc on starting
>
> ** This mail has been sent from an external source **
>
> Hi!
>
> It looks like some problems with GtkSourceView theme installation - it hasn't "classic.xml" theme installed or can't find it.
>
> You may try check something like following in the interactive python-on-NFS_share shell to verify the reason. This is output from working install:
>
> Python 2.7.10+ (default, Oct 10 2015, 09:11:24)
>
> [GCC 5.2.1 20151028] on linux2
>
> Type "help", "copyright", "credits" or "license" for more information.
>
>>>> from gi.repository import GtkSource
>
> __main__:1: PyGIWarning: GtkSource was imported without specifying a version first. Use gi.require_version('GtkSource', '3.0') before import to ensure that the right version gets loaded.
>
>>>> GtkSource.StyleSchemeManager.get_default().get_scheme('classic')
>
> <StyleScheme object at 0xf6b24cac (GtkSourceStyleScheme at 0x8804b48)>
>
>>>> GtkSource.StyleSchemeManager.get_default().get_search_path()
>
> ['/home/galkinvv/.local/share/gtksourceview-3.0/styles',
> '/usr/local/share/gtksourceview-3.0/styles',
> '/usr/share/gtksourceview-3.0/styles']
>
>>>> GtkSource.StyleSchemeManager.get_default().get_scheme_ids()
>
> ['classic', 'cobalt', 'kate', 'oblivion', 'solarized-dark',
> 'solarized-light', 'tango']
>
>>>> from gi.repository import Gio
>
>>>> settings = Gio.Settings.new('org.gnome.meld')
>
>>>> settings.get_string('style-scheme')
>
> 'classic'
>
> On my system with standard installation I have /usr/share/gtksourceview-3.0/styles/classic.xml file installed by libgtksourceview-3.0-common package (built from libgtksourceview).
>
> Also see some python details in comments below.
>
>> Hi Vasily,
>
>>
>
>> The tool is crashing when I open in servers with RealVNC. So, I have tested in servers with TigerVNC and surprisingly it's not crashing. However, the functionality doesn't work:
>
>>
>
>> When I try to open file comparison and select file, the meld is not crashing, but I can see the error in the background:
>
>>
>
>> ** (meld:25229): WARNING **: Error retrieving accessibility bus
>> address: org.freedesktop.DBus.Error.ServiceUnknown: The name
>> org.a11y.Bus was not provided by any .service files
>
>> Gtk-Message: Failed to load module "pk-gtk-module"
>
>> Gtk-Message: Failed to load module "canberra-gtk-module"
>
>> Gtk-Message: Failed to load module "pk-gtk-module"
>
>> Gtk-Message: Failed to load module "canberra-gtk-module"
>
>> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>
>> Traceback (most recent call last):
>
>> File
>> "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/sourcev
>> iew.py", line 154, in __init__
>
>> self.on_setting_changed(meldsettings, 'style-scheme')
>
>> File
>> "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/sourcev
>> iew.py", line 180, in on_setting_changed
>
>> "meld:current-line-highlight", "background")
>
>> File
>> "/NFS_share/meld/meld_3_16_0/lib/python2.7/site-packages/meld/misc.py
>> ", line 189, in colour_lookup_with_fallback
>
>> style = source_style.get_style(name)
>
>> AttributeError: 'NoneType' object has no attribute 'get_style'
>
>>
>
>> As you can see, source_style seems to be a None object.
>
>>
>
>> def colour_lookup_with_fallback(name, attribute):
>
>> from meld.settings import meldsettings
>
>> source_style = meldsettings.style_scheme
>
>>
>
>> So meldsettings.style_scheme returns None.
>
>>
>
>> The following is the definition (removed unnecessary declarations here):
>
>>
>
>> meldsettings = MeldSettings()
>
>>
>
>> class MeldSettings(GObject.GObject):
>
>> def __init__(self):
>
>> GObject.GObject.__init__(self)
>
>> self.style_scheme = self._style_scheme_from_gsettings()
>
>>
>
>> def _style_scheme_from_gsettings(self):
>
>> manager = GtkSource.StyleSchemeManager.get_default()
>
>> return manager.get_scheme(settings.get_string('style-scheme'))
>
>>
>
>> I am not much into Python. But as you can see meldsettings=MeldSettings() (there is no argument).
>
>>
>
>> But MeldSettings is expecting an argument GObject.GObject in the definition. How can it be?
>
> This declaration means "class derived from GObject", there is no
> explicit object with GObject value. The "self" argument is
>
>> Ok, let's say argument is not needed and I have done some debugging and found that get_string used in style_scheme_from_gsettings definition is not defined anywhere.
>
>> May be it is due to the warning I am receiving in the beginning:
>
>> ** (meld:25229): WARNING **: Error retrieving accessibility bus
>> address: org.freedesktop.DBus.Error.ServiceUnknown: The name
>> org.a11y.Bus was not provided by any .service files
>
>>
>
>> I found that in a new python shell:
>
>> import meld.settings generates the above error. Is it somehow linked to the get_string method?
>
> settings is Gio.Settings instance and settings.get_string is method of Gio.Settings:
>
> https://lazka.github.io/pgi-docs/#Gio-2.0/classes/Settings.html#Gio.Se
> ttings.get_string
>
> It is not related to
>
>> ** (meld:25229): WARNING **: Error retrieving accessibility bus
>> address: org.freedesktop.DBus.Error.ServiceUnknown: The name
>> org.a11y.Bus was not provided by any .service files
>
> but can be related to
>
>> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> addressee(s) and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately and destroy all copies of this message and any
> attachments. WARNING: Computer viruses can be transmitted via email.
> The recipient should check this email and any attachments for the
> presence of viruses. The company accepts no liability for any damage
> caused by any virus transmitted by this email. www.wipro.com
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
Loading...