[Tilesathome] [Fwd: Problems with debian packages]

Florian Lohoff flo at rfc822.org
Tue Apr 29 17:26:44 BST 2008


On Tue, Apr 29, 2008 at 06:09:14PM +0200, niubii wrote:
> I've just sent this message to the mantainers, but forgive to put the 
> list in cc.

Recompiling the package is a matter of seconds so it shouldnt be a
problem. Yes - i think debian should ship libgc with LARGE_CONFIG but
most likely not before lenny is released. libgc 7 seems to binary
incompatible with 6.8 at least inkscape compiled against 6.8 crashes
with 7 installed for me on amd64/etch.

I also compiled inkscape with this patch applied - This solves some
hangs for me where inkscape crashes for process size or the GC bug and
then hangs trying an emergency save of data and config. Data does not
need to be saved and saving a broken config even makes further inkscape
invocations a problem (i see a 0 byte sized preferences file
afterwards). The patch simply lets inkscape crash and not do
"intelligent" things after we ran into a problem.

With this and the gc 6.8 + -DLARGE_CONFIG the t at h clients runs on 10
CPUs (4 x86 and 8 amd64) without a single hang for a day.

BTW: I have observed the GC crash on x86 too. 2xXeon 3Ghz 4GB Ram.

I am still looking out for the xmlstarlet hang i have observed a couple
of times (xmlstarlet stays at 100% CPU for hours).

diff -Nur inkscape-0.44.1/src/inkscape.cpp inkscape-0.44.1.flo/src/inkscape.cpp
--- inkscape-0.44.1/src/inkscape.cpp	2006-09-06 05:42:38.000000000 +0000
+++ inkscape-0.44.1.flo/src/inkscape.cpp	2008-04-29 10:20:59.000000000 +0000
@@ -370,6 +370,10 @@
     /* let any SIGABRTs seen from within this handler dump core */
     signal(SIGABRT, SIG_DFL);
 
+    fprintf(stderr, "\nEmergency save disabled - aborting!\n");
+    abort ();
+#if 0
+
     /* Kill loops */
     if (recursion) {
         abort ();
@@ -533,6 +537,7 @@
 
     tracker.clear();
     Logger::shutdown();
+#endif
 
     (* segv_handler) (signum);
 }


-- 
Florian Lohoff                  flo at rfc822.org             +49-171-2280134
	Those who would give up a little freedom to get a little 
          security shall soon have neither - Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20080429/31a6770e/attachment.pgp>


More information about the Tilesathome mailing list