【发布时间】:2015-04-10 21:14:27
【问题描述】:
我正在使用DDS(更具体地说是RTI DDS)作为java 应用程序。我在代码中为我的DDS 实现一个一个地创建每个topic,因此我可以在编写代码后用DDS spy 测试每个。当我写第 8 个topic 时,一切正常。然而,当我随后写第 9 个topic 时,似乎什么都没有发生,因为程序似乎在某个地方停止了。然后我调试了很多代码,然后将其打印到理事会。
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x01349a58, pid=16109, tid=2429123440
#
# JRE version: Java(TM) SE Runtime Environment (7.0_65-b17) (build 1.7.0_65-b17)
# Java VM: Java HotSpot(TM) Server VM (24.65-b04 mixed mode linux-x86 )
# Problematic frame:
# V [libjvm.so+0x48aa58] java_lang_String::utf8_length(oopDesc*)+0x58
#
# Core dump written. Default location: /home/foo/core or core.16109
#
# An error report file with more information is saved as:
#
# /home/foo/corehs_err_pid16109.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
[D0000|ENABLE]COMMENDSrReaderService_new:!create worker-specific object
[D0000|ENABLE]PRESPsService_enable:!create srr (strict reliable reader)
[D0000|ENABLE]DDS_DomainParticipantService_enable:!enable publish/subscribe service
[D0000|ENABLE]DDS_DomainParticipant_enableI:!enable service
我不确定为什么在我创建第 9 个topic 时突然发生这种情况,但如果我只有 8 个,它会很好用。我也尝试增加我的resourcelimits 并得到Immutable QOS Policy 错误。有谁知道为什么会发生这个错误,为什么我的第 9 个topic 会导致失败以及如何解决这个问题?我正在32 bit RHEL 6.6 上运行我的应用程序。
【问题讨论】:
标签: publish-subscribe qos data-distribution-service