BUG #3254: unexpected data beyond EOF in block

From: "Mario Santini" <mario1(dot)santini(at)telecomitalia(dot)it>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #3254: unexpected data beyond EOF in block
Date: 2007-04-26 07:54:19
Message-ID: 200704260754.l3Q7sJE0053415@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 3254
Logged by: Mario Santini
Email address: mario1(dot)santini(at)telecomitalia(dot)it
PostgreSQL version: 8.2.3
Operating system: CentOS
Description: unexpected data beyond EOF in block
Details:

Hello,
I use Mediawiki 1.9.3 with PostgreSQL 8.2.3 on a Linux CentOS :

Linux kabul.sodalia.it 2.6.9-34.ELsmp #1 SMP Wed Mar 8 00:27:03 CST 2006
i686 i686 i386 GNU/Linux

And cpu :

x86info v1.13. Dave Jones 2001-2003
Feedback to <davej(at)redhat(dot)com>.

Found 4 CPUs
MP Table:
# APIC ID Version State Family Model Step Flags
# 0 0x14 BSP, usable 15 4 10 0xbfebfbff
# 6 0x14 AP, usable 15 4 10 0xbfebfbff

--------------------------------------------------------------------------
CPU #1
/dev/cpu/0/cpuid: No such file or directory
eax in: 0x00000000, eax = 00000005 ebx = 756e6547 ecx = 6c65746e edx =
49656e69
eax in: 0x00000001, eax = 00000f4a ebx = 06020800 ecx = 0000659d edx =
bfebfbff
eax in: 0x00000002, eax = 605b5001 ebx = 00000000 ecx = 00000000 edx =
007d7040
eax in: 0x00000003, eax = 00000000 ebx = 00000000 ecx = 00000000 edx =
00000000
eax in: 0x00000004, eax = 00004121 ebx = 01c0003f ecx = 0000001f edx =
00000000
eax in: 0x00000005, eax = 00000040 ebx = 00000040 ecx = 00000000 edx =
00000000

eax in: 0x80000000, eax = 80000008 ebx = 00000000 ecx = 00000000 edx =
00000000
eax in: 0x80000001, eax = 00000000 ebx = 00000000 ecx = 00000001 edx =
20000000
eax in: 0x80000002, eax = 20202020 ebx = 20202020 ecx = 20202020 edx =
20202020
eax in: 0x80000003, eax = 6e492020 ebx = 286c6574 ecx = 58202952 edx =
286e6f65
eax in: 0x80000004, eax = 20294d54 ebx = 20555043 ecx = 30382e33 edx =
007a4847
eax in: 0x80000005, eax = 00000000 ebx = 00000000 ecx = 00000000 edx =
00000000
eax in: 0x80000006, eax = 00000000 ebx = 00000000 ecx = 08006040 edx =
00000000
eax in: 0x80000007, eax = 00000000 ebx = 00000000 ecx = 00000000 edx =
00000000
eax in: 0x80000008, eax = 00003024 ebx = 00000000 ecx = 00000000 edx =
00000000

Family: 15 Model: 4 Stepping: 10 Type: 0 Brand: 0
CPU Model: Pentium 4 Xeon (Foster) Original OEM
Processor name string: Intel(R) Xeon(TM) CPU 3.80GHz

Feature flags:
Onboard FPU
Virtual Mode Extensions
Debugging Extensions
Page Size Extensions
Time Stamp Counter
Model-Specific Registers
Physical Address Extensions
Machine Check Architecture
CMPXCHG8 instruction
Onboard APIC
SYSENTER/SYSEXIT
Memory Type Range Registers
Page Global Enable
Machine Check Architecture
CMOV instruction
Page Attribute Table
36-bit PSEs
CLFLUSH instruction
Debug Trace Store
ACPI via MSR
MMX support
FXSAVE and FXRESTORE instructions
SSE support
SSE2 support
CPU self snoop
Hyper-Threading
Automatic clock Control
Pending Break Enable

