I've just discovered two bugs on Mac -- one crashing, the other merely annoying.

First the annoying bug:

Start LyX. Close all windows (either with the keyboard or the mouse).
Now (with the keyboard) enter <Cmd>N. This should open a new document;
instead sometimes -- not always, but regularly -- my computer gives me
a warning beep, saying in effect that I can't do that. The same is
true for <Cmd>O, <Cmd><Shift>N. The only way to do any of these things
is to use the mouse.

In trying to investigate this further to see what the exact conditions
for the bug are, I ran into a crashing bug (again, it only happens
sometimes but regularly):

Close all windows. Open a window, close it; repeat until crash. Here's
the backtrace:


Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x0000009c
0x00f8c5a9 in QAction::isEnabled ()
(gdb) bt
#0  0x00f8c5a9 in QAction::isEnabled ()
#1  0x00f730c4 in qt_mac_set_modal_state_helper_recursive ()
#2  0x00f731ac in qt_mac_set_modal_state_helper_recursive ()
#3  0x00f7332e in qt_mac_set_modal_state ()
#4  0x00f7764b in QMenuBarPrivate::macUpdateMenuBarImmediatly ()
#5  0x00f412b9 in -[NSApplication(QApplicationIntegration)
qt_sendPostedMessage:] ()
#6  0x00f41176 in -[NSApplication(QApplicationIntegration) qt_sendEvent:] ()
#7  0x00f41331 in -[QNSApplication sendEvent:] ()
#8  0x95b592a7 in -[NSApplication run] ()
#9  0x00f4b3c0 in QEventDispatcherMac::processEvents ()
#10 0x01bd1bb1 in QEventLoop::processEvents ()
#11 0x01bd1efa in QEventLoop::exec ()
#12 0x01bd3576 in QCoreApplication::exec ()
#13 0x001b9297 in lyx::LyX::exec ()
#14 0x001f236d in main ()


BH

Reply via email to