Menu

#176 SQTReader Constructor Bug

post v2.0
closed
Kaipo
2014-06-27
2014-06-26
Alice Cheng
No

In line 75 of SQTReader.cpp for the constructor

SQTReader(const string& file_path, Database * database, Database * decoy_database)

init() needs to be called or a seg fault will occur.

Discussion

  • Alice Cheng

    Alice Cheng - 2014-06-26
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,5 +1,5 @@
     In line 75 of SQTReader.cpp for the constructor
    
    -SQTReader(const string& file_path, Database* database, Database* decoy_database)
    +SQTReader(const string& file_path, Database * database, Database * decoy_database)
    
     init() needs to be called or a seg fault will occur.
    
     
  • William S Noble

    William S Noble - 2014-06-27
    • labels: --> high priority
    • assigned_to: Kaipo
     
  • Kaipo

    Kaipo - 2014-06-27

    This diff is only 1 line change. Alice can you make sure this fixes the seg fault problem you were having?

     
  • Alice Cheng

    Alice Cheng - 2014-06-27

    Yes, it fixed the seg fault.

     
  • Kaipo

    Kaipo - 2014-06-27
    • status: open --> closed
     
  • Kaipo

    Kaipo - 2014-06-27

    fixed in r16478

     

Log in to post a comment.