GTK filechooser dialog crashes

Bug #1463571 reported by Christian González
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

Using Simple-scan 3.16.1 from Ubuntu 15.04 everything went correct until now.
But now, scanning works perfectly, but when I click on "Save" button, simple-scan crashes immediately. I Upgraded to the wily version 3.17.1, no difference.

I suppose it has something to do with GTK+ -maybe the file chooser dialog, as the syslog tells me:

    [+35,26s] ERROR: Settings schema 'org.gtk.Settings.FileChooser' does not contain a key named 'startup-mode'
    Trace/Breakpoint ausgelöst (Speicherabzug geschrieben)

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: simple-scan 3.16.1.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-37.51-generic 3.16.7-ckt9
Uname: Linux 3.16.0-37-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Jun 9 22:51:21 2015
InstallationDate: Installed on 2015-02-25 (104 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
MachineType: SAMSUNG ELECTRONICS CO., LTD. RF511/RF411/RF711
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-37-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
SimpleScanLog:

SourcePackage: simple-scan
UpgradeStatus: Upgraded to vivid on 2015-05-21 (19 days ago)
dmi.bios.date: 04/26/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 10HX.M034.20110426.SSH
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: RF511/RF411/RF711
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: 10HX
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr10HX.M034.20110426.SSH:bd04/26/2011:svnSAMSUNGELECTRONICSCO.,LTD.:pnRF511/RF411/RF711:pvr10HX:rvnSAMSUNGELECTRONICSCO.,LTD.:rnRF511/RF411/RF711:rvr10HX:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvrN/A:
dmi.product.name: RF511/RF411/RF711
dmi.product.version: 10HX
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.

Revision history for this message
Christian González (droetker) wrote :
affects: simple-scan (Ubuntu) → gtk+3.0 (Ubuntu)
Revision history for this message
Christian González (droetker) wrote :

@ Robert Ancell: You wrote in the duplicate report: "That looks like you are missing a an update schema for GTK+"
I think too - but until yesterday everything worked fine. How can I fix this?

gsettings list-keys org.gtk.Settings.FileChooser
gives:

sort-column
last-folder-uri
sidebar-width
window-position
show-size-column
show-hidden
window-size
expand-folders
sort-order
location-mode

There is no "startup-mode" key. I suppose therefore it is referenced and crashes.

BUT really. just because a gconf key does not exist, all programs that use that key are crashing???
I mean, yes, C is not really safe in that way, but there should be a check in GTK+ if a key exists before referencing it, right?

I am no C nor a GTK developer, but I think this is a bit strange.

Any hints how I can fix that scheme? Can I add the "startup-mode" key manually? (at least would be a workaround).

Revision history for this message
Christian González (droetker) wrote :

I found something similar on http://askubuntu.com/questions/164570/broken-schema-org-gtk-settings-filechooser.
I'll post my /usr/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml in case of any help.

dpkg -s libgtk-3-common | grep -i version
gives:
Version: 3.14.13-0ubuntu1

summary: - simplescan crashes when clicking on "Save"
+ GTK filechooser dialog crashes
Revision history for this message
Christian González (droetker) wrote :

A hint is here, in the thread: http://<email address hidden>/msg15872.html

Revision history for this message
Christian González (droetker) wrote :

Oh. My fault.
I had installed ADA/GNAT/GPS in /usr/local. This includes it's own GTK version, which scrambled mine. Deleting it - all back to normal.

affects: gtk+3.0 (Ubuntu) → ubuntu
Changed in ubuntu:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.