First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 32085
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Lieven Buts <lievbuts@vub.ac.be>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
pymol-0.92.ebuild ebuild for PyMol 0.92 text/plain Lieven Buts 2003-10-27 00:45 0000 1.06 KB Details
pymol-0.93.ebuild ebuild for PyMol 0.93 text/plain Lieven Buts 2003-11-03 08:16 0000 1.06 KB Details
mgl.pdb Structure file for PyMOL test script text/plain Lieven Buts 2004-05-03 04:08 0000 2.09 KB Details
crash.pml PyMOL script to test raytracer crash text/plain Lieven Buts 2004-05-03 04:09 0000 55 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 32085 depends on: Show dependency tree
Bug 32085 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-10-27 00:44 0000
PyMol 0.92 has just been released on http://pymol.sf.net/. 
 
Please find attached the file "pymol-0.92.ebuild". The only change from the 
existing "app-sci/pymol-0.90.ebuild" is the removal of the line "epatch 
${FILESDIR}/setup.py-gentoo.patch", since this patch is no longer necessary. 
 
With this ebuild, PyMol 0.92 compiles fine, at least on my Pentium-4 system. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Lieven Buts 2003-10-27 00:45:38 0000 -------
Created an attachment (id=19843) [details]
ebuild for PyMol 0.92

------- Comment #2 From Lieven Buts 2003-10-31 02:06:44 0000 -------
It has just been announced on pymol-users that some problems have been found
in PyMol 0.92 and that a 0.93 bugfix version will be released ASAP.

------- Comment #3 From Lieven Buts 2003-11-03 08:16:04 0000 -------
Created an attachment (id=20180) [details]
ebuild for PyMol 0.93

------- Comment #4 From Lieven Buts 2003-11-03 08:17:25 0000 -------
I have attached pymol-0.93.ebuild for the app-sci category. It is exactly
the same a pymol-0.92.ebuild except for its name and builds fine on a Pentium-4
system.

------- Comment #5 From David King 2003-11-12 06:02:25 0000 -------
The 0.93 ebuild also works fine for me on an Athlon XP system

------- Comment #6 From Patrick Kursawe 2004-04-20 07:25:26 0000 -------
Could you please test pymol-0.95 that will be in portage later today? Thanks.

------- Comment #7 From Lieven Buts 2004-04-22 02:24:18 0000 -------
The 0.95 ebuild in the Portage tree installs correctly. When running PyMOL
0.95, I sometimes get a seqmentation fault during raytracing, but I also get
that on non-Gentoo systems, so it's probably a PyMOL problem.

------- Comment #8 From Patrick Kursawe 2004-04-22 02:39:50 0000 -------
Maybe this is a gcc related problem, see
http://sourceforge.net/tracker/index.php?func=detail&aid=806361&group_id=4546&atid=104546

------- Comment #9 From Lieven Buts 2004-05-03 02:39:15 0000 -------
I've been looking at the raytracing crash over the weekend. It doesn't happen
when I compile PyMOL 0.95 "manually" (using python setup.py install), but it
does occur when I use Portage with CFLAGS="-march=pentium4 -O2 -pipe
-funroll-loops".

After some elimination, it seems that the problem is caused by the "-fgcse"
optimization flag enabled by "-O2". When I set CFLAGS (in /etc/make.conf) to
"... -O2 -fno-gcse ...", the resulting PyMOL build doesn't crash.

I was under the impression that compiler optimizations were not supposed to
cause crashes :-), so it's probably a gcc bug. Anybody know how to report
things like this?

------- Comment #10 From Patrick Kursawe 2004-05-03 03:24:25 0000 -------
Can you give some instructions on how to produce this crash? Maybe one could
track it down to some specific gcc versions.... Maybe it is a gcc bug, maybe it
just shows a bug in PyMol code, I think it's too early to tell.

Re-opening, changing subject.

------- Comment #11 From Lieven Buts 2004-05-03 04:07:32 0000 -------
I created a small test script "crash.pml" which loads a small PDB file
("mgl.pdb"), creates a stick representation and starts the raytracing. I'll
attach both files to the report. You can start PyMOL in non-GUI mode with
"pymol -qc crash.pml". If the build is OK, it should print the time it took to
make the image, otherwise it will segfault.

------- Comment #12 From Lieven Buts 2004-05-03 04:08:33 0000 -------
Created an attachment (id=30587) [details]
Structure file for PyMOL test script

------- Comment #13 From Lieven Buts 2004-05-03 04:09:14 0000 -------
Created an attachment (id=30588) [details]
PyMOL script to test raytracer crash

Minimal script to trigger raytracer segfault

------- Comment #14 From Olivier Fisette 2004-07-25 22:04:37 0000 -------
I have been testing 0.97 for a few days and it seems that this new version
solves the ray-tracing bug. Aggressive optimizations no longer seem to make
pymol segfault when raytracing. I you still have problems with the current
version, please comment. Otherwise, I'll mark this bug as WONTFIX in a couple
of weeks, and try to mark 0.97 stable as soon as possible. 

------- Comment #15 From Lieven Buts 2004-07-27 00:07:19 0000 -------
Yup, 0.97 seems fine, even with "-fgcse" enabled. I'm still curious about the 
cause of the problem, but I don't really hav the time to delve into the 
necessary depths now :-). Thanks for the 0.97 ebuild!

------- Comment #16 From Olivier Fisette 2004-08-07 12:56:23 0000 -------
I guess we'll never know if it was a gcc, PyMOL or X driver problem... But at
least it works, now ;-)

------- Comment #17 From Bruno Afonso 2004-08-10 18:21:11 0000 -------
It was the gcc. I have emerged 0.97 with gcc 3.3.2. I was having the same
problem... then I upgraded the gcc to 3.3.3 and all is fine now..

First Last Prev Next    No search results available      Search page      Enter new bug