Extended feature flags:
est tm2 cntx-id
Pentium 4 specific MSRs:
/dev/cpu/0/msr: No such file or directory

Instruction trace cache:
Size: 12K uOps 8-way associative.
L1 Data cache:
Size: 16KB Sectored, 8-way associative.
line size=64 bytes.
Instruction TLB: 4K, 2MB or 4MB pages, fully associative, 64 entries.
Data TLB: 4KB or 4MB pages, fully associative, 64 entries.
Processor serial: 0000-0F4A-0000-0000-0000-0000
The physical package supports 2 logical processors

Connector type: Socket603 (PGA603 Socket)

MTRR registers:
MTRRcap (0xfe): MTRRphysBase0 (0x200): MTRRphysMask0 (0x201): MTRRphysBase1
(0x202): MTRRphysMask1 (0x203): MTRRphysBase2 (0x204): MTRRphysMask2
(0x205): MTRRphysBase3 (0x206): MTRRphysMask3 (0x207): MTRRphysBase4
(0x208): MTRRphysMask4 (0x209): MTRRphysBase5 (0x20a): MTRRphysMask5
(0x20b): MTRRphysBase6 (0x20c): MTRRphysMask6 (0x20d): MTRRphysBase7
(0x20e): MTRRphysMask7 (0x20f): MTRRfix64K_00000 (0x250): MTRRfix16K_80000
(0x258): MTRRfix16K_A0000 (0x259): MTRRfix4K_C8000 (0x269): MTRRfix4K_D0000
0x26a: MTRRfix4K_D8000 0x26b: MTRRfix4K_E0000 0x26c: MTRRfix4K_E8000 0x26d:
MTRRfix4K_F0000 0x26e: MTRRfix4K_F8000 0x26f: MTRRdefType (0x2ff):

3.8Ghz processor (estimate).

--------------------------------------------------------------------------
CPU #2
eax in: 0x00000000, eax = 00000005 ebx = 756e6547 ecx = 6c65746e edx =
49656e69
eax in: 0x00000001, eax = 00000f4a ebx = 06020800 ecx = 0000659d edx =
bfebfbff
eax in: 0x00000002, eax = 605b5001 ebx = 00000000 ecx = 00000000 edx =
007d7040
eax in: 0x00000003, eax = 00000000 ebx = 00000000 ecx = 00000000 edx =
00000000
eax in: 0x00000004, eax = 00004121 ebx = 01c0003f ecx = 0000001f edx =
00000000
eax in: 0x00000005, eax = 00000040 ebx = 00000040 ecx = 00000000 edx =
00000000

eax in: 0x80000000, eax = 80000008 ebx = 00000000 ecx = 00000000 edx =
00000000
eax in: 0x80000001, eax = 00000000 ebx = 00000000 ecx = 00000001 edx =
20000000
eax in: 0x80000002, eax = 20202020 ebx = 20202020 ecx = 20202020 edx =
20202020
eax in: 0x80000003, eax = 6e492020 ebx = 286c6574 ecx = 58202952 edx =
286e6f65
eax in: 0x80000004, eax = 20294d54 ebx = 20555043 ecx = 30382e33 edx =
007a4847
eax in: 0x80000005, eax = 00000000 ebx = 00000000 ecx = 00000000 edx =
00000000
eax in: 0x80000006, eax = 00000000 ebx = 00000000 ecx = 08006040 edx =
00000000
eax in: 0x80000007, eax = 00000000 ebx = 00000000 ecx = 00000000 edx =
00000000
eax in: 0x80000008, eax = 00003024 ebx = 00000000 ecx = 00000000 edx =
00000000

Family: 15 Model: 4 Stepping: 10 Type: 0 Brand: 0
CPU Model: Pentium 4 Xeon (Foster) Original OEM
Processor name string: Intel(R) Xeon(TM) CPU 3.80GHz

