On 3/27/24 20:37, Melanie Plageman wrote:
> On Mon, Mar 25, 2024 at 12:07:09PM -0400, Melanie Plageman wrote:
>> On Sun, Mar 24, 2024 at 06:37:20PM -0400, Melanie Plageman wrote:
>>> On Sun, Mar 24, 2024 at 5:59 PM Tomas Vondra
>>> <tomas.von...@enterprisedb.com> wrote:
>>>>
>>>> BTW when you say "up to 'Make table_scan_bitmap_next_block() async
>>>> friendly'" do you mean including that patch, or that this is the first
>>>> patch that is not one of the independently useful patches.
>>>
>>> I think the code is easier to understand with "Make
>>> table_scan_bitmap_next_block() async friendly". Prior to that commit,
>>> table_scan_bitmap_next_block() could return false even when the bitmap
>>> has more blocks and expects the caller to handle this and invoke it
>>> again. I think that interface is very confusing. The downside of the
>>> code in that state is that the code for prefetching is still in the
>>> BitmapHeapNext() code and the code for getting the current block is in
>>> the heap AM-specific code. I took a stab at fixing this in v9's 0013,
>>> but the outcome wasn't very attractive.
>>>
>>> What I will do tomorrow is reorder and group the commits such that all
>>> of the commits that are useful independent of streaming read are first
>>> (I think 0014 and 0015 are independently valuable but they are on top
>>> of some things that are only useful to streaming read because they are
>>> more recently requested changes). I think I can actually do a bit of
>>> simplification in terms of how many commits there are and what is in
>>> each. Just to be clear, v9 is still reviewable. I am just going to go
>>> back and change what is included in each commit.
>>
>> So, attached v10 does not include the new version of streaming read API.
>> I focused instead on the refactoring patches commit regrouping I
>> mentioned here.
> 
> Attached v11 has the updated Read Stream API Thomas sent this morning
> [1]. No other changes.
> 

I think there's some sort of bug, triggering this assert in heapam

  Assert(BufferGetBlockNumber(hscan->rs_cbuf) == tbmres->blockno);

I haven't looked for the root cause, and it's not exactly deterministic,
but try this:

  create table t (a int, b text);

  insert into t select 10000 * random(), md5(i::text)
    from generate_series(1,10000000) s(i);^C

  create index on t (a);

  explain analyze select * from t where a = 200;
  explain analyze select * from t where a < 200;

and then vary the condition a bit (different values, inequalities,
etc.). For me it hits the assert in a couple tries.


regards

-- 
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
0x000079ff48a73d37 in epoll_wait () from /lib64/libc.so.6
Missing separate debuginfos, use: dnf debuginfo-install 
glibc-2.37-18.fc38.x86_64 libgcc-13.2.1-4.fc38.x86_64 libicu-72.1-2.fc38.x86_64 
libstdc++-13.2.1-4.fc38.x86_64 zlib-1.2.13-3.fc38.x86_64
(gdb) c
Continuing.

Program received signal SIGABRT, Aborted.
0x000079ff489ef884 in __pthread_kill_implementation () from /lib64/libc.so.6
(gdb) bt
#0  0x000079ff489ef884 in __pthread_kill_implementation () from /lib64/libc.so.6
#1  0x000079ff4899eafe in raise () from /lib64/libc.so.6
#2  0x000079ff4898787f in abort () from /lib64/libc.so.6
#3  0x00000000009ba563 in ExceptionalCondition 
(conditionName=conditionName@entry=0xa209e0 
"BufferGetBlockNumber(hscan->rs_cbuf) == tbmres->blockno", 
fileName=fileName@entry=0xa205b4 "heapam_handler.c", 
lineNumber=lineNumber@entry=2221) at assert.c:66
#4  0x000000000057759f in heapam_scan_bitmap_next_block (exact_pages=<optimized 
out>, lossy_pages=<optimized out>, recheck=<optimized out>, scan=0x1e73548) at 
heapam_handler.c:2221
#5  heapam_scan_bitmap_next_tuple (scan=0x1e73548, slot=<optimized out>, 
recheck=<optimized out>, lossy_pages=<optimized out>, exact_pages=<optimized 
out>) at heapam_handler.c:2359
#6  0x00000000006f58bb in table_scan_bitmap_next_tuple (exact_pages=<optimized 
out>, lossy_pages=<optimized out>, recheck=<optimized out>, slot=<optimized 
out>, scan=<optimized out>) at ../../../src/include/access/tableam.h:2022
#7  BitmapHeapNext (node=0x1e71fc8) at nodeBitmapHeapscan.c:202
#8  0x00000000006e46b8 in ExecProcNodeInstr (node=0x1e71fc8) at 
execProcnode.c:480
#9  0x00000000006dd6fa in ExecProcNode (node=0x1e71fc8) at 
../../../src/include/executor/executor.h:274
#10 ExecutePlan (execute_once=<optimized out>, dest=0xb755e0 <donothingDR>, 
direction=<optimized out>, numberTuples=0, sendTuples=true, 
operation=CMD_SELECT, use_parallel_mode=<optimized out>, planstate=0x1e71fc8, 
estate=0x1e71d80) at execMain.c:1644
#11 standard_ExecutorRun (queryDesc=0x1e6c500, direction=<optimized out>, 
count=0, execute_once=<optimized out>) at execMain.c:363
#12 0x000000000067af84 in ExplainOnePlan 
(plannedstmt=plannedstmt@entry=0x1e6c3f0, into=into@entry=0x0, 
es=es@entry=0x1db3138, queryString=queryString@entry=0x1d87f60 "explain analyze 
select * from t where a = 200;", params=params@entry=0x0, 
queryEnv=queryEnv@entry=0x0, 
    planduration=0x7ffcbe111ac8, bufusage=0x0, mem_counters=0x0) at 
explain.c:645
#13 0x000000000067b417 in standard_ExplainOneQuery (query=<optimized out>, 
cursorOptions=2048, into=0x0, es=0x1db3138, queryString=0x1d87f60 "explain 
analyze select * from t where a = 200;", params=0x0, queryEnv=0x0) at 
explain.c:459
#14 0x000000000067badb in ExplainQuery (pstate=0x1db3028, stmt=0x1d88e10, 
params=0x0, dest=0x1db2f98) at ../../../src/include/nodes/nodes.h:172
#15 0x0000000000894026 in standard_ProcessUtility (pstmt=0x1d88f60, 
queryString=0x1d87f60 "explain analyze select * from t where a = 200;", 
readOnlyTree=<optimized out>, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, 
queryEnv=0x0, dest=0x1db2f98, qc=0x7ffcbe111d80)
    at utility.c:863
