problems on Solaris

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: problems on Solaris
Date: 2015-05-24 23:44:37
Message-ID: 55626265.3060800@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Buildfarm members casteroides and protosciurus have been having some
problems that seem puzzling. These animals both run on the same machine,
but with different compilers.

casteroides runs with the Sun Studio 12 compiler, and has twice in the
last 3 days demonstrated this error:

[5561ce0c.51b7:25] LOG: starting background worker process "test_shm_mq"
[5561ce1e.5287:9] PANIC: stuck spinlock (100cb77f4) detected at atomics.c:30
[5561ce1e.5287:10] STATEMENT: SELECT test_shm_mq_pipelined(16384, (select string_agg(chr(32+(random()*95)::int), '') from generate_series(1,270000)), 200, 3);
[5561ce0c.51b7:26] LOG: server process (PID 21127) was terminated by signal 6
[5561ce0c.51b7:27] DETAIL: Failed process was running: SELECT test_shm_mq_pipelined(16384, (select string_agg(chr(32+(random()*95)::int), '') from generate_series(1,270000)), 200, 3);
[5561ce0c.51b7:28] LOG: terminating any other active server processes

It's not constant - between the two failures was a success.

protociurus runs with gcc 3.4.3 and gets this error:

gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -g -I/usr/local/include -m64 -I. -I../../../src/interfaces/libpq -I./../regress -I../../../src/include -c -o specparse.o specparse.c
In file included from /usr/include/sys/vnode.h:47,
from /usr/include/sys/stream.h:22,
from /usr/include/netinet/in.h:66,
from /usr/include/netdb.h:98,
from ../../../src/include/port.h:17,
from ../../../src/include/c.h:1114,
from ../../../src/include/postgres_fe.h:25,
from specparse.y:13:
/usr/include/sys/kstat.h:439: error: syntax error before numeric constant
/usr/include/sys/kstat.h:463: error: syntax error before '}' token
/usr/include/sys/kstat.h:464: error: syntax error before '}' token
In file included from /usr/include/sys/stream.h:22,
from /usr/include/netinet/in.h:66,
from /usr/include/netdb.h:98,
from ../../../src/include/port.h:17,
from ../../../src/include/c.h:1114,
from ../../../src/include/postgres_fe.h:25,
from specparse.y:13:
/usr/include/sys/vnode.h:105: error: syntax error before "kstat_named_t"
/usr/include/sys/vnode.h:107: error: syntax error before "nread"
/usr/include/sys/vnode.h:108: error: syntax error before "read_bytes"
/usr/include/sys/vnode.h:109: error: syntax error before "nwrite"
/usr/include/sys/vnode.h:110: error: syntax error before "write_bytes"
/usr/include/sys/vnode.h:111: error: syntax error before "nioctl"
/usr/include/sys/vnode.h:112: error: syntax error before "nsetfl"
/usr/include/sys/vnode.h:113: error: syntax error before "ngetattr"
/usr/include/sys/vnode.h:114: error: syntax error before "nsetattr"
/usr/include/sys/vnode.h:115: error: syntax error before "naccess"
/usr/include/sys/vnode.h:116: error: syntax error before "nlookup"
/usr/include/sys/vnode.h:117: error: syntax error before "ncreate"
/usr/include/sys/vnode.h:118: error: syntax error before "nremove"
/usr/include/sys/vnode.h:119: error: syntax error before "nlink"
/usr/include/sys/vnode.h:120: error: syntax error before "nrename"
/usr/include/sys/vnode.h:121: error: syntax error before "nmkdir"
/usr/include/sys/vnode.h:122: error: syntax error before "nrmdir"
/usr/include/sys/vnode.h:123: error: syntax error before "nreaddir"
/usr/include/sys/vnode.h:124: error: syntax error before "readdir_bytes"
/usr/include/sys/vnode.h:125: error: syntax error before "nsymlink"
/usr/include/sys/vnode.h:126: error: syntax error before "nreadlink"
/usr/include/sys/vnode.h:127: error: syntax error before "nfsync"
/usr/include/sys/vnode.h:128: error: syntax error before "ninactive"
/usr/include/sys/vnode.h:129: error: syntax error before "nfid"
/usr/include/sys/vnode.h:130: error: syntax error before "nrwlock"
/usr/include/sys/vnode.h:131: error: syntax error before "nrwunlock"
/usr/include/sys/vnode.h:132: error: syntax error before "nseek"
/usr/include/sys/vnode.h:133: error: syntax error before "ncmp"
/usr/include/sys/vnode.h:134: error: syntax error before "nfrlock"
/usr/include/sys/vnode.h:135: error: syntax error before "nspace"
/usr/include/sys/vnode.h:136: error: syntax error before "nrealvp"
/usr/include/sys/vnode.h:137: error: syntax error before "ngetpage"
/usr/include/sys/vnode.h:138: error: syntax error before "nputpage"
/usr/include/sys/vnode.h:139: error: syntax error before "nmap"
/usr/include/sys/vnode.h:140: error: syntax error before "naddmap"
/usr/include/sys/vnode.h:141: error: syntax error before "ndelmap"
/usr/include/sys/vnode.h:142: error: syntax error before "npoll"
/usr/include/sys/vnode.h:143: error: syntax error before "ndump"
/usr/include/sys/vnode.h:144: error: syntax error before "npathconf"
/usr/include/sys/vnode.h:145: error: syntax error before "npageio"
/usr/include/sys/vnode.h:146: error: syntax error before "ndumpctl"
/usr/include/sys/vnode.h:147: error: syntax error before "ndispose"
/usr/include/sys/vnode.h:148: error: syntax error before "nsetsecattr"
/usr/include/sys/vnode.h:149: error: syntax error before "ngetsecattr"
/usr/include/sys/vnode.h:150: error: syntax error before "nshrlock"
/usr/include/sys/vnode.h:151: error: syntax error before "nvnevent"
gmake: *** [specparse.o] Error 1

cheers

andrew

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2015-05-25 00:07:35 Re: problems on Solaris
Previous Message Peter Geoghegan 2015-05-24 23:22:07 9.5 release notes may need ON CONFLICT DO NOTHING compatibility notice for FDW authors