Lyx crashes with SIGSEGV when trying to show image

Bug #486240 reported by nick
6
This bug affects 1 person
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

Revision history for this message
nick (nmn1) wrote :
Revision history for this message
nick (nmn1) wrote :

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.

Revision history for this message
Juhani Numminen (jsonic) wrote :

Does this bug still exist?

Changed in lyx (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for lyx (Ubuntu) because there has been no activity for 60 days.]

Changed in lyx (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.