Bug 210525
Summary: | stellarium seg fault on AMD 64bit | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Rick Richardson <rickrich> | ||||||||
Component: | stellarium | Assignee: | Jochen Schmitt <jochen> | ||||||||
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 5 | CC: | extras-qa, hdegoede | ||||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||||
Target Release: | --- | ||||||||||
Hardware: | x86_64 | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2006-11-14 23:15:12 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: | 213321 | ||||||||||
Attachments: |
|
Description
Rick Richardson
2006-10-12 18:35:05 UTC
On http://sourceforge.net/tracker/index.php?func=detail&aid=1566760&group_id=48857&atid=454373 I have found a patch which should solve the reported problem. Becouse I haven't a 64 bit system, it will be nice, if anyone can test the new build package and notify me about the result of the test. Becouse I have not got any feedback, I assume, that the patch will be OK, so I can close this bug. I can't do patches - binary only!!!! $ rpm -q stellarium stellarium-0.8.2-1.fc5.2 http://fedoraproject.org/extras/5/x86_64/repodata/repoview/stellarium-0-0.8.2-1.fc5.2.html $ stellarium ------------------------------------------------------- [ This is Stellarium 0.8.2 - http://www.stellarium.org ] [ Copyright (C) 2000-2006 Fabien Chereau et al ] ------------------------------------------------------- Segmentation fault (core dumped) Created attachment 140995 [details]
strace for stellarium segfault
strace output for stellarium segfault
problem also exists on i686 [root@daisy ~]# uname -a Linux daisy.lan 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:37:32 EDT 2006 i686 i686 i386 GNU/Linux [root@daisy ~]# stellarium ------------------------------------------------------- [ This is Stellarium 0.8.2 - http://www.stellarium.org ] [ Copyright (C) 2000-2006 Fabien Chereau et al ] ------------------------------------------------------- Will create config files in /root/.stellarium/ Try to create directory /root/.stellarium/ Segmentation fault [root@daisy ~]# rpm -q stellarium stellarium-0.8.2-2.fc6 (In reply to comment #6) problem is with nvidia drivers, please ignore. Since the problem is with the nvidea drivers, I assume this bug can be closed? Ifso then please close it. Or was the 32 bit / i686 problem with the nvidea driverS? If you are sure, that is a nvidia problem, I will close this bug again. Jeez! Open this bug! I can reproduce this on x86_64 with opensource dri drivers. I guess Jochen mis understood me, I was trying to ask if Marc was sure this was to blame on the NVidea drivers, not trying to state it was the dri drivers. I'm looking into this now, it looks like a classic case of using OpenGL calls before creating an OpenGL context. Created attachment 141113 [details]
PATCH fixing the crash due to using OpenGL without an OpenGL context
Here is a patch fixing this crash.
Also the patch for the 64 bit issue which you took from sf.net is wrong! The
gentoo patch attached there is correct!
I'll attach it here too for your convinience.
Created attachment 141114 [details]
PATCH: correct 64 bit fix
I have create a package stellarium-0.8.2-3 for developement, FC-6 and FC-7. Becouse I haven't a 64bit-system please test the package and notify me. As I already wrote: "I can reproduce this on x86_64 with opensource dri drivers", thus no surprise after building 0.8.2-3 from CVS, which contains my fixes (which were alreayd tested on 64 bit) stellarium still works fine, iow this is fixed, closing. |