[mythtv-commits] Re: Ticket #577: "QGVector::insert: Index 0 out of range" errors

MythTV mythtv at cvs.mythtv.org
Fri Nov 4 02:32:20 EST 2005


#577: "QGVector::insert: Index 0 out of range" errors
------------------------------------+---------------------------------------
 Reporter:  janne-mythtv at grunau.be  |        Owner:  danielk
     Type:  defect                  |       Status:  new    
 Priority:  minor                   |    Milestone:  unknown
Component:  dvb                     |      Version:  head   
 Severity:  low                     |   Resolution:         
------------------------------------+---------------------------------------
Comment (by tomimo at ncircle.nullnet.fi):

 The error message "QGVector::insert: Index 0 out of range" in this case
 comes from the line 1478, because of the previous line (1477):

 exEvInfos.resize (last_desc_number);

 where the last_desc_number-variable occasionally gets the value of '0' and
 thefore the following insert() fails. The same used to happen quite often
 in my previous cable-network. A simple fix is to make sure that we never
 resize the vector to zero size.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/577>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list