qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-6232) [C++ broker] Linearstore segfaults when ulimit prevents creating new file in EFP
Date Tue, 18 Nov 2014 15:01:33 GMT

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

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

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

QPID-6232: [C++ broker] Linearstore segfaults when ulimit prevents creating new file in EFP

> [C++ broker] Linearstore segfaults when ulimit prevents creating new file in EFP
> --------------------------------------------------------------------------------
>
>                 Key: QPID-6232
>                 URL: https://issues.apache.org/jira/browse/QPID-6232
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.30
>            Reporter: Pavel Moravec
>            Assignee: Pavel Moravec
>            Priority: Minor
>              Labels: patch
>
> When EFP fails to open a new file (i.e. due to ulimit to nofiles), linearstore segfaults
with backtrace:
> #0  0x00000034d429c1b9 in std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::rfind(char, unsigned long) const () from /usr/lib64/libstdc++.so.6
> #1  0x00007fe466719b50 in qpid::linearstore::journal::EmptyFilePool::takeEmptyFile (this=0xddb540,
destDirectory="/var/lib/qpidd/qls/jrnl/Durable_4_8")
>     at /usr/src/debug/qpid-0.22/cpp/src/qpid/linearstore/journal/EmptyFilePool.cpp:109
> #2  0x00007fe4667327a0 in qpid::linearstore::journal::LinearFileController::pullEmptyFileFromEfp
(this=0x3478288)
>     at /usr/src/debug/qpid-0.22/cpp/src/qpid/linearstore/journal/LinearFileController.cpp:239
> #3  0x00007fe466748bfd in qpid::linearstore::journal::wmgr::flush_check (this=0x34784f8,
res=@0x7fe462f55f90, cont=@0x7fe462f55f9f, done=@0x7fe462f55f9c)
>     at /usr/src/debug/qpid-0.22/cpp/src/qpid/linearstore/journal/wmgr.cpp:651
> #4  0x00007fe46674c134 in qpid::linearstore::journal::wmgr::enqueue (this=0x34784f8,
data_buff=<value optimized out>, tot_data_len=177, this_data_len=<value optimized
out>, dtokp=
>     0x7fe3e583ed60, xid_ptr=0x0, xid_len=0, tpc_flag=false, transient=false, external=false)
at /usr/src/debug/qpid-0.22/cpp/src/qpid/linearstore/journal/wmgr.cpp:223
> The problem is EmptyFilePool::overwriteFileContents does not react anyhow if ofs.good()
is false.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message