Bug 184508
Summary: | lyx: crashes with "graphics preview" | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Neal Becker <ndbecker2> | ||||
Component: | lyx | Assignee: | Rex Dieter <rdieter> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | alex, christopher.shucksmith, extras-qa, lowe, mvanross, persiobarros, simon | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | lyx-1.4.1-2 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-04-13 13:33:44 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 184475 | ||||||
Attachments: |
|
Description
Neal Becker
2006-03-09 12:35:40 UTC
Created attachment 125873 [details]
trace
What version-release of lyx are you using? rpm -q lyx Unfortunately, I don't have a fc5 box, so I cannot reproduce. lyx-1.4.0-3 works fine for me on my rhel4 boxes. I assume you're using the qt frontend? If so, try installing lyx-xforms. Does the problem occur there too? lyx-1.4.0-3.fc5 Yes, using qt frontend. Turns out the existing builds (lyx <= 1.4.0-3) were still using -fexceptions in the compiler flags, so we'll rebuild with that fixed to see if it helps. Hmm, can't duplicate this here on my Rawhide box with lyx-1.4.0-3.fc5. I tried scrolling with keys (PageUp, PageDown) and with the mouse after opening the User Guide, but I get no crash. I have rawhide-20060308. OK, now I can duplicate it after upgrading to rawhide-20060309. However it requires a very quick up and down scroll for it to happen and even then, not every time. The backtrace looks similar. Depends on content. Crashes every time for me, both when viewing 'help user's guide' and, unfortunately, the _paper I'm trying to write_. Really not usable. Please try to reproduce with lyx-1.4.0-4 (should be released yesterday or today). Still waiting for lyx-1.4.0-4. In the meantime, note 1.4.0-3 crashes in same manner for lyx-xforms. Nope, same crash with lyx-1.4.0-4 Rex, I can provide you with my paper to test with, but I don't want to post it publically. May have to wait for fc5 final... I have no fc5 boxes (and won't until it's released). Feel free to send test-cases to me privately to rdieter.edu. Me too: I also see this on my box w. lyx 1.4.0-4 For me it does not depend on the speed, but it crashes in the userguide in section 4, where the figure is. (Ps. dvi export of the userguide fails as well). See also "lyx crash following fc4->fc5" upstream report: http://bugzilla.lyx.org/show_bug.cgi?id=2414 For me, a suitable workaround is to use the Lyx FC4 packages in FC5 # yum remove lyx # wget ftp://fr.rpmfind.net/linux/fedora/extras/4/i386/lyx-1.4.0-4.fc4.i386.rpm # wget ftp://fr.rpmfind.net/linux/fedora/extras/4/i386/lyx-qt-1.4.0-4.fc4.i386.rpm # rpm -iv lyx-qt-1.4.0-4.fc4.i386.rpm lyx-1.4.0-4.fc4.i386.rpm Interesting... that smacks of a compiler bug (or at least an incompatibility). I'm out of my depth here. Reading around i see someone with more experiance used a diff of object dumps on two binaries to diagnose. Perhaps I can try that. see http://kernelslacker.livejournal.com/36756.html I believe something similar was used after the release of FC4 with an xorg problem switching virtual terminals on matrox cards (maybe?). problem with ambiguity in the original code. Might be a way forward for the two lyx-qt binaries? I know FC4 was build on 4.0.x and the FC5 release notes: The GCC 4.1 compiler is included, and the entire set of Fedora packages is built with this technology. This provides security and performance enhancements throughout the system. Does the build system for FC5 Extras also use 4.1? Yes, FC5 uses gcc-4.1 throughout, including for Extras *** Bug 186551 has been marked as a duplicate of this bug. *** See also upstream report: "Crash in 1.4.0 on graphics preview" http://bugzilla.lyx.org/show_bug.cgi?id=2376 It appears that one workaround is to disable/turn-off graphics preview. If any of you are willing, try out this test build: http://apt.kde-redhat.org/apt/kde-redhat/mock/fedora-5-i386-core/lyx/ Let me know if it helps. Nevermind about the test binary... already got a couple reports that it crashes too. *** Bug 188201 has been marked as a duplicate of this bug. *** I've been having the same problem. Lyx will crash even if the image does not exist. Disabling graphics works for me. I managed to rebuild it with the 3.2 compiler and that works with graphics on. How did you build with the 3.2 compiler? I already tried that, but it fails to link against qt (because qt was built with gcc-4.1). I built from souce using the following cmd to run configure. I'm not sure if you actually need all the extra bits except the CXX= and CC= parts, but I haven't tried compiling without them. CXX=gcc32 CC=gcc32 CFLAGS="-ggdb -O0" CPPFLAGS="-ggdb -O0" CXXFLAGS="-ggdb -O0" ./configure --with-frontend=qt QTDIR=/usr/lib/qt-3.3/ --enable-debug --enable-optimization=no --with-included-boost=yes This fails to link due to missing stdc++, so I cut 'n' paste the linker command and added -lstdc++ and it built. I got a warning about linking to qt, but it still seems to run. (btw I made sure all gcc3 based rpms were installed, so the compat rpm and the compiler rpm at least) I just built lyx-1.5.0svn with boost-1.34 and it does NOT crash. lyx-1.4.1 has been pushed to Fedora Extras. Please upgrade, and confirm/deny the continued existence of crash(es). I've received several confirmations (as well as testing it myself) that lyx-1.4.1 no longer crashes. Please report back if you find otherwise. The old crash (preview) seems to be fixed, but I still got a crash that appears to be different. 1.5.0svn + boost-1.34 seems a lot more stable. Neal, please file a separate report for your other issue(s), if you haven't already. 1.5.0 release is still awhile off... (-: (and boost-1.34 isn't released either?) |