Lyx crashes with SIGSEGV when trying to show image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lyx (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: lyx
Lyx 1.6.2 crashes on showing image when "Scale on Screen (%)" option is set to 50 and image size is 1266x421. Some other sizes cause chash too (for example, 856x331), but setting scale to 51% solves the problem. In 9.10 this problem seems to be fixed, but 8.04 can also be affected.
It is quite simple to reproduce the bug: open gimp and create new empty image with size 1266x421. Then start lyx and create new file. Choose Insert->Graphics... and select your file. Go to "LaTeX and LyX options" tab and set "Scale on Screen (%)" option to 50. Then push "Apply" button. Lyx crashes with SIGSEGV signal.
I have several files with such "bad" image. LyX crashes always, when it should show and image. Using vi to change lyxscale option in .lyx file from 50 to 51 helps to workaround this problem. Image format seems to be unrelevant, I had such bug with jpeg and png images.
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: lyx 1.6.2-1
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: lyx
Uname: Linux 2.6.28-16-generic i686
I attach archive with buggy lyx file and image. When I open this file on Ubuntu 9.04, lyx crashes with SIGSEGV. On Ubuntu 8.04 it's OK.