Your message dated Sat, 22 Oct 2005 00:36:47 +0200
with message-id <[EMAIL PROTECTED]>
and subject line [EMAIL PROTECTED]: Bug#231095: valgrind-calltree: calltree 
terminates with SIGSEV on call to calloc.]
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 4 Feb 2004 14:20:46 +0000
>From [EMAIL PROTECTED] Wed Feb 04 06:20:46 2004
Return-path: <[EMAIL PROTECTED]>
Received: from mesiob.obspm.fr [145.238.2.2] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1AoNtV-0007V0-00; Wed, 04 Feb 2004 06:20:45 -0800
Received: from pc-yl.obspm.fr ([EMAIL PROTECTED] [145.238.38.11])
        by mesiob.obspm.fr (8.12.3/8.12.3/SIO Observatoire de Paris - 01/01/03) 
with ESMTP id i14EJn4V021017;
        Wed, 4 Feb 2004 15:19:59 +0100
Message-Id: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Shan Mignot <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: valgrind-calltree: calltree terminates with SIGSEV on call to calloc.
X-Mailer: reportbug 2.39
Date: Wed, 04 Feb 2004 15:22:09 +0100
X-Virus-Scanned: by amavisd-milter (http://amavis.org/)
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_01 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
        version=2.60-bugs.debian.org_2004_02_01
X-Spam-Level: 

Package: valgrind-calltree
Version: 0.9.6-3
Severity: important

calltree segfaults on call to calloc:
first = (unsigned int*) calloc (USHRT_MAX, sizeof (unsigned int));

on a program (multi-threaded) that has no detected memory errors under valgrind
(memcheck). 

The exact message is:
  ==3246== Process terminating with default action of signal 11 (SIGSEGV): 
dumping core
  ==3246==  Address not mapped to object at address 0x4B
  ==3246==    at 0x40219E1C: (within /lib/libc-2.3.2.so)
  ==3246==    by 0x40219562: __libc_calloc (in /lib/libc-2.3.2.so)
  ==3246==    by 0x805C949: CBody_inverted_watershed (deblend.c:854)
  ==3246==    by 0x805787A: CBody_SplitMultiple (cbody.c:1066)

The error occurs in one of children threads. For the same program Valgrind 
reports:
==3262== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==3262== malloc/free: in use at exit: 0 bytes in 0 blocks.
==3262== malloc/free: 59582 allocs, 59582 frees, 639824038 bytes
allocated.

While a similar analysis on a RedHat 7.3 distribution with:
valgrind --version: valgrind-1.9.3
calltree --version: valgrind-1.9.6

does not segfault, though is complains about:
Thread 1: status = WaitJoiner, associated_mx = 0x0, associated_cv = 0x0
==2193==    at 0x4024E524: thread_exit_wrapper (vg_libpthread.c:603)
==2193==    by 0x4024E781: pthread_exit (vg_libpthread.c:750)
==2193==    by 0x8051444: main (gaia_detect.c:2604)
==2193==    by 0x42017588: __libc_start_main (in /lib/i686/libc-2.2.5.so)

==2193== 
==2193== Warning: pthread scheduler exited due to deadlock

Greetings, 

Shan

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux pc-yl 2.4.22 #1 Fri Nov 21 15:22:58 CET 2003 i686
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages valgrind-calltree depends on:
ii  libc6                       2.3.2.ds1-10 GNU C Library: Shared libraries an
ii  valgrind                    1:2.1.0-2    A memory debugger for x86-linux

-- no debconf information


---------------------------------------
Received: (at 231095-done) by bugs.debian.org; 21 Oct 2005 22:36:49 +0000
>From [EMAIL PROTECTED] Fri Oct 21 15:36:49 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mxout.hispeed.ch [62.2.95.247] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1ET5VJ-00072q-00; Fri, 21 Oct 2005 15:36:49 -0700
Received: from euler.niederglatt.lugs.ch (84-74-103-172.dclient.hispeed.ch 
[84.74.103.172])
        by mxout.hispeed.ch (8.12.6/8.12.6/tornado-1.0) with ESMTP id 
j9LMalag020519
        for <[EMAIL PROTECTED]>; Sat, 22 Oct 2005 00:36:47 +0200
Received: from pfrauenf by euler.niederglatt.lugs.ch with local (Exim 3.36 #1 
(Debian))
        id 1ET5VH-0008Qh-00
        for <[EMAIL PROTECTED]>; Sat, 22 Oct 2005 00:36:47 +0200
Date: Sat, 22 Oct 2005 00:36:47 +0200
To: [EMAIL PROTECTED]
Subject: [EMAIL PROTECTED]: Bug#231095: valgrind-calltree: calltree terminates 
with SIGSEV on call to calloc.]
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Operating-System: Debian GNU/Linux euler 2.6.12.6 
User-Agent: Mutt/1.5.11
From: Philipp Frauenfelder <[EMAIL PROTECTED]>
X-Virus-Scanned: ClamAV version 0.87, clamav-milter version 0.87 on 
smtp-05.tornado.cablecom.ch
X-Virus-Status: Clean
X-DCC-spamcheck-02.tornado.cablecom.ch-Metrics: smtp-05.tornado.cablecom.ch 
32701; Body=1
        Fuz1=1 Fuz2=1
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

