From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18553 invoked by alias); 25 Jun 2008 12:36:42 -0000 Received: (qmail 18341 invoked by uid 48); 25 Jun 2008 12:36:03 -0000 Date: Wed, 25 Jun 2008 19:28:00 -0000 From: "mwielaard at redhat dot com" To: systemtap@sources.redhat.com Message-ID: <20080625123602.6694.mwielaard@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug translator/6694] New: auto_free seems to trigger *** glibc detected *** stap: double free or corruption (fasttop) X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2008-q2/txt/msg00741.txt.bz2 Since the following commit there seems to be a malloc/free issue with testsuite/systemtap.base/stmt_rel.exp: commit 2e67a43b11d5b44f962f1c6a0ad89d96e5645a44 Author: Tim Moore Date: Tue Jun 24 14:26:52 2008 +0200 Cleanup in tapsets.cxx Running /home/mark/src/systemtap/testsuite/systemtap.base/stmt_rel.exp ... *** glibc detected *** stap: double free or corruption (fasttop): 0x00002aaab5c90d80 *** ======= Backtrace: ========= stap[0x2aaaaab722ea] [... lots more ...] FAIL... You can replicate it by hand with: ./stap testsuite/systemtap.base/stmt_rel.stp Running with export MALLOC_CHECK_=3 under gdb gives: Program received signal SIGABRT, Aborted. [Switching to Thread 46912524253104 (LWP 9937)] 0x00002aaaabc24ec5 in raise (sig=) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 64 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig); Current language: auto; currently c (gdb) bt #0 0x00002aaaabc24ec5 in raise (sig=) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #1 0x00002aaaabc26970 in abort () at abort.c:88 #2 0x00002aaaabc5f0db in __libc_message (do_abort=2, fmt=0x2aaaabd16f08 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:170 #3 0x00002aaaabc6a775 in free_check (mem=0x2aaab5c8c990, caller=) at malloc.c:5891 #4 0x00002aaaabc69ec7 in __libc_free (mem=0x6) at malloc.c:3590 #5 0x00002aaaaab722ea in dwflpp::iterate_over_srcfile_lines ( this=0x2aaaacf43a40, srcfile=0x2aaab5206320 "fs/bio.c", lines=0x7fffdef4dcb4, need_single_match=true, line_type=WILDCARD, callback=0x2aaaaab4f650 , data=0x7fffdef4db30) at auto_free.h:22 [...] -- Summary: auto_free seems to trigger *** glibc detected *** stap: double free or corruption (fasttop) Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: translator AssignedTo: systemtap at sources dot redhat dot com ReportedBy: mwielaard at redhat dot com CC: timoore at redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=6694 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.