Concerning -nan:

I can confirm that normal xournal doesn't crash, next does. And I just 
tried: line-widths-optimized does not crash. (So chances are smaller 
that it's my fault ;-) )

         Immi

Am 06.10.2016 um 20:01 schrieb dmg:
> This is the stroke that is crashing xournal:
>
> <stroke tool="pen" color="red" width="1.41">
> -nan -nan -nan -nan -nan -nan -nan -nan
> </stroke>
>
>
>
> On Thu, Oct 6, 2016 at 10:42 AM, D M German <d...@turingmachine.org
> <mailto:d...@turingmachine.org>> wrote:
>
>      Romano Gtti twisted the bytes to say:
>
>      Romano> I used the ruler a bit in the document, and yes, sometime I
>     use it with the mouse (to underline text etc. and make big
>      Romano> boxes, which are difficult to achieve with the mouse and
>     the shpe recognizer). So maybe this was the culprit.
>
>      Romano> BTW, I removed that stroke from the file but I am still
>     unable to read it. Probably there is something more around. I
>      Romano> think that not saving such a 0-length segment is ok, but a
>     bit of defensive programming in reading it (like emit a
>      Romano> warning and ignoring it) could be nice to have...
>
>     I presume that the best method to determine the culprit is to:
>
>     - decompress the file: rename to file.xoj.gz and run gunzip on it
>     - do binary splicing of the file:
>       - remove half, does it load? If so, it the error is in the other half.
>       - do recursively until error found
>
>     --dmg
>
>
>
>      Romano> Romano
>
>      Romano> Thanks for the effort
>
>
>
>      Romano> --
>      Romano> --
>      Romano> Romano at http://www.rgtti.com/
>
>
>     --
>     Daniel M. German                  "Un libro es un amigo a voluntad...
>                                        puede convertirse en alacena
>                                        de recuerdos,en cántaro de deseos,o
>        Germán Dehesa ->               en ánfora de ensueños."
>     http://turingmachine.org/
>     http://silvernegative.com/
>     dmg (at) uvic (dot) ca
>     replace (at) with @ and (dot) with .
>
>
>
>
>
> --
> --dmg
>
> ---
> Daniel M. German
> http://turingmachine.org

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Xournal-devel mailing list
Xournal-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xournal-devel

Reply via email to