Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000093PyRosetta[All Projects] Input Handlingpublic2012-09-04 11:362012-09-05 00:36
ReporterLabonte 
Assigned ToLabonte 
PrioritylowSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformAll platformsOSAnyOS VersionAny
Product Version[Rosetta] Trunk 
Fixed in Version[Rosetta] Trunk 
Summary0000093: Seg fault when asking for name of non-existent atom in a Residue
DescriptionCalling Residue.atom_name() with an index not in the the residue's atom list causes a long time delay followed by a seg fault.

I assume a PyAssert() will fix.
Steps To ReproduceIn [1]: from rosetta import *

In [2]: init()

In [3]: pose = pose_from_sequence("ACDEFGH")

In [5]: res = pose.residue(2)

In [6]: res.atom_name(11)
Out[6]: ' HG '

In [7]: res.atom_name(12)
Segmentation fault (core dumped)
Tagsexception handling, PyRosetta
Application(s) AffectedPyRosetta
Command Line UsedN/A (See Steps To Reproduce above.)
Developer Options
Fixed in SVN Version50960
Attached Files

- Relationships

-  Notes
(0000090)
Sergey (Administrator)
2012-09-04 13:47

Yep, - PyAssert should be a way to go here!
(0000091)
Labonte (Developer)
2012-09-05 00:36

should be fixed -- along with several other RestidueType methods taking an atom index argument

- Issue History
Date Modified Username Field Change
2012-09-04 11:36 Labonte New Issue
2012-09-04 11:36 Labonte Status new => assigned
2012-09-04 11:36 Labonte Assigned To => Labonte
2012-09-04 13:47 Sergey Note Added: 0000090
2012-09-04 19:35 Labonte Tag Attached: exception handling
2012-09-04 19:35 Labonte Tag Attached: PyRosetta
2012-09-05 00:36 Labonte Fixed in SVN Version => 50960
2012-09-05 00:36 Labonte Note Added: 0000091
2012-09-05 00:36 Labonte Status assigned => resolved
2012-09-05 00:36 Labonte Fixed in Version => Trunk
2012-09-05 00:36 Labonte Resolution open => fixed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker