PostgreSQL Bugs

Collected from the PG bugs email list.

Bug ID15121
PG Version10.3
OSLinux
Opened2018-03-18 19:59:45+00
Reported byMartin Liška
StatusOpen

Body of first available message related to this bug follows.

The following bug has been logged on the website:

Bug reference:      15121
Logged by:          Martin Liška
Email address:      (redacted)
PostgreSQL version: 10.3
Operating system:   Linux
Description:        

Building current trunk with -fsanitize=undefined I see following errors with
make check:

clog.c:299:3: runtime error: null pointer passed as argument 1, which is
declared to never be null
    #0 0x65c865 in TransactionIdSetPageStatus
/home/marxin/Programming/postgres/src/backend/access/transam/clog.c:299
    #1 0x65c4a5 in TransactionIdSetTreeStatus
/home/marxin/Programming/postgres/src/backend/access/transam/clog.c:190
    #2 0x680830 in TransactionIdCommitTree
/home/marxin/Programming/postgres/src/backend/access/transam/transam.c:262
    #3 0x68d47d in RecordTransactionCommit
/home/marxin/Programming/postgres/src/backend/access/transam/xact.c:1290
    #4 0x68f1fd in CommitTransaction
/home/marxin/Programming/postgres/src/backend/access/transam/xact.c:2037
    #5 0x6908cd in CommitTransactionCommand
/home/marxin/Programming/postgres/src/backend/access/transam/xact.c:2768
    #6 0x6e297f in BootstrapModeMain
/home/marxin/Programming/postgres/src/backend/bootstrap/bootstrap.c:515
    #7 0x6e275f in AuxiliaryProcessMain
/home/marxin/Programming/postgres/src/backend/bootstrap/bootstrap.c:434
    #8 0xc1964c in main
/home/marxin/Programming/postgres/src/backend/main/main.c:220
    #9 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #10 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

relcache.c:5932:6: runtime error: null pointer passed as argument 1, which
is declared to never be null
    #0 0x140aa86 in write_item
/home/marxin/Programming/postgres/src/backend/utils/cache/relcache.c:5932
    #1 0x140a2e2 in write_relcache_init_file
/home/marxin/Programming/postgres/src/backend/utils/cache/relcache.c:5837
    #2 0x13f7a63 in RelationCacheInitializePhase3
/home/marxin/Programming/postgres/src/backend/utils/cache/relcache.c:3887
    #3 0x14612a5 in InitPostgres
/home/marxin/Programming/postgres/src/backend/utils/init/postinit.c:997
    #4 0x104661a in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:3777
    #5 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #6 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #7 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

pg_crc32c_sse42.c:37:18: runtime error: load of misaligned address
0x7fffffffd484 for type 'const uint64', which requires 8 byte alignment
0x7fffffffd484: note: pointer points here
  c0 d4 ff ff 01 00 00 00  7f 06 00 00 09 00 00 00  b3 ee bd f7 b3 0a 02 00 
cf 10 32 01 00 00 00 80
              ^ 
    #0 0x153f045 in pg_comp_crc32c_sse42
/home/marxin/Programming/postgres/src/port/pg_crc32c_sse42.c:37
    #1 0x6ca43d in XLogRecordAssemble
/home/marxin/Programming/postgres/src/backend/access/transam/xloginsert.c:780
    #2 0x6c8d6f in XLogInsert
/home/marxin/Programming/postgres/src/backend/access/transam/xloginsert.c:459
    #3 0x6997bb in XactLogCommitRecord
/home/marxin/Programming/postgres/src/backend/access/transam/xact.c:5370
    #4 0x68d3c0 in RecordTransactionCommit
/home/marxin/Programming/postgres/src/backend/access/transam/xact.c:1225
    #5 0x68f1fd in CommitTransaction
/home/marxin/Programming/postgres/src/backend/access/transam/xact.c:2037
    #6 0x6908cd in CommitTransactionCommand
/home/marxin/Programming/postgres/src/backend/access/transam/xact.c:2768
    #7 0x104442d in finish_xact_command
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:2498
    #8 0x104052a in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1145
    #9 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #10 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #11 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #12 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

clog.c:299:3: runtime error: null pointer passed as argument 1, which is
declared to never be null
    #0 0x65c865 in TransactionIdSetPageStatus
/home/marxin/Programming/postgres/src/backend/access/transam/clog.c:299
    #1 0x65c4a5 in TransactionIdSetTreeStatus
/home/marxin/Programming/postgres/src/backend/access/transam/clog.c:190
    #2 0x680830 in TransactionIdCommitTree
/home/marxin/Programming/postgres/src/backend/access/transam/transam.c:262
    #3 0x68d47d in RecordTransactionCommit
/home/marxin/Programming/postgres/src/backend/access/transam/xact.c:1290
    #4 0x68f1fd in CommitTransaction
/home/marxin/Programming/postgres/src/backend/access/transam/xact.c:2037
    #5 0x6908cd in CommitTransactionCommand
/home/marxin/Programming/postgres/src/backend/access/transam/xact.c:2768
    #6 0x104442d in finish_xact_command
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:2498
    #7 0x104052a in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1145
    #8 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #9 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #10 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #11 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

pg_crc32c_sse42.c:44:9: runtime error: load of misaligned address
0x7fffffffcfc2 for type 'const unsigned int', which requires 4 byte
alignment
0x7fffffffcfc2: note: pointer points here
 00 00  c0 8f 07 00 00 08 18 00  01 00 00 02 00 00 00 00  80 fd fe ec ff 7f
00 00  80 d0 6b ed ff 7f
              ^ 
    #0 0x153f111 in pg_comp_crc32c_sse42
/home/marxin/Programming/postgres/src/port/pg_crc32c_sse42.c:44
    #1 0x6ca43d in XLogRecordAssemble
/home/marxin/Programming/postgres/src/backend/access/transam/xloginsert.c:780
    #2 0x6c8d6f in XLogInsert
/home/marxin/Programming/postgres/src/backend/access/transam/xloginsert.c:459
    #3 0x58c4bc in heap_insert
/home/marxin/Programming/postgres/src/backend/access/heap/heapam.c:2577
    #4 0xb7ea16 in ExecInsert
/home/marxin/Programming/postgres/src/backend/executor/nodeModifyTable.c:622
    #5 0xb84e26 in ExecModifyTable
/home/marxin/Programming/postgres/src/backend/executor/nodeModifyTable.c:2054
    #6 0xae9bc6 in ExecProcNodeFirst
/home/marxin/Programming/postgres/src/backend/executor/execProcnode.c:446
    #7 0xaccf99 in ExecProcNode
../../../src/include/executor/executor.h:239
    #8 0xad4d36 in ExecutePlan
/home/marxin/Programming/postgres/src/backend/executor/execMain.c:1721
    #9 0xace12c in standard_ExecutorRun
/home/marxin/Programming/postgres/src/backend/executor/execMain.c:361
    #10 0xacdb5c in ExecutorRun
/home/marxin/Programming/postgres/src/backend/executor/execMain.c:304
    #11 0x104831f in ProcessQuery
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:161
    #12 0x104cb11 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1286
    #13 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #14 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #15 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #16 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #17 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #18 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

arrayfuncs.c:3740:17: runtime error: member access within misaligned address
0x0000028b937c for type 'struct ExpandedObjectHeader', which requires 8 byte
alignment
0x0000028b937c: note: pointer points here
  6f 6f 00 00 80 02 00 00  01 00 00 00 00 00 00 00  19 00 00 00 08 00 00 00 
01 00 00 00 40 00 00 00
              ^ 
    #0 0x10d22b0 in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3740
    #1 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #2 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #3 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #4 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #5 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #6 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #7 0x10ed240 in compute_array_stats
/home/marxin/Programming/postgres/src/backend/utils/adt/array_typanalyze.c:250
    #8 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #9 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #10 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #11 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #12 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #13 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #14 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #15 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #16 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #17 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #18 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #19 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #20 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #21 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

arrayfuncs.c:3740:17: runtime error: member access within misaligned address
0x0000028b937c for type 'union AnyArrayType', which requires 8 byte
alignment
0x0000028b937c: note: pointer points here
  6f 6f 00 00 80 02 00 00  01 00 00 00 00 00 00 00  19 00 00 00 08 00 00 00 
01 00 00 00 40 00 00 00
              ^ 
    #0 0x10d2329 in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3740
    #1 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #2 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #3 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #4 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #5 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #6 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #7 0x10ed240 in compute_array_stats
/home/marxin/Programming/postgres/src/backend/utils/adt/array_typanalyze.c:250
    #8 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #9 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #10 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #11 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #12 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #13 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #14 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #15 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #16 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #17 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #18 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #19 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #20 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #21 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

arrayfuncs.c:3742:19: runtime error: member access within misaligned address
0x0000028b937c for type 'struct ExpandedObjectHeader', which requires 8 byte
alignment
0x0000028b937c: note: pointer points here
  6f 6f 00 00 80 02 00 00  01 00 00 00 00 00 00 00  19 00 00 00 08 00 00 00 
01 00 00 00 40 00 00 00
              ^ 
    #0 0x10d243b in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3742
    #1 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #2 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #3 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #4 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #5 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #6 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #7 0x10ed240 in compute_array_stats
/home/marxin/Programming/postgres/src/backend/utils/adt/array_typanalyze.c:250
    #8 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #9 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #10 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #11 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #12 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #13 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #14 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #15 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #16 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #17 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #18 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #19 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #20 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #21 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

arrayfuncs.c:3742:19: runtime error: member access within misaligned address
0x0000028b937c for type 'union AnyArrayType', which requires 8 byte
alignment
0x0000028b937c: note: pointer points here
  6f 6f 00 00 80 02 00 00  01 00 00 00 00 00 00 00  19 00 00 00 08 00 00 00 
01 00 00 00 40 00 00 00
              ^ 
    #0 0x10d24b5 in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3742
    #1 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #2 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #3 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #4 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #5 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #6 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #7 0x10ed240 in compute_array_stats
/home/marxin/Programming/postgres/src/backend/utils/adt/array_typanalyze.c:250
    #8 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #9 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #10 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #11 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #12 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #13 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #14 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #15 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #16 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #17 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #18 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #19 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #20 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #21 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

arrayfuncs.c:3757:22: runtime error: member access within misaligned address
0x0000028b937c for type 'struct ExpandedObjectHeader', which requires 8 byte
alignment
0x0000028b937c: note: pointer points here
  6f 6f 00 00 80 02 00 00  01 00 00 00 00 00 00 00  19 00 00 00 08 00 00 00 
01 00 00 00 40 00 00 00
              ^ 
    #0 0x10d25f5 in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3757
    #1 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #2 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #3 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #4 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #5 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #6 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #7 0x10ed240 in compute_array_stats
/home/marxin/Programming/postgres/src/backend/utils/adt/array_typanalyze.c:250
    #8 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #9 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #10 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #11 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #12 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #13 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #14 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #15 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #16 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #17 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #18 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #19 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #20 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #21 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

arrayfuncs.c:3757:22: runtime error: member access within misaligned address
0x0000028b937c for type 'union AnyArrayType', which requires 8 byte
alignment
0x0000028b937c: note: pointer points here
  6f 6f 00 00 80 02 00 00  01 00 00 00 00 00 00 00  19 00 00 00 08 00 00 00 
01 00 00 00 40 00 00 00
              ^ 
    #0 0x10d266e in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3757
    #1 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #2 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #3 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #4 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #5 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #6 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #7 0x10ed240 in compute_array_stats
/home/marxin/Programming/postgres/src/backend/utils/adt/array_typanalyze.c:250
    #8 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #9 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #10 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #11 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #12 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #13 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #14 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #15 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #16 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #17 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #18 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #19 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #20 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #21 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

../../../../src/include/utils/arrayaccess.h:51:6: runtime error: member
access within misaligned address 0x0000028b937c for type 'struct
ExpandedObjectHeader', which requires 8 byte alignment
0x0000028b937c: note: pointer points here
  6f 6f 00 00 80 02 00 00  01 00 00 00 00 00 00 00  19 00 00 00 08 00 00 00 
01 00 00 00 40 00 00 00
              ^ 
    #0 0x10b78e2 in array_iter_setup
../../../../src/include/utils/arrayaccess.h:51
    #1 0x10d2a7c in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3794
    #2 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #3 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #4 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #5 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #6 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #7 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #8 0x10ed240 in compute_array_stats
/home/marxin/Programming/postgres/src/backend/utils/adt/array_typanalyze.c:250
    #9 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #10 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #11 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #12 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #13 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #14 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #15 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #16 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #17 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #18 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #19 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #20 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #21 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #22 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

../../../../src/include/utils/arrayaccess.h:74:17: runtime error: member
access within misaligned address 0x0000028b937c for type 'union
AnyArrayType', which requires 8 byte alignment
0x0000028b937c: note: pointer points here
  6f 6f 00 00 80 02 00 00  01 00 00 00 00 00 00 00  19 00 00 00 08 00 00 00 
01 00 00 00 40 00 00 00
              ^ 
    #0 0x10b8091 in array_iter_setup
../../../../src/include/utils/arrayaccess.h:74
    #1 0x10d2a7c in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3794
    #2 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #3 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #4 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #5 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #6 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #7 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #8 0x10ed240 in compute_array_stats
/home/marxin/Programming/postgres/src/backend/utils/adt/array_typanalyze.c:250
    #9 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #10 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #11 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #12 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #13 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #14 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #15 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #16 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #17 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #18 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #19 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #20 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #21 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #22 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

../../../../src/include/utils/arrayaccess.h:74:17: runtime error: member
access within misaligned address 0x0000028b937c for type 'union
AnyArrayType', which requires 8 byte alignment
0x0000028b937c: note: pointer points here
  6f 6f 00 00 80 02 00 00  01 00 00 00 00 00 00 00  19 00 00 00 08 00 00 00 
01 00 00 00 40 00 00 00
              ^ 
    #0 0x10b80b8 in array_iter_setup
../../../../src/include/utils/arrayaccess.h:74
    #1 0x10d2a7c in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3794
    #2 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #3 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #4 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #5 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #6 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #7 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #8 0x10ed240 in compute_array_stats
/home/marxin/Programming/postgres/src/backend/utils/adt/array_typanalyze.c:250
    #9 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #10 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #11 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #12 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #13 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #14 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #15 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #16 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #17 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #18 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #19 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #20 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #21 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #22 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

../../../../src/include/utils/arrayaccess.h:74:17: runtime error: member
access within misaligned address 0x0000028b937c for type 'union
AnyArrayType', which requires 8 byte alignment
0x0000028b937c: note: pointer points here
  6f 6f 00 00 80 02 00 00  01 00 00 00 00 00 00 00  19 00 00 00 08 00 00 00 
01 00 00 00 40 00 00 00
              ^ 
    #0 0x10b8153 in array_iter_setup
../../../../src/include/utils/arrayaccess.h:74
    #1 0x10d2a7c in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3794
    #2 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #3 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #4 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #5 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #6 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #7 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #8 0x10ed240 in compute_array_stats
/home/marxin/Programming/postgres/src/backend/utils/adt/array_typanalyze.c:250
    #9 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #10 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #11 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #12 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #13 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #14 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #15 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #16 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #17 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #18 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #19 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #20 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #21 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #22 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

../../../../src/include/utils/arrayaccess.h:75:19: runtime error: member
access within misaligned address 0x0000028b937c for type 'union
AnyArrayType', which requires 8 byte alignment
0x0000028b937c: note: pointer points here
  6f 6f 00 00 80 02 00 00  01 00 00 00 00 00 00 00  19 00 00 00 08 00 00 00 
01 00 00 00 40 00 00 00
              ^ 
    #0 0x10b822f in array_iter_setup
../../../../src/include/utils/arrayaccess.h:75
    #1 0x10d2a7c in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3794
    #2 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #3 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #4 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #5 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #6 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #7 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #8 0x10ed240 in compute_array_stats
/home/marxin/Programming/postgres/src/backend/utils/adt/array_typanalyze.c:250
    #9 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #10 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #11 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #12 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #13 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #14 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #15 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #16 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #17 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #18 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #19 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #20 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #21 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #22 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

arrayfuncs.c:3892:2: runtime error: member access within misaligned address
0x0000028b937c for type 'struct ExpandedObjectHeader', which requires 8 byte
alignment
0x0000028b937c: note: pointer points here
  6f 6f 00 00 80 02 00 00  01 00 00 00 00 00 00 00  19 00 00 00 08 00 00 00 
01 00 00 00 40 00 00 00
              ^ 
    #0 0x10d333a in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3892
    #1 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #2 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #3 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #4 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #5 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #6 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #7 0x10ed240 in compute_array_stats
/home/marxin/Programming/postgres/src/backend/utils/adt/array_typanalyze.c:250
    #8 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #9 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #10 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #11 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #12 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #13 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #14 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #15 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #16 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #17 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #18 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #19 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #20 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #21 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

arrayfuncs.c:3739:17: runtime error: member access within misaligned address
0x0000028b937c for type 'struct ExpandedObjectHeader', which requires 8 byte
alignment
0x0000028b937c: note: pointer points here
  6f 6f 00 00 80 02 00 00  01 00 00 00 00 00 00 00  19 00 00 00 08 00 00 00 
01 00 00 00 40 00 00 00
              ^ 
    #0 0x10d21eb in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3739
    #1 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #2 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #3 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #4 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #5 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #6 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #7 0x10ed240 in compute_array_stats
/home/marxin/Programming/postgres/src/backend/utils/adt/array_typanalyze.c:250
    #8 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #9 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #10 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #11 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #12 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #13 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #14 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #15 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #16 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #17 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #18 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #19 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #20 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #21 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

arrayfuncs.c:3739:17: runtime error: member access within misaligned address
0x0000028b937c for type 'union AnyArrayType', which requires 8 byte
alignment
0x0000028b937c: note: pointer points here
  6f 6f 00 00 80 02 00 00  01 00 00 00 00 00 00 00  19 00 00 00 08 00 00 00 
01 00 00 00 40 00 00 00
              ^ 
    #0 0x10d2264 in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3739
    #1 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #2 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #3 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #4 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #5 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #6 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #7 0x10ed240 in compute_array_stats
/home/marxin/Programming/postgres/src/backend/utils/adt/array_typanalyze.c:250
    #8 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #9 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #10 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #11 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #12 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #13 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #14 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #15 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #16 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #17 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #18 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #19 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #20 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #21 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

arrayfuncs.c:3741:19: runtime error: member access within misaligned address
0x0000028b937c for type 'struct ExpandedObjectHeader', which requires 8 byte
alignment
0x0000028b937c: note: pointer points here
  6f 6f 00 00 80 02 00 00  01 00 00 00 00 00 00 00  19 00 00 00 08 00 00 00 
01 00 00 00 40 00 00 00
              ^ 
    #0 0x10d2375 in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3741
    #1 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #2 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #3 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #4 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #5 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #6 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #7 0x10ed240 in compute_array_stats
/home/marxin/Programming/postgres/src/backend/utils/adt/array_typanalyze.c:250
    #8 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #9 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #10 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #11 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #12 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #13 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #14 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #15 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #16 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #17 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #18 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #19 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #20 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #21 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

arrayfuncs.c:3741:19: runtime error: member access within misaligned address
0x0000028b937c for type 'union AnyArrayType', which requires 8 byte
alignment
0x0000028b937c: note: pointer points here
  6f 6f 00 00 80 02 00 00  01 00 00 00 00 00 00 00  19 00 00 00 08 00 00 00 
01 00 00 00 40 00 00 00
              ^ 
    #0 0x10d23ef in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3741
    #1 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #2 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #3 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #4 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #5 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #6 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #7 0x10ed240 in compute_array_stats
/home/marxin/Programming/postgres/src/backend/utils/adt/array_typanalyze.c:250
    #8 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #9 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #10 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #11 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #12 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #13 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #14 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #15 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #16 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #17 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #18 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #19 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #20 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #21 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

arrayfuncs.c:3745:23: runtime error: member access within misaligned address
0x0000028b937c for type 'struct ExpandedObjectHeader', which requires 8 byte
alignment
0x0000028b937c: note: pointer points here
  6f 6f 00 00 80 02 00 00  01 00 00 00 00 00 00 00  19 00 00 00 08 00 00 00 
01 00 00 00 40 00 00 00
              ^ 
    #0 0x10d2529 in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3745
    #1 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #2 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #3 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #4 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #5 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #6 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #7 0x10ed240 in compute_array_stats
/home/marxin/Programming/postgres/src/backend/utils/adt/array_typanalyze.c:250
    #8 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #9 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #10 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #11 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #12 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #13 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #14 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #15 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #16 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #17 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #18 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #19 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #20 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #21 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

arrayfuncs.c:3745:23: runtime error: member access within misaligned address
0x0000028b937c for type 'union AnyArrayType', which requires 8 byte
alignment
0x0000028b937c: note: pointer points here
  6f 6f 00 00 80 02 00 00  01 00 00 00 00 00 00 00  19 00 00 00 08 00 00 00 
01 00 00 00 40 00 00 00
              ^ 
    #0 0x10d25a2 in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3745
    #1 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #2 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #3 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #4 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #5 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #6 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #7 0x10ed240 in compute_array_stats
/home/marxin/Programming/postgres/src/backend/utils/adt/array_typanalyze.c:250
    #8 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #9 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #10 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #11 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #12 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #13 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #14 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #15 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #16 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #17 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #18 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #19 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #20 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #21 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

arrayfuncs.c:3891:2: runtime error: member access within misaligned address
0x0000028b937c for type 'struct ExpandedObjectHeader', which requires 8 byte
alignment
0x0000028b937c: note: pointer points here
  6f 6f 00 00 80 02 00 00  01 00 00 00 00 00 00 00  19 00 00 00 08 00 00 00 
01 00 00 00 40 00 00 00
              ^ 
    #0 0x10d32a1 in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3891
    #1 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #2 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #3 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #4 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #5 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #6 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #7 0x10ed240 in compute_array_stats
/home/marxin/Programming/postgres/src/backend/utils/adt/array_typanalyze.c:250
    #8 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #9 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #10 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #11 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #12 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #13 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #14 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #15 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #16 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #17 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #18 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #19 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #20 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #21 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

arrayfuncs.c:3875:24: runtime error: member access within misaligned address
0x00000279c9a4 for type 'struct ExpandedObjectHeader', which requires 8 byte
alignment
0x00000279c9a4: note: pointer points here
  00 01 01 00 70 00 00 00  01 00 00 00 00 00 00 00  15 00 00 00 02 00 00 00 
00 00 00 00 01 00 02 00
              ^ 
    #0 0x10d2e2e in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3875
    #1 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #2 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #3 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #4 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #5 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #6 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #7 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #8 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #9 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #10 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #11 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #12 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #13 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #14 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #15 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #16 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #17 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #18 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #19 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #20 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

arrayfuncs.c:3875:24: runtime error: member access within misaligned address
0x00000279c9a4 for type 'union AnyArrayType', which requires 8 byte
alignment
0x00000279c9a4: note: pointer points here
  00 01 01 00 70 00 00 00  01 00 00 00 00 00 00 00  15 00 00 00 02 00 00 00 
00 00 00 00 01 00 02 00
              ^ 
    #0 0x10d2eab in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3875
    #1 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #2 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #3 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #4 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #5 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #6 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #7 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #8 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #9 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #10 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #11 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #12 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #13 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #14 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #15 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #16 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #17 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #18 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #19 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #20 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

arrayfuncs.c:3875:24: runtime error: member access within misaligned address
0x00000279c9a4 for type 'union AnyArrayType', which requires 8 byte
alignment
0x00000279c9a4: note: pointer points here
  00 01 01 00 70 00 00 00  01 00 00 00 00 00 00 00  15 00 00 00 02 00 00 00 
00 00 00 00 01 00 02 00
              ^ 
    #0 0x10d2ed2 in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3875
    #1 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #2 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #3 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #4 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #5 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #6 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #7 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #8 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #9 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #10 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #11 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #12 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #13 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #14 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #15 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #16 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #17 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #18 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #19 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #20 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

arrayfuncs.c:3876:24: runtime error: member access within misaligned address
0x00000279cab4 for type 'struct ExpandedObjectHeader', which requires 8 byte
alignment
0x00000279cab4: note: pointer points here
  00 01 01 00 70 00 00 00  01 00 00 00 00 00 00 00  15 00 00 00 02 00 00 00 
00 00 00 00 01 00 02 00
              ^ 
    #0 0x10d2f65 in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3876
    #1 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #2 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #3 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #4 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #5 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #6 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #7 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #8 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #9 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #10 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #11 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #12 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #13 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #14 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #15 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #16 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #17 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #18 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #19 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #20 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

arrayfuncs.c:3876:24: runtime error: member access within misaligned address
0x00000279cab4 for type 'union AnyArrayType', which requires 8 byte
alignment
0x00000279cab4: note: pointer points here
  00 01 01 00 70 00 00 00  01 00 00 00 00 00 00 00  15 00 00 00 02 00 00 00 
00 00 00 00 01 00 02 00
              ^ 
    #0 0x10d2fe2 in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3876
    #1 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #2 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #3 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #4 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #5 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #6 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #7 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #8 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #9 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #10 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #11 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #12 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #13 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #14 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #15 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #16 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #17 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #18 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #19 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #20 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

