On 2013-08-12 14:11 +0200, JazzyNico wrote:
> Confirmed on Windows XP, Inkscape trunk revision 12473 with example 1
> from comment #7 (examples 2 and 3 doesn't crash the application).

Thanks for noticing - I failed to catch that this particular crash with
a completely empty description also affects the builds with older
versions of the dependencies on OS X 10.7.5 (see comment #6).

> Attached is a patch that tests empty strings (in that case the
> description widget is removed).
> Please test!

r12473+patch tested on OS X 10.7.5 with
A - GTK+/Quartz 2.24.17, glib 2.34.3, libxml2 2.8.0
B - GTK+/Quartz 2.24.20, glib 2.36.4, libxml2 2.9.1

using these test cases:
1) empty description parameter (affects A, B)
2) space (" ") as description content (affects B)
3) newline as description content (affects B)

While the patch does prevent all known variants of the crash, it's still
unclear to me what kind of change in which external library causes the
crashes of type 2) and 3) - the proposed fix doesn't address this
specifically.

The rendered result of the INX file with patched builds differs
depending on this yet unknown difference: description parameters with a
space or newline as content are now omitted too with those patched
builds which otherwise crash (the actual issue & example reported here):

Please have a look at the attached sample INX and the screenshot - on
the left the dialog from a patched build which didn't crash before, on
the right from a patched build with newer libs which now no longer
crashes but (somewhat unexpectedly) omits description parameters with
not-quite-empty content (used as spacer elements).

<off-topic>
Since the crashes of type 2) and 3) are triggered (at least in the
examples I have encountered) by using an "not-quite-empty" description
parameter (with space or newline as content) as spacer element in custom
extension dialogs - are there other (crash-proof) INX options which
could be used instead for such purposes?
</off-topic>


** Attachment added: "inx-debug-lp1204732-fails2a.inx"
   
https://bugs.launchpad.net/bugs/1204732/+attachment/3769660/+files/inx-debug-lp1204732-fails2a.inx

** Attachment added: "1204732-r12673-space-in-desc-param-dialogs-2.png"
   
https://bugs.launchpad.net/bugs/1204732/+attachment/3769661/+files/1204732-r12673-space-in-desc-param-dialogs-2.png

-- 
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/1204732

Title:
  inkscape crashed with SIGABRT in
  __gnu_cxx::__verbose_terminate_handler()

Status in Inkscape: A Vector Drawing Tool:
  In Progress
Status in “inkscape” package in Ubuntu:
  New

Bug description:
  I am trying to run an eggbot from inkscape. Everytime I want to setup
  the eggbot through the extensions the program reports an internal
  error and needs to close. I have updated and re-installed all software
  according to instructions (I think!) but the problem is always the
  same and persistent.

  ProblemType: Crash
  DistroRelease: Ubuntu 13.10
  Package: inkscape 0.48.4-1ubuntu2
  ProcVersionSignature: Ubuntu 3.10.0-4.13-generic 3.10.1
  Uname: Linux 3.10.0-4-generic x86_64
  ApportVersion: 2.11-0ubuntu1
  Architecture: amd64
  CrashCounter: 1
  Date: Wed Jul 24 21:18:34 2013
  ExecutablePath: /usr/bin/inkscape
  InstallationDate: Installed on 2010-03-03 (1239 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130624)
  MarkForUpload: True
  ProcCmdline: inkscape
  ProcEnviron:
   LANGUAGE=en_US
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  Signal: 6
  SourcePackage: inkscape
  StacktraceTop:
   raise () from /lib/x86_64-linux-gnu/libc.so.6
   abort () from /lib/x86_64-linux-gnu/libc.so.6
   __gnu_cxx::__verbose_terminate_handler() () from 
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
   ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
   std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
  Title: inkscape crashed with SIGABRT in raise()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to