|
|||||||||||
|
system/3163: csh core dumps with malloc AJ set
From: David Krause <openbsd(at)davidkrause.com>
Date: Thu Mar 20 2003 - 21:20:39 EST
System : OpenBSD 3.3 Architecture: OpenBSD.i386 Machine : i386 >Description: This is known by several people for a while now but I never filed an official bug report. csh core dumps occasionally when changing into a directory when you have /etc/malloc.conf -> AJ. Here's one of the many stack traces (they all look the same):
Core was generated by `csh'.
#0 0x4e3b in dcanon (cp=0x54140, p=0x64) at /usr/src/bin/csh/dir.c:682 #1 0x46ec in dgoto (cp=0x54140) at /usr/src/bin/csh/dir.c:419 #2 0x4904 in dfollow (cp=0x4) at /usr/src/bin/csh/dir.c:467 #3 0x459d in dochngd (v=0x4ca34, t=0x54100) at /usr/src/bin/csh/dir.c:375 #4 0xad9a in func (t=0x54100, bp=0x3fea4) at /usr/src/bin/csh/func.c:128 #5 0x16a8c in execute (t=0x54100, wanttty=26142, pipein=0x0, pipeout=0x0)
at /usr/src/bin/csh/sem.c:382
at /usr/src/bin/csh/sem.c:446
at /usr/src/bin/csh/sem.c:446
677 while (*++p) /* find next slash or end of path */
678 if (*p == '/') {
679 slash = 1;
680 *p = 0;
681 break;
682 }
683
684 if (*sp == '\0') /* if component is null */
685 if (--sp == cp) /* if path is one char (i.e. /) */
686 break;
(gdb) quit >How-To-Repeat:
Example crashes:
hermes# cd /usr/ports/
hermes# pwd
>Fix:
>Release-Note:
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:29:52 EDT |
||||||||||
|
|||||||||||