我已经实现了一个简单的ostream和streambuf类。出于某种原因,当我尝试实例化我的AndroidLogOStream对象时它崩溃了。注意:我的Application.mk中有STLport_staticclassAndroidLogStreamBuf:publicstd::streambuf{public:inlineAndroidLogStreamBuf():std::streambuf(){//std::cout它是准系统,在Windows上运行良好。它在android上编译得很好,但由于某种原因它崩溃了。它尝试执行的最后一行在_streambuf.c:46:templa