#16 0x00000000008923cf in PortalRunUtility (portal=portal@entry=0x1e04680, 
pstmt=0x1d88f60, isTopLevel=true, setHoldSnapshot=setHoldSnapshot@entry=true, 
dest=dest@entry=0x1db2f98, qc=qc@entry=0x7ffcbe111d80) at pquery.c:1158
#17 0x0000000000892850 in FillPortalStore (portal=portal@entry=0x1e04680, 
isTopLevel=isTopLevel@entry=true) at ../../../src/include/nodes/nodes.h:172
#18 0x0000000000892b6d in PortalRun (portal=portal@entry=0x1e04680, 
count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, 
run_once=run_once@entry=true, dest=dest@entry=0x1dbb518, 
altdest=altdest@entry=0x1dbb518, qc=0x7ffcbe111f60) at pquery.c:763
#19 0x000000000088ec7f in exec_simple_query (query_string=0x1d87f60 "explain 
analyze select * from t where a = 200;") at postgres.c:1274
#20 0x000000000089050e in PostgresMain (dbname=<optimized out>, 
username=<optimized out>) at postgres.c:4680
#21 0x000000000088b65d in BackendMain (startup_data=<optimized out>, 
startup_data_len=<optimized out>) at backend_startup.c:101
#22 0x00000000007f52e5 in postmaster_child_launch 
(child_type=child_type@entry=B_BACKEND, 
startup_data=startup_data@entry=0x7ffcbe1123ac "", 
startup_data_len=startup_data_len@entry=4, 
client_sock=client_sock@entry=0x7ffcbe1123b0) at launch_backend.c:265
#23 0x00000000007f8dbe in BackendStartup (client_sock=0x7ffcbe1123b0) at 
postmaster.c:3593
#24 ServerLoop () at postmaster.c:1674
#25 0x00000000007fa8f8 in PostmasterMain (argc=argc@entry=3, 
argv=argv@entry=0x1d816a0) at postmaster.c:1372
#26 0x000000000051b499 in main (argc=3, argv=0x1d816a0) at main.c:197
(gdb) up
#1  0x000079ff4899eafe in raise () from /lib64/libc.so.6
(gdb) up
#2  0x000079ff4898787f in abort () from /lib64/libc.so.6
(gdb) up
#3  0x00000000009ba563 in ExceptionalCondition 
(conditionName=conditionName@entry=0xa209e0 
"BufferGetBlockNumber(hscan->rs_cbuf) == tbmres->blockno", 
fileName=fileName@entry=0xa205b4 "heapam_handler.c", 
lineNumber=lineNumber@entry=2221) at assert.c:66
66              abort();
(gdb) up
#4  0x000000000057759f in heapam_scan_bitmap_next_block (exact_pages=<optimized 
out>, lossy_pages=<optimized out>, recheck=<optimized out>, scan=0x1e73548) at 
heapam_handler.c:2221
2221            Assert(BufferGetBlockNumber(hscan->rs_cbuf) == tbmres->blockno);
(gdb) up
#5  heapam_scan_bitmap_next_tuple (scan=0x1e73548, slot=<optimized out>, 
recheck=<optimized out>, lossy_pages=<optimized out>, exact_pages=<optimized 
out>) at heapam_handler.c:2359
2359                    if (!heapam_scan_bitmap_next_block(scan, recheck,
(gdb) down
#4  0x000000000057759f in heapam_scan_bitmap_next_block (exact_pages=<optimized 
out>, lossy_pages=<optimized out>, recheck=<optimized out>, scan=0x1e73548) at 
heapam_handler.c:2221
2221            Assert(BufferGetBlockNumber(hscan->rs_cbuf) == tbmres->blockno);
(gdb) p hscan->rs_cbuf
$1 = 6079
(gdb) p tmbres->blockno
No symbol "tmbres" in current context.
(gdb) p tmbres->blckno
No symbol "tmbres" in current context.
(gdb) p tbmres->blckno
There is no member named blckno.
(gdb) p tbmres->blockno
$2 = 66433
(gdb) bt full
#0  0x000079ff489ef884 in __pthread_kill_implementation () from /lib64/libc.so.6
No symbol table info available.
#1  0x000079ff4899eafe in raise () from /lib64/libc.so.6
No symbol table info available.
#2  0x000079ff4898787f in abort () from /lib64/libc.so.6
No symbol table info available.
#3  0x00000000009ba563 in ExceptionalCondition 
(conditionName=conditionName@entry=0xa209e0 
"BufferGetBlockNumber(hscan->rs_cbuf) == tbmres->blockno", 
fileName=fileName@entry=0xa205b4 "heapam_handler.c", 
lineNumber=lineNumber@entry=2221) at assert.c:66
No locals.
#4  0x000000000057759f in heapam_scan_bitmap_next_block (exact_pages=<optimized 
out>, lossy_pages=<optimized out>, recheck=<optimized out>, scan=0x1e73548) at 
heapam_handler.c:2221
        hscan = 0x1e73548
        per_buffer_data = 0x1e793d8
        block = <optimized out>
        buffer = <optimized out>
        snapshot = <optimized out>
        ntup = <optimized out>
        tbmres = 0x1e793d8
        hscan = <optimized out>
        per_buffer_data = <optimized out>
        block = <optimized out>
        buffer = <optimized out>
        snapshot = <optimized out>
        ntup = <optimized out>
        tbmres = <optimized out>
        curslot = <optimized out>
        offnum = <optimized out>
        tid = <optimized out>
        heapTuple = <optimized out>
        page = <optimized out>
        maxoff = <optimized out>
        offnum = <optimized out>
        lp = <optimized out>
        loctup = <optimized out>
        valid = <optimized out>
