<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">is it OK if the FilterBase * pointer is null? (maybe it means use no filter?). </blockquote><div>

<br></div><div>Yes, that's fine.</div><div><br></div><div>That backtrace is odd... the line of code it's crashing on is:</div><div> fprintf(f, "%s\n", ss.str().c_str());</div><div><br></div><div>The only thing I can think of that might crash it is if somehow the string being passed is not null terminated, or if there's some memory corruption or something.</div>

<div><br></div><div>Can you run the app in valgrind and see if it finds anything?</div><div><br></div><div>Josh</div></div>