qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Aeschbacher <ste...@aeschbacher.ch>
Subject Re: Message size and authentication
Date Wed, 15 Apr 2009 16:01:02 GMT
Hi,

Gordon Sim wrote:
>  Stefan Aeschbacher wrote:
>
> > Hello List,
> >
> > I observed the following behaviour with the C++ broker on FC10 (with
> > qpidd installed via yum and also a svn co from today). If I try to
> > send a message with data bigger than ca. 64KB, the call to
> > session.messageTransfer blocks. If I disable authentication with
> > "--auth no",  messages of any size (tested up to 10MB) pass easily as
> > expected.
> >
> > I used the "direct" example with a small modification to generate
> > messages of different sizes (e.g. for (int j=0; j<165536; j++)
> > message_data << "c";) to test this. With j<65495 as limit to fill
> > message_data, qpidd even crashes.
> >
> > Is this a known/reproducible issue?
>
> It is not a known issue. What authentication method are you using? (A
> log from the broker for a case where a single message is sent using
> authentication would show this).
>
> Do you have any backtraces for the crashes? Or pstack output for the
> case where the transfer hung?

I have attached a trace for the crash.

For the blocking case a pstack trace:
Thread 2 (Thread 0xb7f77b90 (LWP 16187)):
#0  0x0069a416 in __kernel_vsyscall ()
#1  0x00ce1b3b in write () from /lib/libc.so.6
#2  0x0024fd80 in qpid::sys::Socket::write () from /usr/lib/libqpidcommon.so.0
#3  0x00255eb4 in qpid::sys::posix::AsynchIO::writeable ()
#4  0x00259152 in
boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void,
boost::_mfi::mf1<void, qpid::sys::posix::AsynchIO,
qpid::sys::DispatchHandle&>,
boost::_bi::list2<boost::_bi::value<qpid::sys::posix::AsynchIO*>,
boost::arg<1> (*)()> >, void, qpid::sys::DispatchHandle&>::invoke ()
#5  0x002b77d3 in boost::function1<void, qpid::sys::DispatchHandle&,
std::allocator<boost::function_base> >::operator() () from
/usr/lib/libqpidcommon.so.0
#6  0x002b5b78 in qpid::sys::DispatchHandle::processEvent ()
#7  0x00267ef6 in qpid::sys::Poller::run () from /usr/lib/libqpidcommon.so.0
#8  0x002b53c4 in qpid::sys::Dispatcher::run ()
#9  0x00e8b3d2 in qpid::client::TCPConnector::run ()
#10 0x0025dba1 in ?? () from /usr/lib/libqpidcommon.so.0
#11 0x00dbc51f in start_thread () from /lib/libpthread.so.0
#12 0x00cf204e in clone () from /lib/libc.so.6
Thread 1 (Thread 0xb7f78720 (LWP 16186)):
#0  0x0069a416 in __kernel_vsyscall ()
#1  0x00dc0105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00d00e9d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0x00e70f4d in qpid::client::Bounds::expand ()
#4  0x00eb4642 in qpid::client::SessionImpl::sendFrame ()
#5  0x00eb479c in qpid::client::SessionImpl::handleOut ()
#6  0x00eb7488 in qpid::client::SessionImpl::sendContent ()
#7  0x00eb7db2 in qpid::client::SessionImpl::sendCommand ()
#8  0x00eb7f07 in qpid::client::SessionImpl::send ()
#9  0x00e68afe in qpid::client::no_keyword::Session_0_10::messageTransfer ()
#10 0x0804cf4f in main ()

regards

Stefan

Mime
View raw message