After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 765791 - gnote segfaults on start with legacy data in ~/.gnote
gnote segfaults on start with legacy data in ~/.gnote
Status: RESOLVED FIXED
Product: gnote
Classification: Applications
Component: main
3.20.x
Other Linux
: Normal normal
: ---
Assigned To: gnote-maint
gnote-maint
Depends on:
Blocks:
 
 
Reported: 2016-04-29 01:54 UTC by Vincent Cheng
Modified: 2016-05-01 18:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sample note (816 bytes, text/html)
2016-04-29 01:54 UTC, Vincent Cheng
Details
backtrace (5.78 KB, text/plain)
2016-04-29 01:55 UTC, Vincent Cheng
Details

Description Vincent Cheng 2016-04-29 01:54:56 UTC
Created attachment 326983 [details]
sample note

Forwarded from https://bugs.debian.org/781501

Gnote segfaults on start when ~/.gnote is present and contains note files, and neither $XDG_CONFIG_HOME/gnote or $XDG_DATA_HOME/gnote are present. This scenario may happen when upgrading from a sufficiently old release of gnote to an up-to-date version (e.g. when upgrading from an old Debian release to another more recent release).

To reproduce:
$ rm -rf ~/.config/gnote
$ rm -rf ~/.local/share/gnote
$ mkdir ~/.gnote
Move sample note (attached to this bug) into ~/.gnote
$ gnote
Segmentation fault
Comment 1 Vincent Cheng 2016-04-29 01:55:43 UTC
Created attachment 326984 [details]
backtrace

gdb backtrace attached
Comment 2 Aurimas Černius 2016-05-01 18:54:46 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.