Crash when showing yearly statistics

Robert C. Helling helling at atdotde.de
Sat Nov 30 03:45:22 UTC 2013


On 30 Nov 2013, at 11:50, Robert C. Helling <helling at atdotde.de> wrote:

> I am on it.


Hmm, turns out I don’t understand C++ well enough.

The problem seems to occur when there is no trip among the dives. For example, you can trigger it with

./subsurface dives/test1.xml

Then in the statistics, below the row for the only year with dives (2011 in that case) there is another line, not in bold face, where YearStatisticsItem::data is called with a bogus value of stats_interval. This in turn is a private member of that class. This is how far I got. Unfortunately, I don’t really understand where that method is called and how stats_interval is supposed to be set, git grep stats_interval did not help.

At this point I have to give up and do something else (like e.g. get out of bed, its past noon).

Best
Robert

--                                                                              
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO 
Robert C. Helling     Elite Master Course Theoretical and Mathematical Physics  
                      Scientific Coordinator                                   
                      Ludwig Maximilians Universitaet Muenchen, Dept. Physik    
print "Just another   Phone: +49 89 2180-4523  Theresienstr. 39, rm. B339       
    stupid .sig\n";   http://www.atdotde.de 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20131130/ed5bee01/attachment.html>


More information about the subsurface mailing list