You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/03/28 13:39:14 UTC

[jira] [Commented] (QPID-5651) [C++ broker] segfault in qpid::linearstore::journal::jdir::clear_dir when declaring durable queue

    [ https://issues.apache.org/jira/browse/QPID-5651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13950639#comment-13950639 ] 

ASF subversion and git services commented on QPID-5651:
-------------------------------------------------------

Commit 1582730 from [~pmoravec] in branch 'qpid/trunk'
[ https://svn.apache.org/r1582730 ]

QPID-5651: [C++ broker] segfault in qpid::linearstore::journal::jdir::clear_dir when declaring durable queue

> [C++ broker] segfault in qpid::linearstore::journal::jdir::clear_dir when declaring durable queue
> -------------------------------------------------------------------------------------------------
>
>                 Key: QPID-5651
>                 URL: https://issues.apache.org/jira/browse/QPID-5651
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.28
>            Reporter: Pavel Moravec
>            Priority: Critical
>
> Affected version: 0.28 / current upstream (svn revision 1582719).
> Creating a durable queue / linear store journal for it, I get segfault.
> Trivial reproducer:
> 1) rm -rf ~/.qpidd
> 2) qpidd --load-module=src/linearstore.so
> 3) qpid-receive -a "myQueue; {create:always, node:{durable:true}}"
> backtrace is:
> #0  0x00000032c44a8a79 in readdir64 () from /lib64/libc.so.6
> #1  0x00007ffff6d138fa in qpid::linearstore::journal::jdir::clear_dir(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) () from /data_xfs/qpid/cpp/BLD/src/linearstore.so
> #2  0x00007ffff6d13125 in qpid::linearstore::journal::jdir::clear_dir(bool) () from /data_xfs/qpid/cpp/BLD/src/linearstore.so
> #3  0x00007ffff6d10baf in qpid::linearstore::journal::jcntl::initialize(qpid::linearstore::journal::EmptyFilePool*, unsigned short, unsigned int, qpid::linearstore::journal::aio_callback*) () from /data_xfs/qpid/cpp/BLD/src/linearstore.so
> #4  0x00007ffff6d44a41 in qpid::linearstore::JournalImpl::initialize(qpid::linearstore::journal::EmptyFilePool*, unsigned short, unsigned int, qpid::linearstore::journal::aio_callback*) () from /data_xfs/qpid/cpp/BLD/src/linearstore.so
> #5  0x00007ffff6d692fe in qpid::linearstore::JournalImpl::initialize(qpid::linearstore::journal::EmptyFilePool*, unsigned short, unsigned int) () from /data_xfs/qpid/cpp/BLD/src/linearstore.so
> #6  0x00007ffff6d5a986 in qpid::linearstore::MessageStoreImpl::create(qpid::broker::PersistableQueue&, qpid::framing::FieldTable const&) () from /data_xfs/qpid/cpp/BLD/src/linearstore.so
> #7  0x00007ffff7bdb413 in qpid::broker::MessageStoreModule::create(qpid::broker::PersistableQueue&, qpid::framing::FieldTable const&)
>     () from /data_xfs/qpid/cpp/BLD/src/libqpidbroker.so.2
> #8  0x00007ffff7b529e1 in qpid::broker::Queue::create() () from /data_xfs/qpid/cpp/BLD/src/libqpidbroker.so.2
> #9  0x00007ffff7beb81d in qpid::broker::QueueRegistry::declare(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, qpid::broker::QueueSettings const&, boost::shared_ptr<qpid::broker::Exchange>, bool, qpid::broker::OwnershipToken const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >) () from /data_xfs/qpid/cpp/BLD/src/libqpidbroker.so.2



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org