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:  Wont Fix Assigned to:  None
Originator Name:  Open/Closed:  Closed
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.


Mon 12 Oct 2020 09:15:08 AM UTC, comment #2: 

The download link rotted.
Closing report.

Markus Mützel <mmuetzel>
Project Member
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:

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):

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:

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.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-10-12 mmuetzel StatusNone => Wont Fix
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.5