GnuCash
Contact   Instructions
Bug 796936 - Saving XML-formatted file to CryFS volume crashes GNUCash
Summary: Saving XML-formatted file to CryFS volume crashes GNUCash
Status: RESOLVED INCOMPLETE
Alias: None
Product: GnuCash
Classification: Unclassified
Component: Backend - XML (show other bugs)
Version: 3.2
Hardware: PC Linux
: Normal normal
Target Milestone: ---
Assignee: core
QA Contact: core
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-03 14:32 EDT by Doug
Modified: 2021-09-23 15:56 EDT (History)
3 users (show)

See Also:


Attachments
Popup error after saving an XML formatted GNUCash file (16.93 KB, image/png)
2018-11-03 14:32 EDT, Doug
no flags Details

Description Doug 2018-11-03 14:32:33 EDT
Created attachment 373051 [details]
Popup error after saving an XML formatted GNUCash file

I am using GNUCash 3.2 and CryFS version 0.9.9.

Steps to reproduce:

1. Use an Ubuntu 18.04 distribution
2. sudo apt install cryfs
3. `cryfs ~/Dropbox/your_folder ~/MountPoint`
4. Download GNUCash 3.2 either by Flatpak/Flathub or from the PPA ppa:sicklylife/gnucash
5. Start GNUCash, create a file, and save it to your encrypted volume (In this case it is ~/Dropbox/your_folder)

You will see a popup error (See gnucash-error.png) Ignore the random path/filename I used in the screenshot.

If you click the save button on that popup the program will crash. Couldn't find any other error messages or logs.

I have tested on both KDE Neon and Elementary OS. Both of them use Ubuntu 18.04 as a base.

Worth noting that I had no problems using Sqlite as a format.
Comment 1 Doug 2018-11-03 14:33:43 EDT
By 'gnucash-error.png' I am referring to the attachment on this post. I guess the file renamed when I uploaded.
Comment 2 John Ralls 2018-11-03 14:52:51 EDT
If GnuCash couldn't write a lockfile it probably couldn't write to the encrypted folder, though I suppose it's possible that there's a conflict between gzip and cryfs.

See https://wiki.gnucash.org/wiki/Tracefile for where to find GnuCash's log file. It would be helpful to run GnuCash under gdb to get a stack trace of the crash, see https://wiki.gnucash.org/wiki/Stack_Trace.

Note You need to log in before you can comment on or make changes to this bug.