---------- Forwarded message ----------
From: Christophe Lebras <christophe.lebras@...400...>
Date: 2017-07-25 17:38 GMT+01:00
Subject: Re: [Inkscape-devel] Inkscape freezing while adding grid.
To: Maximilian Gaukler <development@...3069...>


Hi,

Here is the dockerfile.

I think the two problems are related:

When I did a backtrace in the debugger for each problem, I saw that the main thread is waiting for a mutex in jemalloc.
When I disabled thread-specific cache in jemalloc with the command below, the problem disapear.

MALLOC_CONF='tcache:false' ./bin/inkscape ...

Best regards
Christophe

2017-07-21 21:22 GMT+01:00 Maximilian Gaukler <development@...3069...>:
Hi,

A similar freeze which only appears with jemalloc, and not on Debian/Ubuntu, was reported as a regression in https://bugs.launchpad.net/inkscape/+bug/1417470 , although AFAIK the freeze is caused by jemalloc and not the patch in that bug.

Christophe, could you please try if that freeze also affects you? Just run these two commands:

curl -L https://bugs.launchpad.net/ubuntu/+source/inkscape/+bug/1417470/+attachment/4908832/+files/test.svg > test.svg

./bin/inkscape -z -D --file=test.svg --export-pdf=test.pdf --export-latex
# will freeze and not return if the bug happens.

If you get the error, a dockerfile or any working description on how to compile Inkscape under the relevant distribution(s) would be extremely helpful.


Thanks,

Max

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