Bug#864415: [inkscape] crash while rotating with snap to path

2017-07-02 Thread Mattia Rizzolo
Control: forwarded -1 https://bugs.launchpad.net/inkscape/+bug/1701930
Control: tag -1 upstream
Control: severity -1 normal


Sorry, it slipped past me…

On Fri, Jun 09, 2017 at 07:45:16PM +0200, Carsten Knoll wrote:
> See the attached file. It crashes in 100% of cases, if I rotate the
> dashed line as shown in the video. However there seem to be two
> different types:

Thanks for the reproducer, forwarded upstream in a new bug (linked
above).
The other bugs I could find seemed similar but different variation of
this, I'll let upstream decide whether they are different or the same
and in such case merge them.

> a) slow rotation -> snap is indicated, then inkscape crashes but at
> least creates a backup (that saved me a lot of time the other day!)

Couldn't reproduce this, tbh.  For how slow I could rotate it it always
crashed hard as in case b.

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature


Bug#864415: [inkscape] crash while rotating with snap to path

2017-06-09 Thread Carsten Knoll
On 09.06.2017 17:46, Mattia Rizzolo wrote:
> Hi Carsten,
> 
> On Thu, Jun 08, 2017 at 11:39:28AM +0200, Carsten Knoll wrote:
>> Reproducible crash when rotating a line whish should snap to another
>> line (path). See video:
>>
>> https://vimeo.com//220771887
> 
> Wow, nice crash…
> 
>> About Dialog says w.r.t. version: Inkscape 0.92.1 r15371
>> If it helps i can provide the file where this occurs
> 
> I've talked to upstream, and they are aware of several crashes related
> to snapping (which means you should be able to workaround it disapling
> the snap).

I already did that. But I miss the snap feature as it allows to work
fast and precise...

> 
> If possible I'd like to have that fail, so I can reproduce the crash and
> check which one of the upstream report it is, so to link the bug (I want
> to get a traceback, but also would like to send that file upstream, as
> several of the crashing files are really complex compared to yours).

See the attached file. It crashes in 100% of cases, if I rotate the
dashed line as shown in the video. However there seem to be two
different types:

a) slow rotation -> snap is indicated, then inkscape crashes but at
least creates a backup (that saved me a lot of time the other day!)

b) fast rotation, overshooting the target line where it should snap ->
no snap is indicated, it crashes with a different (generic) error
message and no backup is created (not good.)


> 
> 
> Thank you for the report!
> 

Thank you for your maintenance work! You guys do a great and important job.




Bug#864415: [inkscape] crash while rotating with snap to path

2017-06-09 Thread Mattia Rizzolo
Hi Carsten,

On Thu, Jun 08, 2017 at 11:39:28AM +0200, Carsten Knoll wrote:
> Reproducible crash when rotating a line whish should snap to another
> line (path). See video:
> 
> https://vimeo.com//220771887

Wow, nice crash…

> About Dialog says w.r.t. version: Inkscape 0.92.1 r15371
> If it helps i can provide the file where this occurs

I've talked to upstream, and they are aware of several crashes related
to snapping (which means you should be able to workaround it disapling
the snap).

If possible I'd like to have that fail, so I can reproduce the crash and
check which one of the upstream report it is, so to link the bug (I want
to get a traceback, but also would like to send that file upstream, as
several of the crashing files are really complex compared to yours).


Thank you for the report!

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature


Bug#864415: [inkscape] crash while rotating with snap to path

2017-06-08 Thread Carsten Knoll
Package: inkscape
Version: 0.92.1-1
Severity: serious

--- Please enter the report below this line. ---

Reproducible crash when rotating a line whish should snap to another
line (path). See video:

https://vimeo.com//220771887

About Dialog says w.r.t. version: Inkscape 0.92.1 r15371


If it helps i can provide the file where this occurs

Terminal output after crash:


** (inkscape:5008): WARNING **: Invalid borders specified for theme pixmap:
/usr/share/themes/Breeze/gtk-2.0/../assets/line-h.png,
borders don't fit within the image

(inkscape:5008): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(inkscape:5008): GLib-GObject-CRITICAL **: g_signal_emit_valist:
assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
inkscape:
/build/inkscape-MxzU8f/inkscape-0.92.1/src/2geom/elliptical-arc.cpp:573:
void
Geom::EllipticalArc::_filterIntersections(std::vector
>&, bool) const: Assertion `are_near(_ellipse.pointAt(t), i->point(),
1e-5)' failed.

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can
fix it.
inkscape: Fatal IO error 11 (Resource temporarily unavailable) on X
server :0.0.




--- System information. ---
Architecture: Kernel:   Linux 4.9.0-3-amd64

Debian Release: 9.0
  500 testing security.debian.org   500 testing
debian.inf.tu-dresden.de
--- Package information. ---
Depends  (Version) | Installed
==-+-=
python:any   (>= 2.7.5-5~) | libaspell15
  (>= 0.60.7~20110707) | 0.60.7~20110707-3+b2
libatk1.0-0(>= 1.12.4) | 2.22.0-1
libatkmm-1.6-1v5   (>= 2.24.0) | 2.24.2-2
libc6(>= 2.14) | 2.24-10
libcairo2  (>= 1.12.0) | 1.14.8-1
libcairomm-1.0-1v5 (>= 1.12.0) | 1.12.0-1+b1
libcdr-0.1-1   | 0.1.3-3+b1
libdbus-1-3(>= 1.9.14) | 1.10.18-1
libdbus-glib-1-2 (>= 0.88) | 0.108-2
libfontconfig1   (>= 2.11) | 2.11.0-6.7+b1
libfreetype6(>= 2.2.1) | 2.6.3-3.2
libgc1c2   (>= 1:7.2d) | 1:7.4.2-8
libgcc1 (>= 1:4.0) | 1:6.3.0-18
libgdk-pixbuf2.0-0 (>= 2.22.0) | 2.36.5-2
libglib2.0-0   (>= 2.41.1) | 2.50.3-2
libglibmm-2.4-1v5  (>= 2.50.0) | 2.50.0-1
libgomp1  (>= 4.9) | 6.3.0-18
libgsl2| 2.3+dfsg-1
libgtk2.0-0(>= 2.24.0) | 2.24.31-2
libgtkmm-2.4-1v5 (>= 1:2.24.0) | 1:2.24.5-1
libgtkspell0   (>= 2.0.10) | 2.0.16-1.1
libjpeg62-turbo (>= 1.3.1) | 1:1.5.1-2
liblcms2-2(>= 2.2+git20110628) | 2.8-4
libmagick++-6.q16-7 (>= 8:6.9.6.8) | 8:6.9.7.4+dfsg-9
libmagickcore-6.q16-3   (>= 8:6.9.6.8) | 8:6.9.7.4+dfsg-9
libmagickwand-6.q16-3   (>= 8:6.9.6.8) | 8:6.9.7.4+dfsg-9
libpango-1.0-0 (>= 1.37.2) | 1.40.5-1
libpangocairo-1.0-0(>= 1.14.0) | 1.40.5-1
libpangoft2-1.0-0  (>= 1.14.0) | 1.40.5-1
libpangomm-1.4-1v5 (>= 2.40.0) | 2.40.1-3
libpng16-16   (>= 1.6.2-1) | 1.6.28-1
libpoppler-glib8   (>= 0.18.0) | 0.48.0-2
libpoppler64   (>= 0.48.0) | 0.48.0-2
libpopt0 (>= 1.14) | 1.16-10+b2
libpotrace0| 1.13-3
librevenge-0.0-0   | 0.0.4-6
libsigc++-2.0-0v5   (>= 2.8.0) | 2.10.0-1
libstdc++6(>= 5.2) | 6.3.0-18
libvisio-0.1-1 | 0.1.5-4+b1
libwpg-0.3-3   | 0.3.1-3
libx11-6   | 2:1.6.4-3
libxml2 (>= 2.7.4) | 2.9.4+dfsg1-2.2
libxslt1.1 (>= 1.1.25) | 1.1.29-2.1
zlib1g(>= 1:1.1.4) | 1:1.2.8.dfsg-5


Recommends(Version) | Installed
===-+-===
aspell  | 0.60.7~20110707-3+b2
imagemagick | 8:6.9.7.4+dfsg-9
libimage-magick-perl| 8:6.9.7.4+dfsg-9
libwmf-bin  | 0.2.8.4-10.6
python-lxml | 3.7.1-1
python-numpy| 1:1.12.1-2
python-scour| 0.32-2
transfig| 1:3.2.6a-2


Suggests (Version) | Installed
==-+-===
dia|  OR dia-gnome
| libsvg-perl|