Whenever I try to run a recent version of trunk I get the error below.
This does not seem to be a regession in LyX but rather a regression in
the Ubuntu boost... except that they don't seem to have changed that
recently. I don't really know what is going on. But if anyone else
comes across this problem, disabling --without-included-boost seems to
fix it.

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

Program received signal SIGABRT, Aborted.
0x00007ffff4a92a75 in *__GI_raise (sig=<value optimised out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
64      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
        in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0  0x00007ffff4a92a75 in *__GI_raise (sig=<value optimised out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff4a965c0 in *__GI_abort () at abort.c:92
#2  0x00007ffff55658e5 in __gnu_cxx::__verbose_terminate_handler() ()
from /usr/lib/libstdc++.so.6
#3  0x00007ffff5563d16 in ?? () from /usr/lib/libstdc++.so.6
#4  0x00007ffff5563d43 in std::terminate() () from /usr/lib/libstdc++.so.6
#5  0x00007ffff5563dc6 in __cxa_rethrow () from /usr/lib/libstdc++.so.6
#6  0x00000000005bc8dd in
boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char
const*, std::string>,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char
const*, std::string> > >, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::match_imp() ()
#7  0x00000000005bcaf3 in bool
boost::regex_match<__gnu_cxx::__normal_iterator<char const*,
std::string>, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char
const*, std::string> > >, char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >(__gnu_cxx::__normal_iterator<char
const*, std::string>, __gnu_cxx::__normal_iterator<char const*,
std::string>, boost::match_results<__gnu_cxx::__normal_iterator<char
const*, std::string>,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char
const*, std::string> > > >&, boost::basic_regex<char,
boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&,
boost::regex_constants::_match_flags) ()
#8  0x0000000000cdde6b in regex_match<std::char_traits<char>,
std::allocator<char>,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char
const*, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > >, char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > > (path=...) at
../../boost/boost/regex/v4/regex_match.hpp:82
#9  lyx::support::replaceEnvironmentPath (path=...) at filetools.cpp:569
#10 0x0000000000cde7c2 in lyx::support::fileSearch (path=...,
name=..., ext=..., mode=10) at filetools.cpp:222
#11 0x0000000000cf68c1 in isBuildDir (abs_binary=<value optimised
out>, dir_location=..., build_support_dir=...) at Package.cpp:258
#12 0x0000000000cf6bf8 in inBuildDir (abs_binary=<value optimised
out>, build_support_dir=<value optimised out>,
system_support_dir=<value optimised out>) at Package.cpp:286
#13 0x0000000000cfd5b1 in Package (this=0x7fffffffa8f0,
command_line_arg0=<value optimised out>,
command_line_system_support_dir=<value optimised out>,
command_line_user_support_dir=<value optimised out>) at
Package.cpp:120
#14 0x0000000000cfdda4 in lyx::support::init_package
(command_line_arg0=<value optimised out>,
command_line_system_support_dir=<value optimised out>,
command_line_user_support_dir=<value optimised out>) at Package.cpp:61
#15 0x00000000005f04a9 in lyx::LyX::exec (this=<value optimised out>,
argc=@0x7fffffffe27c, argv=0x7fffffffe388) at LyX.cpp:293
#16 0x00000000004438e5 in main (argc=1, argv=0x7fffffffe388) at main.cpp:42

-- 
John C. McCabe-Dansted

Reply via email to