#5  heapam_scan_bitmap_next_tuple (scan=0x1e73548, slot=<optimized out>, 
recheck=<optimized out>, lossy_pages=<optimized out>, exact_pages=<optimized 
out>) at heapam_handler.c:2359
        hscan = 0x1e73548
        targoffset = <optimized out>
        page = <optimized out>
        lp = <optimized out>
#6  0x00000000006f58bb in table_scan_bitmap_next_tuple (exact_pages=<optimized 
out>, lossy_pages=<optimized out>, recheck=<optimized out>, slot=<optimized 
out>, scan=<optimized out>) at ../../../src/include/access/tableam.h:2022
        __func__ = "table_scan_bitmap_next_tuple"
        __errno_location = <optimized out>
#7  BitmapHeapNext (node=0x1e71fc8) at nodeBitmapHeapscan.c:202
        econtext = 0x1e721d8
        scan = <optimized out>
        tbm = <optimized out>
        slot = 0x1e729e8
        dsa = <optimized out>
        __func__ = "BitmapHeapNext"
#8  0x00000000006e46b8 in ExecProcNodeInstr (node=0x1e71fc8) at 
execProcnode.c:480
        result = <optimized out>
#9  0x00000000006dd6fa in ExecProcNode (node=0x1e71fc8) at 
../../../src/include/executor/executor.h:274
No locals.
#10 ExecutePlan (execute_once=<optimized out>, dest=0xb755e0 <donothingDR>, 
direction=<optimized out>, numberTuples=0, sendTuples=true, 
operation=CMD_SELECT, use_parallel_mode=<optimized out>, planstate=0x1e71fc8, 
estate=0x1e71d80) at execMain.c:1644
        slot = <optimized out>
        current_tuple_count = 812
        slot = <optimized out>
        current_tuple_count = <optimized out>
#11 standard_ExecutorRun (queryDesc=0x1e6c500, direction=<optimized out>, 
count=0, execute_once=<optimized out>) at execMain.c:363
        estate = 0x1e71d80
        operation = CMD_SELECT
        dest = 0xb755e0 <donothingDR>
        sendTuples = <optimized out>
        oldcontext = 0x1db2df0
        __func__ = "standard_ExecutorRun"
#12 0x000000000067af84 in ExplainOnePlan 
(plannedstmt=plannedstmt@entry=0x1e6c3f0, into=into@entry=0x0, 
es=es@entry=0x1db3138, queryString=queryString@entry=0x1d87f60 "explain analyze 
select * from t where a = 200;", params=params@entry=0x0, 
queryEnv=queryEnv@entry=0x0, 
    planduration=0x7ffcbe111ac8, bufusage=0x0, mem_counters=0x0) at 
explain.c:645
        dir = <optimized out>
--Type <RET> for more, q to quit, c to continue without paging--
        dest = <optimized out>
        queryDesc = 0x1e6c500
        starttime = <optimized out>
        totaltime = 0
        eflags = <optimized out>
        instrument_option = <optimized out>
