Hi

Syntax highlighting with vim-7.4.580 can be very slow with valgrind
file types. For example, try to open the attached valgrind2.log file
using:

$ vim -u NONE -c 'syntax on' -c 'setfiletype valgrind' valgrind2.log

Notice 2 problems:

1) syntax highlighting is _very_ slow. It takes about 20 sec to
   redraw the screen on my i7 Linux x86_64 machine.

2) syntax highlighting of function names (i.e. valgrindFunc syntax)
   is also incorrect for c++ function names (it works fine for C
   function names).


:syntime command points to the reasons for the slowness:

:syntime on
:redraw!
:syntime report

  TOTAL      COUNT  MATCH   SLOWEST     AVERAGE   NAME               PATTERN
 40.711692   10     0      20.333350    4.071169  valgrindSrc
\((\)\@<=[^)]*:\d\+\()\)\@=
  0.009537   36     26      0.002390    0.000265  valgrindBin
\((\(with\|\)in \)\@<=\S\+\()\)\@=
  0.003999   44     44      0.000248    0.000091  valgrindLine
\(^==\d\+== \)\@<=
  0.003142   44     22      0.001000    0.000071  valgrindPidChunk   \(^==\)\@<=
  0.002684   32     22      0.001005    0.000084  valgrindFunc
\(: \)\@<=\w\+
  0.000842   20     20      0.000286    0.000042  valgrindMsg        \S.*$
  0.000803   20     12      0.000276    0.000040  valgrindLoc
\s\+\(by\|at\|Address\).*$
...snip...


Attached patch fix-slow-valgrind.vim-7.4.580.patch fixes the slow
rendering. Rendering feels instantaneous after patch and syntime
reports:

  TOTAL      COUNT  MATCH   SLOWEST     AVERAGE   NAME               PATTERN
  0.006443   48     26      0.002444    0.000134  valgrindPidChunk   \(^==\)\@<=
  0.005536   48     48      0.000481    0.000115  valgrindLine
\(^==\d\+== \)\@<=
  0.001445   20     12      0.000584    0.000072  valgrindRegion
^==\z1==\( \|    .*\)$
  0.001436   20     12      0.000660    0.000072  valgrindLoc
\s\+\(by\|at\|Address\).*$
  0.001280   20     20      0.000661    0.000064  valgrindMsg        \S.*$


Now regarding the second problem (incorrect syntax highlighting of
C++ function names), I have not been able to fix it yet.  I would
have though that using something like this should work:

syn match valgrindFunc ": \zs\h[a-zA-Z0-9_:\[\]()<>&*+\-,
]*\ze([^)]*)" contained

But it does not work. It's broken for function names longer than exactly
3000 characters which happens in the attached valgrind2.log. Syntax
highlighting stops after exactly 3000 characters in the function name.
De-mangled function names with C++ templates can be very long, so
3000 characters is not unusual.

Is there a 3000 characters limit in the regexp engine or in syntax
highlighting engine? I could not find any such limit in the source code.

