|
From: | Andres Chavarria |
Subject: | Recurring calls eat up memory |
Date: | Sun, 21 Dec 2008 15:28:09 +0000 |
Dear libtool developers, I installed yesterday OpenSuSE 11.1 and tried to use KDevelop (3.5.3 openSuSE) to create and compile a simple project. When KDevelop calls libtool to link the program, the computer begins to slow down due to massive memory consumption until it does not react anymore. I tracked down the problem to the script "libtool" found in the projects "debug" or "optimized" directories, which I guess is produced by libtool. It seems that the script calls itself recurringly and produces more and more processes. pstree delivers: -konsole-+-bash---sh---sh-+-sed | | | `-sh---sh-+-sed | | | `-sh---sh-+-sed | | | `-sh---sh-+-sed | | | `-sh---sh-+-sed | | | `-sh---sh-+-sed | | | `-sh---sh-+-sed | | | `-sh---sh-+-sed | | | `-sh---sh-+-sed | | | `-sh---s+ and so on There seems to be a problem with case sensitivity in the script with the "echo" program definition. Changing the script solved the problem: instead of defining the "echo" as follows: # An echo program that protects backslashes. ECHO="printf %s\\n" I used: # An echo program that protects backslashes. echo="printf %s\\n" Greetings, Andrés System: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ openSuSE 11.1 64-Bits with 2.6.27.7-9-default kernel KDevelop: Qt: 3.3.8b KDE: 3.5.10 "release 21.11" KDevelop: 3.5.3 autoconf (GNU Autoconf) 2.63 Copyright (C) 2008 Free Software Foundation, Inc. automake (GNU automake) 1.10.1 Copyright (C) 2008 Free Software Foundation, Inc. Tested libtool versions: 2.2.6a and 2.2.7a libtool (GNU libtool 1.3051 2008-12-19) 2.2.7a sh-version: GNU bash, version 3.2.39(1)-release (x86_64-suse-linux-gnu) Copyright (C) 2007 Free Software Foundation, Inc. ¡Sube tus fotos de forma sencilla! Es muy fácil |
[Prev in Thread] | Current Thread | [Next in Thread] |