Feature flags:
Onboard FPU
Virtual Mode Extensions
Debugging Extensions
Page Size Extensions
Time Stamp Counter
Model-Specific Registers
Physical Address Extensions
Machine Check Architecture
CMPXCHG8 instruction
Onboard APIC
SYSENTER/SYSEXIT
Memory Type Range Registers
Page Global Enable
Machine Check Architecture
CMOV instruction
Page Attribute Table
36-bit PSEs
CLFLUSH instruction
Debug Trace Store
ACPI via MSR
MMX support
FXSAVE and FXRESTORE instructions
SSE support
SSE2 support
CPU self snoop
Hyper-Threading
Automatic clock Control
Pending Break Enable

Extended feature flags:
est tm2 cntx-id
Pentium 4 specific MSRs:

Instruction trace cache:
Size: 12K uOps 8-way associative.
L1 Data cache:
Size: 16KB Sectored, 8-way associative.
line size=64 bytes.
Instruction TLB: 4K, 2MB or 4MB pages, fully associative, 64 entries.
Data TLB: 4KB or 4MB pages, fully associative, 64 entries.
Processor serial: 0000-0F4A-0000-0000-0000-0000
The physical package supports 2 logical processors

Connector type: Socket603 (PGA603 Socket)

MTRR registers:
MTRRcap (0xfe): MTRRphysBase0 (0x200): MTRRphysMask0 (0x201): MTRRphysBase1
(0x202): MTRRphysMask1 (0x203): MTRRphysBase2 (0x204): MTRRphysMask2
(0x205): MTRRphysBase3 (0x206): MTRRphysMask3 (0x207): MTRRphysBase4
(0x208): MTRRphysMask4 (0x209): MTRRphysBase5 (0x20a): MTRRphysMask5
(0x20b): MTRRphysBase6 (0x20c): MTRRphysMask6 (0x20d): MTRRphysBase7
(0x20e): MTRRphysMask7 (0x20f): MTRRfix64K_00000 (0x250): MTRRfix16K_80000
(0x258): MTRRfix16K_A0000 (0x259): MTRRfix4K_C8000 (0x269): MTRRfix4K_D0000
0x26a: MTRRfix4K_D8000 0x26b: MTRRfix4K_E0000 0x26c: MTRRfix4K_E8000 0x26d:
MTRRfix4K_F0000 0x26e: MTRRfix4K_F8000 0x26f: MTRRdefType (0x2ff):

3.8Ghz processor (estimate).

--------------------------------------------------------------------------
CPU #3
eax in: 0x00000000, eax = 00000005 ebx = 756e6547 ecx = 6c65746e edx =
49656e69
eax in: 0x00000001, eax = 00000f4a ebx = 06020800 ecx = 0000659d edx =
bfebfbff
eax in: 0x00000002, eax = 605b5001 ebx = 00000000 ecx = 00000000 edx =
007d7040
eax in: 0x00000003, eax = 00000000 ebx = 00000000 ecx = 00000000 edx =
00000000
eax in: 0x00000004, eax = 00004121 ebx = 01c0003f ecx = 0000001f edx =
00000000
eax in: 0x00000005, eax = 00000040 ebx = 00000040 ecx = 00000000 edx =
00000000

eax in: 0x80000000, eax = 80000008 ebx = 00000000 ecx = 00000000 edx =
00000000
eax in: 0x80000001, eax = 00000000 ebx = 00000000 ecx = 00000001 edx =
20000000
eax in: 0x80000002, eax = 20202020 ebx = 20202020 ecx = 20202020 edx =
20202020
eax in: 0x80000003, eax = 6e492020 ebx = 286c6574 ecx = 58202952 edx =
286e6f65
eax in: 0x80000004, eax = 20294d54 ebx = 20555043 ecx = 30382e33 edx =
007a4847
eax in: 0x80000005, eax = 00000000 ebx = 00000000 ecx = 00000000 edx =
00000000
eax in: 0x80000006, eax = 00000000 ebx = 00000000 ecx = 08006040 edx =
00000000
eax in: 0x80000007, eax = 00000000 ebx = 00000000 ecx = 00000000 edx =
00000000
eax in: 0x80000008, eax = 00003024 ebx = 00000000 ecx = 00000000 edx =
00000000