Regards
Dominique

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
==30198== Memcheck, a memory error detector
==30198== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==30198== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==30198== Command: ./xxx
==30198== 
==30198== Invalid read of size 4
==30198==    at 0x6951490: std::locale::locale(std::locale const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
==30198==    by 0x62176B: boost::filesystem::path::codecvt() (in /home/azg/code/yyy/build_debug/xxx)
==30198==    by 0x647044: boost::log::v2s_mt_posix::sinks::text_file_backend::set_file_name_pattern_internal(boost::filesystem::path const&) (in /home/azg/code/yyy/build_debug/xxx)
==30198==    by 0x64813A: boost::log::v2s_mt_posix::sinks::text_file_backend::construct(boost::filesystem::path const&, std::_Ios_Openmode, unsigned long, boost::log::v2s_mt_posix::aux::light_function<bool ()()> const&, bool) (in /home/azg/code/yyy/build_debug/xxx)
==30198==    by 0x56D4BF: void boost::log::v2s_mt_posix::sinks::text_file_backend::construct<boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::format, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::argument<2> >, 0l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<unsigned int, boost::log::v2s_mt_posix::fallback_to_none, tag::line_id, boost::phoenix::actor> >, 2l> >, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<std::ostream& (*)(std::ostream&)>, 0l> > >, 2l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<std::string, boost::log::v2s_mt_posix::fallback_to_none, boost::log::v2s_mt_posix::expressions::tag::smessage, boost::phoenix::actor> >, 2l> > const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::file_name, char const [10]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::filter, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::equal_to, boost::proto::argsns_::list2<boost::log::v2s_mt_posix::expressions::attribute_actor<severity_level, boost::log::v2s_mt_posix::fallback_to_none, tag::severity, boost::phoenix::actor>, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<severity_level>, 0l> > >, 2l> > const>, boost::parameter::aux::empty_arg_list> > > >(boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::format, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::argument<2> >, 0l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<unsigned int, boost::log::v2s_mt_posix::fallback_to_none, tag::line_id, boost::phoenix::actor> >, 2l> >, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<std::ostream& (*)(std::ostream&)>, 0l> > >, 2l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<std::string, boost::log::v2s_mt_posix::fallback_to_none, boost::log::v2s_mt_posix::expressions::tag::smessage, boost::phoenix::actor> >, 2l> > const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::file_name, char const [10]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::filter, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::equal_to, boost::proto::argsns_::list2<boost::log::v2s_mt_posix::expressions::attribute_actor<severity_level, boost::log::v2s_mt_posix::fallback_to_none, tag::severity, boost::phoenix::actor>, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<severity_level>, 0l> > >, 2l> > const>, boost::parameter::aux::empty_arg_list> > > const&) (text_file_backend.hpp:511)
==30198==    by 0x563E36: boost::log::v2s_mt_posix::sinks::text_file_backend::text_file_backend<boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::format, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::argument<2> >, 0l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<unsigned int, boost::log::v2s_mt_posix::fallback_to_none, tag::line_id, boost::phoenix::actor> >, 2l> >, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<std::ostream& (*)(std::ostream&)>, 0l> > >, 2l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<std::string, boost::log::v2s_mt_posix::fallback_to_none, boost::log::v2s_mt_posix::expressions::tag::smessage, boost::phoenix::actor> >, 2l> > const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::file_name, char const [10]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::filter, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::equal_to, boost::proto::argsns_::list2<boost::log::v2s_mt_posix::expressions::attribute_actor<severity_level, boost::log::v2s_mt_posix::fallback_to_none, tag::severity, boost::phoenix::actor>, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<severity_level>, 0l> > >, 2l> > const>, boost::parameter::aux::empty_arg_list> > > >(boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::format, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::argument<2> >, 0l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<unsigned int, boost::log::v2s_mt_posix::fallback_to_none, tag::line_id, boost::phoenix::actor> >, 2l> >, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<std::ostream& (*)(std::ostream&)>, 0l> > >, 2l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<std::string, boost::log::v2s_mt_posix::fallback_to_none, boost::log::v2s_mt_posix::expressions::tag::smessage, boost::phoenix::actor> >, 2l> > const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::file_name, char const [10]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::filter, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::equal_to, boost::proto::argsns_::list2<boost::log::v2s_mt_posix::expressions::attribute_actor<severity_level, boost::log::v2s_mt_posix::fallback_to_none, tag::severity, boost::phoenix::actor>, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<severity_level>, 0l> > >, 2l> > const>, boost::parameter::aux::empty_arg_list> > > const&) (text_file_backend.hpp:386)
==30198==    by 0x570235: boost::detail::sp_if_not_array<boost::log::v2s_mt_posix::sinks::text_file_backend>::type boost::make_shared<boost::log::v2s_mt_posix::sinks::text_file_backend, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::format, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::argument<2> >, 0l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<unsigned int, boost::log::v2s_mt_posix::fallback_to_none, tag::line_id, boost::phoenix::actor> >, 2l> >, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<std::ostream& (*)(std::ostream&)>, 0l> > >, 2l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<std::string, boost::log::v2s_mt_posix::fallback_to_none, boost::log::v2s_mt_posix::expressions::tag::smessage, boost::phoenix::actor> >, 2l> > const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::file_name, char const [10]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::filter, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::equal_to, boost::proto::argsns_::list2<boost::log::v2s_mt_posix::expressions::attribute_actor<severity_level, boost::log::v2s_mt_posix::fallback_to_none, tag::severity, boost::phoenix::actor>, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<severity_level>, 0l> > >, 2l> > const>, boost::parameter::aux::empty_arg_list> > > >(boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::format, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::argument<2> >, 0l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<unsigned int, boost::log::v2s_mt_posix::fallback_to_none, tag::line_id, boost::phoenix::actor> >, 2l> >, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<std::ostream& (*)(std::ostream&)>, 0l> > >, 2l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<std::string, boost::log::v2s_mt_posix::fallback_to_none, boost::log::v2s_mt_posix::expressions::tag::smessage, boost::phoenix::actor> >, 2l> > const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::file_name, char const [10]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::filter, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::equal_to, boost::proto::argsns_::list2<boost::log::v2s_mt_posix::expressions::attribute_actor<severity_level, boost::log::v2s_mt_posix::fallback_to_none, tag::severity, boost::phoenix::actor>, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<severity_level>, 0l> > >, 2l> > const>, boost::parameter::aux::empty_arg_list> > > const&) (make_shared_object.hpp:711)
==30198==    by 0x548EFD: boost::shared_ptr<boost::log::v2s_mt_posix::sinks::synchronous_sink<boost::log::v2s_mt_posix::sinks::text_file_backend> > boost::log::v2s_mt_posix::aux::add_file_log<boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::format, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::argument<2> >, 0l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<unsigned int, boost::log::v2s_mt_posix::fallback_to_none, tag::line_id, boost::phoenix::actor> >, 2l> >, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<std::ostream& (*)(std::ostream&)>, 0l> > >, 2l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<std::string, boost::log::v2s_mt_posix::fallback_to_none, boost::log::v2s_mt_posix::expressions::tag::smessage, boost::phoenix::actor> >, 2l> > const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::file_name, char const [10]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::filter, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::equal_to, boost::proto::argsns_::list2<boost::log::v2s_mt_posix::expressions::attribute_actor<severity_level, boost::log::v2s_mt_posix::fallback_to_none, tag::severity, boost::phoenix::actor>, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<severity_level>, 0l> > >, 2l> > const>, boost::parameter::aux::empty_arg_list> > > >(boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::format, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::argument<2> >, 0l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<unsigned int, boost::log::v2s_mt_posix::fallback_to_none, tag::line_id, boost::phoenix::actor> >, 2l> >, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<std::ostream& (*)(std::ostream&)>, 0l> > >, 2l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<std::string, boost::log::v2s_mt_posix::fallback_to_none, boost::log::v2s_mt_posix::expressions::tag::smessage, boost::phoenix::actor> >, 2l> > const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::file_name, char const [10]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::filter, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::equal_to, boost::proto::argsns_::list2<boost::log::v2s_mt_posix::expressions::attribute_actor<severity_level, boost::log::v2s_mt_posix::fallback_to_none, tag::severity, boost::phoenix::actor>, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<severity_level>, 0l> > >, 2l> > const>, boost::parameter::aux::empty_arg_list> > > const&) (file.hpp:75)
==30198==    by 0x55147A: boost::shared_ptr<boost::log::v2s_mt_posix::sinks::synchronous_sink<boost::log::v2s_mt_posix::sinks::text_file_backend> > boost::log::v2s_mt_posix::add_file_log<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::file_name, char const [10]>, boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::filter, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::equal_to, boost::proto::argsns_::list2<boost::log::v2s_mt_posix::expressions::attribute_actor<severity_level, boost::log::v2s_mt_posix::fallback_to_none, tag::severity, boost::phoenix::actor>, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<severity_level>, 0l> > >, 2l> > const>, boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::format, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::argument<2> >, 0l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<unsigned int, boost::log::v2s_mt_posix::fallback_to_none, tag::line_id, boost::phoenix::actor> >, 2l> >, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<std::ostream& (*)(std::ostream&)>, 0l> > >, 2l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<std::string, boost::log::v2s_mt_posix::fallback_to_none, boost::log::v2s_mt_posix::expressions::tag::smessage, boost::phoenix::actor> >, 2l> > const> >(boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::file_name, char const [10]> const&, boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::filter, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::equal_to, boost::proto::argsns_::list2<boost::log::v2s_mt_posix::expressions::attribute_actor<severity_level, boost::log::v2s_mt_posix::fallback_to_none, tag::severity, boost::phoenix::actor>, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<severity_level>, 0l> > >, 2l> > const> const&, boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::format, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::argument<2> >, 0l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<unsigned int, boost::log::v2s_mt_posix::fallback_to_none, tag::line_id, boost::phoenix::actor> >, 2l> >, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<std::ostream& (*)(std::ostream&)>, 0l> > >, 2l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<std::string, boost::log::v2s_mt_posix::fallback_to_none, boost::log::v2s_mt_posix::expressions::tag::smessage, boost::phoenix::actor> >, 2l> > const> const&) (file.hpp:127)
==30198==    by 0x538BE3: LoggingHelper::LoggingHelper() (logging_helper.h:51)
==30198==    by 0x5430A4: __sti__loggingHelper (in /home/azg/code/yyy/build_debug/xxx)
==30198==    by 0x542F7F: __sti__$E (in /home/azg/code/yyy/build_debug/xxx)
==30198==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==30198== 
==30198== 
==30198== Process terminating with default action of signal 11 (SIGSEGV)
==30198==  Access not within mapped region at address 0x0
==30198==    at 0x6951490: std::locale::locale(std::locale const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
==30198==    by 0x62176B: boost::filesystem::path::codecvt() (in /home/azg/code/yyy/build_debug/xxx)
==30198==    by 0x647044: boost::log::v2s_mt_posix::sinks::text_file_backend::set_file_name_pattern_internal(boost::filesystem::path const&) (in /home/azg/code/yyy/build_debug/xxx)
==30198==    by 0x64813A: boost::log::v2s_mt_posix::sinks::text_file_backend::construct(boost::filesystem::path const&, std::_Ios_Openmode, unsigned long, boost::log::v2s_mt_posix::aux::light_function<bool ()()> const&, bool) (in /home/azg/code/yyy/build_debug/xxx)
==30198==    by 0x56D4BF: void boost::log::v2s_mt_posix::sinks::text_file_backend::construct<boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::format, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::argument<2> >, 0l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<unsigned int, boost::log::v2s_mt_posix::fallback_to_none, tag::line_id, boost::phoenix::actor> >, 2l> >, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<std::ostream& (*)(std::ostream&)>, 0l> > >, 2l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<std::string, boost::log::v2s_mt_posix::fallback_to_none, boost::log::v2s_mt_posix::expressions::tag::smessage, boost::phoenix::actor> >, 2l> > const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::file_name, char const [10]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::filter, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::equal_to, boost::proto::argsns_::list2<boost::log::v2s_mt_posix::expressions::attribute_actor<severity_level, boost::log::v2s_mt_posix::fallback_to_none, tag::severity, boost::phoenix::actor>, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<severity_level>, 0l> > >, 2l> > const>, boost::parameter::aux::empty_arg_list> > > >(boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::format, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::argument<2> >, 0l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<unsigned int, boost::log::v2s_mt_posix::fallback_to_none, tag::line_id, boost::phoenix::actor> >, 2l> >, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<std::ostream& (*)(std::ostream&)>, 0l> > >, 2l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<std::string, boost::log::v2s_mt_posix::fallback_to_none, boost::log::v2s_mt_posix::expressions::tag::smessage, boost::phoenix::actor> >, 2l> > const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::file_name, char const [10]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::filter, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::equal_to, boost::proto::argsns_::list2<boost::log::v2s_mt_posix::expressions::attribute_actor<severity_level, boost::log::v2s_mt_posix::fallback_to_none, tag::severity, boost::phoenix::actor>, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<severity_level>, 0l> > >, 2l> > const>, boost::parameter::aux::empty_arg_list> > > const&) (text_file_backend.hpp:511)
==30198==    by 0x563E36: boost::log::v2s_mt_posix::sinks::text_file_backend::text_file_backend<boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::format, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::argument<2> >, 0l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<unsigned int, boost::log::v2s_mt_posix::fallback_to_none, tag::line_id, boost::phoenix::actor> >, 2l> >, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<std::ostream& (*)(std::ostream&)>, 0l> > >, 2l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<std::string, boost::log::v2s_mt_posix::fallback_to_none, boost::log::v2s_mt_posix::expressions::tag::smessage, boost::phoenix::actor> >, 2l> > const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::file_name, char const [10]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::filter, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::equal_to, boost::proto::argsns_::list2<boost::log::v2s_mt_posix::expressions::attribute_actor<severity_level, boost::log::v2s_mt_posix::fallback_to_none, tag::severity, boost::phoenix::actor>, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<severity_level>, 0l> > >, 2l> > const>, boost::parameter::aux::empty_arg_list> > > >(boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::format, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::argument<2> >, 0l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<unsigned int, boost::log::v2s_mt_posix::fallback_to_none, tag::line_id, boost::phoenix::actor> >, 2l> >, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<std::ostream& (*)(std::ostream&)>, 0l> > >, 2l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<std::string, boost::log::v2s_mt_posix::fallback_to_none, boost::log::v2s_mt_posix::expressions::tag::smessage, boost::phoenix::actor> >, 2l> > const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::file_name, char const [10]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::filter, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::equal_to, boost::proto::argsns_::list2<boost::log::v2s_mt_posix::expressions::attribute_actor<severity_level, boost::log::v2s_mt_posix::fallback_to_none, tag::severity, boost::phoenix::actor>, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<severity_level>, 0l> > >, 2l> > const>, boost::parameter::aux::empty_arg_list> > > const&) (text_file_backend.hpp:386)
==30198==    by 0x570235: boost::detail::sp_if_not_array<boost::log::v2s_mt_posix::sinks::text_file_backend>::type boost::make_shared<boost::log::v2s_mt_posix::sinks::text_file_backend, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::format, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::argument<2> >, 0l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<unsigned int, boost::log::v2s_mt_posix::fallback_to_none, tag::line_id, boost::phoenix::actor> >, 2l> >, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<std::ostream& (*)(std::ostream&)>, 0l> > >, 2l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<std::string, boost::log::v2s_mt_posix::fallback_to_none, boost::log::v2s_mt_posix::expressions::tag::smessage, boost::phoenix::actor> >, 2l> > const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::file_name, char const [10]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::filter, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::equal_to, boost::proto::argsns_::list2<boost::log::v2s_mt_posix::expressions::attribute_actor<severity_level, boost::log::v2s_mt_posix::fallback_to_none, tag::severity, boost::phoenix::actor>, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<severity_level>, 0l> > >, 2l> > const>, boost::parameter::aux::empty_arg_list> > > >(boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::format, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::argument<2> >, 0l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<unsigned int, boost::log::v2s_mt_posix::fallback_to_none, tag::line_id, boost::phoenix::actor> >, 2l> >, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<std::ostream& (*)(std::ostream&)>, 0l> > >, 2l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<std::string, boost::log::v2s_mt_posix::fallback_to_none, boost::log::v2s_mt_posix::expressions::tag::smessage, boost::phoenix::actor> >, 2l> > const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::file_name, char const [10]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::filter, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::equal_to, boost::proto::argsns_::list2<boost::log::v2s_mt_posix::expressions::attribute_actor<severity_level, boost::log::v2s_mt_posix::fallback_to_none, tag::severity, boost::phoenix::actor>, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<severity_level>, 0l> > >, 2l> > const>, boost::parameter::aux::empty_arg_list> > > const&) (make_shared_object.hpp:711)
==30198==    by 0x548EFD: boost::shared_ptr<boost::log::v2s_mt_posix::sinks::synchronous_sink<boost::log::v2s_mt_posix::sinks::text_file_backend> > boost::log::v2s_mt_posix::aux::add_file_log<boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::format, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::argument<2> >, 0l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<unsigned int, boost::log::v2s_mt_posix::fallback_to_none, tag::line_id, boost::phoenix::actor> >, 2l> >, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<std::ostream& (*)(std::ostream&)>, 0l> > >, 2l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<std::string, boost::log::v2s_mt_posix::fallback_to_none, boost::log::v2s_mt_posix::expressions::tag::smessage, boost::phoenix::actor> >, 2l> > const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::file_name, char const [10]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::filter, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::equal_to, boost::proto::argsns_::list2<boost::log::v2s_mt_posix::expressions::attribute_actor<severity_level, boost::log::v2s_mt_posix::fallback_to_none, tag::severity, boost::phoenix::actor>, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<severity_level>, 0l> > >, 2l> > const>, boost::parameter::aux::empty_arg_list> > > >(boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::format, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::argument<2> >, 0l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<unsigned int, boost::log::v2s_mt_posix::fallback_to_none, tag::line_id, boost::phoenix::actor> >, 2l> >, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<std::ostream& (*)(std::ostream&)>, 0l> > >, 2l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<std::string, boost::log::v2s_mt_posix::fallback_to_none, boost::log::v2s_mt_posix::expressions::tag::smessage, boost::phoenix::actor> >, 2l> > const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::file_name, char const [10]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::filter, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::equal_to, boost::proto::argsns_::list2<boost::log::v2s_mt_posix::expressions::attribute_actor<severity_level, boost::log::v2s_mt_posix::fallback_to_none, tag::severity, boost::phoenix::actor>, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<severity_level>, 0l> > >, 2l> > const>, boost::parameter::aux::empty_arg_list> > > const&) (file.hpp:75)
==30198==    by 0x55147A: boost::shared_ptr<boost::log::v2s_mt_posix::sinks::synchronous_sink<boost::log::v2s_mt_posix::sinks::text_file_backend> > boost::log::v2s_mt_posix::add_file_log<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::file_name, char const [10]>, boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::filter, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::equal_to, boost::proto::argsns_::list2<boost::log::v2s_mt_posix::expressions::attribute_actor<severity_level, boost::log::v2s_mt_posix::fallback_to_none, tag::severity, boost::phoenix::actor>, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<severity_level>, 0l> > >, 2l> > const>, boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::format, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::argument<2> >, 0l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<unsigned int, boost::log::v2s_mt_posix::fallback_to_none, tag::line_id, boost::phoenix::actor> >, 2l> >, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<std::ostream& (*)(std::ostream&)>, 0l> > >, 2l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<std::string, boost::log::v2s_mt_posix::fallback_to_none, boost::log::v2s_mt_posix::expressions::tag::smessage, boost::phoenix::actor> >, 2l> > const> >(boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::file_name, char const [10]> const&, boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::filter, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::equal_to, boost::proto::argsns_::list2<boost::log::v2s_mt_posix::expressions::attribute_actor<severity_level, boost::log::v2s_mt_posix::fallback_to_none, tag::severity, boost::phoenix::actor>, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<severity_level>, 0l> > >, 2l> > const> const&, boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::format, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_left, boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::argument<2> >, 0l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<unsigned int, boost::log::v2s_mt_posix::fallback_to_none, tag::line_id, boost::phoenix::actor> >, 2l> >, boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<std::ostream& (*)(std::ostream&)>, 0l> > >, 2l> >, boost::log::v2s_mt_posix::expressions::attribute_actor<std::string, boost::log::v2s_mt_posix::fallback_to_none, boost::log::v2s_mt_posix::expressions::tag::smessage, boost::phoenix::actor> >, 2l> > const> const&) (file.hpp:127)
==30198==    by 0x538BE3: LoggingHelper::LoggingHelper() (logging_helper.h:51)
==30198==    by 0x5430A4: __sti__loggingHelper (in /home/azg/code/yyy/build_debug/xxx)
==30198==    by 0x542F7F: __sti__$E (in /home/azg/code/yyy/build_debug/xxx)
==30198==  If you believe this happened as a result of a stack
==30198==  overflow in your program's main thread (unlikely but
==30198==  possible), you can try to increase the size of the
==30198==  main thread stack using the --main-stacksize= flag.
==30198==  The main thread stack size used in this run was 8388608.
==30198== 
==30198== HEAP SUMMARY:
==30198==     in use at exit: 12,015 bytes in 107 blocks
==30198==   total heap usage: 178 allocs, 71 frees, 19,018 bytes allocated
==30198== 
==30198== LEAK SUMMARY:
==30198==    definitely lost: 0 bytes in 0 blocks
==30198==    indirectly lost: 0 bytes in 0 blocks
==30198==      possibly lost: 330 bytes in 10 blocks
==30198==    still reachable: 11,685 bytes in 97 blocks
==30198==         suppressed: 0 bytes in 0 blocks
==30198== Rerun with --leak-check=full to see details of leaked memory
==30198== 
==30198== For counts of detected and suppressed errors, rerun with: -v
==30198== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2 from 2)
diff -r 2bf1d3dc0467 runtime/syntax/valgrind.vim
--- a/runtime/syntax/valgrind.vim	Wed Jan 14 21:22:01 2015 +0100
+++ b/runtime/syntax/valgrind.vim	Thu Jan 15 18:18:13 2015 +0100
@@ -65,9 +65,9 @@
 	\ contains=valgrindAt,valgrindAddr,valgrindFunc,valgrindBin,valgrindSrc
 syn match valgrindAt "at\s\@=" contained
 syn match valgrindAddr "\(\W\)\@<=0x\x\+" contained
-syn match valgrindFunc "\(: \)\@<=\w\+" contained
-syn match valgrindBin "\((\(with\|\)in \)\@<=\S\+\()\)\@=" contained
-syn match valgrindSrc "\((\)\@<=[^)]*:\d\+\()\)\@=" contained
+syn match valgrindFunc ": \zs\w\+" contained
+syn match valgrindBin "\((\(with\)\=in \)\zs\S\+\()\)\@=" contained
+syn match valgrindSrc "(\zs[^)]*:\d\+)\@=" contained
 
 " Define the default highlighting
 

Raspunde prin e-mail lui