I did a check with cppcheck and found one out of bounds array access in the
jtag3 code:
jtag3io.cc:495
The full output is:
[jtag2rw.cc:180]: (error) Memory leak: response
[jtag2usb.cc:422]: (error) Mismatching allocation and deallocation:
devnamecopy
[jtag2usb.cc:302]: (error) Memory leak: devnamecopy
[jtag3io.cc:495]: (error) Array 'cmd[4]' accessed at index 4, which is out
of bounds
[jtag3rw.cc:182]: (error) Memory leak: response
I don't know if these are false positives or not though, and changing the
array indexed to 0,1,2,3 still doesn't fix the 1284P problems.
On Thu, Jan 10, 2013 at 9:15 PM, Andreas Løhre <alo...@gmail.com> wrote:
>
>
>
> On Thu, Jan 10, 2013 at 8:50 PM, Joerg Wunsch <j...@uriah.heep.sax.de> wrote:
>
>> As Andreas Løhre wrote:
>>
>> > I was still not able to start a session
>> > on the 1284P. I will try some more on the different computers I have and
>> > send the logs tonight.
>>
>> Someone reported on avrfreaks.net that he had similar problems on
>> Ubuntu 12.x, but the problems disappeared when he used an older
>> compiler to compile AVaRICE. So this might be a hidden problem in the
>> AVaRICE code which we should better find ...
>>
>>
> That's interesting; I will do some more testing with different compiler;
> The one I have been testing with is 4.7.2, but I have 4.4.5 that I can test
> on another computer when time allows.
>
> I have attached the log of the failing 1284P, on ubuntu 12.10 with gcc
> 4.7.2
>
>
>
>> --
>> cheers, J"org .-.-. --... ...-- -.. . DL8DTL
>>
>> http://www.sax.de/~joerg/ NIC: JW11-RIPE
>> Never trust an operating system you don't have sources for. ;-)
>>
>>
>> ------------------------------------------------------------------------------
>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>> MVPs and experts. ON SALE this month only -- learn more at:
>> http://p.sf.net/sfu/learnmore_122712
>> _______________________________________________
>> avarice-user mailing list
>> avarice-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/avarice-user
>>
>
>
>
> --
> Mvh. Andreas Løhre
>
>
--
Mvh. Andreas Løhre
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
avarice-user mailing list
avarice-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avarice-user