Bind 9.5.0-P1 Crash 0x000a717c in cleanup_dead_nodes
bsfinkel at anl.gov
bsfinkel at anl.gov
Wed Aug 27 14:18:52 UTC 2008
At Wed, 13 Aug 2008 11:28:24 -0500 (CDT), I wrote:
>> Program terminated with signal 10, Bus error.
>> #0 0x000a717c in cleanup_dead_nodes (rbtdb=0x78f8e8, bucketnum=1544)
>> at rbtdb.c:1375
>> 1375 ISC_LIST_UNLINK(rbtdb->deadnodes[bucketnum], node, deadlink);
>>
>> [snip]
>>
>> Note that this occurred within a minute of my completing my tjhinc.com
>> testing (noted in a previous posting) and my running a "rndc dumpdb"
>> to check the contents of the cache. I am not sure if these two
>> events are related.
and JINMEI Tatuya replied:
>I believe 'rndc dumpdb' triggered the crash. We've recently fixed a
>bug that can cause various types of crash triggered by 'rndc dumpdb'.
>The fix will appear in 9.5.1b2. In the mean time, if you're
>interested please try the patch available at:
>http://www.jinmei.org/patch/rbtdb.c.diff
Against what code base is this patch written? I tried to apply it to
a 9.5.0-P2 source, and the patch command complained:
puck# cp -p ./lib/dns/rbtdb.c ./lib/dns/rbtdb.c.original
puck# cd ./lib/dns/
puck# patch -i $AFSHOME/rbtdb.c.diff
Looks like a unified context diff.
Hunk #1 succeeded at 1368 (offset 28 lines)
Hunk #2 succeeded at 1531 (offset 28 lines)
Hunk #3 succeeded at 1935 (offset 65 lines)
Hunk #4 failed at line 2045.
Hunk #5 succeeded at 3399 (offset 74 lines)
Hunk #6 succeeded at 3943 (offset 74 lines)
Hunk #8 succeeded at 3971 (offset 288 lines)
Hunk #9 succeeded at 6547 (offset 263 lines)
1 out of 9 hunks failed: saving rejects to rbtdb.c.rej
done
I see that the source for
rbtdb.c
is the same in 9.5.0, 9.5.0-P1, and 9.5.0-P2. I would prefer not
patching the source manually. Are these the correct interpretations
of the line numbers?
@@ -1440,6 +1440,49 @@ -1394
@@ -1561,6 +1604,7 @@ -1533
@@ -2000,7 +2044,6 @@ -1935
@@ -2045,40 +2088,7 @@ -1980
@@ -3475,6 +3485,7 @@ -3401
@@ -4019,6 +4030,7 @@ -3945
@@ -4048,6 +4060,7 @@ -3974
@@ -4261,6 +4274,7 @@ -4187
@@ -6809,9 +6823,7 @@ -6546
I am not an expert in the "patch" utility, and I can't determine why
hunk #4 failed.
----------------------------------------------------------------------
Barry S. Finkel
Computing and Information Systems Division
Argonne National Laboratory Phone: +1 (630) 252-7277
9700 South Cass Avenue Facsimile:+1 (630) 252-4601
Building 222, Room D209 Internet: BSFinkel at anl.gov
Argonne, IL 60439-4828 IBMMAIL: I1004994
More information about the bind-users
mailing list