You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Jonathan Kupferman <jk...@umail.ucsb.edu> on 2009/05/12 05:44:21 UTC

Issue running TNonblockServer & stress-test-nb

Hi thrift users,
I am trying to use thrifts non blocking server class and while the server
seems to start correctly when a client tries to connect or send a message
things break. Here is the output that I get when running stress-test-nb:

Starting the server on port 9091 and 9092
Thrift: Mon May 11 20:12:03 2009 TServerSocket::listen() IPV6_V6ONLY
Thrift: Mon May 11 20:12:03 2009 libevent 1.3e method epoll
Thrift: Mon May 11 20:12:03 2009 TServerSocket::listen() IPV6_V6ONLY
Thrift: Mon May 11 20:12:03 2009 libevent 1.3e method epoll
Launch 1 client threads
Thrift: Mon May 11 20:12:04 2009 Totally Fucked. Application State 130
stress-test-nb: src/server/TNonblockingServer.cpp:426: void
apache::thrift::server::TConnection::transition(): Assertion `0' failed.
Aborted


The same assertion is thrown when I run the stress test, or just a simple
service using the non blocking server. I took a look at where the exception
is thrown but it is unclear to me why this is occuring or what I can do to
fix it.

I am running the latest version of thrift (just checked out of svn) on
Ubuntu 8.04. I have libevent 1.3e installed as you can see in the output.
Anyone know why this is occurring or what I can do to fix it?

Thanks,
Jon