NetBSD Problem Report #26612

Received: (qmail 18904 invoked by uid 605); 11 Aug 2004 00:22:34 -0000
Message-Id: <200408110022.i7B0MSRx018671@sdf.lonestar.org>
Date: Tue, 10 Aug 2004 17:22:28 -0700 (PDT)
From: xcitor@sdf.lonestar.org
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: xcitor@sdf.lonestar.org
To: gnats-bugs@gnats.netbsd.org
Subject: possible bug with remind packages collection
X-Send-Pr-Version: 3.95

>Number:         26612
>Category:       pkg
>Synopsis:       running `rem' or `remind ~/.reminders' produces remind in free(): warning: modified (chunk-) pointer.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kim
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 11 00:23:00 +0000 2004
>Closed-Date:    Thu Nov 25 04:37:22 +0000 2004
>Last-Modified:  Thu Nov 25 04:37:22 +0000 2004
>Originator:     xcitor
>Release:        NetBSD 1.6.2_STABLE
>Organization:
sdf.lonestar.org
>Environment:


System: NetBSD sverige 1.6.2_STABLE NetBSD 1.6.2_STABLE (sdf) #0: Sun Jul 25 04:17:09 UTC 2004 root@ol:/var/src/src/sys/arch/alpha/compile/sdf alpha
Architecture: alpha
Machine: alpha
>Description:
synopsis states it all. i've tried to debug to the best of my ability.
suspecting a malloc problem, i consulted the malloc(3) man page and saw:

     modified (chunk-/page-) pointer
             The pointer passed to free() or realloc() has been modified.

and i then i gave `MALLOC_OPTIONS' the value of `AJ' in my environment
to get remind to dump core on any malloc-related failure. i got a core
file, but it didnt' do me much good, as debugging symbols weren't
included.

so i got a virgin copy of the remind sources (the same version in
the packages collection) and tried to build myself with debugging
symbols turned on. unfortunately, that version didn't dump core, so i'm
at a loss. and i've about exhausted my knowlege in this area.
>How-To-Repeat:
run `rem' or `remind ~/.reminders', but i have no idea if this will
behave in such a way on any other system than this one, as i don't have
access to any other similar systems.
>Fix:
none known by me.
>Release-Note:
>Audit-Trail:

From: Ben Collver <ben@NetBSD.org>
To: xcitor@sdf.lonestar.org
Cc: gnats-bugs@gnats.NetBSD.org
Subject: Re: pkg/26612: possible bug with remind packages collection
Date: Wed, 11 Aug 2004 10:08:28 -0700

 On Tue, Aug 10, 2004 at 05:22:28PM -0700, xcitor@sdf.lonestar.org wrote:
 > synopsis states it all. i've tried to debug to the best of my ability.
 > suspecting a malloc problem, i consulted the malloc(3) man page and saw:
 > 
 >      modified (chunk-/page-) pointer
 >              The pointer passed to free() or realloc() has been modified.
 > 
 > and i then i gave `MALLOC_OPTIONS' the value of `AJ' in my environment
 > to get remind to dump core on any malloc-related failure. i got a core
 > file, but it didnt' do me much good, as debugging symbols weren't
 > included.
 > 
 > so i got a virgin copy of the remind sources (the same version in
 > the packages collection) and tried to build myself with debugging
 > symbols turned on. unfortunately, that version didn't dump core, so i'm
 > at a loss. and i've about exhausted my knowlege in this area.

 Odd that your build behaves differently.

 Just on a lark, could you try adding a "CFLAGS=	-O0" line before the
 GNU_CONFIGURE line in time/remind/Makefile and see if that helps?

 Thank you,

 Ben
Responsible-Changed-From-To: pkg-manager->kim 
Responsible-Changed-By: ben 
Responsible-Changed-When: Thu Aug 19 13:23:15 UTC 2004 
Responsible-Changed-Why:  
Assigned to kim, the package maintainer. 
From: Kimmo Suominen <kim@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/26612 CVS commit: pkgsrc/time/remind
Date: Wed, 24 Nov 2004 23:04:41 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	kim
 Date:		Wed Nov 24 23:04:41 UTC 2004

 Modified Files:
 	pkgsrc/time/remind: Makefile distinfo
 	pkgsrc/time/remind/patches: patch-ac

 Log Message:
 Fixed the globbing in patch-ac (thanks Christos), to avoid errors from free.

 Closes PR pkg/26612


 To generate a diff of this commit:
 cvs rdiff -r1.4 -r1.5 pkgsrc/time/remind/Makefile
 cvs rdiff -r1.2 -r1.3 pkgsrc/time/remind/distinfo
 cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/time/remind/patches/patch-ac

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: kim@netbsd.org
State-Changed-When: Thu, 25 Nov 2004 04:37:22 +0000
State-Changed-Why:
Fixed in remind-3.0.22nb1


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.