Family: 15 Model: 4 Stepping: 10 Type: 0 Brand: 0
CPU Model: Pentium 4 Xeon (Foster) Original OEM
Processor name string: Intel(R) Xeon(TM) CPU 3.80GHz

Feature flags:
Onboard FPU
Virtual Mode Extensions
Debugging Extensions
Page Size Extensions
Time Stamp Counter
Model-Specific Registers
Physical Address Extensions
Machine Check Architecture
CMPXCHG8 instruction
Onboard APIC
SYSENTER/SYSEXIT
Memory Type Range Registers
Page Global Enable
Machine Check Architecture
CMOV instruction
Page Attribute Table
36-bit PSEs
CLFLUSH instruction
Debug Trace Store
ACPI via MSR
MMX support
FXSAVE and FXRESTORE instructions
SSE support
SSE2 support
CPU self snoop
Hyper-Threading
Automatic clock Control
Pending Break Enable

Extended feature flags:
est tm2 cntx-id
Pentium 4 specific MSRs:

Instruction trace cache:
Size: 12K uOps 8-way associative.
L1 Data cache:
Size: 16KB Sectored, 8-way associative.
line size=64 bytes.
Instruction TLB: 4K, 2MB or 4MB pages, fully associative, 64 entries.
Data TLB: 4KB or 4MB pages, fully associative, 64 entries.
Processor serial: 0000-0F4A-0000-0000-0000-0000
The physical package supports 2 logical processors

Connector type: Socket603 (PGA603 Socket)

MTRR registers:
MTRRcap (0xfe): MTRRphysBase0 (0x200): MTRRphysMask0 (0x201): MTRRphysBase1
(0x202): MTRRphysMask1 (0x203): MTRRphysBase2 (0x204): MTRRphysMask2
(0x205): MTRRphysBase3 (0x206): MTRRphysMask3 (0x207): MTRRphysBase4
(0x208): MTRRphysMask4 (0x209): MTRRphysBase5 (0x20a): MTRRphysMask5
(0x20b): MTRRphysBase6 (0x20c): MTRRphysMask6 (0x20d): MTRRphysBase7
(0x20e): MTRRphysMask7 (0x20f): MTRRfix64K_00000 (0x250): MTRRfix16K_80000
(0x258): MTRRfix16K_A0000 (0x259): MTRRfix4K_C8000 (0x269): MTRRfix4K_D0000
0x26a: MTRRfix4K_D8000 0x26b: MTRRfix4K_E0000 0x26c: MTRRfix4K_E8000 0x26d:
MTRRfix4K_F0000 0x26e: MTRRfix4K_F8000 0x26f: MTRRdefType (0x2ff):

3.8Ghz processor (estimate).

--------------------------------------------------------------------------
CPU #4
eax in: 0x00000000, eax = 00000005 ebx = 756e6547 ecx = 6c65746e edx =
49656e69
eax in: 0x00000001, eax = 00000f4a ebx = 06020800 ecx = 0000659d edx =
bfebfbff
eax in: 0x00000002, eax = 605b5001 ebx = 00000000 ecx = 00000000 edx =
007d7040
eax in: 0x00000003, eax = 00000000 ebx = 00000000 ecx = 00000000 edx =
00000000
eax in: 0x00000004, eax = 00004121 ebx = 01c0003f ecx = 0000001f edx =
00000000
eax in: 0x00000005, eax = 00000040 ebx = 00000040 ecx = 00000000 edx =
00000000