The submitter of the bug confirms that the bug is gone.

Regards
Philipp

----- Forwarded message from Shan Mignot <[EMAIL PROTECTED]> -----

Envelope-to: [EMAIL PROTECTED]
Delivery-date: Sat, 22 Oct 2005 00:32:29 +0200
Subject: Bug#231095: valgrind-calltree: calltree terminates with SIGSEV on call 
to calloc.
Reply-To: Shan Mignot <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Date: Fri, 21 Oct 2005 15:25:11 +0200
From: Shan Mignot <[EMAIL PROTECTED]>
To: Josef Weidendorfer <[EMAIL PROTECTED]>,
        Philipp Frauenfelder <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on 
        euler.niederglatt.lugs.ch
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham 
        version=3.0.4

Dear all,

I have restored my piece of software to a status as close to the one it had on
07/09/2004 using our CVS (this should be a very good approximation of what it
really was). I have not touched anything else on my current system though
(up-to-date with debian testing) and have upgraded to the unstable versions of
valgrind and valgrind-callgring. Finally, I tried to run the very same tests I
did last year and... the bug is gone ! Callgrind produces a callgrind.out file
which seems in every aspect correct.

I really want to thank you for the amazing job you do and tell you how greatly
appreciated your follow up of bug reports are.

Shan

---------------------------------

Just for your information, I get the following outputs from memcheck and
callgrind:

[EMAIL PROTECTED] ~/temp/Pyxis/tests > valgrind --tool=memcheck ./GD 
--configfile
SelectConfig.txt --instance ad1,5  BaadeDupli_ASM1_2x2.fits
==3687== Memcheck, a memory error detector.
==3687== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==3687== Using LibVEX rev 1367, a library for dynamic binary translation.
==3687== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==3687== Using valgrind-3.0.1, a dynamic binary instrumentation framework.
==3687== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==3687== For more details, rerun with: -v
==3687==
==3687== Conditional jump or move depends on uninitialised value(s)
==3687==    at 0x1B8ECB13: (within /lib/ld-2.3.5.so)
==3687==    by 0x1B8E631C: (within /lib/ld-2.3.5.so)
==3687==    by 0x1B8F2BDD: (within /lib/ld-2.3.5.so)
==3687==    by 0x1B8E7675: (within /lib/ld-2.3.5.so)
==3687==    by 0x1B8E47C6: (within /lib/ld-2.3.5.so)
==3687==
==3687== Conditional jump or move depends on uninitialised value(s)
==3687==    at 0x1B8EC7D3: (within /lib/ld-2.3.5.so)
==3687==    by 0x1B8E631C: (within /lib/ld-2.3.5.so)
==3687==    by 0x1B8F2BDD: (within /lib/ld-2.3.5.so)
==3687==    by 0x1B8E7675: (within /lib/ld-2.3.5.so)
==3687==    by 0x1B8E47C6: (within /lib/ld-2.3.5.so)
==3687==
==3687== Conditional jump or move depends on uninitialised value(s)
==3687==    at 0x1B8EC6B6: (within /lib/ld-2.3.5.so)
==3687==    by 0x1B8E6376: (within /lib/ld-2.3.5.so)
==3687==    by 0x1B8F2BDD: (within /lib/ld-2.3.5.so)
==3687==    by 0x1B8E7675: (within /lib/ld-2.3.5.so)
==3687==    by 0x1B8E47C6: (within /lib/ld-2.3.5.so)
==3687==
==3687== Conditional jump or move depends on uninitialised value(s)
==3687==    at 0x1B8EC6C2: (within /lib/ld-2.3.5.so)
==3687==    by 0x1B8E6376: (within /lib/ld-2.3.5.so)
==3687==    by 0x1B8F2BDD: (within /lib/ld-2.3.5.so)
==3687==    by 0x1B8E7675: (within /lib/ld-2.3.5.so)
==3687==    by 0x1B8E47C6: (within /lib/ld-2.3.5.so)
==3687==
==3687== Conditional jump or move depends on uninitialised value(s)
==3687==    at 0x1B8EC7D3: (within /lib/ld-2.3.5.so)
==3687==    by 0x1B8E6376: (within /lib/ld-2.3.5.so)
==3687==    by 0x1B8F2BDD: (within /lib/ld-2.3.5.so)
==3687==    by 0x1B8E7675: (within /lib/ld-2.3.5.so)
==3687==    by 0x1B8E47C6: (within /lib/ld-2.3.5.so)
SNR1=1.40 SNR2=4.40  RON=13.90 BIAS=0.000000
AL Margins : 17 337
2717 objects found.
==3687==
==3687== ERROR SUMMARY: 17 errors from 5 contexts (suppressed: 12 from 7)
==3687== malloc/free: in use at exit: 8160 bytes in 1 blocks.
==3687== malloc/free: 75368 allocs, 75367 frees, 862817597 bytes allocated.
==3687== For counts of detected errors, rerun with: -v
==3687== searching for pointers to 1 not-freed blocks.
==3687== checked 409600 bytes.
==3687==
==3687== LEAK SUMMARY:
==3687==    definitely lost: 8160 bytes in 1 blocks.
==3687==      possibly lost: 0 bytes in 0 blocks.
==3687==    still reachable: 0 bytes in 0 blocks.
==3687==         suppressed: 0 bytes in 0 blocks.
==3687== Use --leak-check=full to see details of leaked memory.

[EMAIL PROTECTED] ~/temp/Pyxis/tests > valgrind --tool=callgrind ./GD 
--configfile
SelectConfig.txt --instance ad1,5  BaadeDupli_ASM1_2x2.fits
==3697== Callgrind-0.10.0, a call-graph generating cache profiler.
==3697== Copyright (C) 2002-2005, and GNU GPL'd, by J.Weidendorfer, N.Nethercote
et al.
==3697== Using LibVEX rev 1367, a library for dynamic binary translation.
==3697== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==3697== Using valgrind-3.0.1, a dynamic binary instrumentation framework.
==3697== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==3697== For more details, rerun with: -v
==3697==
SNR1=1.40 SNR2=4.40  RON=13.90 BIAS=0.000000
AL Margins : 17 337
2717 objects found.
==3697==
==3697== Events    : Ir
==3697== Collected : 198821900
==3697==
==3697== I   refs:      198,821,900


----- End forwarded message -----

-- 
Philipp      | work: [EMAIL PROTECTED] +41 1 802 20 00
Frauenfelder | home: [EMAIL PROTECTED] +41 1 862 73 14
[PGP]        | http://www.frauenfelder-kuerner.ch/
Proudly running Debian GNU/Linux. See http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to