unofficial mirror of help-guix@gnu.org 
 help / color / Atom feed
* Inkscape 1.0 segfault when trying to bring up file chooser
@ 2020-06-14 12:59 Thorsten Wilms
  2020-06-15  3:28 ` Maxim Cournoyer
  0 siblings, 1 reply; 3+ messages in thread
From: Thorsten Wilms @ 2020-06-14 12:59 UTC (permalink / raw)
  To: help-guix

Hi!

Guix last updated yesterday, on top of Ubuntu. Triggering ‘Save as’ in
Inkscape leads to:
```
(org.inkscape.Inkscape:5125): GLib-GIO-ERROR **:
11:56:37.434: Settings schema 'org.gtk.Settings.FileChooser' does not
contain a key named 'show-type-column' Trace/breakpoint trap (core
dumped)
```
I assume this started happening with the update to Inkscape 1.0; in
either case the issue is only a few days old.

Various search hits point to 
/usr/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml

```
~: echo $XDG_DATA_DIRS
/home/thorwil/.guix-profile/share:/home/thorwil/.guix-profile/share:/usr/share/unity:/usr/local/share/:/usr/share/
```

If I set XDG_DATA_DIRS to "", inkscape won’t even
start. If I set it to just /home/thorwil/.guix-profile/share, it starts
and crashes on Save_As, same as now.

All store items for org.gtk.Settings.FileChooser.gschema.xml do have
a <key name='show-type-column' type='b'>:
```
/gnu/store: find -name "*FileChooser.gschema*" | \
xargs grep show-type-column
./vgg2r0yzwwbhyxvd8lj2kwyw9779pjfk-gtk+-3.24.14/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml:
<key name='show-type-column'
type='b'> ./zflpysfv6b5x9hvccds0m38x3bmzzdb3-gtk+-3.24.14/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml:
<key name='show-type-column'
type='b'> ./mvdb71lvrqgzx6b3kd3fnqpnak8394hm-gtk+-3.24.14/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml:
<key name='show-type-column'
type='b'> ./q3crl46igvsb10if6z7ffn165pkr74s1-gtk+-3.24.14/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml:
<key name='show-type-column'
type='b'> ./xhdrc9viz956hj2a3gjlbi0gfvfbnwjd-gtk+-3.24.14/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml:
<key name='show-type-column'
type='b'> ./mqjdi2b0jf4jwj9g5lbn2wdip4dnqgdh-gtk+-3.24.14/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml:
<key name='show-type-column' type='b'>
```

Checking the links below .guix-profile, I note there is no
org.gtk.Settings.FileChooser.gschema.xml, but there is
gschemas.compiled:
```
~/.guix-profile/share: ls -l glib-2.0/schemas/total 20 lrwxrwxrwx 2
root root  91 Jan  1  1970 gschema.dtd
-> /gnu/store/5v9bxzzxbp68c5g6vvvlaq1ddq39bkrf-glib-schemas/share/glib-2.0/schemas/gschema.dtd
lrwxrwxrwx 2 root root  97 Jan  1  1970 gschemas.compiled
-> /gnu/store/5v9bxzzxbp68c5g6vvvlaq1ddq39bkrf-glib-schemas/share/glib-2.0/schemas/gschemas.compiled
lrwxrwxrwx 2 root root 118 Jan  1  1970
org.gnome.gnumeric.dialogs.gschema.xml
-> /gnu/store/5v9bxzzxbp68c5g6vvvlaq1ddq39bkrf-glib-schemas/share/glib-2.0/schemas/org.gnome.gnumeric.dialogs.gschema.xml
lrwxrwxrwx 2 root root 110 Jan  1  1970 org.gnome.gnumeric.gschema.xml
-> /gnu/store/5v9bxzzxbp68c5g6vvvlaq1ddq39bkrf-glib-schemas/share/glib-2.0/schemas/org.gnome.gnumeric.gschema.xml
lrwxrwxrwx 2 root root 117 Jan  1  1970
org.gnome.gnumeric.plugin.gschema.xml
-> /gnu/store/5v9bxzzxbp68c5g6vvvlaq1ddq39bkrf-glib-schemas/share/glib-2.0/schemas/org.gnome.gnumeric.plugin.gschema.xml
```

There are a bunch of string visible in the binary file
gschemas.compiled, ‘show-type-column’ or similar does not apear.

Is the issue perhaps that gschemas.compiled would have had to be
rebuilt, but wasn’t?

I considered trying to symlink an org.gnome.gnumeric.gschema.xml, but I
don’t see how to figure out which of the 5 store items it should be.


-- 
Thorsten Wilms <t_w_@freenet.de>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Inkscape 1.0 segfault when trying to bring up file chooser
  2020-06-14 12:59 Inkscape 1.0 segfault when trying to bring up file chooser Thorsten Wilms
@ 2020-06-15  3:28 ` Maxim Cournoyer
  2020-06-15 11:32   ` Thorsten Wilms
  0 siblings, 1 reply; 3+ messages in thread
From: Maxim Cournoyer @ 2020-06-15  3:28 UTC (permalink / raw)
  To: Thorsten Wilms; +Cc: help-guix

Hello Thorsten,

Thorsten Wilms <t_w_@freenet.de> writes:

> Hi!
>
> Guix last updated yesterday, on top of Ubuntu. Triggering ‘Save as’ in
> Inkscape leads to:
> ```
> (org.inkscape.Inkscape:5125): GLib-GIO-ERROR **:
> 11:56:37.434: Settings schema 'org.gtk.Settings.FileChooser' does not
> contain a key named 'show-type-column' Trace/breakpoint trap (core
> dumped)
> ```

[...]

The problem should be fixed with commit 1afa2c5ca0.  Inkscape 1.0 is now
wrapped with the XDG_DATA_DIRS and other relevant environment variables
set.  The package was not using the 'glib-or-gtk-wrap from the
glib-or-gtk+-build-system, which caused the problem.

Users which had gtk+ propagated to their user profile (or system profile
on Guix System) would not see the issue triggered (I didn't myself!).

Thank you for the report!

Maxim


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Inkscape 1.0 segfault when trying to bring up file chooser
  2020-06-15  3:28 ` Maxim Cournoyer
@ 2020-06-15 11:32   ` Thorsten Wilms
  0 siblings, 0 replies; 3+ messages in thread
From: Thorsten Wilms @ 2020-06-15 11:32 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: help-guix

On Sun, 14 Jun 2020 23:28:49 -0400
Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:

> The problem should be fixed with commit 1afa2c5ca0.

> Thank you for the report!

Confirmed. Thank you for fixing this so quickly!


-- 
Thorsten Wilms <t_w_@freenet.de>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-14 12:59 Inkscape 1.0 segfault when trying to bring up file chooser Thorsten Wilms
2020-06-15  3:28 ` Maxim Cournoyer
2020-06-15 11:32   ` Thorsten Wilms

unofficial mirror of help-guix@gnu.org 

Archives are clonable:
	git clone --mirror https://yhetil.org/guix-user/0 guix-user/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-user guix-user/ https://yhetil.org/guix-user \
		help-guix@gnu.org
	public-inbox-index guix-user

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.user
	nntp://news.gmane.io/gmane.comp.gnu.guix.user


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git