<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[ubuntu upstart任务崩溃，错误提示：exception basic_string::_M_construct]]></title><description><![CDATA[<p dir="auto">碰到一个ros程序，正常命令行启动一切正常，但是upstart方式启动会触发异常。经过debug发现是因为使用了“std::getenv”方法，这个方法在upstart启动方式下显然是有问题的，因为此时很多环境变量是没有设置的，即导致获取失败引发后续bug。</p>
]]></description><link>http://community.bwbot.org/topic/647/ubuntu-upstart任务崩溃-错误提示-exception-basic_string-_m_construct</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Jul 2026 02:17:07 GMT</lastBuildDate><atom:link href="http://community.bwbot.org/topic/647.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 08 Dec 2018 21:14:05 GMT</pubDate><ttl>60</ttl></channel></rss>