[Top][All Lists]
[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: |
Sun, 11 May 2003 03:06:11 +0100 |
User-agent: |
Mutt/1.3.28i |
On Sat, May 10, 2003 at 02:41:28PM +0100, N. Durner wrote:
> > There's a db4? I feel ignorant now ;)
> Yes, you can get if from http://www.sleepycat.com/download/index.shtml or
> Debian testing.
Hmm. I'll give that a thought, but if the bdb module is supposed to be
compatible with both (useful for those of us who don't want to be on the
bleeding edge all the time ;)) then maybe it's best if I carry on with
db3 to see whether or not the version affects the crashes.
> Thanks, I think you have found yet another bug... :-)
>
> Please try the attached patch.
Done. Also, I was a bit confused when I got the different type of crash
after applying the patch that (seemingly) only added more debug notes,
so this time I tried getting a few crashes, mostly just sitting and
waiting for the crash, one time running gnunet-stats once as well, and
the last time trying a search.
Each crash looks exactly the same to me though, other than the timestamps
and some other such numbers, so here's just the first instead:
May 11 02:23:42 BDB: Retrieving count of entries
May 11 02:23:42 count = *
May 11 02:23:42 freeing mem
May 11 02:23:42 mem freed
May 11 02:23:42 BDB: Retrieving count of entries
May 11 02:23:42 count = *
May 11 02:23:42 freeing mem
May 11 02:23:42 mem freed
May 11 02:23:42 BDB: Retrieving count of entries
May 11 02:23:42 count = *
May 11 02:23:42 freeing mem
May 11 02:23:42 mem freed
May 11 02:23:42 BDB: Retrieving count of entries
May 11 02:23:42 count = *
May 11 02:23:42 freeing mem
May 11 02:23:42 mem freed
May 11 02:23:42 BDB: Retrieving data for key
081368990F3F0F2EEA453C3C0F4708EEB69
F7B94May 11 02:23:42 BDB: Retrieving data for key
081368990F3F0F2EEA453C3C0F4708
EEB69F7B94May 11 02:23:42 BDB: Storing data with the key
081368990F3F0F2EEA453C3
C0F4708EEB69F7B94May 11 02:23:42 BDB: Retrieving count of entries
May 11 02:23:42 before lowForEachEntry
May 11 02:23:42 before memsets
May 11 02:23:42 BDB: Iterating through the database
May 11 02:23:42 cursor created
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2051 (LWP 6562)]
0x00000082 in ?? ()
(gdb) ba
#0 0x00000082 in ?? ()
#1 0x403779bb in lowCountContentEntries (handle=0x8061400) at low_bdb.c:344
#2 0x40377bda in lowWriteContent (handle=0x8061400, name=0xbf5ff8b0,
len=1056, block=0x80ef588) at low_bdb.c:438
#3 0x403760aa in writeContent (handle=0x805d520, ce=0xbf5ff990, len=1024,
block=0x80fc094) at high_simple.c:462
#4 0x4026d74f in insertContent (ce=0xbf5ff990, len=1024, data=0x80fc094,
sender=0x805b13c, duplicate=0xbf5ff98c) at manager.c:689
#5 0x4025ef7d in handleCHK_CONTENT (sender=0x805b13c, msg=0x80fc090)
at handler.c:189
#6 0x0804d77b in handleHelper (msg=0x80fc088 "", sender=0x805b13c,
size=1452,
crc=2031231545) at handler.c:147
#7 0x0804d954 in handleMessage (tsession=0x80fd2c8, sender=0x805b13c,
msg=0x80eef70, size=1452, isEncrypted=1, crc=2031231545) 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
Tomble
- [GNUnet-developers] [patch] BDB crash, N. Durner, 2003/05/08
- [GNUnet-developers] Re: [patch] BDB crash, Tom Barnes-Lawrence, 2003/05/08
- Re: [GNUnet-developers] Re: [patch] BDB crash, N. Durner, 2003/05/09
- Re: [GNUnet-developers] Re: [patch] BDB crash, Tom Barnes-Lawrence, 2003/05/09
- [GNUnet-developers] Re: [patch] BDB crash, N. Durner, 2003/05/10
- Re: [GNUnet-developers] Re: [patch] BDB crash, Tom Barnes-Lawrence, 2003/05/10
- Re: [GNUnet-developers] Re: [patch] BDB crash, N. Durner, 2003/05/10
- Re: [GNUnet-developers] Re: [patch] BDB crash,
Tom Barnes-Lawrence <=
- Re: [GNUnet-developers] Re: [patch] BDB crash, N. Durner, 2003/05/11
- Re: [GNUnet-developers] Re: [patch] BDB crash, Tom Barnes-Lawrence, 2003/05/11
- Re: [GNUnet-developers] Re: [patch] BDB crash, Tom Barnes-Lawrence, 2003/05/11
- [GNUnet-developers] Re: [patch] BDB crash, N. Durner, 2003/05/12