The trouble I'm having is that if the LyX.app bundle is moved from /Applications (which Mac users normally are used to being able to do), accessing the thesaurus from within LyX causes a crash. Any suggestions for how to get this to work?
Post a backtrace so that we can see where it is crashing.
(Run lyx within gdb, get it to crash and then type 'bt' at the gdb command prompt.)
1. I tried this with lyx-1.4.0cvs, and I get strange results. The application runs normally when I double-click the icon; when I try running it from the command line (LyX.app/Contents/MacOS/lyx), the program runs but it refuses to become the frontmost application. (I've had this problem before, and never bothered trying to fix it because it works when run through the GUI.) Nonetheless, I can manipulate the window enough to invoke the thesaurus (though I can't enter any text). When run from the command line, lyx-1.4.0cvs does not crash when the thesaurus is invoked. (So I get no backtrace from gdb.)
However, when run through the GUI, lyx-1.4.0cvs *does* crash upon invoking the thesaurus. I've attached lyx-1.4.0cvs.crash.log.
lyx.crash.log
Description: application/text
2. Things are different when I try the same thing with lyx-1.3.5cvs, which I can run through the command line without problem. When I invoke the thesaurus, I do get a crash; here's the backtrace from gdb:
(gdb) run
Starting program: /Users/bennett/Desktop/LyX.app/Contents/MacOS/lyx
Reading symbols for shared libraries ++++++................................................... done
LyXComm: Pipe /Users/bennett/.lyx/.lyxpipe.in already exists.
If no other LyX program is active, please delete the pipe by hand and try again.
Program received signal EXC_BAD_ACCESS, Could not access memory.
0x0086f2c8 in dyld_stub___keymgr_dwarf2_register_sections ()
(gdb) bt
#0 0x0086f2c8 in dyld_stub___keymgr_dwarf2_register_sections ()
#1 0x0086f2b0 in dyld_stub___keymgr_dwarf2_register_sections ()
#2 0x0018ec74 in ?? ()
#3 0x0018fb18 in ?? ()
#4 0x0003d690 in ?? ()
#5 0x002e73ec in ?? ()
#6 0x00484d84 in ?? ()
#7 0x002cb2fc in ?? ()
#8 0x008f602c in dyld_stub___keymgr_dwarf2_register_sections ()
#9 0x0030abec in ?? ()
#10 0x00931374 in dyld_stub___keymgr_dwarf2_register_sections ()
#11 0x002e7128 in ?? ()
#12 0x0014c914 in ?? ()
#13 0x0000eb74 in ?? ()
#14 0x00002674 in ?? ()
#15 0x000aeb98 in ?? ()
#16 0x000a9808 in ?? ()
#17 0x000a797c in ?? ()
#18 0x000093cc in ?? ()
#19 0x00874a8c in dyld_stub___keymgr_dwarf2_register_sections ()
#20 0x0094b000 in dyld_stub___keymgr_dwarf2_register_sections ()
#21 0x003e2d6c in ?? ()
#22 0x0026669c in ?? ()
#23 0x0027ef9c in ?? ()
#24 0x0027e4c8 in ?? ()
#25 0x002a1f34 in ?? ()
#26 0x9adf04e4 in DispatchEventToHandlers ()
#27 0x9adf0758 in SendEventToEventTargetInternal ()
#28 0x9adf4bc0 in SendEventToEventTargetWithOptions ()
#29 0x9ae29674 in HandleKeyboardEvent(OpaqueEventRef*, unsigned long) ()
#30 0x9ae01198 in ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) ()
#31 0x9adf05a0 in DispatchEventToHandlers ()
#32 0x9adf0758 in SendEventToEventTargetInternal ()
#33 0x9ae02be8 in SendEventToEventTarget ()
#34 0x0029e910 in ?? ()
#35 0x0042644c in ?? ()
#36 0x0044f8b4 in ?? ()
#37 0x0044f7a8 in ?? ()
#38 0x0027f144 in ?? ()
#39 0x001c51cc in ?? ()
#40 0x00091510 in ?? ()
#41 0x000d9fb8 in ?? ()
#42 0x00001d5c in ?? ()
#43 0x8fe1a58c in __dyld__dyld_start ()
(gdb)