pastebin - collaborative debugging tool
eckelmann.kpaste.net RSS


bugreport cppcheck-gui
Posted by Anonymous on Tue 26th Feb 2019 13:21
raw | new post

  1. [schenk:~] $ cat /tmp/reportbug-cppcheck-gui-backup-20190226-10747-h77x1z6z
  2. Content-Type: text/plain; charset="us-ascii"
  3. MIME-Version: 1.0
  4. Content-Transfer-Encoding: 7bit
  5. From: Gavin Schenk <gavin.schenk@gmx.de>
  6. To: Debian Bug Tracking System <submit@bugs.debian.org>
  7. Subject: cppcheck-gui: Errors are not shown in gui
  8. Message-ID: <155118712971.10747.1400523438791248511.reportbug@ws161-Debian.eckelmann.group>
  9. X-Mailer: reportbug 7.5.2
  10. Date: Tue, 26 Feb 2019 14:18:49 +0100
  11. X-Debbugs-Cc: gavin.schenk@gmx.de
  12.  
  13. Package: cppcheck-gui
  14. Version: 1.86-1
  15. Severity: normal
  16.  
  17. Dear Maintainer,
  18.  
  19. a memory leak error is not visible in gui.
  20. When using the version from stretch the errors are visible again.
  21.  
  22. Real world example of my memory leak (and yes its stupid) code:
  23. ...
  24. if ( type == 0x100 ) {
  25.         TestType *tt = new TestType();
  26.         tt=(TestType *)rawData();
  27.         return QString(tt->ca)+" "+QString::number(tt->ul)+" "+QString::number(tt->d);
  28.         delete tt;
  29. }
  30. ...
  31.  
  32. Changing TestType to int make the error visible in gui again.
  33. Testtype was implemented a few lines above with:
  34.  
  35. /*! Ausgabe ueber toString */
  36. class TestType {
  37. public:
  38.    char ca[12];
  39.    int ul;
  40.    double d;
  41. };
  42.  
  43. I just removed this complete stupid code from the project, but I wonder
  44. why the error is visible in 1.76-1 and its not in 1.86-1 when using
  45. the same data base.
  46.  
  47. Regards
  48. Gavin
  49.  
  50.  
  51. -- System Information:
  52. Debian Release: buster/sid
  53.   APT prefers testing
  54.   APT policy: (500, 'testing')
  55. Architecture: amd64 (x86_64)
  56. Foreign Architectures: i386
  57.  
  58. Kernel: Linux 4.19.0-2-amd64 (SMP w/8 CPU cores)
  59. Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
  60. Shell: /bin/sh linked to /bin/dash
  61. Init: systemd (via /run/systemd/system)
  62. LSM: AppArmor: enabled
  63.  
  64. Versions of packages cppcheck-gui depends on:
  65. ii  libc6                2.28-7
  66. ii  libgcc1              1:8.2.0-21
  67. ii  libgl1               1.1.0-1
  68. ii  libpcre3             2:8.39-11
  69. ii  libqt5core5a         5.11.3+dfsg-5
  70. ii  libqt5gui5           5.11.3+dfsg-5
  71. ii  libqt5printsupport5  5.11.3+dfsg-5
  72. ii  libqt5widgets5       5.11.3+dfsg-5
  73. ii  libstdc++6           8.2.0-21
  74. ii  libtinyxml2-6a       7.0.0+dfsg-1
  75.  
  76. cppcheck-gui recommends no packages.
  77.  
  78. Versions of packages cppcheck-gui suggests:
  79. ii  clang    1:7.0-47
  80. ii  python3  3.7.2-1
  81.  
  82. -- no debconf information

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}





All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at