#13 0x000000000067b417 in standard_ExplainOneQuery (query=<optimized out>, 
cursorOptions=2048, into=0x0, es=0x1db3138, queryString=0x1d87f60 "explain 
analyze select * from t where a = 200;", params=0x0, queryEnv=0x0) at 
explain.c:459
        plan = 0x1e6c3f0
        planstart = <optimized out>
        planduration = {ticks = 314825}
        bufusage_start = {shared_blks_hit = 1, shared_blks_read = 
134137333210088, shared_blks_dirtied = 16407, shared_blks_written = 8868755, 
local_blks_hit = 70467528441856, local_blks_read = 72057594037927936, 
local_blks_dirtied = 134137333210088, 
          local_blks_written = 1, temp_blks_read = 0, temp_blks_written = 
10151148, shared_blk_read_time = {ticks = 0}, shared_blk_write_time = {ticks = 
5433722}, local_blk_read_time = {ticks = 134137333210088}, local_blk_write_time 
= {ticks = 70368744194071}, 
          temp_blk_read_time = {ticks = 30970240}, temp_blk_write_time = {ticks 
= 8648921}}
        bufusage = {shared_blks_hit = 387345, shared_blks_read = 306578389, 
shared_blks_dirtied = 0, shared_blks_written = 0, local_blks_hit = 0, 
local_blks_read = 201863462913, local_blks_dirtied = 65, local_blks_written = 
7, temp_blks_read = 5, 
          temp_blks_written = 10379061, shared_blk_read_time = {ticks = 0}, 
shared_blk_write_time = {ticks = 7608353}, local_blk_read_time = {ticks = 0}, 
local_blk_write_time = {ticks = 30969968}, temp_blk_read_time = {ticks = 0}, 
temp_blk_write_time = {ticks = 7609255}}
        mem_counters = {nblocks = 0, freechunks = 8876259, totalspace = 
70467528441856, freespace = 72057594037927936}
        planner_ctx = 0x0
        saved_ctx = 0x0
#14 0x000000000067badb in ExplainQuery (pstate=0x1db3028, stmt=0x1d88e10, 
params=0x0, dest=0x1db2f98) at ../../../src/include/nodes/nodes.h:172
        l__state = {l = <optimized out>, i = 0}
        l = 0x1e74140
        es = 0x1db3138
        tstate = <optimized out>
        jstate = <optimized out>
        query = <optimized out>
        rewritten = 0x1e74128
        lc = <optimized out>
        timing_set = <optimized out>
        summary_set = <optimized out>
        __func__ = "ExplainQuery"
#15 0x0000000000894026 in standard_ProcessUtility (pstmt=0x1d88f60, 
queryString=0x1d87f60 "explain analyze select * from t where a = 200;", 
readOnlyTree=<optimized out>, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, 
queryEnv=0x0, dest=0x1db2f98, qc=0x7ffcbe111d80)
    at utility.c:863
        parsetree = 0x1d88e10
        isTopLevel = <optimized out>
        isAtomicContext = false
        pstate = 0x1db3028
        readonly_flags = <optimized out>
        __func__ = "standard_ProcessUtility"
#16 0x00000000008923cf in PortalRunUtility (portal=portal@entry=0x1e04680, 
pstmt=0x1d88f60, isTopLevel=true, setHoldSnapshot=setHoldSnapshot@entry=true, 
dest=dest@entry=0x1db2f98, qc=qc@entry=0x7ffcbe111d80) at pquery.c:1158
No locals.
#17 0x0000000000892850 in FillPortalStore (portal=portal@entry=0x1e04680, 
isTopLevel=isTopLevel@entry=true) at ../../../src/include/nodes/nodes.h:172
        treceiver = 0x1db2f98
        qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0}
        __func__ = "FillPortalStore"
