Hi, I'm new to mac, I started about a month ago with my lovely iMac: 2.4ghz Intel Core Duo 4 GB RAM running Mac OS X Leopard 10.5.2.
This kernel panic happens randomly like perhaps a few times a day (sometimes more) when I do every kind of things.
Here is the report i got once i restarted my iMac;
Tue May 13 16:40:27 2008
panic(cpu 1 caller 0x0031678A): "btree_swap_node: about to write corrupt node!\n"@/SourceCache/xnu/xnu-1228.4.31/bsd/hfs/hfs_btreeio.c:197
Backtrace, Format - Frame : Return Address (4 potential args on stack)
0x5b02b7f8 : 0x12b0f7 (0x4581f4 0x5b02b82c 0x133230 0x0)
0x5b02b848 : 0x31678a (0x484588 0xeb90f80 0x1 0x23ac6252)
0x5b02b888 : 0x1fa244 (0x56c8fcf0 0x7f05804 0x0 0x0)
0x5b02b948 : 0x1fab7f (0x0 0x5b02b96c 0x0 0x0)
0x5b02b988 : 0x33e2eb (0x6a78e08 0x1 0x2 0x488694)
0x5b02ba18 : 0x32d22e (0xee83710 0x1 0x1 0x6b4de40)
0x5b02ba98 : 0x1f6039 (0x5b02bac8 0x246 0x5b02baf8 0x1da207)
0x5b02baf8 : 0x367ea6 (0xee83710 0x33 0x0 0x0)
0x5b02bf78 : 0x3dcf13 (0x6b4de40 0x7480680 0x74806c4 0x7662048)
0x5b02bfc8 : 0x19f1c3 (0x75ff4e0 0x0 0x1a20b5 0x78cf3c8)
No mapping exists for frame pointer
Backtrace terminated-invalid frame pointer 0xb05928b8
BSD process name corresponding to current thread: mds
Mac OS version:
9C7010
Kernel version:
Darwin Kernel Version 9.2.2: Tue Mar 4 21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386
System model name: iMac7,1 (Mac-F42386C8)
I'd sincerely appreciate if someone can help me out, because I don't know what's happening and I'm getting worried about my data.
Many thanks to everybody.

