LyX-140 on Mac will crash *when using key bindings* for File > Open,
File > New, and File > New from Template. It will not crash when
using the mouse to select these from the menus, nor will it crash
dragging and dropping files into the LyX window.
Here's the gdb output:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
(anonymous namespace)::encode ([EMAIL PROTECTED], [EMAIL PROTECTED]) at
QLyXKeySym.C:59
59 if (!codec->canEncode(str)) {
(gdb) bt
#0 (anonymous namespace)::encode ([EMAIL PROTECTED], [EMAIL PROTECTED]) at
QLyXKeySym.C:59
#1 0x00174ca8 in QLyXKeySym::getISOEncoded (this=0xf947ab0,
[EMAIL PROTECTED]) at QLyXKeySym.C:200
#2 0x00070fb0 in LyXFunc::processKeySym (this=0xb44f6b0, keysym={px
= 0xbfffe250, pn = {pi_ = 0xa072a174}}, state=ctrl) at ../boost/boost/
shared_ptr.hpp:252
#3 0x00008794 in BufferView::Pimpl::workAreaKeyPress
(this=0xb44fe10, key={px = 0x0, pn = {pi_ = 0x7d3b18}}, state=none)
at frontends/LyXView.h:83
#4 0x0063bc18 in
boost::detail::function::void_function_obj_invoker2<boost::_bi::bind_t<v
oid, boost::_mfi::mf2<void, BufferView::Pimpl,
boost::shared_ptr<LyXKeySym>, key_modifier::state>,
boost::_bi::list3<boost::_bi::value<BufferView::Pimpl*>,
boost::arg<1>, boost::arg<2> > >, void, boost::shared_ptr<LyXKeySym>,
key_modifier::state>::invoke (function_obj_ptr={obj_ptr = 0x7c668c,
const_obj_ptr = 0x7c668c, func_ptr = 0x7c668c
<std::string::_S_empty_rep_storage+12>, data = ""}, a0=Cannot access
memory at address 0x0
) at ../boost/boost/detail/shared_count.hpp:124
#5 0x00707bd0 in boost::function2<void,
boost::shared_ptr<LyXKeySym>, key_modifier::state,
std::allocator<void> >::operator() (this=0xb452894, a0={px =
0xf947ab0, pn = {pi_ = 0xb473490}}, a1=ctrl) at ../../../boost/boost/
detail/shared_count.hpp:124
#6 0x0070773c in boost::operator+
+<boost::signals::detail::slot_call_iterator<boost::signals::detail::cal
l_bound2<void>::caller<boost::shared_ptr<LyXKeySym>,
key_modifier::state, boost::function<void ()
(boost::shared_ptr<LyXKeySym>, key_modifier::state),
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 ../../../boost/boost/detail/shared_count.hpp:124
#7 0x00706c10 in boost::signal2<void, boost::shared_ptr<LyXKeySym>,
key_modifier::state, boost::last_value<void>, int, std::less<int>,
boost::function<void ()(boost::shared_ptr<LyXKeySym>,
key_modifier::state), std::allocator<void> > >::operator()
(this=0xbfffe5e0, a1={px = 0xb4526c0, pn = {pi_ = 0x0}},
a2=3221218864) at ../../../boost/boost/iterator/iterator_facade.hpp:152
#8 0x0035f684 in QContentPane::keyeventTimeout (this=0xb450710) at /
Users/bennett/lyx/gcc-3.3/qt-mac-free-3.3.4/include/qevent.h:254
#9 0x0045312c in QContentPane::qt_invoke (this=0xb450710, _id=47,
_o=0xbfffe860) at QContentPane_moc.C:91
#10 0x001dda54 in QObject::activate_signal () at
ControlCommandBuffer.C:137
#11 0x001dd93c in QObject::activate_signal () at
ControlCommandBuffer.C:137
#12 0x002f481c in QTimer::event () at GraphicsCacheItem.C:443
#13 0x001c4b64 in QApplication::internalNotify () at /usr/include/gcc/
darwin/3.3/c++/bits/stl_alloc.h:656
#14 0x001c475c in QApplication::notify () at /usr/include/gcc/darwin/
3.3/c++/bits/stl_alloc.h:656
#15 0x00365104 in QEventLoop::macHandleTimer () at fileiter.cpp:875
#16 0x0022bd6c in QApplication::globalEventProcessor () at
lcolorcache.C:40
#17 0x931288d4 in DispatchEventToHandlers ()
#18 0x9312802c in SendEventToEventTargetInternal ()
#19 0x93127ea8 in SendEventToEventTargetWithOptions ()
#20 0x9312f1ec in ToolboxEventDispatcherHandler ()
#21 0x93128b24 in DispatchEventToHandlers ()
#22 0x9312802c in SendEventToEventTargetInternal ()
#23 0x9312edb0 in SendEventToEventTarget ()
#24 0x0022b510 in qt_mac_send_event () at lcolorcache.C:40
#25 0x00366014 in QEventLoop::processEvents () at fileiter.cpp:875
#26 0x00343990 in QEventLoop::enterLoop () at GraphicsCacheItem.C:443
#27 0x0034387c in QEventLoop::exec () at GraphicsCacheItem.C:443
#28 0x0016ed2c in lyx_gui::start ([EMAIL PROTECTED],
[EMAIL PROTECTED]) at lyx_gui.C:253
#29 0x000652b8 in LyX::priv_exec (this=0xb406e60, [EMAIL PROTECTED],
argv=0xbffff828) at lyx_main.C:282
#30 0x0006453c in LyX::exec ([EMAIL PROTECTED], argv=0xbffff828) at ../
boost/boost/scoped_ptr.hpp:93
#31 0x00002d98 in main (argc=1, argv=0xbffff828) at main.C:47
Bennett