#18 0x0000000000892b6d in PortalRun (portal=portal@entry=0x1e04680, 
count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, 
run_once=run_once@entry=true, dest=dest@entry=0x1dbb518, 
altdest=altdest@entry=0x1dbb518, qc=0x7ffcbe111f60) at pquery.c:763
        _save_exception_stack = 0x7ffcbe112230
        _save_context_stack = 0x0
        _local_sigjmp_buf = {{__jmpbuf = {31149072, -109934348456944260, 
30969640, 140723497279328, 31475328, 31175960, 108104918559890812, 
-109935865491088004}, __mask_was_saved = 0, __saved_mask = {__val = {31486888, 
2817148525, 0, 0, 10501697, 0, 31483536, 12414709, 
                31475328, 12414709, 1, 153, 30969616, 31176984, 10382623, 
31475328}}}}
        _do_rethrow = <optimized out>
        result = <optimized out>
        nprocessed = <optimized out>
        saveTopTransactionResourceOwner = 0x1dc4018
        saveTopTransactionContext = 0x1db4c10
        saveActivePortal = 0x0
        saveResourceOwner = 0x1dc4018
        savePortalContext = 0x0
        saveMemoryContext = 0x1db4c10
        __func__ = "PortalRun"
#19 0x000000000088ec7f in exec_simple_query (query_string=0x1d87f60 "explain 
analyze select * from t where a = 200;") at postgres.c:1274
        cmdtaglen = 7
        snapshot_set = <optimized out>
        per_parsetree_context = 0x0
        plantree_list = <optimized out>
        parsetree = <optimized out>
        commandTag = <optimized out>
        qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0}
--Type <RET> for more, q to quit, c to continue without paging--
        querytree_list = <optimized out>
        portal = 0x1e04680
        receiver = 0x1dbb518
        format = 0
        cmdtagname = <optimized out>
        parsetree_item__state = {l = 0x1d88f10, i = <optimized out>}
        dest = DestRemote
        oldcontext = 0x1db4c10
        parsetree_list = 0x1d88f10
        parsetree_item = <optimized out>
        save_log_statement_stats = false
        was_logged = false
        use_implicit_block = false
        msec_str = '\000' <repeats 16 times>, 
"Q\000\000\000\000\000\000\000Q\000\000\000\000\000\000"
        __func__ = "exec_simple_query"
#20 0x000000000089050e in PostgresMain (dbname=<optimized out>, 
username=<optimized out>) at postgres.c:4680
        query_string = 0x1d87f60 "explain analyze select * from t where a = 
200;"
        firstchar = <optimized out>
        input_message = {data = 0x1d87f60 "explain analyze select * from t 
where a = 200;", len = 47, maxlen = 1024, cursor = 47}
        local_sigjmp_buf = {{__jmpbuf = {31205072, -109934379334361732, 4, 0, 
1711661613, 30973184, 108104918503267708, -109935863615054468}, 
__mask_was_saved = 1, __saved_mask = {__val = {4194304, 979, 
18446744073709551552, 15624, 30973184, 140723497280224, 
                134137342057842, 0, 7944937237029841664, 140723497280304, 
15616, 30938944, 0, 15680, 10344002, 30938944}}}}
        send_ready_for_query = false
        idle_in_transaction_timeout_enabled = false
        idle_session_timeout_enabled = false
        __func__ = "PostgresMain"
#21 0x000000000088b65d in BackendMain (startup_data=<optimized out>, 
startup_data_len=<optimized out>) at backend_startup.c:101
        bsdata = <optimized out>
#22 0x00000000007f52e5 in postmaster_child_launch 
(child_type=child_type@entry=B_BACKEND, 
startup_data=startup_data@entry=0x7ffcbe1123ac "", 
startup_data_len=startup_data_len@entry=4, 
client_sock=client_sock@entry=0x7ffcbe1123b0) at launch_backend.c:265
        pid = <optimized out>
#23 0x00000000007f8dbe in BackendStartup (client_sock=0x7ffcbe1123b0) at 
postmaster.c:3593
        bn = 0x1d89d00
        pid = <optimized out>
        startup_data = {canAcceptConnections = CAC_OK}
        bn = <optimized out>
        pid = <optimized out>
        startup_data = <optimized out>
        __func__ = "BackendStartup"
        __errno_location = <optimized out>
        __errno_location = <optimized out>
        save_errno = <optimized out>
        __errno_location = <optimized out>
        __errno_location = <optimized out>
