bugGNU Octave - Bugs: bug #58569, clang static code analysis report

 
 

bug #58569: clang static code analysis report

Submitted by:  Markus Mützel <mmuetzel>
Submitted on:  Sun 14 Jun 2020 07:30:56 PM UTC  
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 14 Jun 2020 07:36:57 PM UTC, comment #1: 

Well Savannah doesn't seem to accept the file.
This download link is valid until 21/June/2020:
https://wetransfer.com/downloads/a5be96a0578d11e80eb6a8d579b36d6520200614193316/87310126f40aa82cc0420fa31138fa1820200614193409/103fa2

Markus Mützel <mmuetzel>
Project Member
Sun 14 Jun 2020 07:30:56 PM UTC, original submission:  

I ran the static code analysis with clang on a fresh checkout of hg id 04ee5e8694cb with the following commands on Ubuntu 20.04 (I hope I got these right):

./bootstrap
mkdir .build
cd .build
scan-build ../configure CPPFLAGS=-I/usr/include/hdf5/serial LDFLAGS="-L/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/hdf5/serial" --prefix=${HOME}/usr CC=clang CXX=clang++
scan-build make all -j3

The 7zipped report is about 8 MiB. I hope Savannah will allow to upload it.

Many of the reported issues seem to be about how references are counted. I'm not sure if those are valid. But could someone check maybe?
Some others (like "Result of operation is garbage or undefined") are maybe something, we should have a closer look at.

Markus Mützel <mmuetzel>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.5