"ERROR","58M01","Error on receive from seg2 10.10.x.x:50002 pid=117634: server closed the connection unexpectedly

未关闭
#1,572 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
c, postgres

调研方向

从提供的接收错误和内核 segfault 报告开始,然后在重复执行的过程中重现同一查询,同时收集失败 segment 和进程的详细信息。Issue 中没有指定源文件或测试;完成的标准是找出并修复 segment 崩溃的原因,并验证重复执行不再关闭连接。

由索引模型根据 Issue 内容生成。

描述

2026-02-10 09:35:09.238016 CST,"MonitorProd","gpafiniti",p16629,th-1453139776,"10.10.x.x","46070",2026-02-10 06:00:00 CST,0,con701,cmd11,seg-1,,,,sx1,"ERROR","58M01","Error on receive from seg2 10.10.247.112:50002 pid=117634: server closed the connection unexpectedly
2026-02-10 09:35:09.244500 CST,"MonitorProd","gpafiniti",p8967,th-1453139776,"10.10.x.x","49374",2026-02-10 05:47:01 CST,0,con690,cmd120,seg-1,,,,sx1,"ERROR","58M01","Error on receive from seg2 10.10.x.x:50002 pid=113821: server closed the connection unexpectedly
2026-02-10 09:35:59.949836 CST,"MonitorProd","gpafiniti",p11017,th-1453139776,"10.10.x.x","56076",2026-02-10 05:50:00 CST,0,con700,cmd27,seg-1,,,,sx1,"ERROR","58M01","Error on receive from seg2 10.10.x.x:50002 pid=117479: server closed the connection unexpectedly

Feb 10 12:23:51 MX-CB kernel: postgres[242777]: segfault at 349d8 ip 00007f2b71c50956 sp 00007ffd2b7c3610 error 4 in libgcc_s-11-20240719.so.1[7f2b71c42000+14000] likely on CPU 14 (core 6, socket 1)

Same query executes successfully for 1-2 executions but fails in next execution with above error

主要语言
C
星标
1.5k
派生
280
平均合并
5 天 35 分钟
30 天内合并 PR
128

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/cloudberry 的其他 Issue

查看 apache/cloudberry 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。