Public bug reported:

The reproduce:

1. Open mousepad
2. Open settings
3. Go to "editor" section
4. Set tab width to 33
5. Close settings

Mousepad will now crash with an assertion error.

This is caused due to a mismatch between the gschema and the glade UI
file. The schema specifies a maximum tab width of 32 but the UI
specifies a maximum of 128. These should be brought into alignment.

http://git.xfce.org/apps/mousepad/tree/mousepad/org.xfce.mousepad.gschema.xml#n108

vs

http://git.xfce.org/apps/mousepad/tree/mousepad/mousepad-prefs-
dialog.glade#n46


In addition mousepad should probably not crash if there is a settings mismatch 
like this.

ProblemType: Crash
DistroRelease: Ubuntu 15.04
Package: mousepad 0.4.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.19.0-22.22-generic 3.19.8-ckt1
Uname: Linux 3.19.0-22-generic i686
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: i386
CurrentDesktop: XFCE
Date: Wed Jul  8 16:56:57 2015
ExecutablePath: /usr/bin/mousepad
InstallationDate: Installed on 2015-03-03 (127 days ago)
InstallationMedia: Xubuntu 15.04 "Vivid Vervet" - Alpha i386 (20150303)
ProcCmdline: mousepad
Signal: 6
SourcePackage: mousepad
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

** Affects: mousepad
     Importance: Unknown
         Status: Unknown

** Affects: mousepad (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: apport-crash i386 vivid

** Information type changed from Private to Public

** Attachment removed: "CoreDump.gz"
   
https://bugs.launchpad.net/ubuntu/+source/mousepad/+bug/1472690/+attachment/4426459/+files/CoreDump.gz

** Tags removed: need-i386-retrace

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1472690

Title:
  Mousepad crashes when setting tab width > 32

To manage notifications about this bug go to:
https://bugs.launchpad.net/mousepad/+bug/1472690/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to