arrayfuncs.c:3876:24: runtime error: member access within misaligned address
0x00000279cab4 for type 'union AnyArrayType', which requires 8 byte
alignment
0x00000279cab4: note: pointer points here
  00 01 01 00 70 00 00 00  01 00 00 00 00 00 00 00  15 00 00 00 02 00 00 00 
00 00 00 00 01 00 02 00
              ^ 
    #0 0x10d3009 in array_cmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3876
    #1 0x10d208a in btarraycmp
/home/marxin/Programming/postgres/src/backend/utils/adt/arrayfuncs.c:3724
    #2 0x14d7fd8 in comparison_shim
/home/marxin/Programming/postgres/src/backend/utils/sort/sortsupport.c:53
    #3 0x8f6bcb in ApplySortComparator
../../../src/include/utils/sortsupport.h:225
    #4 0x9079c7 in compare_scalars
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2855
    #5 0x153d1e6 in qsort_arg
/home/marxin/Programming/postgres/src/port/qsort_arg.c:140
    #6 0x904cfa in compute_scalar_stats
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:2412
    #7 0x8f990f in do_analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:579
    #8 0x8f7c9f in analyze_rel
/home/marxin/Programming/postgres/src/backend/commands/analyze.c:310
    #9 0xa7e1bb in vacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:357
    #10 0xa7d925 in ExecVacuum
/home/marxin/Programming/postgres/src/backend/commands/vacuum.c:141
    #11 0x104f38e in standard_ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:667
    #12 0x104e364 in ProcessUtility
/home/marxin/Programming/postgres/src/backend/tcop/utility.c:358
    #13 0x104c6d2 in PortalRunUtility
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1178
    #14 0x104cca6 in PortalRunMulti
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:1324
    #15 0x104afc0 in PortalRun
/home/marxin/Programming/postgres/src/backend/tcop/pquery.c:799
    #16 0x1040463 in exec_simple_query
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:1120
    #17 0x1046bf1 in PostgresMain
/home/marxin/Programming/postgres/src/backend/tcop/postgres.c:4144
    #18 0xc19777 in main
/home/marxin/Programming/postgres/src/backend/main/main.c:224
    #19 0x7ffff635ca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #20 0x4863d9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/postgres+0x4863d9)

print.c:916:4: runtime error: null pointer passed as argument 1, which is
declared to never be null
    #0 0x4904da in print_aligned_text
/home/marxin/Programming/postgres/src/fe_utils/print.c:916
    #1 0x4a0ca2 in printTable
/home/marxin/Programming/postgres/src/fe_utils/print.c:3235
    #2 0x4a171f in printQuery
/home/marxin/Programming/postgres/src/fe_utils/print.c:3347
    #3 0x414286 in PrintQueryTuples
/home/marxin/Programming/postgres/src/bin/psql/common.c:890
    #4 0x414d6f in PrintQueryResults
/home/marxin/Programming/postgres/src/bin/psql/common.c:1224
    #5 0x41559d in SendQuery
/home/marxin/Programming/postgres/src/bin/psql/common.c:1408
    #6 0x4356c6 in MainLoop
/home/marxin/Programming/postgres/src/bin/psql/mainloop.c:431
    #7 0x40d248 in process_file
/home/marxin/Programming/postgres/src/bin/psql/command.c:3563
    #8 0x44c8f8 in main
/home/marxin/Programming/postgres/src/bin/psql/startup.c:375
    #9 0x7ffff5feca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #10 0x4048f9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/psql+0x4048f9)

print.c:916:4: runtime error: null pointer passed as argument 1, which is
declared to never be null
    #0 0x4904da in print_aligned_text
/home/marxin/Programming/postgres/src/fe_utils/print.c:916
    #1 0x4a0ca2 in printTable
/home/marxin/Programming/postgres/src/fe_utils/print.c:3235
    #2 0x4a171f in printQuery
/home/marxin/Programming/postgres/src/fe_utils/print.c:3347
    #3 0x414286 in PrintQueryTuples
/home/marxin/Programming/postgres/src/bin/psql/common.c:890
    #4 0x414d6f in PrintQueryResults
/home/marxin/Programming/postgres/src/bin/psql/common.c:1224
    #5 0x41559d in SendQuery
/home/marxin/Programming/postgres/src/bin/psql/common.c:1408
    #6 0x4356c6 in MainLoop
/home/marxin/Programming/postgres/src/bin/psql/mainloop.c:431
    #7 0x40d248 in process_file
/home/marxin/Programming/postgres/src/bin/psql/command.c:3563
    #8 0x44c8f8 in main
/home/marxin/Programming/postgres/src/bin/psql/startup.c:375
    #9 0x7ffff5feca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #10 0x4048f9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/psql+0x4048f9)

print.c:916:4: runtime error: null pointer passed as argument 1, which is
declared to never be null
    #0 0x4904da in print_aligned_text
/home/marxin/Programming/postgres/src/fe_utils/print.c:916
    #1 0x4a0ca2 in printTable
/home/marxin/Programming/postgres/src/fe_utils/print.c:3235
    #2 0x4a171f in printQuery
/home/marxin/Programming/postgres/src/fe_utils/print.c:3347
    #3 0x414286 in PrintQueryTuples
/home/marxin/Programming/postgres/src/bin/psql/common.c:890
    #4 0x414d6f in PrintQueryResults
/home/marxin/Programming/postgres/src/bin/psql/common.c:1224
    #5 0x41559d in SendQuery
/home/marxin/Programming/postgres/src/bin/psql/common.c:1408
    #6 0x4356c6 in MainLoop
/home/marxin/Programming/postgres/src/bin/psql/mainloop.c:431
    #7 0x40d248 in process_file
/home/marxin/Programming/postgres/src/bin/psql/command.c:3563
    #8 0x44c8f8 in main
/home/marxin/Programming/postgres/src/bin/psql/startup.c:375
    #9 0x7ffff5feca86 in __libc_start_main (/lib64/libc.so.6+0x21a86)
    #10 0x4048f9 in _start
(/home/marxin/Programming/postgres/tmp_install/usr/local/pgsql/bin/psql+0x4048f9)

Messages

DateAuthorSubject
2018-03-18 19:59:45+00=?utf-8?q?PG_Bug_reporting_form?=BUG #15121: Multiple UBSAN errors
2018-03-19 00:34:05+00Tomas VondraRe: BUG #15121: Multiple UBSAN errors
2018-03-19 01:02:59+00Tom LaneRe: BUG #15121: Multiple UBSAN errors
2018-03-19 08:59:01+00=?UTF-8?Q?Martin_Li=C5=A1ka?=Re: BUG #15121: Multiple UBSAN errors
2018-03-19 09:04:32+00=?UTF-8?Q?Martin_Li=C5=A1ka?=Re: BUG #15121: Multiple UBSAN errors
2018-03-19 14:26:12+00Tomas VondraRe: BUG #15121: Multiple UBSAN errors
2018-03-19 14:28:48+00=?UTF-8?Q?Martin_Li=C5=A1ka?=Re: BUG #15121: Multiple UBSAN errors
2018-03-19 18:07:49+00Tomas VondraRe: BUG #15121: Multiple UBSAN errors
2018-03-19 18:20:33+00Tom LaneRe: BUG #15121: Multiple UBSAN errors
2018-03-19 18:27:05+00Andres FreundRe: BUG #15121: Multiple UBSAN errors
2018-03-19 18:41:23+00Tom LaneRe: BUG #15121: Multiple UBSAN errors
2018-03-19 18:43:39+00=?UTF-8?Q?Martin_Li=C5=A1ka?=Re: BUG #15121: Multiple UBSAN errors
2018-03-19 19:06:59+00=?UTF-8?Q?Martin_Li=C5=A1ka?=Re: BUG #15121: Multiple UBSAN errors
2018-03-19 19:18:53+00Andres FreundRe: BUG #15121: Multiple UBSAN errors
2018-03-19 20:01:28+00=?UTF-8?Q?Martin_Li=C5=A1ka?=Re: BUG #15121: Multiple UBSAN errors
2018-03-19 21:24:53+00Tomas VondraRe: BUG #15121: Multiple UBSAN errors
2018-03-19 21:41:11+00=?UTF-8?Q?Martin_Li=C5=A1ka?=Re: BUG #15121: Multiple UBSAN errors
2018-03-22 23:34:39+00Andres FreundRe: BUG #15121: Multiple UBSAN errors
2019-06-29 21:03:34+00Noah MischRe: BUG #15121: Multiple UBSAN errors
2019-06-30 18:52:44+00Tom LaneRe: BUG #15121: Multiple UBSAN errors