I have LyX-1.6svn set to open files from the last session, and currently it is set to open 3 files. There are a number of bugs with the way this works, as I have reported in the past. One bug is that although I last quit LyX with these files open in separate windows, on relaunch, LyX opens them in one window with tabs. (On Mac this is a problem because in 1.6 <opt><tab> does not work to switch among these tabs; this is a regression from 1.5.) Another bug is that LyX now opens them with the source view and outline view visible, which it should not (given that they were not visible when LyX was last quit.) I mention these problems because it seems they may be relevant to the current crash I'm getting.
Currently, with these 3 files set to open in the sessions file, LyX crashes on launch soon after displaying the document window. If I delete the sessions file, LyX launches with no problem, and I am able to open these 3 files individually. When I quit (with these files open) and relaunch, I again get the crash. Here's the backtrace. Bennett Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x72894000 0x96eb8c4f in CUIRenderer::DrawSlider () (gdb) (gdb) bt #0 0x96eb8c4f in CUIRenderer::DrawSlider () #1 0x96ec3f0a in CUIRenderer::Draw () #2 0x92b11c3e in _HIThemeDrawTrackTickMarksInternal () #3 0x92b11eb0 in HIThemeDrawTrackTickMarks () #4 0x00832b4d in QMacStyle::drawComplexControl () at ext/new_allocator.h:94 #5 0x00931649 in QSlider::paintEvent () at ext/new_allocator.h:94 #6 0x005f267f in QWidget::event () at ext/new_allocator.h:94 #7 0x008a7498 in QAbstractSlider::event () at ext/new_allocator.h:94 #8 0x009315a1 in QSlider::event () at ext/new_allocator.h:94 #9 0x005b396f in QApplicationPrivate::notify_helper () at ext/new_allocator.h:94 #10 0x005b9c1c in QApplication::notify () at ext/new_allocator.h:94 #11 0x00371671 in lyx::frontend::GuiApplication::notify (this=0x202d1d0, receiver=0x41e80000, event=0x41e80000) at GuiApplication.cpp:1185 #12 0x00b6bf34 in QCoreApplication::notifyInternal () at ext/new_allocator.h:94 #13 0x0061b35d in QWidgetPrivate::qt_widget_event () at ext/new_allocator.h:94 #14 0x92974763 in DispatchEventToHandlers () #15 0x92973b9d in SendEventToEventTargetInternal () #16 0x92973a02 in SendEventToEventTargetWithOptions () #17 0x92997421 in HIView::SendDraw () #18 0x92996f0e in HIView::RecursiveDrawComposited () #19 0x92997072 in HIView::RecursiveDrawComposited () #20 0x92997072 in HIView::RecursiveDrawComposited () #21 0x92997072 in HIView::RecursiveDrawComposited () #22 0x92997072 in HIView::RecursiveDrawComposited () #23 0x9299630c in HIView::DrawComposited () #24 0x9299601f in HIView::Draw () #25 0x92995f6f in HIView::Render () #26 0x9299e867 in FlushWindowObject () #27 0x9299e27e in FlushAllBuffers () #28 0x90fd59c2 in __CFRunLoopDoObservers () #29 0x90fd6bf2 in CFRunLoopRunSpecific () #30 0x90fd7cf8 in CFRunLoopRunInMode () #31 0x9299cda4 in RunCurrentEventLoopInMode () #32 0x9299caf6 in ReceiveNextEventCommon () #33 0x92adfaf3 in ReceiveNextEvent () #34 0x0060a0b4 in QEventDispatcherMac::processEvents () at ext/new_allocator.h:94 #35 0x00b6b641 in QEventLoop::processEvents () at ext/new_allocator.h:94 #36 0x00b6b76a in QEventLoop::exec () at ext/new_allocator.h:94 #37 0x00b6e461 in QCoreApplication::exec () at ext/new_allocator.h:94 #38 0x001197e9 in lyx::LyX::exec (this=0xbffff258, [EMAIL PROTECTED], argv=0xbffff2a0) at LyX.cpp:343 #39 0x00003069 in main (argc=1, argv=0xbffff2a0) at main.cpp:46