Opening old beamer presentations results in a crash. The problem is
that the beamer.layout file contains the following line:
MaxCounter Counter_Section
(In fact, any .layout file with this line in it will cause LyX to
crash.) Commenting out this line in the .layout file enables
everything to work.
Also, and apparently for the same reason, attempting to create a new
beamer presentation results in a dialog saying: "The document could
not be converted into the document class beamer."
What follows is the console output, followed by the backtrace, for
attempting to load an old beamer presentation.
Bennett
************
LyX: Unknown TextClass tag `MaxCounter' [around line 15 of file ~/
Library/Application Support/LyX/layouts/beamer.layout]
Error reading `~/Library/Application Support/LyX/layouts/beamer.layout'
(Check `beamer')
Check your installation and try Options/Reconfigure...
The new counter already exists.
The new counter already exists.
The new counter already exists.
The new counter already exists.
The new counter already exists.
The new counter already exists.
The new counter already exists.
The new counter already exists.
The new counter already exists.
The new counter already exists.
The new counter already exists.
The new counter already exists.
The new counter already exists.
The new counter already exists.
The new counter already exists.
The new counter already exists.
[Repeated a total of 5 times]
Check your installation and try Options/Reconfigure...
We failed to find the layout 'Standard' in the layout list. You MUST
investigate!
Assertion triggered in const LyXLayout_ptr& LyXTextClass::operator[]
(const std::string&) const by failing check "false" in file
lyxtextclass.C:823
Program received signal SIGABRT, Aborted.
0x9004a12c in kill ()
(gdb) bt
#0 0x9004a12c in kill ()
#1 0x90120954 in abort ()
#2 0x00134560 in lyx::support::abort () at abort.C:22
#3 0x00095ac8 in LyXTextClass::operator[] (this=0xb3be000,
[EMAIL PROTECTED]) at lyxtextclass.C:823
#4 0x000bac78 in (anonymous namespace)::readParToken
([EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED]) at text.C:187
#5 0x000bc200 in (anonymous namespace)::readParagraph
([EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]) at text.C:353
#6 0x000c26d4 in LyXText::read (this=0xc904964, [EMAIL PROTECTED],
[EMAIL PROTECTED]) at /usr/include/gcc/darwin/3.3/c++/bits/stl_vector.h:
584
#7 0x0002a678 in Buffer::readDocument (this=0xf2a2a50,
[EMAIL PROTECTED]) at buffer.C:491
#8 0x0002c008 in Buffer::readFile (this=0xf2a2a50, [EMAIL PROTECTED],
[EMAIL PROTECTED], pit=0) at buffer.C:678
#9 0x0002aafc in Buffer::readFile (this=0xf2a2a50,
[EMAIL PROTECTED], pit=0) at buffer.C:574
#10 0x0002be44 in Buffer::readFile (this=0xf2a2a50, [EMAIL PROTECTED],
[EMAIL PROTECTED], pit=0) at buffer.C:671
#11 0x0002aafc in Buffer::readFile (this=0xf2a2a50,
[EMAIL PROTECTED], pit=0) at buffer.C:574
#12 0x0002aa54 in Buffer::readFile (this=0xf2a2a50,
[EMAIL PROTECTED]) at /usr/include/gcc/darwin/3.3/c++/bits/
stl_vector.h:425
#13 0x00031f84 in (anonymous namespace)::readFile (b=0xf2a2a50,
[EMAIL PROTECTED]) at buffer_funcs.C:131
#14 0x00032098 in loadLyXFile (b=0xf2a2a50, [EMAIL PROTECTED]) at
buffer_funcs.C:144
#15 0x00006c28 in BufferView::Pimpl::loadLyXFile (this=0xb4508e0,
[EMAIL PROTECTED], tolastfiles=true) at BufferView_pimpl.C:276
#16 0x0007b12c in LyXFunc::open (this=0xb450180, [EMAIL PROTECTED])
at lyxfunc.C:1784
#17 0x00075d28 in LyXFunc::dispatch (this=0xb450180, [EMAIL PROTECTED])
at lyxfunc.C:1090
#18 0x0000a898 in BufferView::Pimpl::workAreaDispatch
(this=0xb4508e0, [EMAIL PROTECTED]) at BufferView_pimpl.C:924
#19 0x00648f40 in
boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<b
ool, boost::_mfi::mf1<bool, BufferView::Pimpl, FuncRequest const&>,
boost::_bi::list2<boost::_bi::value<BufferView::Pimpl*>,
boost::arg<1> > >, void, FuncRequest>::invoke (function_obj_ptr=
{obj_ptr = 0x0, const_obj_ptr = 0x0, func_ptr = 0, data = ""}, a0=
{action = 3613, argument = {static npos = 4294967295, _M_dataplus =
{<allocator<char>> = {<No data fields>}, _M_p = 0x0}, static
_S_empty_rep_storage = {0, 0, 0, 0}}, origin = INTERNAL, x = 0, y =
0, button_ = none}) at ../boost/boost/bind/mem_fn_template.hpp:148
#20 0x006bc4d4 in boost::function1<void, FuncRequest,
std::allocator<void> >::operator() (this=0xb4532f4, a0={action =
-1073749792, argument = {static npos = 4294967295, _M_dataplus =
{<allocator<char>> = {<No data fields>}, _M_p = 0xbfffe180 "\017)=?\f
\200"}, static _S_empty_rep_storage = {0, 0, 0, 0}}, origin =
7062740, x = 7058248, y = -1073749152, button_ = 3221218096}) at
QWorkArea.C:167
#21 0x006bc1b0 in boost::operator+
+<boost::signals::detail::slot_call_iterator<boost::signals::detail::cal
l_bound1<void>::caller<FuncRequest, boost::function<void ()
(FuncRequest), std::allocator<void> > >,
boost::signals::detail::named_slot_map_iterator>,
boost::signals::detail::unusable, boost::single_pass_traversal_tag,
boost::signals::detail::unusable const&, int> ([EMAIL PROTECTED]) at
QWorkArea.C:167
#22 0x006bb7f4 in boost::signal1<void, FuncRequest,
boost::last_value<void>, int, std::less<int>, boost::function<void ()
(FuncRequest), std::allocator<void> > >::operator() (this=0xbfffe310,
a1={action = 253962384, argument = {static npos = 4294967295,
_M_dataplus = {<allocator<char>> = {<No data fields>}, _M_p = 0x4c
<Address 0x4c out of bounds>}, static _S_empty_rep_storage = {0, 0,
0, 0}}, origin = INTERNAL, x = 1839564, y = 254361040, button_ =
3221218336}) at ../../../boost/boost/iterator/iterator_facade.hpp:152
#23 0x001d4cc0 in handleOpenDocuments (inEvent=0xbfffe880) at
QWorkArea.C:165
#24 0x91451a40 in aeDispatchAppleEvent ()
#25 0x914518dc in dispatchEventAndSendReply ()
#26 0x91451734 in aeProcessAppleEvent ()
#27 0x9312c204 in AEProcessAppleEvent ()
#28 0x00232258 in QApplication::globalEventProcessor () at
lcolorcache.C:40
#29 0x931288d4 in DispatchEventToHandlers ()
#30 0x9312802c in SendEventToEventTargetInternal ()
#31 0x93127ea8 in SendEventToEventTargetWithOptions ()
#32 0x9312f1ec in ToolboxEventDispatcherHandler ()
#33 0x93128b24 in DispatchEventToHandlers ()
#34 0x9312802c in SendEventToEventTargetInternal ()
#35 0x9312edb0 in SendEventToEventTarget ()
#36 0x0022eb20 in qt_mac_send_event () at lcolorcache.C:40
#37 0x00369d4c in QEventLoop::processEvents () at fileiter.cpp:875
#38 0x003475f4 in QEventLoop::enterLoop () at GraphicsCacheItem.C:443
#39 0x003474e0 in QEventLoop::exec () at GraphicsCacheItem.C:443
#40 0x00171608 in lyx_gui::start ([EMAIL PROTECTED],
[EMAIL PROTECTED]) at lyx_gui.C:253
#41 0x00065428 in LyX::priv_exec (this=0xb406e60, [EMAIL PROTECTED],
argv=0xbffff850) at lyx_main.C:282
#42 0x0006465c in LyX::exec ([EMAIL PROTECTED], argv=0xbffff850) at ../
boost/boost/scoped_ptr.hpp:93
#43 0x00002598 in main (argc=1, argv=0xbffff850) at main.C:47