Re: [PyMOL] Ray Tracing Crash

2004-01-22 Thread Michael Banck
On Wed, Jan 21, 2004 at 09:11:01PM -0800, Morri Feldman wrote:
 Regarding my problems raytracing on my debian/testing machine.

What is the exact version of the pymol .deb you're using? 0.93-2?
What architecture are you running on? i386 or something else?
Do you use pymol's internal raytracer, or povray? 
Does the raytracing-demo from the demo-menu work?
 

thanks,

Michael



Re: [PyMOL] Ray Tracing Crash

2004-01-22 Thread Morri Feldman
On Thu, 22 Jan 2004 11:02:25 +0100 Michael Banck wrote:

 On Wed, Jan 21, 2004 at 09:11:01PM -0800, Morri Feldman wrote:
  Regarding my problems raytracing on my debian/testing machine.
 
 What is the exact version of the pymol .deb you're using? 0.93-2?
pymol_0.93-2_i386.deb

 What architecture are you running on? i386 or something else?
i386, Pentium III

 Do you use pymol's internal raytracer, or povray? 
I invoke the raytracer by typing ray.  I assume this is the internal
raytracer.

 Does the raytracing-demo from the demo-menu work?
The ray tracing demo works.  But after running the raytracing-demo, pymol 
will crash if I type either:
hide spheres
show sticks
ray

or:
hide spheres
show lines
ray

Thanks,
Morri

  
 
 thanks,
 
 Michael
 
 
 ---
 The SF.Net email is sponsored by EclipseCon 2004
 Premiere Conference on Open Tools Development and Integration
 See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
 http://www.eclipsecon.org/osdn
 ___
 PyMOL-users mailing list
 PyMOL-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pymol-users
 



Morri Feldman





RE: [PyMOL] Ray Tracing Crash

2004-01-21 Thread Warren L. DeLano
Morri,

The RH9 Patch is described and published on: 

https://rhn.redhat.com/errata/RHBA-2003-136.html

I would not expect Debian to suffer from the same crash.  If it does,
then we may be dealing with a genuine bug in PyMOL (assuming that you're
not simply running out of RAM).

With respect to Debian, in order to debug the problem, you might want to
send me a PyMOL session file which crashes on your system when the next
command issued is ray.  

Cheers,
Warren

--
mailto:war...@delanoscientific.com
Warren L. DeLano, Ph.D.
Principal Scientist
DeLano Scientific LLC
Voice (650)-346-1154 
Fax   (650)-593-4020

 -Original Message-
 From: Morri Feldman [mailto:morrifeld...@yahoo.com]
 Sent: Tuesday, January 20, 2004 10:36 PM
 To: Warren L. DeLano; 'Matt Franklin'; 'Morri Feldman'
 Cc: 'pymol-users'
 Subject: RE: [PyMOL] Ray Tracing Crash
 
 Warren and Matt,
 
 Thanks so much for your help.  I must be using the
 stock glibc because set max_threads, 1 allows me to
 ray trace without crashing.  I will tell my system
 administrator to patch glibc.  Do you know where I
 should look for the patch?
 
 My debian/testing system at home also has trouble ray
 tracing especially sticks.  When it fails I get a
 segmentation fault.  Is my problem at home also due to
 an unpatched glibc?
 
 The error message is:
 /usr/bin/pymol: line 7: 32460 Segmentation fault
 python
 /usr/lib/python2.3/site-packages/pymol/__init__.py $*
 
 Thanks for creating such a great program,
 Morri
 
 --- Warren L. DeLano war...@delanoscientific.com
 wrote:
  Morri,
 
  (First, thanks Matt for the great diagnostic
  advice!)
 
  This sounds to me like a potential threading
  deadlock, possible
  due to the broken threading in RedHat 9.  Are you
  using the stock
  version or have you patched glibc?
 
  If you haven't patched your RedHat 9, then one way
  to be sure
  this is the problem is to set max_threads, 1
  before issuing the ray
  command.  If PyMOL doesn't hang, then you've found
  the culprit.
 
  If have already patched your RH9, then let's do
  some more work
  to determine what's going on...
 
  Cheers,
  Warren
 
  --
  mailto:war...@delanoscientific.com
  Warren L. DeLano, Ph.D.
  Principal Scientist
  DeLano Scientific LLC
  Voice (650)-346-1154
  Fax   (650)-593-4020
 
   -Original Message-
   From: pymol-users-ad...@lists.sourceforge.net
  [mailto:pymol-users-
   ad...@lists.sourceforge.net] On Behalf Of Matt
  Franklin
   Sent: Tuesday, January 20, 2004 6:25 PM
   To: Morri Feldman
   Cc: pymol-users
   Subject: Re: [PyMOL] Ray Tracing Crash
  
   Morri Feldman wrote:
I am running pymol .93.  When I try to ray trace
  a scene, the gui
  shows
   a
white status bar that moves halfway across the
  screen and then
  freezes.
After this the GUI is frozen and must be killed.
   No error messages
  are
shown.  The computer is running RedHat 9 and has
  4 processors.  Has
anyone else experienced this problem?  Do you
  have any solutions?
   
This message may double post because I
  accidentally tried to post it
   from
my other email account.  Sorry
   
Thanks, Morri
   
Morri Feldman
   
  
   Hi Morri -
  
   The progress bar for raytracing doesn't move
  linearly - the first half
   of the bar is covered fairly quickly, then more
  slowly, then very
   slowly, then the last fifth is usually covered in
  one jump.  Are you
   sure you just aren't being impatient?  Try
  raytracing a very simple
   scene, like a single amino acid in spheres mode,
  to see if it hangs
   then.  Also try raytracing parts of your scene in
  case some funny bit
  of
   your molecule is causing this problem.  Finally,
  try reducing the
   complexity of your surfaces and/or spheres: set
  surface_quality, -1
  (0
   is the default).
  
   Feel free to contact me directly - I'm local!
  (Although Warren will
  be
   more helpful...)
  
   - Matt
  
  
   --
   Matthew FranklinPhone:(650)225-4596
   Postdoctoral Researcher   Fax:(650)225-3734
   Genentech, Inc.
   1 DNA Way, South San Francisco, CA 94080
  
  
  
  
 
 ---
   The SF.Net email is sponsored by EclipseCon 2004
   Premiere Conference on Open Tools Development and
  Integration
   See the breadth of Eclipse activity. February 3-5
  in Anaheim, CA.
   http://www.eclipsecon.org/osdn
   ___
   PyMOL-users mailing list
   PyMOL-users@lists.sourceforge.net
  
 
 https://lists.sourceforge.net/lists/listinfo/pymol-users
 
 
 
 
 
 ---
  The SF.Net email is sponsored by EclipseCon 2004
  Premiere Conference on Open Tools Development and
  Integration
  See the breadth of Eclipse activity. February 3-5 in
  Anaheim, CA.
  http://www.eclipsecon.org/osdn
  ___
  PyMOL-users mailing list
  PyMOL-users@lists.sourceforge.net
  https

Re: [PyMOL] Ray Tracing Crash

2004-01-21 Thread Michael Banck
On Tue, Jan 20, 2004 at 10:52:17PM -0800, Morri Feldman wrote:
 My debian/testing system at home also has trouble ray
 tracing, especially with sticks.  When it fails I get a
 segmentation fault.  

What architecture are you running on? i386 or something else?

Do you use pymol's internal raytracer, or povray?

 Is my problem at home also due to an unpatched glibc?

glibc in debian/testing should be fairly recent. Perhaps it suffers from
a different bug, but the one described earlier should be fixed by now,
if it ever pertained to Debian.

 The error message is:
 /usr/bin/pymol: line 7: 32460 Segmentation fault 
 python
 /usr/lib/python2.3/site-packages/pymol/__init__.py $*

As Warren said, a detailed description of the scene you were trying to
raytrace would be welcomed.


Michael



Re: [PyMOL] Ray Tracing Crash

2004-01-20 Thread Matt Franklin

Morri Feldman wrote:
I am running pymol .93.  When I try to ray trace a scene, the gui shows a 
white status bar that moves halfway across the screen and then freezes.

