desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #93485
[Bug 967416] Re: inkscape crashed with SIGSEGV in file_save()
I've attached a proposed patch.
One thing of note is that this actually keeps the Glib::MainLoop, after
reading more into it, it appears that a recursive call to running a main
loop is supported.
The actual problem is that this was reusing the default MainContext
which had all of the original input sources. This patch builds a new
MainContext for the new MainLoop, and with each file_listener::init
connects the stdout and stderr it to this new context.
This causes the expected blocking UI behavior until the script has
completed saving since the new context shouldn't have any other sources.
Unfortunately this does cause the UI to appear to be hung until the
script completes the save, but given Johan's statement it sounds like it
might be a reasonable fix until multithreading can be added.
** Patch added: "bug967416.patch"
https://bugs.launchpad.net/ubuntu/+source/inkscape/+bug/967416/+attachment/4296282/+files/bug967416.patch
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to inkscape in Ubuntu.
https://bugs.launchpad.net/bugs/967416
Title:
inkscape crashed with SIGSEGV in file_save()
Status in Inkscape: A Vector Drawing Tool:
Triaged
Status in inkscape package in Ubuntu:
Triaged
Bug description:
Occurred when I closed Inkscape.
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: inkscape 0.48.3.1-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-20.33-generic 3.2.12
Uname: Linux 3.2.0-20-generic x86_64
ApportVersion: 1.95-0ubuntu1
Architecture: amd64
CrashCounter: 1
Date: Wed Mar 28 15:01:15 2012
ExecutablePath: /usr/bin/inkscape
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111129.1)
ProcCmdline: inkscape /home/username/MyKaryotes/graphics/cell.svg
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: inkscape
Title: inkscape crashed with SIGSEGV in sp_file_save_dialog()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/967416/+subscriptions