Bug 634087
Summary: | GEdit crashes when editing vala files | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | aitkiar <aitkiar> |
Component: | gedit-vala | Assignee: | Michel Lind <michel> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 13 | CC: | michel |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | gedit-vala-0.10.2-1.fc14 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-09-30 06:11:00 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: |
Description
aitkiar
2010-09-15 07:53:12 UTC
If ValaIDE and monodevelop are also affected, it might be a bug in Vala's SDL binding. What version of Vala and gedit-vala did you try? My machine is up to date with the fedora repos so I guess they are the last ones. Yum list installed show this: gedit-vala.x86_64 0.6.1-1.fc13 @anaconda-InstallationRepo-201005130101.x86_64 vala.x86_64 0.9.3-1.fc13 @updates vala-devel.x86_64 0.9.3-1.fc13 @updates vala-doc.x86_64 0.9.3-1.fc13 @updates vala-tools.x86_64 0.9.3-1.fc13 @updates gedit.x86_64 1:2.30.2-1.fc13 @anaconda-InstallationRepo-201005130101.x86_64 gedit-debuginfo.x86_64 1:2.30.2-1.fc13 @fedora-debuginfo gedit-plugins.x86_64 2.29.4-1.fc13 @anaconda-InstallationRepo-201005130101.x86_64 I'm on my F-14 machine right now, and on it with the gedit-vala 0.9.3 in updates-testing, gedit no longer crashes. It still does not auto-complete, though. I'll check at the vala mailing list. In Debian testing, presumably you use the same set-up? If you could provide the version information for the affected components there, that'd be really helpful. This problem is specific to vala toys for gEdit (gedit-vala) and, it appears, valide. I installed another Vala editing mode, valencia, and using it the SDL module is auto-completed just fine. Filed a report against vtg here: http://code.google.com/p/vtg/issues/list?cursor=155 These are my debian package versions. There's no gedit-vala-toys package for debian, so here I only tried ValaIDE and monodevelop. libvala0 0.8.1-2 vala-doc 0.8.1-2 vala-utils 0.8.1-2 valac 0.8.1-2 valac-dbg 0.8.1-2 valide 0.7.0-1 valide-common 0.7.0-1 I'll try compiling valencia plugin and disabling vala-toys in gedit until F14 is released. There's a Fedora package for valencia (it has not been reviewed yet) here: http://salimma.fedorapeople.org/specs/gnome/gedit-valencia-0.3.0-2.fc14.src.rpm so please give it a try and let me know if it works for you. I can't compile the fedora package since not the dependencies are available in f13. This is the error when I use rpmbuild --rebuild Package vala-0.10 was not found in the pkg-config search path. Perhaps you should add the directory containing `vala-0.10.pc' to the PKG_CONFIG_PATH environment variable No package 'vala-0.10' found make: *** [libvalencia.so] Error 1 However, downloading the source from valencia homepage and compiling have worked and now i have code completion in gedit. Thanks; I'll need to re-test the patch on an F-13 machine. Basically vala < 0.9.5 and vala >= 0.9.5 provide different package names, and the patch that's currently in the package attempts to handle both cases. Obviously it does not. Update: upstream has released version 0.10.1 which fixes this issue, but at the moment it fails to compile on 64-bit Linux; still investigating. http://code.google.com/p/vtg/issues/detail?id=157 Fixed for F-14 and above. Unfortunately the version that fixes this needs several components that are newer than what we ship in F-13 (vala and gtksourceview2) so I'd recommend F-13 users to move to gedit-valencia once that is reviewed: https://bugzilla.redhat.com/show_bug.cgi?id=518892 gedit-vala-0.10.2-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/gedit-vala-0.10.2-1.fc14 gedit-vala-0.10.2-1.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update gedit-vala'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/gedit-vala-0.10.2-1.fc14 gedit-vala-0.10.2-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |