Article View: news.software.readers
Article #4453tin 1.20 HP-UX bus error -workaround-
From: Charlie Davies
Date: Thu, 10 Jun 1993 18:01
Date: Thu, 10 Jun 1993 18:01
30 lines
1741 bytes
1741 bytes
I previously posted this bug to news.software.readers:
When tind finishes updating central index files, it gets
a SIGBUS in free_active_arrays() at line 320 of memory.c.
tin 1.20
HP 9000/827 HP-UX 8.02
HP's C compiler
INN, central index file, suid
no NNTP
I spent a little time trying to find this bug, even rewriting
my_malloc(), my_realloc(), and adding my_free(), but was
unable to find any pointer bugs. In fact, when I compile
with my debugging version of memory.c, the bug goes away.
Ian may be glad to know that nowhere did I find any evidence
of array/string over-or-underwriting!
At this point my guess is either an HP-UX bug in
malloc(), or a wild pointer somewhere that is trashing
the malloc library's private data.
In any case, I've found that the problem also goes away
when I link statically. Anyone else who has this problem
can "fix" it this way, and avoid all those annoying messages
from cron about tind.
---
Charlie Davies : cdavies@qntm.com -or- cdavies@tannen.com
Technical Details
Message-ID:
<1v7stf$e2d@worf.qntm.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!wupost!uunet!news!worf.qntm.com!worf.qntm.com!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <1v7stf$e2d@worf.qntm.com> Subject: tin 1.20 HP-UX bus error -workaround- Date: Thu, 10 Jun 1993 18:01:19 +0000 From: cdavies@worf.qntm.com (Charlie Davies) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!wupost!uunet!news!worf.qntm.com!worf.qntm.com!not-for-mail Newsgroups: news.software.readers Organization: Quantum Corp. Milpitas CA USA Lines: 30 NNTP-Posting-Host: worf.qntm.com X-Newsreader: TIN [version 1.2 PL0]