happyfish100 / fastdfs

FastDFS is an open source high performance distributed file system (DFS). It's major functions include: file storing, file syncing and file accessing, and design for high capacity and load balance. Wechat/Weixin public account (Chinese Language): fastdfs
GNU General Public License v3.0
8.99k stars 1.98k forks source link

TrackerServer连接失败会引发段错误 #606

Closed haishen121 closed 1 year ago

haishen121 commented 1 year ago
//version: v6.9.1
//tracker/tracker_proto.c:690
//...
            if (conn == NULL)
            {
                logError("file: "__FILE__", line: %d, "
                        "connect to server %s:%d fail, errno: %d, "
                        "error info: %s", __LINE__, conn->ip_addr, // 此处conn 为NULL,会引发段错误
                        conn->port, result, STRERROR(result));
                continue;
            }
//...
happyfish100 commented 1 year ago

感谢反馈,已修复。