Git Product home page Git Product logo

Comments (10)

zieckey avatar zieckey commented on July 17, 2024

我们这边没有win10的环境,该项目的CI环境就是实际的ubuntu环境,测试一直是没有问题的。
请单独单独运行 evpp_unittest ,然后把错误情况和coredump堆栈信息贴出来。我们看看能否找到问题

from evpp.

bigtang5 avatar bigtang5 commented on July 17, 2024

没有win10说不过去吧,借用公司前台的呢?
几分钟可以安装好win10的linux: http://www.linuxdiyf.com/linux/22408.html

from evpp.

zieckey avatar zieckey commented on July 17, 2024

还请帮忙单独运行 evpp_unittest ,然后把错误情况和coredump堆栈信息贴出来。我们看看能否找到问题。如果找不到问题,我们再想办法搞一台测试机。谢谢啦

from evpp.

bigtang5 avatar bigtang5 commented on July 17, 2024

单独运行的后面部分:

[ OK ] GtestObjectClass_testTCPClientReconnect.testTCPClientReconnect (8244 ms)
[----------] 1 test from GtestObjectClass_testTCPClientReconnect (8244 ms total)

[----------] 1 test from GtestObjectClass_testTCPClientConnectFailed
[ RUN ] GtestObjectClass_testTCPClientConnectFailed.testTCPClientConnectFailed
I0704 11:30:22.717173 8866 event_loop.cc:11] evpp::EventLoop::EventLoop() this=0xc83580
I0704 11:30:22.719177 8866 event_loop.cc:56] void evpp::EventLoop::Init() this=0xc83580
I0704 11:30:22.719177 8866 tcp_client.cc:19] evpp::TCPClient::TCPClient(evpp::EventLoop*, const string&, const string&) this=0xc7e700 remote addr=127.0.0.1:39723
I0704 11:30:22.720177 8866 tcp_client.cc:49] remote_addr=127.0.0.1:39723
I0704 11:30:22.720177 8866 event_loop.cc:202] void evpp::EventLoop::RunInLoop(evpp::EventLoop::Functor&&) this=0xc83580
I0704 11:30:22.720177 8866 event_loop.cc:254] void evpp::EventLoop::QueueInLoop(evpp::EventLoop::Functor&&) this=0xc83580 pending_functor_count_=0 PendingQueueSize=0 notified_=0
I0704 11:30:22.720177 8866 event_loop.cc:269] void evpp::EventLoop::QueueInLoop(evpp::EventLoop::Functor&&) this=0xc83580 queued a new Functor. pending_functor_count_=1 PendingQueueSize=1 notified_=0
I0704 11:30:22.720177 8866 event_loop.cc:271] void evpp::EventLoop::QueueInLoop(evpp::EventLoop::Functor&&) this=0xc83580 call watcher_->Nofity() notified_.store(true)
I0704 11:30:22.721179 8866 event_loop.cc:81] void evpp::EventLoop::Run() this=0xc83580
I0704 11:30:22.721179 8866 inner_pre.cc:53] event_add ev=0xc83a50 fd=10 user_ptr=0xc83f90 tid=140701353707392
I0704 11:30:22.721179 8866 event_loop.cc:285] void evpp::EventLoop::DoPendingFunctors() this=0xc83580 pending_functor_count_=1 PendingQueueSize=1 notified_=1
I0704 11:30:22.721179 8866 event_loop.cc:308] void evpp::EventLoop::DoPendingFunctors() this=0xc83580 pending_functor_count_=1 PendingQueueSize=0 notified_=0
I0704 11:30:22.721179 8866 event_loop.cc:310] void evpp::EventLoop::DoPendingFunctors() this=0xc83580 pending_functor_count_=1 PendingQueueSize=0 notified_=0
I0704 11:30:22.721179 8866 connector.cc:18] evpp::Connector::Connector(evpp::EventLoop*, evpp::TCPClient*) this=0xc860c0 raddr=127.0.0.1:39723
I0704 11:30:22.722178 8866 connector.cc:46] void evpp::Connector::Start() this=0xc860c0 Try to connect 127.0.0.1:39723 status=kDisconnected
I0704 11:30:22.722178 8866 inner_pre.cc:53] event_add ev=0xc862f0 fd=-1 user_ptr=0xc86280 tid=140701353707392
I0704 11:30:22.722178 8866 connector.cc:91] void evpp::Connector::Connect() this=0xc860c0 127.0.0.1:39723 status=kDisconnected
E0704 11:30:22.722178 8866 sockets.cc:287] setsockopt(SO_REUSEPORT) failed, errno=22 Invalid argument
I0704 11:30:23.723294 8866 connector.cc:165] void evpp::Connector::HandleError() this=0xc860c0 127.0.0.1:39723 status=kDisconnected
E0704 11:30:23.723294 8866 connector.cc:174] this=0xc860c0 status=kDisconnected fd=11 use_count=3 errno=111 Connection refused
I0704 11:30:23.723294 8866 inner_pre.cc:75] event_del ev=0xc862f0 fd=-1 user_ptr=0xc86280 tid=140701353707392
I0704 11:30:23.723294 8866 tcp_client.cc:103] void evpp::TCPClient::OnConnection(int, const string&) this=0xc7e700 Failed to connect to 127.0.0.1:39723. errno=111 Connection refused
I0704 11:30:23.723294 8866 tcp_conn.cc:32] evpp::TCPConn::TCPConn(evpp::EventLoop*, const string&, int, const string&, const string&, uint64_t) this=0xc80160 TCPConn::[] channel=0 fd=-1 addr=(127.0.0.1:39723->(local))
I0704 11:30:23.723294 8866 tcp_client.cc:60] void evpp::TCPClient::Disconnect() this=0xc7e700
I0704 11:30:23.723294 8866 event_loop.cc:202] void evpp::EventLoop::RunInLoop(evpp::EventLoop::Functor&&) this=0xc83580
W0704 11:30:23.724295 8866 tcp_client.cc:65] TCPClient::DisconnectInLoop this=0xc7e700 remote_addr=127.0.0.1:39723
I0704 11:30:23.724295 8866 tcp_client.cc:79] void evpp::TCPClient::DisconnectInLoop() this=0xc7e700 Nothing to do with connector_, Connector::status=0
I0704 11:30:23.725311 8866 event_loop.cc:110] void evpp::EventLoop::Stop() this=0xc83580
I0704 11:30:23.725311 8866 event_loop.cc:113] void evpp::EventLoop::Stop() this=0xc83580 EventLoop::Stop
I0704 11:30:23.725311 8866 event_loop.cc:254] void evpp::EventLoop::QueueInLoop(evpp::EventLoop::Functor&&) this=0xc83580 pending_functor_count_=1 PendingQueueSize=0 notified_=0
I0704 11:30:23.725311 8866 event_loop.cc:269] void evpp::EventLoop::QueueInLoop(evpp::EventLoop::Functor&&) this=0xc83580 queued a new Functor. pending_functor_count_=2 PendingQueueSize=1 notified_=0
I0704 11:30:23.725311 8866 event_loop.cc:271] void evpp::EventLoop::QueueInLoop(evpp::EventLoop::Functor&&) this=0xc83580 call watcher_->Nofity() notified_.store(true)
I0704 11:30:23.725311 8866 tcp_conn.cc:36] evpp::TCPConn::~TCPConn() this=0xc80160 name= channel=0 fd=-1 type=0 status=kDisconnected addr=(127.0.0.1:39723->(local))
I0704 11:30:23.726307 8866 connector.cc:25] evpp::Connector::~Connector() this=0xc860c0
Segmentation fault (core dumped)

from evpp.

zieckey avatar zieckey commented on July 17, 2024

core dump 堆栈信息有么?

from evpp.

bigtang5 avatar bigtang5 commented on July 17, 2024

这个linux生成不了core文件,没找到

from evpp.

zieckey avatar zieckey commented on July 17, 2024

好的。我们先看上面的日志信息

from evpp.

zieckey avatar zieckey commented on July 17, 2024

我自己终于搞了一台win10的开发环境,安装好ubuntu子系统后,编译运行make test一切正常,也许是最近有代码更新。请帮忙抽空看看,你们那边用最新的代码再试试是否还有问题。

谢谢~

from evpp.

zieckey avatar zieckey commented on July 17, 2024

@bigtang5 有更新的进展么?

from evpp.

yihuangong avatar yihuangong commented on July 17, 2024

./evpp_unittest_boost_lockfree
Segmentation fault (core dumped)

from evpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.