🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Charlie Davies Thu, 10 Jun 1993 18:01
tin 1.20 HP-UX bus error -workaround-
#4453
Author: Charlie Davies
Date: Thu, 10 Jun 1993 18:01
30 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads