You are not logged in.

#1 2020-04-01 15:33:58

ragiwav
Member
Registered: 2016-08-28
Posts: 7

[SOLVED] Various programs crash when trying to open a FileChooser

Hey,

since my last complete system update I have a problem I'm not yet able to solve: Always when trying to access a filechooser dialogue (like "save as" or "open") from Firefox, Thunderbird or LibreOffice the program instantly closes. In the case of Firefox I can send an error report that contains  the following details:

AdapterDeviceID: 0x0106
AdapterDriverVendor: mesa/i965
AdapterDriverVersion: 19.3.4.0
AdapterVendorID: 0x8086
Add-ons: uBlock0%40raymondhill.net:1.25.2,webcompat%40mozilla.org:7.0.0,screenshots%40mozilla.org:39.0.0,formautofill%40mozilla.org:1.0,doh-rollout%40mozilla.org:1.3.0,default-theme%40mozilla.org:1.0,amazondotcom%40search.mozilla.org:1.1,bing%40search.mozilla.org:1.1,google%40search.mozilla.org:1.0,twitter%40search.mozilla.org:1.0,wikipedia%40search.mozilla.org:1.0,ddg%40search.mozilla.org:1.0
BuildID: 20200310120528
ContentSandboxCapabilities: 119
ContentSandboxCapable: 1
ContentSandboxLevel: 4
CrashTime: 1585746490
DOMIPCEnabled: 1
FramePoisonBase: 9223372036600930304
FramePoisonSize: 4096
InstallTime: 1584779479
IsWayland: 0
IsWaylandDRM: 0
Notes: FP(D00-L1000-W00000000-T000) WR? WR- OMTP? OMTP+1 
ProductID: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
ProductName: Firefox
ReleaseChannel: release
SafeMode: 0
SecondsSinceLastCrash: 187
StartupCrash: 0
StartupTime: 1585746471
TelemetryEnvironment: {"build":{"applicationId":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","applicationName":"Firefox","architecture":"x86-64","buildId":"20200310120528","version":"74.0","vendor":"Mozilla","displayVersion":"74.0","platformVersion":"74.0","xpcomAbi":"x86_64-gcc3","updaterAvailable":false},"partner":{"distributionId":null,"distributionVersion":null,"partnerId":null,"distributor":null,"distributorChannel":null,"partnerNames":[]},"system":{"memoryMB":7801,"virtualMaxMB":null,"cpu":{"extensions":["hasMMX","hasSSE","hasSSE2","hasSSE3","hasSSSE3","hasSSE4_1","hasSSE4_2"]},"os":{"name":"Linux","version":"5.5.8-arch1-1","locale":"de-DE"},"hdd":{"profile":{"model":null,"revision":null,"type":null},"binary":{"model":null,"revision":null,"type":null},"system":{"model":null,"revision":null,"type":null}},"gfx":{"D2DEnabled":null,"DWriteEnabled":null,"ContentBackend":"Skia","Headless":false,"adapters":[{"description":"Mesa DRI Intel(R) Sandybridge Mobile ","vendorID":"0x8086","deviceID":"0x0106","subsysID":null,"RAM":1536,"driver":null,"driverVendor":"mesa/i965","driverVersion":"19.3.4.0","driverDate":null,"GPUActive":true}],"monitors":[{"screenWidth":1366,"screenHeight":768}],"features":{"compositor":"basic","gpuProcess":{"status":"unavailable"},"wrQualified":{"status":"blocked-device-too-old"},"webrender":{"status":"opt-in"}}},"appleModelId":null},"settings":{"blocklistEnabled":true,"e10sEnabled":true,"e10sMultiProcesses":8,"telemetryEnabled":false,"locale":"und","intl":{"requestedLocales":["de-DE"],"availableLocales":["en-US"],"appLocales":["und","en-US"],"systemLocales":["de-DE"],"regionalPrefsLocales":["de-DE"],"acceptLanguages":["en-US","en"]},"update":{"channel":"release","enabled":true,"autoDownload":false},"userPrefs":{"app.shield.optoutstudies.enabled":false,"browser.cache.disk.capacity":204800,"browser.formfill.enable":false,"browser.search.region":"DE","browser.search.suggest.enabled":false,"browser.search.widget.inNavBar":false,"browser.startup.homepage":"<user-set>","browser.startup.page":0,"network.proxy.http":"<user-set>","network.proxy.ssl":"<user-set>","places.history.enabled":false,"privacy.donottrackheader.enabled":true},"sandbox":{"effectiveContentProcessLevel":4},"addonCompatibilityCheckEnabled":true,"isDefaultBrowser":true,"defaultSearchEngine":"ddg","defaultSearchEngineData":{"loadPath":"[other]addEngineWithDetails:ddg@search.mozilla.org","name":"DuckDuckGo","origin":"default","submissionURL":"https://duckduckgo.com/?t=ffsb&q="}},"profile":{"creationDate":16924},"addons":{"activeAddons":{"uBlock0@raymondhill.net":{"version":"1.25.2","scope":1,"type":"extension","updateDay":18336,"isSystem":false,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":"Endlich ein effizienter Blocker. Prozessor-freundlich und bescheiden beim Speicherbedarf.","name":"uBlock Origin","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":17480,"signedState":2},"webcompat@mozilla.org":{"version":"7.0.0","scope":1,"type":"extension","updateDay":18331,"isSystem":true,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":"Urgent post-release fixes for web compatibility.","name":"Web Compat","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":17148},"screenshots@mozilla.org":{"version":"39.0.0","scope":1,"type":"extension","updateDay":18331,"isSystem":true,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":"Take clips and screenshots from the Web and save them temporarily or permanently.","name":"Firefox Screenshots","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":17331},"formautofill@mozilla.org":{"version":"1.0","scope":1,"type":"extension","updateDay":18331,"isSystem":true,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":null,"name":"Form Autofill","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":17484},"doh-rollout@mozilla.org":{"version":"1.3.0","scope":1,"type":"extension","updateDay":18331,"isSystem":true,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":"Mozilla-Add-On, das die Einführung von DoH unterstützt","name":"DoH Roll-Out","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":18331}},"theme":{"id":"default-theme@mozilla.org","blocklisted":false,"description":"A theme with the operating system color scheme.","name":"Default","userDisabled":false,"appDisabled":false,"version":"1.0","scope":4,"foreignInstall":false,"hasBinaryComponents":false,"installDay":18091,"updateDay":18086},"activePlugins":[],"activeGMPlugins":{"gmp-gmpopenh264":{"version":"1.8.1.1","userDisabled":false,"applyBackgroundUpdates":1},"gmp-widevinecdm":{"version":"4.10.1582.2","userDisabled":false,"applyBackgroundUpdates":1}}},"experiments":{"rollout-increasing-normandy-skew-out-changes-from-15-m-release-73-75-bug-1616898":{"branch":"active","type":"normandy-prefrollout","enrollmentId":"91102583-3e52-4511-ad10-1e92d78119fc"},"rollout-revert-tls-10-11-deprecation-in-release-74-release-74-74-bug-1623649":{"branch":"active","type":"normandy-prefrollout","enrollmentId":"d813586f-8596-44f3-a3b7-2591a46ee0d7"}}}
TelemetrySessionId: 6224aea3-be28-425c-83be-29592bb88790
ThreadIdNameMapping: 5574:"Gecko_IOThread",5579:"Timer",5580:"Netlink Monitor",5581:"Socket Thread",5584:"JS Watchdog",5585:"JS Helper",5586:"JS Helper",5588:"Cache2 I/O",5589:"Cookie",5590:"StreamTrans #1",5591:"StreamTrans #2",5592:"GMPThread",5593:"Worker Launcher",5594:"SoftwareVsyncThread",5595:"Compositor",5596:"ImgDecoder #1",5597:"ImageIO",5602:"ImageBridgeChild",5603:"IPDL Background",5604:"DOM Worker",5605:"QuotaManager IO",5606:"StreamTrans #3",5607:"StreamTrans #4",5608:"StreamTrans #5",5609:"IndexedDB #1",5610:"Breakpad Server",5616:"FS Broker 5613",5617:"ProcessHangMon",5636:"DataStorage",5637:"BackgroundThreadPool #1",5638:"Cache I/O",5639:"DNS Resolver #1",5640:"localStorage DB",5641:"HTML5 Parser",5644:"DNS Resolver #2",5645:"DNS Resolver #3",5646:"DNS Resolver #4",5647:"mozStorage #1",5648:"mozStorage #2",5649:"SSL Cert #1",5654:"FS Broker 5651",5661:"DOM Worker",5667:"URL Classifier",5674:"IndexedDB #6",5676:"ExtensionProtocolHandler",5680:"mozStorage #3",5691:"FS Broker 5688",5711:"mozStorage #4",5712:"mozStorage #5",5713:"mozStorage #6",5714:"ImgDecoder #2",5717:"IndexedDB #7",5720:"mozStorage #7",5721:"SSL Cert #2",5722:"SSL Cert #3",
Throttleable: 1
URL: https://duckduckgo.com/?t=ffab&q=arch&ia=news
UptimeTS: 19.4244824
Vendor: Mozilla
Version: 74.0
useragent_locale: und

This report also contains technical information about the state of the application when it crashed.

That unfortunately doesn't help me at all. I continued to open Firefox from the console where I got the following message after the crash:

[user@computer ~]$ firefox

(firefox:5570): GLib-GIO-ERROR **: 15:08:10.308: Settings schema 'org.gtk.Settings.FileChooser' does not contain a key named 'show-type-column'
ExceptionHandler::GenerateDump cloned child 5736
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Trace/Breakpoint ausgelöst (Speicherabzug geschrieben)

This led me to this thread which made me search for gschema files on my system:

[user@computer ~]$ find / -path /proc -prune -o -iname '*FileChooser*.gschema.xml'
...many paths without access right
/proc
find: ‘/usr/share/polkit-1/rules.d’: Keine Berechtigung
/usr/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml
find: ‘/etc/sudoers.d’: Keine Berechtigung
...many more paths without access right

So I seem to have only one FileChooser gschema file on my system which excludes reading of another file without the missing key 'show-type-column'. I then tried to find out the value of XDG_DATA_DIRS:

[user@computer ~]$ echo $XDG_DATA_DIRS

[user@computer ~]$

This makes me think the variable is empty which might be the error. So my questions are: Am I right so far? Is there a simple solution for the problem I don't see?

Thanks in advance!

Last edited by ragiwav (2020-04-02 16:55:44)

Offline

#2 2020-04-01 17:15:30

ragiwav
Member
Registered: 2016-08-28
Posts: 7

Re: [SOLVED] Various programs crash when trying to open a FileChooser

I forgot to mention that the found file (/usr/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml) contains the key from the error message. In case this is helpful to anyone, here is the file:

<?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright © 2010 Christian Persch

  This library is free software; you can redistribute it and/or modify
  it under the terms of the GNU Lesser General Public License as published by
  the Free Software Foundation; either version 2.1, or (at your option)
  any later version.

  This library is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public License
  along with this library. If not, see <http://www.gnu.org/licenses/>.
-->
<schemalist>

  <enum id='org.gtk.Settings.FileChooser.LocationMode'>
    <value nick='path-bar' value='0'/>
    <value nick='filename-entry' value='1'/>
  </enum>

  <enum id='org.gtk.Settings.FileChooser.SortColumn'>
    <value nick='name' value='0'/>
    <value nick='size' value='1'/>
    <value nick='type' value='2'/>
    <value nick='modified' value='3'/>
  </enum>

  <enum id='org.gtk.Settings.FileChooser.SortOrder'>
    <value nick='ascending' value='0'/>
    <value nick='descending' value='1'/>
  </enum>

  <enum id='org.gtk.Settings.FileChooser.StartupMode'>
    <value nick='recent' value='0'/>
    <value nick='cwd' value='1'/>
  </enum>

  <enum id='org.gtk.Settings.FileChooser.ClockFormat'>
    <value nick='24h' value='0'/>
    <value nick='12h' value='1'/>
  </enum>

  <enum id='org.gtk.Settings.FileChooser.DateFormat'>
    <value nick='regular' value='0'/>
    <value nick='with-time' value='1'/>
  </enum>

  <enum id='org.gtk.Settings.FileChooser.TypeFormat'>
    <value nick='mime' value='0'/>
    <value nick='description' value='1'/>
    <value nick='category' value='2'/>
  </enum>

  <schema id='org.gtk.Settings.FileChooser' path='/org/gtk/settings/file-chooser/'>
    <key name='last-folder-uri' type='s'>
      <default>""</default>
    </key>
    <key name='location-mode' enum='org.gtk.Settings.FileChooser.LocationMode'>
      <default>'path-bar'</default>
      <summary>Location mode</summary>
      <description>
	Controls whether the file chooser shows just a path bar, or a visible entry
        for the filename as well, for the benefit of typing-oriented users. The
        possible values for these modes are "path-bar" and "filename-entry".
      </description>
    </key>
    <key name='show-hidden' type='b'>
      <default>false</default>
      <summary>Show hidden files</summary>
      <description>
	Controls whether the file chooser shows hidden files or not.
      </description>
    </key>
    <key type="b" name="sort-directories-first">
      <default>false</default>
      <summary>Show folders first</summary>
      <description>
        If set to true, then folders are shown before files in the list.
      </description>
    </key>
    <key name='expand-folders' type='b'>
      <default>false</default>
      <summary>Expand folders</summary>
      <description>This key is deprecated; do not use it.</description>
    </key>
    <key name='show-size-column' type='b'>
      <default>true</default>
      <summary>Show file sizes</summary>
      <description>
	Controls whether the file chooser shows a column with file sizes.
      </description>
    </key>
    <key name='show-type-column' type='b'>
      <default>true</default>
      <summary>Show file types</summary>
      <description>
	Controls whether the file chooser shows a column with file types.
      </description>
    </key>
    <key name='sort-column' enum='org.gtk.Settings.FileChooser.SortColumn'>
      <default>'name'</default>
      <summary>Sort column</summary>
      <description>
	Can be one of "name", "modified", or "size".  It controls
	which of the columns in the file chooser is used for sorting
	the list of files.
      </description>
    </key>
    <key name='sort-order' enum='org.gtk.Settings.FileChooser.SortOrder'>
      <default>'ascending'</default>
      <summary>Sort order</summary>
      <description>
	Can be one of the strings "ascending" or "descending".
      </description>
    </key>
    <key name='window-position' type='(ii)'>
      <default>(-1, -1)</default>
      <summary>Window position</summary>
      <description>
	The (x, y) coordinates of the upper-left corner of the GtkFileChooserDialog's
        window.
      </description>
    </key>
    <key name='window-size' type='(ii)'>
      <default>(-1, -1)</default>
      <summary>Window size</summary>
      <description>
	The size (width, height) of the GtkFileChooserDialog's window, in pixels.
      </description>
    </key>
    <key name='startup-mode' enum='org.gtk.Settings.FileChooser.StartupMode'>
      <default>'recent'</default>
      <summary>Startup mode</summary>
      <description>
	Either "recent" or "cwd"; controls whether the file chooser
	starts up showing the list of recently-used files, or the
	contents of the current working directory.
      </description>
    </key>
    <key name='sidebar-width' type='i'>
      <default>148</default>
      <summary>Sidebar width</summary>
      <description>
	Width in pixels of the file chooser's places sidebar.
      </description>
    </key>
    <key name="clock-format" enum="org.gtk.Settings.FileChooser.ClockFormat">
      <default>'24h'</default>
      <summary>Time format</summary>
      <description>
        Whether the time is shown in 24h or 12h format.
      </description>
    </key>
    <key name="date-format" enum="org.gtk.Settings.FileChooser.DateFormat">
      <default>'regular'</default>
      <summary>Date format</summary>
      <description>
        The amount of detail to show in the Modified column.
      </description>
    </key>
    <key name="type-format" enum="org.gtk.Settings.FileChooser.TypeFormat">
      <default>'category'</default>
      <summary>Type format</summary>
      <description>
        Different ways to show the 'Type' column information.
        Example outputs for a video mp4 file:
        'mime' -> 'video/mp4'
        'description' -> 'MPEG-4 video'
        'category' -> 'Video'
      </description>
    </key>
  </schema>

</schemalist>

Offline

#3 2020-04-01 18:12:54

ragiwav
Member
Registered: 2016-08-28
Posts: 7

Re: [SOLVED] Various programs crash when trying to open a FileChooser

Ok I tried manually setting XDG_DATA_DIRS to the folder /usr/share/glib-2.0/schemas/

[user@computer ~]$ export XDG_DATA_DIRS=/usr/share/glib-2.0/schemas/
[user@computer ~]$ echo $XDG_DATA_DIRS
/usr/share/glib-2.0/schemas/

Unfortunately this just replaces the error with the following, which is actually even more difficult for me to interpret...

(firefox:1209): Gtk-WARNING **: 19:59:59.158: Could not find the icon 'user-home-symbolic-ltr'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
        http://icon-theme.freedesktop.org/releases

(firefox:1209): Gtk-WARNING **: 19:59:59.158: Could not load a pixbuf from /org/gtk/libgtk/icons/16x16/status/image-missing.png.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../gtk/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/16x16/status/image-missing.png: Format der Bilddatei unbekannt (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:../gtk/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/16x16/status/image-missing.png: Format der Bilddatei unbekannt (gdk-pixbuf-error-quark, 3)
Redirecting call to abort() to mozalloc_abort

ExceptionHandler::GenerateDump cloned child 1387
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.

(crashreporter:1390): Gtk-WARNING **: 19:59:59.513: Could not load a pixbuf from /org/gtk/libgtk/theme/Adwaita/assets/check-symbolic.svg.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../gtk/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/16x16/status/image-missing.png: Format der Bilddatei unbekannt (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:../gtk/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/16x16/status/image-missing.png: Format der Bilddatei unbekannt (gdk-pixbuf-error-quark, 3)

Offline

#4 2020-04-01 19:06:09

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,964

Re: [SOLVED] Various programs crash when trying to open a FileChooser

$ pacman -F org.gtk.Settings.FileChooser.gschema.xml
extra/gtk3 1:3.24.16-1 [installed]
    usr/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml
$ 

That file belongs to gtk3, could be  a problem with your gtk3 instalaltion.

https://wiki.archlinux.org/index.php/XD … irectories describes XDG_DATA_DIRS
You should check what it is just after logging in .
The export you used proably made things harder to find for firefox.

since my last complete system update

AdapterDriverVendor: mesa/i965
AdapterDriverVersion: 19.3.4.0

mesa 20.0.2-1 was moved to extra on 2020-03-30 08:26:31 , when was your last pacman -Syu ?

Last edited by Lone_Wolf (2020-04-01 19:06:34)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2020-04-02 16:52:00

ragiwav
Member
Registered: 2016-08-28
Posts: 7

Re: [SOLVED] Various programs crash when trying to open a FileChooser

Hey again,

thanks for taking the time, I'll answer one by one:

  • XDG_DATA_DIRS after logging in seems to be empty:

    [user@computer ~]$ echo $XDG_DATA_DIRS
    
    [user@computer ~]$
  • Last system update was on the 15th of march.

  • However I'm a little suspicious there because of the pacman -F output (thanks for that hint!):

    [user@computer ~]$ sudo pacman -F org.gtk.Settings.FileChooser.gschema.xml
    extra/gtk3 1:3.24.16-1 [Installiert: 1:3.24.14+9+g429a6287e0-1]
        usr/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml

    This looks like there's an old version installed... So I made another full update and indeed there were new versions present.

And also indeed: Now the filechooser appears again and the applications work as expected.

So thanks Lone_Wolf for your hint and time!

Offline

Board footer

Powered by FluxBB