[ https://issues.apache.org/jira/browse/QPID-8184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16475883#comment-16475883 ]
ASF subversion and git services commented on QPID-8184: ------------------------------------------------------- Commit d490824a6d63841876ecc8b92b26f46622bf1f2f in qpid-cpp's branch refs/heads/master from [~kpvdr] [ https://git-wip-us.apache.org/repos/asf?p=qpid-cpp.git;h=d490824 ] QPID-8184: Second part of fix: Change error handling for EFP exceptions such that the broker shuts down more cleanly without a spurious segfault. Also addeed tests to the linearstore test suite which forces such errors and checks that they are handles correctly. A minor update to brokertest.py fixes tests which use the EXPECT_EXIT_FAIL flag. > [linearstore] Recovery intermittently produces JERR_EFP_BADEFPDIRNAME error > followed by core > -------------------------------------------------------------------------------------------- > > Key: QPID-8184 > URL: https://issues.apache.org/jira/browse/QPID-8184 > Project: Qpid > Issue Type: Bug > Components: C++ Broker > Reporter: Kim van der Riet > Assignee: Kim van der Riet > Priority: Major > > Some users are experiencing difficulty recovering the store, especially when > there are a large number of queues (several thousand). The log files show > the following pattern: > {{JERR_EFP_BADEFPDIRNAME}} in which some arbitrary number which is not > divisible by 4 is being used as the EFP file size (called EFP directory in > the log), followed by a segfault: > {noformat} > May 4 18:55:00 somehostname qpidd[6240]: 2018-05-04 18:55:00 [Store] warning > Linear Store: EmptyFilePool create failed: jexception 0x0d03 > EmptyFilePool::fileSizeKbFromDirName() threw JERR_EFP_BADEFPDIRNAME: Bad > Empty File Pool directory name (must be 'NNNk', where NNN is a number which > is a multiple of 4) (Partition: 1; EFP directory: '9k') > May 4 18:55:00 somehostname kernel: qpidd[6240]: segfault at 10 ip > 00007f4219af8e19 sp 00007ffc227a6350 error 4 in > linearstore.so[7f4219ac4000+bd000]{noformat} > In the event that the random number _is_ divisible by 4, a randomly sized > directory containing no files may appear in the partition EFP. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org