From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.bugs Subject: [bug #21483] mandelbug whit GUILE_DEBUG_MALLOC Date: Wed, 31 Oct 2007 00:31:13 +0000 Message-ID: <20071031-003113.sv185.25568@savannah.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=UTF-8 X-Trace: ger.gmane.org 1193790692 14692 80.91.229.12 (31 Oct 2007 00:31:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Oct 2007 00:31:32 +0000 (UTC) To: marco.maggi-ipsu@poste.it, Neil Jerram , bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Oct 31 01:31:33 2007 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1In1UZ-0006bf-1t for guile-bugs@m.gmane.org; Wed, 31 Oct 2007 01:31:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1In1UP-0002mQ-Ic for guile-bugs@m.gmane.org; Tue, 30 Oct 2007 20:31:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1In1UM-0002lu-8o for bug-guile@gnu.org; Tue, 30 Oct 2007 20:31:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1In1UL-0002l9-IA for bug-guile@gnu.org; Tue, 30 Oct 2007 20:31:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1In1UL-0002l4-CN for bug-guile@gnu.org; Tue, 30 Oct 2007 20:31:17 -0400 Original-Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1In1UK-0004Ks-JC for bug-guile@gnu.org; Tue, 30 Oct 2007 20:31:16 -0400 Original-Received: from savannah.gnu.org ([199.232.41.3] helo=frontend) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1In1UH-0002c5-Ut; Wed, 31 Oct 2007 00:31:14 +0000 Original-Received: from www-data by frontend with local (Exim 4.63) (envelope-from ) id 1In1UH-0002c2-M8; Wed, 31 Oct 2007 00:31:13 +0000 X-Savane-Server: savannah.gnu.org:443 [199.232.41.3] X-Savane-Project: guile X-Savane-Tracker: bugs X-Savane-Item-ID: 21483 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.13pre) Gecko/20070505 Iceape/1.0.9 (Debian-1.0.10~pre070720-0etch3) X-Apparently-From: 86.145.152.23 (Savane authenticated user ossau) Original-References: In-Reply-To: X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:3656 Archived-At: URL: Summary: mandelbug whit GUILE_DEBUG_MALLOC Project: Guile Submitted by: ossau Submitted on: Wednesday 10/31/07 at 00:31 Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: Ciao, just for the record, because I think that it is unlikely that I or someone will succeed in fixing it. It appears to me that there is a problem in 'scm_malloc_reregister()', file "libguile/debug-memory.c", which is invoked by 'scm_gc_realloc()' only when Guile is compiled with 'GUILE_DEBUG_MALLOC' defined. It tells me that I am trying to reallocate a block with a different "what" string. It comes and goes, but for the small code evolution span in which it was reproducible: I was able to determine that I was using the same "what". I circumvented it, it seems, by using the same "what" in two different invocations to "scm_gc_realloc()". Understanding what is going on requirers understanding the hash table handling, which is a little mess IMHO, and it is above my head now. -- Marco Maggi _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile