gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] [1.1pre9] double free?


From: Ollivier Robert
Subject: Re: [Gnu-arch-users] [1.1pre9] double free?
Date: Wed, 26 Nov 2003 17:02:40 +0100
User-agent: Mutt/1.5.3i

According to Ollivier Robert:
> I'm recompiling with -g to find where.

More on this:

*** malloc[3673]: Deallocation of a pointer not malloced: 0x300567; This
could be a double free(), or free() called with the middle of an allocated
block; Try setting environment variable MallocHelp to see tools to help
debug

Program received signal SIGABRT, Aborted.
0x90042aac in kill ()
(gdb) where
#0  0x90042aac in kill ()
#1  0x9009ec5c in abort ()
#2  0x900010c0 in free ()
#3  0x0007de6c in must_free (ptr=0x300567) at
/Volumes/Users/roberto/Build/tla-1.1pre9/src/hackerlab/mem/must-malloc.c:96
#4  0x00062d78 in lim_free (limits=0x0, ptr=0x300567) at
/Volumes/Users/roberto/Build/tla-1.1pre9/src/hackerlab/mem/alloc-limits.c:601
#5  0x000555d4 in arch_pfs_dav_connect (uri=0x300450
"http://arch.quackerhead.com/~lord/archives/address@hidden";) at
/Volumes/Users/roberto/Build/tla-1.1pre9/src/tla/libarch/pfs-dav.c:248
#6  0x00052a9c in arch_pfs_connect (uri=0x300450
"http://arch.quackerhead.com/~lord/archives/address@hidden";) at
/Volumes/Users/roberto/Build/tla-1.1pre9/src/tla/libarch/pfs.c:175
#7  0x0004f200 in arch_pfs_archive_connect (a=0xbffff8b0) at
/Volumes/Users/roberto/Build/tla-1.1pre9/src/tla/libarch/archive-pfs.c:171
#8  0x0001d310 in arch_archive_connect_location (name=0x3001f0
"address@hidden", location=0x3004b0
"http://arch.quackerhead.com/~lord/archives/address@hidden";,
want_mirror_of=0x0) at
/Volumes/Users/roberto/Build/tla-1.1pre9/src/tla/libarch/archive.c:96
#9  0x0001d55c in arch_archive_connect (name=0x3001f0
"address@hidden", want_mirror_of=0x0) at
/Volumes/Users/roberto/Build/tla-1.1pre9/src/tla/libarch/archive.c:145
#10 0x0001c2a8 in arch_cmd_update (program_name=0x300140 "tla update",
argc=1, argv=0xbffffb48) at
/Volumes/Users/roberto/Build/tla-1.1pre9/src/tla/libarch/cmd-update.c:214
#11 0x00002608 in main (argc=2, argv=0xbffffb44) at
/Volumes/Users/roberto/Build/tla-1.1pre9/src/tla/tla/tla.c:85

On FreeBSD, which uses a nice malloc too, I get this:

447 [16:59] address@hidden:build/tla-zsh> tla update
tla in free(): warning: modified (chunk-) pointer

It happens here:

(gdb) up
#5  0x000555d4 in arch_pfs_dav_connect (uri=0x300450
"http://arch.quackerhead.com/~lord/archives/address@hidden";) at
/Volumes/Users/roberto/Build/tla-1.1pre9/src/tla/libarch/pfs-dav.c:248
248       lim_free (0, proxy);
(gdb) l
243       if (root_path)
244         dav_client_cwd (answer, root_path);
245
246       lim_free (0, host);
247       lim_free (0, root_path);
248       lim_free (0, proxy);
249
250       return (struct arch_pfs_session *)answer;
251     }
252

http_proxy is set to « http://matrix:8080 » (it complains if it ends with a
"/").
-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- address@hidden
Darwin snuadh.freenix.org Kernel Version 7.0.0: Wed Sep 24 15:48:39 PDT 2003




reply via email to

[Prev in Thread] Current Thread [Next in Thread]