Thread: Port Bug Report: postmaster/linux kernel unaligned trap errors

Port Bug Report: postmaster/linux kernel unaligned trap errors

From
Unprivileged user
Date:
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name               : Ed Powell
Your email address      : epowell@visi.com

Category                : runtime: back-end
Severity                : serious

Summary: postmaster/linux kernel unaligned trap errors

System Configuration
--------------------
  Operating System   : Linux 2.2.10 (Redhat 6.0)

  PostgreSQL version : 6.5

  Compiler used      : egcs-2.91.66

Hardware:
---------
DEC Multia (Alpha 166mhz), 32mb RAM

Versions of other tools:
------------------------
gmake 3.77, flex 2.5.4

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

Problem Description:
--------------------
It looks like whenever something calls the portmaster, it spews out four lines of console/system log messages:

portmaster(6329): unaligned trap at 0000000120144ee0: 000000011fff9781
portmaster(6329): unaligned trap at 0000000120144ee0: 000000011fff9782
portmaster(6329): unaligned trap at 0000000120144ee0: 000000011fff9783
portmaster(6329): unaligned trap at 0000000120144ee0: 000000011fff9785

The database is working fine (running the regression tests as I type this), but this constant messaging into the system
logis annoying. 

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

Test Case:
----------
Happened with postgres 6.4.2 and 6.5 on the same system and kernel build.  I suspect its something in the code that
happenson any Alpha box running Linux 2.2.x from a Redhat 6.0 install. 

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

Solution:
---------


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


Re: [PORTS] Port Bug Report: postmaster/linux kernel unaligned trap errors

From
Uncle George
Date:
Unaligned traps aren't serious. They tell u that u fetched an int/long from an unaligned address. The processor caught
theproblem, and did an ( expensive ) fixup to get u the proper value. 
It should be looked at to see if it can be aligned.
gat
Unprivileged user wrote:

> ============================================================================
>                         POSTGRESQL BUG REPORT TEMPLATE
> ============================================================================
>
>
> portmaster(6329): unaligned trap at 0000000120144ee0: 000000011fff9781
> portmaster(6329): unaligned trap at 0000000120144ee0: 000000011fff9782
> portmaster(6329): unaligned trap at 0000000120144ee0: 000000011fff9783
> portmaster(6329): unaligned trap at 0000000120144ee0: 000000011fff9785
>
> T