two more cores

Olaf Titz olaf at bigred.inka.de
Wed Feb 14 09:44:10 UTC 2001


This apparently happens during a flush all.

(gdb) bt
#0  0x8065dde in SITEforward (sp=0x81b06f0, text=0x806e090 "flush")
    at site.c:1090
#1  0x806577e in SITEflush (sp=0x81b06f0, Restart=1) at site.c:802
#2  0x8053522 in CCflush (av=0xbfffbadc) at cc.c:687
#3  0x8055376 in CCreader (cp=0x40372280) at cc.c:1870
#4  0x8057109 in CHANreadloop () at chan.c:1023
#5  0x805a2d4 in main (ac=4, av=0xbffffe84) at innd.c:637
(gdb)

And here, I don't know how it happens, but it looks to me the buffer
is corrupted somehow. site.c:1049 has DISPOSE(sp->Buffer.Data);

(gdb) bt
#0  0x401b79d3 in free () from /lib/libc.so.6
#1  0x8065cf0 in SITEfree (sp=0xbfffb9e0) at site.c:1049
#2  0x8053217 in CCcheckfile (unused=0xbfffbaec) at cc.c:514
#3  0x8055376 in CCreader (cp=Cannot access memory at address 0x4008.
) at cc.c:1870
Cannot access memory at address 0x4000.
(gdb) f 1
#1  0x8065cf0 in SITEfree (sp=0xbfffb9e0) at site.c:1049
1049    site.c: No such file or directory.
(gdb) p *sp
$1 = {Name = 0x0, Entry = 0x0, NameLength = 2, Exclusions = 0x0,
  Distributions = 0x0, Patterns = 0x0, Poison = 0, PoisonEntry = 0,
  Sendit = 0, Seenit = 0, IgnoreControl = 0, DistRequired = 0, IgnorePath = 0,
  ControlOnly = 0, DontWantNonExist = 0, NeedOverviewCreation = 0,
  FeedwithoutOriginator = 0, DropFiltered = 0, Hops = 0, Groupcount = 0,
  Followcount = 0, Crosscount = 0, Type = FTfile, ng = 0x0, Spooling = 0,
  SpoolName = 0x0, Working = 0, StartWriting = 0, StopWriting = 0,
  StartSpooling = 0, Param = 0x0, FileFlags = "n", '\000' <repeats 19 times>,
  MaxSize = 0, MinSize = 0, Nice = 4, Channel = 0x0, IsMaster = 0,
  Master = -1, Funnel = -1, FNLwantsnames = 0, FNLnames = {Size = 0, Used = 0,
    Left = 0, Data = 0x0}, Process = -1, pid = 0, Flushpoint = 16384,
  Buffer = {Size = 134566774, Used = -1073759508, Left = 134654434,
    Data = 0xbfffbb20 "d"}, Buffered = 0, Originator = 0x0, Next = -1,
  Prev = -1}
(gdb)

Olaf


More information about the inn-workers mailing list