On Tue, Dec 12, 2006 at 04:16:24PM +1800, Bo Peng wrote:

> Dear list,
> 
> 1. start lyx
> 2. load a document, scroll away from the first page
> 3, new window, the same document is loaded, cursor at the front
> 4. move the cursor to the main window, lyx crashes.
> 
> Gdb says editXY() locate a paragraph under mouse cursor (with correct
> pit), but the paragraph has zero rows. Note that if two windows show
> the same paragraphs, lyx will not crash.
> 
> I will add this to Status.15x if anyone can confirm this bug. (As a
> result, I may have to disable mouse tracking. After all, lyx is not
> ready for mouse cursor and multiple windows.)

So, that was the recipe... I also see this. It happens for me sometimes
when moving the cursor to the first window and sometimes when moving it
back to the second one.

I cannot get a backtrace on cygwin as the crash brings me out of gdb,
even, but in the terminal I see:

$ ./src/lyx-qt4
QPainter::begin(), paintdevice returned engine == 0, type: 2

QPainter::end: Painter is not active, aborted
Assertion triggered in const lyx::Row& lyx::LyXText::getRowNearY(const 
lyx::BufferView&, int, lyx::pit_type) const by failing check 
"!par.rows().empty()" in file ../../src/text2.C:982
Abort (core dumped)

-- 
Enrico

Reply via email to