eax in: 0x80000000, eax = 80000008 ebx = 00000000 ecx = 00000000 edx =
00000000
eax in: 0x80000001, eax = 00000000 ebx = 00000000 ecx = 00000001 edx =
20000000
eax in: 0x80000002, eax = 20202020 ebx = 20202020 ecx = 20202020 edx =
20202020
eax in: 0x80000003, eax = 6e492020 ebx = 286c6574 ecx = 58202952 edx =
286e6f65
eax in: 0x80000004, eax = 20294d54 ebx = 20555043 ecx = 30382e33 edx =
007a4847
eax in: 0x80000005, eax = 00000000 ebx = 00000000 ecx = 00000000 edx =
00000000
eax in: 0x80000006, eax = 00000000 ebx = 00000000 ecx = 08006040 edx =
00000000
eax in: 0x80000007, eax = 00000000 ebx = 00000000 ecx = 00000000 edx =
00000000
eax in: 0x80000008, eax = 00003024 ebx = 00000000 ecx = 00000000 edx =
00000000

Family: 15 Model: 4 Stepping: 10 Type: 0 Brand: 0
CPU Model: Pentium 4 Xeon (Foster) Original OEM
Processor name string: Intel(R) Xeon(TM) CPU 3.80GHz

Feature flags:
Onboard FPU
Virtual Mode Extensions
Debugging Extensions
Page Size Extensions
Time Stamp Counter
Model-Specific Registers
Physical Address Extensions
Machine Check Architecture
CMPXCHG8 instruction
Onboard APIC
SYSENTER/SYSEXIT
Memory Type Range Registers
Page Global Enable
Machine Check Architecture
CMOV instruction
Page Attribute Table
36-bit PSEs
CLFLUSH instruction
Debug Trace Store
ACPI via MSR
MMX support
FXSAVE and FXRESTORE instructions
SSE support
SSE2 support
CPU self snoop
Hyper-Threading
Automatic clock Control
Pending Break Enable

Extended feature flags:
est tm2 cntx-id
Pentium 4 specific MSRs:

Instruction trace cache:
Size: 12K uOps 8-way associative.
L1 Data cache:
Size: 16KB Sectored, 8-way associative.
line size=64 bytes.
Instruction TLB: 4K, 2MB or 4MB pages, fully associative, 64 entries.
Data TLB: 4KB or 4MB pages, fully associative, 64 entries.
Processor serial: 0000-0F4A-0000-0000-0000-0000
The physical package supports 2 logical processors

Connector type: Socket603 (PGA603 Socket)

MTRR registers:
MTRRcap (0xfe): MTRRphysBase0 (0x200): MTRRphysMask0 (0x201): MTRRphysBase1
(0x202): MTRRphysMask1 (0x203): MTRRphysBase2 (0x204): MTRRphysMask2
(0x205): MTRRphysBase3 (0x206): MTRRphysMask3 (0x207): MTRRphysBase4
(0x208): MTRRphysMask4 (0x209): MTRRphysBase5 (0x20a): MTRRphysMask5
(0x20b): MTRRphysBase6 (0x20c): MTRRphysMask6 (0x20d): MTRRphysBase7
(0x20e): MTRRphysMask7 (0x20f): MTRRfix64K_00000 (0x250): MTRRfix16K_80000
(0x258): MTRRfix16K_A0000 (0x259): MTRRfix4K_C8000 (0x269): MTRRfix4K_D0000
0x26a: MTRRfix4K_D8000 0x26b: MTRRfix4K_E0000 0x26c: MTRRfix4K_E8000 0x26d:
MTRRfix4K_F0000 0x26e: MTRRfix4K_F8000 0x26f: MTRRdefType (0x2ff):

3.8Ghz processor (estimate).

--------------------------------------------------------------------------

The problem appear displaying the pages :

Query failed: ERROR: unexpected data beyond EOF in block 1311 of relation
&quot;pg_toast_17041&quot;
HINT: This has been seen to occur with buggy kernels; consider updating
your system.

I see there is similar post in the mailing list, but I could not find any
solution.
Is this a PostgreSQL bug?
There is a fix in the last 8.2.4 release?

Thanks and regards.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2007-04-26 19:42:58 Re: [BUGS] BUG #3245: PANIC: failed to re-find shared lock object
Previous Message takuya koide 2007-04-26 06:12:13 Re: Postmaster can't stop with pg_ctl