Bug in download function

3rd party extensions (phpDivingLog, dive computer downloader,...)
Post Reply
scubal
Posts: 41
Joined: Mon Jan 17, 2011 10:28

Bug in download function

Post by scubal »

I am trying to download from a Diverite Nitek Trio (= Zeagle N2ition3).
I have setup the com port driver and when I run the download test program n2ition3 com7 all works perfectly. I get a great big file full of info downloaded from the DC. So all good there.
But
when I run DL5.0.2 and run the Download function as soon as the download starts it crashes with a C++ error:

Assertion failed!
Program: c:\program files\diving log 5.0\divelog.exe
File: ringbuffer.c
Line: 79

Expression: a >= begin

(abort, retry, ingore)

pretty drastic crash - and seems to be within the DL5 codebase given that the test program works.
Any chance of a fix?
Im happy to test/provide more information
Cheers
Al

TnT
Posts: 257
Joined: Thu Nov 29, 2007 14:53
Contact:

Re: Bug in download function

Post by TnT »

It's a bug in the libdivecomputer parsing code. Most likely due to some small difference in the data format of the n2ition3 and the Nitek Trio.

scubal
Posts: 41
Joined: Mon Jan 17, 2011 10:28

Re: Bug in download function

Post by scubal »

turned out to be due to the fact that I was downloading from a brand nwe computer with empty memory; which caused the parser to choke. Jef kindly fixed it up and sent me a new dll which works just fine and will be included in later versions of downloader....just in case anyone else has the same problems

divinglog
Site Admin
Posts: 5192
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: Bug in download function

Post by divinglog »

Thank you for letting us know! I'm glad it works now!

Best regards,
Sven

Post Reply