terminate called after throwing an instance of 'boost::io::bad_format_string'
  what():  boost::bad_format_string: format-string is ill-formed

#10 0x00007f9373767286 in gnash::log_debug<std::string> (
    t0=<value optimized out>)
    at /usr/src/gnash/gnash-head/plugin/npapi/plugin.h:198
#11 0x00007f937375a779 in gnash::nsPluginInstance::processPlayerRequest (
    this=0x7f93747f1800, buf=<value optimized out>,
    linelen=<value optimized out>)
    at /usr/src/gnash/gnash-head/plugin/npapi/plugin.cpp:782
#12 0x00007f937375aef0 in gnash::nsPluginInstance::handlePlayerRequests (
    this=0x7f93747f1800, iochan=0x7f937584cb30, cond=<value optimized out>)
    at /usr/src/gnash/gnash-head/plugin/npapi/plugin.cpp:721

The offending line is:

        gnash::log_debug("Calling NPN_GetURL(" + jsurl.str() + ", '" + 
std::string(tgt) + "');");

The correct way to use log_debug is with a printf-like format:

        gnash::log_debug("Calling NPN_GetURL(%s, %s)",
                jsurl.str(), tgt);


--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html

_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to