#24 ServerLoop () at postmaster.c:1674
        s = {sock = 10, raddr = {addr = {ss_family = 1, 
              __ss_padding = 
"\000\000\000\000\000\000\360\207\330\001\000\000\000\000\b\344\225H\377y\000\000\000\000\000\000\000\000\000\000H\374\225H\377y\000\000\350$\021\276\374\177\000\000\000\000\000\000\374\177\000\000\024$\021\276\374\177\000\000\250\333\371\003\000\000\000\000\320cA\000\000\000\000\000\032\\E\000\000\000\000\000`d\327",
 '\000' <repeats 13 times>, "\b\344\225H\377y\000\000\320\374\225H\377y\000", 
__ss_align = 134137344681544}, salen = 2}}
        i = 0
        now = <optimized out>
        last_lockfile_recheck_time = 1711661738
        last_touch_time = 1711661613
        events = {{pos = 3, events = 2, fd = 8, user_data = 0x0}, {pos = 0, 
events = 0, fd = -1106171568, user_data = 0x79ff4895fcd0}, {pos = 1221060168, 
events = 31231, fd = 4544639, user_data = 0x7c96e577}, {pos = -1106171472, 
events = 32764, fd = -1106171504, 
            user_data = 0x79ff48c535dc <_dl_lookup_symbol_x+300>}, {pos = 5, 
events = 0, fd = 1217789136, user_data = 0x1}, {pos = 0, events = 0, fd = 1, 
user_data = 0x79ff48c7e2c0}, {pos = -1106171632, events = 32764, fd = 
1218436466, user_data = 0x1d857b0}, {
            pos = 30965736, events = 0, fd = 0, user_data = 0x79ff48c7e648}, 
{pos = -1106171600, events = 32764, fd = 1, user_data = 0x79ff48c7e2c0}, {pos = 
-1106171608, events = 32764, fd = 9, user_data = 0xffffffff}, {pos = 
1217855464, events = 31231, fd = 1220838640, 
            user_data = 0xca10}, {pos = 2100392, events = 0, fd = 2, user_data 
= 0x1000041c0}, {pos = 1000, events = 0, fd = 1221059264, user_data = 0xf2}, 
{pos = 4776592, events = 0, fd = 13948816, user_data = 0x1}, {pos = 
-1106171408, events = 32764, fd = 1220910653, 
            user_data = 0x1}, {pos = 0, events = 0, fd = 1217855464, user_data 
= 0x79ff48a3bee0 <fork>}, {pos = 0, events = 0, fd = -1106170496, user_data = 
0x0}, {pos = 0, events = 0, fd = 30965736, user_data = 0x1}, {pos = 0, events = 
0, fd = 1220920014, 
            user_data = 0x0}, {pos = 1218398648, events = 31231, fd = 0, 
user_data = 0xd6a120 <BlockSig>}, {pos = 2, events = 0, fd = 30955440, 
user_data = 0x10}, {pos = 1219714176, events = 31231, fd = 255, user_data = 
0xffffffffffffffc0}, {pos = 0, events = 0, 
            fd = 8096, user_data = 0x7ffcbe112aa0}, {pos = 1218436466, events = 
31231, fd = 1217889328, user_data = 0x79ff489e0b50 <fputc>}, {pos = 30955440, 
events = 0, fd = 4096, user_data = 0x3ff}, {pos = 0, events = 0, fd = 
-1106171024, 
            user_data = 0x79ff489d7869 <_IO_file_doallocate+185>}, {pos = 
51728, events = 0, fd = 2100403, user_data = 0x1}, {pos = 33152, events = 1000, 
fd = 1000, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, 
{pos = 0, events = 0, fd = 65535, 
            user_data = 0xff0000000000ffff}, {pos = 65535, events = 4278190080, 
fd = 65535, user_data = 0x79ff48b35ce0 <main_arena+96>}, {pos = 0, events = 0, 
fd = 0, user_data = 0x100000000000000}, {pos = 0, events = 0, fd = 255, 
user_data = 0x5c5c5c5c5c5c5c5c}, {
            pos = 1549556828, events = 1549556828, fd = 0, user_data = 0x0}, 
{pos = 0, events = 0, fd = 0, user_data = 0x3f3f3f3f3f3f3f3f}, {pos = 
1061109567, events = 1061109567, fd = -1717986919, user_data = 
0x9999999999999999}, {pos = 538976288, events = 538976288, 
            fd = 538976288, user_data = 0x0}, {pos = 0, events = 0, fd = 0, 
user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x1db5e70}, {pos = 
-120, events = 4294967295, fd = 0, user_data = 0x1db3bf0}, {pos = 31134352, 
events = 0, fd = 30965344, 
            user_data = 0x7ffcbe112c50}, {pos = 1218437646, events = 31231, fd 
= 0, user_data = 0x1db11a0}, {pos = 31134112, events = 0, fd = 31134312, 
user_data = 0x2}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, 
events = 0, fd = 200243, 
            user_data = 0xffffffffffffff88}, {pos = 0, events = 0, fd = 
-1106170480, user_data = 0x79ff48a3c0eb <fork+523>}, {pos = 31155248, events = 
0, fd = 10350584, user_data = 0x1d87e60}, {pos = 31134112, events = 0, fd = 
31134112, user_data = 0x0}, {
            pos = -1106170576, events = 32764, fd = 1218426939, user_data = 
0x1d857b0}, {pos = 30965344, events = 1, fd = 31134112, user_data = 0x727a9a 
<tokenize_auth_file+2170>}, {pos = -1106170512, events = 32764, fd = 
-1343231232, user_data = 0x7ffcbe112dc0}, {
            pos = -120, events = 4294967295, fd = 0, user_data = 0x79ff489e79e8 
<_IO_flush_all_lockp+632>}, {pos = 0, events = 0, fd = 0, user_data = 
0x79ff489e5fd0 <flush_cleanup>}, {pos = 0, events = 0, fd = 0, user_data = 
0x0}, {pos = 30955440, events = 0, 
            fd = -1343231232, user_data = 0x0}, {pos = 11, events = 0, fd = 0, 
user_data = 0x6e421652afefeb00}, {pos = -1106170480, events = 32764, fd = 
1218047373, user_data = 0x0}, {pos = 8343831, events = 0, fd = 4194304, 
user_data = 0x1dad740}, {pos = 31134112, 
            events = 0, fd = 30965736, user_data = 0x0}, {pos = 10350288, 
events = 0, fd = 30965344, user_data = 0x1dad740}, {pos = 31119168, events = 0, 
fd = 31134112, user_data = 0x1d87fe8}, {pos = 10376739, events = 0, fd = 
30938784, user_data = 0x0}, {pos = 30955440, 
--Type <RET> for more, q to quit, c to continue without paging--
            events = 0, fd = 7520150, user_data = 0xb}, {pos = 0, events = 0, 
fd = 0, user_data = 0x0}}
        nevents = <optimized out>
        __func__ = "ServerLoop"
#25 0x00000000007fa8f8 in PostmasterMain (argc=argc@entry=3, 
argv=argv@entry=0x1d816a0) at postmaster.c:1372
        opt = <optimized out>
        status = <optimized out>
        userDoption = <optimized out>
        listen_addr_saved = true
        output_config_variable = <optimized out>
        __func__ = "PostmasterMain"
#26 0x000000000051b499 in main (argc=3, argv=0x1d816a0) at main.c:197
        do_check_root = <optimized out>
(gdb) 
(gdb) q
A debugging session is active.

        Inferior 1 [process 200436] will be detached.

Reply via email to