HELP! Happened again a minute ago...
Tue May 13 17:41:43 2008
panic(cpu 1 caller 0x0031678A): "btree_swap_node: about to write corrupt node!\n"@/SourceCache/xnu/xnu-1228.4.31/bsd/hfs/hfs_btreeio.c:197
Backtrace, Format - Frame : Return Address (4 potential args on stack)
0x54f57ca8 : 0x12b0f7 (0x4581f4 0x54f57cdc 0x133230 0x0)
0x54f57cf8 : 0x31678a (0x484588 0xc025d80 0x1 0x2000)
0x54f57d38 : 0x1fa244 (0x56c50630 0x7f94004 0x0 0x0)
0x54f57df8 : 0x1fab7f (0x0 0x2 0x54f57e38 0x327686)
0x54f57e38 : 0x3331b2 (0x6b08e08 0x52124c 0x0 0x6bb7e70)
0x54f57ea8 : 0x1f6791 (0x7703260 0x2 0x6613144 0x1f5d49)
0x54f57ee8 : 0x1e022c (0x7703260 0x2 0x6613144 0x0)
0x54f57f08 : 0x1daf8d (0x7703260 0x0 0x1 0x13696d)
0x54f57f48 : 0x1e0261 (0x1 0x1e01f4 0x0 0x138eb7)
0x54f57f78 : 0x3dcf13 (0x6bb7e70 0x6613040 0x6613084 0x685a4f0)
0x54f57fc8 : 0x19f1c3 (0x6618f80 0x1 0x1a20b5 0x7144000)
No mapping exists for frame pointer
Backtrace terminated-invalid frame pointer 0xbfffff18
BSD process name corresponding to current thread: update
Mac OS version:
9C7010
Kernel version:
Darwin Kernel Version 9.2.2: Tue Mar 4 21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386
System model name: iMac7,1 (Mac-F42386C8)
This kernel panic happens randomly like perhaps a few times a day (sometimes more) when I do every kind of things.
Here is the report i got once i restarted my iMac;
Tue May 13 16:40:27 2008
panic(cpu 1 caller 0x0031678A): "btree_swap_node: about to write corrupt node!\n"@/SourceCache/xnu/xnu-1228.4.31/bsd/hfs/hfs_btreeio.c:197
Backtrace, Format - Frame : Return Address (4 potential args on stack)
0x5b02b7f8 : 0x12b0f7 (0x4581f4 0x5b02b82c 0x133230 0x0)
0x5b02b848 : 0x31678a (0x484588 0xeb90f80 0x1 0x23ac6252)
0x5b02b888 : 0x1fa244 (0x56c8fcf0 0x7f05804 0x0 0x0)
0x5b02b948 : 0x1fab7f (0x0 0x5b02b96c 0x0 0x0)
0x5b02b988 : 0x33e2eb (0x6a78e08 0x1 0x2 0x488694)
0x5b02ba18 : 0x32d22e (0xee83710 0x1 0x1 0x6b4de40)
0x5b02ba98 : 0x1f6039 (0x5b02bac8 0x246 0x5b02baf8 0x1da207)
0x5b02baf8 : 0x367ea6 (0xee83710 0x33 0x0 0x0)
0x5b02bf78 : 0x3dcf13 (0x6b4de40 0x7480680 0x74806c4 0x7662048)
0x5b02bfc8 : 0x19f1c3 (0x75ff4e0 0x0 0x1a20b5 0x78cf3c8)
No mapping exists for frame pointer
Backtrace terminated-invalid frame pointer 0xb05928b8
BSD process name corresponding to current thread: mds
Mac OS version:
9C7010
Kernel version:
Darwin Kernel Version 9.2.2: Tue Mar 4 21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386
System model name: iMac7,1 (Mac-F42386C8)
I'd sincerely appreciate if someone can help me out, because I don't know what's happening and I'm getting worried about my data.
Many thanks to everybody.
HELP! Happened again a minute ago...
Tue May 13 17:41:43 2008
panic(cpu 1 caller 0x0031678A): "btree_swap_node: about to write corrupt node!\n"@/SourceCache/xnu/xnu-1228.4.31/bsd/hfs/hfs_btreeio.c:197
Backtrace, Format - Frame : Return Address (4 potential args on stack)
0x54f57ca8 : 0x12b0f7 (0x4581f4 0x54f57cdc 0x133230 0x0)
0x54f57cf8 : 0x31678a (0x484588 0xc025d80 0x1 0x2000)
0x54f57d38 : 0x1fa244 (0x56c50630 0x7f94004 0x0 0x0)
0x54f57df8 : 0x1fab7f (0x0 0x2 0x54f57e38 0x327686)
0x54f57e38 : 0x3331b2 (0x6b08e08 0x52124c 0x0 0x6bb7e70)
0x54f57ea8 : 0x1f6791 (0x7703260 0x2 0x6613144 0x1f5d49)
0x54f57ee8 : 0x1e022c (0x7703260 0x2 0x6613144 0x0)
0x54f57f08 : 0x1daf8d (0x7703260 0x0 0x1 0x13696d)
0x54f57f48 : 0x1e0261 (0x1 0x1e01f4 0x0 0x138eb7)
0x54f57f78 : 0x3dcf13 (0x6bb7e70 0x6613040 0x6613084 0x685a4f0)
0x54f57fc8 : 0x19f1c3 (0x6618f80 0x1 0x1a20b5 0x7144000)
No mapping exists for frame pointer
Backtrace terminated-invalid frame pointer 0xbfffff18
BSD process name corresponding to current thread: update
Mac OS version:
9C7010
Kernel version:
Darwin Kernel Version 9.2.2: Tue Mar 4 21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386
System model name: iMac7,1 (Mac-F42386C8)