Following the recent exchanges on the lyx-user list, I gave the most recent 
version of the SVN code a try (revision 33559) . Unsuccessfully, it turns out. 
Lyx crashes while scrolling a very simple document, with the following output 
to console:


QPainter::setFont: Painter not active
QPainter::font: Painter not active

------a few screenfuls of the above, then ----

QPainter::setPen: Painter not active
Error returned from iconv
        Some other error: 11
QPainter::end: Painter not active, aborted
        Some other error: 11
/usr/include/c++/4.4/debug/vector:272:error: attempt to subscript container
    with out-of-bounds index 24, but container only holds 19 elements.

Objects involved in the operation:
sequence "this" @ 0x0x3d9bec0 {
  type = NSt7__debug6vectorIN3lyx3RowESaIS2_EEE;
}


lyx --version reports:

LyX 2.0.0svn (not released yet)
Built on Feb 24 2010, 12:29:34
Configuration
  Host type:                    x86_64-unknown-linux-gnu
  Special build flags:          concept-checks stdlib-debug assertions 
warnings  use-aspell use-enchant use-hunspell
  C   Compiler:                 gcc
  C   Compiler LyX flags:
  C   Compiler flags:           -Wextra -Wall   -g -O
  C++ Compiler:                 g++ (4.4.1)
  C++ Compiler LyX flags:
  C++ Compiler flags:           -Wextra -Wall   -g -O
  Linker flags:
  Linker user flags:
  Qt 4 Frontend:
      Qt 4 version:             4.6.1
  Packaging:                    posix


The problem disappears if I uncheck continuous spelling. I can provide a 
backtrace if someone is willing to teach me how to convince gdb to start lyx 
with -sysdir and -userdir parameters.
I cannot reproduce the crash with Lyx help documents--only with some of my 
own. But I cannot figure out what triggers it.

Cheers,


S.


______________________________________________________________
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas A&M University              Fax: (979) 845-0458
305B Bolton Hall                  fran...@philosophy.tamu.edu
College Station, TX 77843-4237

Reply via email to