After this the GUI is frozen and must be killed.  No error messages are
shown.  The computer is running RedHat 9 and has 4 processors.  Has
anyone else experienced this problem?  Do you have any solutions?

This message may double post because I accidentally tried to post it from 
my other email account.  Sorry


Thanks, Morri

Morri Feldman



Hi Morri -

The progress bar for raytracing doesn't move linearly - the first half 
of the bar is covered fairly quickly, then more slowly, then very 
slowly, then the last fifth is usually covered in one jump.  Are you 
sure you just aren't being impatient?  Try raytracing a very simple 
scene, like a single amino acid in spheres mode, to see if it hangs 
then.  Also try raytracing parts of your scene in case some funny bit of 
your molecule is causing this problem.  Finally, try reducing the 
complexity of your surfaces and/or spheres: set surface_quality, -1 (0 
is the default).


Feel free to contact me directly - I'm local!  (Although Warren will be 
more helpful...)


- Matt


--
Matthew FranklinPhone:(650)225-4596
Postdoctoral Researcher   Fax:(650)225-3734
Genentech, Inc.
1 DNA Way, South San Francisco, CA 94080




RE: [PyMOL] Ray Tracing Crash

2004-01-20 Thread Warren L. DeLano
Morri,

(First, thanks Matt for the great diagnostic advice!)

This sounds to me like a potential threading deadlock, possible
due to the broken threading in RedHat 9.  Are you using the stock
version or have you patched glibc?

If you haven't patched your RedHat 9, then one way to be sure
this is the problem is to set max_threads, 1 before issuing the ray
command.  If PyMOL doesn't hang, then you've found the culprit.

If have already patched your RH9, then let's do some more work
to determine what's going on... 

Cheers,
Warren

--
mailto:war...@delanoscientific.com
Warren L. DeLano, Ph.D.
Principal Scientist
DeLano Scientific LLC
Voice (650)-346-1154 
Fax   (650)-593-4020

 -Original Message-
 From: pymol-users-ad...@lists.sourceforge.net [mailto:pymol-users-
 ad...@lists.sourceforge.net] On Behalf Of Matt Franklin
 Sent: Tuesday, January 20, 2004 6:25 PM
 To: Morri Feldman
 Cc: pymol-users
 Subject: Re: [PyMOL] Ray Tracing Crash
 
 Morri Feldman wrote:
  I am running pymol .93.  When I try to ray trace a scene, the gui
shows
 a
  white status bar that moves halfway across the screen and then
freezes.
  After this the GUI is frozen and must be killed.  No error messages
are
  shown.  The computer is running RedHat 9 and has 4 processors.  Has
  anyone else experienced this problem?  Do you have any solutions?
 
  This message may double post because I accidentally tried to post it
 from
  my other email account.  Sorry
 
  Thanks, Morri
 
  Morri Feldman
 
 
 Hi Morri -
 
 The progress bar for raytracing doesn't move linearly - the first half
 of the bar is covered fairly quickly, then more slowly, then very
 slowly, then the last fifth is usually covered in one jump.  Are you
 sure you just aren't being impatient?  Try raytracing a very simple
 scene, like a single amino acid in spheres mode, to see if it hangs
 then.  Also try raytracing parts of your scene in case some funny bit
of
 your molecule is causing this problem.  Finally, try reducing the
 complexity of your surfaces and/or spheres: set surface_quality, -1
(0
 is the default).
 
 Feel free to contact me directly - I'm local!  (Although Warren will
be
 more helpful...)
 
 - Matt
 
 
 --
 Matthew FranklinPhone:(650)225-4596
 Postdoctoral Researcher   Fax:(650)225-3734
 Genentech, Inc.
 1 DNA Way, South San Francisco, CA 94080
 
 
 
 ---
 The SF.Net email is sponsored by EclipseCon 2004
 Premiere Conference on Open Tools Development and Integration
 See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
 http://www.eclipsecon.org/osdn
 ___
 PyMOL-users mailing list
 PyMOL-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pymol-users