gnunet-developers
[Top][All Lists]
Advanced

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

Re: [GNUnet-developers] Re: [patch] BDB crash


From: Tom Barnes-Lawrence
Subject: Re: [GNUnet-developers] Re: [patch] BDB crash
Date: Sat, 10 May 2003 13:03:14 +0100
User-agent: Mutt/1.3.28i

On Sat, May 10, 2003 at 01:07:52PM +0100, N. Durner wrote:
> >   Was the patch supposed to be against v0.5.3 (which I applied it to) or
> > a CVS version?
> I diffed against the CVS. But if patch didn't complain, everthing went
> fine...
 That first one didn't and neither did this one.

> > I don't remember anyone saying which version it was written for.
> I use 4, 3 should work, too.
  There's a db4? I feel ignorant now ;)

> Please try the attached patch, it provides additional debug info (don't
> forget "-L DEBUG").
 Done!
After a minute or so of spewing out messages about receiving queries for
(whatever) with very negative ttls, this much seemed reasonably relevant:

May 10 12:54:20 BDB: Retrieving count of entries
May 10 12:54:20 count = *
May 10 12:54:20 freeing mem
May 10 12:54:20 mem freed
May 10 12:54:20 BDB: Retrieving count of entries
May 10 12:54:20 count = *
May 10 12:54:20 freeing mem
May 10 12:54:20 mem freed
May 10 12:54:20 BDB: Retrieving count of entries
May 10 12:54:20 count = *
May 10 12:54:20 freeing mem
May 10 12:54:20 mem freed
May 10 12:54:20 BDB: Retrieving count of entries
May 10 12:54:20 count = *
May 10 12:54:20 freeing mem
May 10 12:54:20 mem freed
May 10 12:54:20 BDB: Retrieving data for key
79B6EB36332726D177526CEE82368EACEF0E6674May 10 12:54:20 BDB: Retrieving data
for key 79B6EB36332726D177526CEE82368EACEF0E6674May 10 12:54:20 BDB: Storing
data with the key 79B6EB36332726D177526CEE82368EACEF0E6674May 10 12:54:20
BDB: Retrieving count of entries
May 10 12:54:20 before lowForEachEntry
May 10 12:54:20 before memsets
May 10 12:54:20 BDB: Iterating through the database
May 10 12:54:20 cursor created

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 3076 (LWP 4981)]
0x00000082 in ?? ()

and ba then produced

#0  0x00000082 in ?? ()
#1  0x40377987 in lowCountContentEntries (handle=0x8061850) at low_bdb.c:333
#2  0x40377ba2 in lowWriteContent (handle=0x8061850, name=0xbf3ff8b0, 
    len=1056, block=0x80ef978) at low_bdb.c:427
#3  0x403760aa in writeContent (handle=0x805ce90, ce=0xbf3ff990, len=1024, 
    block=0x80ede84) at high_simple.c:462
#4  0x4026d74f in insertContent (ce=0xbf3ff990, len=1024, data=0x80ede84, 
    sender=0x80ed2d4, duplicate=0xbf3ff98c) at manager.c:689
#5  0x4025ef7d in handleCHK_CONTENT (sender=0x80ed2d4, msg=0x80ede80)
    at handler.c:189
#6  0x0804d77b in handleHelper (msg=0x80ede30 "", sender=0x80ed2d4,
size=1444, 
    crc=-228747898) at handler.c:147
#7  0x0804d954 in handleMessage (tsession=0x0, sender=0x80ed2d4, 
    msg=0x80ef270, size=1444, isEncrypted=1, crc=-228747898) at
handler.c:256
#8  0x0804ce3e in threadMain (id=-1073744424) at core.c:130
#9  0x401310ba in pthread_start_thread () from /lib/libpthread.so.0
#10 0x40131101 in pthread_start_thread_event () from /lib/libpthread.so.0


...which I notice is different from last time. Oooeeeoooo! ;)
Hope you can get something of use from all that!

Good luck,
Tomble




reply via email to

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