[Bug 2043823] [NEW] valgrind shared memory programs

Philip M 2043823 at bugs.launchpad.net
Fri Nov 17 17:10:25 UTC 2023


Public bug reported:

Unexpected error occurred attempting to attach to shared memory.

This worked fine in ubuntu 20 with our APP. But is failing on ubuntu 22.
I tried the latest valgrind from the internet also, same thing.


root at pmilosla-ubuntu22:/opt/iris/TAGGED/mgr# valgrind ../bin/irisdb -s.
==236668== Memcheck, a memory error detector
==236668== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==236668== Using Valgrind-3.22.0 and LibVEX; rerun with -h for copyright info
==236668== Command: ../bin/irisdb -s.
==236668== 
==236668== Conditional jump or move depends on uninitialised value(s)
==236668==    at 0x936BB7: mainsub (mux.c:917)
==236668==    by 0x939C56: mmain (mux.c:2341)
==236668==    by 0x4107C9: main (main.c:120)
==236668== 
==236668== Conditional jump or move depends on uninitialised value(s)
==236668==    at 0x936BCA: mainsub (mux.c:918)
==236668==    by 0x939C56: mmain (mux.c:2341)
==236668==    by 0x4107C9: main (main.c:120)
==236668== 
Unexpected error occurred attempting to attach to shared memory.
==236668== 
==236668== HEAP SUMMARY:
==236668==     in use at exit: 0 bytes in 0 blocks
==236668==   total heap usage: 11 allocs, 11 frees, 80,626 bytes allocated
==236668== 
==236668== All heap blocks were freed -- no leaks are possible
==236668== 
==236668== Use --track-origins=yes to see where uninitialised values come from
==236668== For lists of detected and suppressed errors, rerun with: -s
==236668== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
root at pmilosla-ubuntu22:/opt/iris/TAGGED/mgr#

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: valgrind (not installed)
ProcVersionSignature: Ubuntu 6.2.0-36.37~22.04.1-generic 6.2.16
Uname: Linux 6.2.0-36-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Nov 17 12:05:06 2023
InstallationDate: Installed on 2023-06-14 (156 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: valgrind
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.default.apport:
 # set this to 0 to disable apport, or to 1 to enable it
 # you can temporarily override this with
 # sudo service apport start force_start=1
 enabled=0
mtime.conffile..etc.default.apport: 2023-07-11T12:19:20.955497

** Affects: valgrind (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to valgrind in Ubuntu.
https://bugs.launchpad.net/bugs/2043823

Title:
  valgrind shared memory programs

Status in valgrind package in Ubuntu:
  New

Bug description:
  Unexpected error occurred attempting to attach to shared memory.

  This worked fine in ubuntu 20 with our APP. But is failing on ubuntu
  22. I tried the latest valgrind from the internet also, same thing.

  
  root at pmilosla-ubuntu22:/opt/iris/TAGGED/mgr# valgrind ../bin/irisdb -s.
  ==236668== Memcheck, a memory error detector
  ==236668== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
  ==236668== Using Valgrind-3.22.0 and LibVEX; rerun with -h for copyright info
  ==236668== Command: ../bin/irisdb -s.
  ==236668== 
  ==236668== Conditional jump or move depends on uninitialised value(s)
  ==236668==    at 0x936BB7: mainsub (mux.c:917)
  ==236668==    by 0x939C56: mmain (mux.c:2341)
  ==236668==    by 0x4107C9: main (main.c:120)
  ==236668== 
  ==236668== Conditional jump or move depends on uninitialised value(s)
  ==236668==    at 0x936BCA: mainsub (mux.c:918)
  ==236668==    by 0x939C56: mmain (mux.c:2341)
  ==236668==    by 0x4107C9: main (main.c:120)
  ==236668== 
  Unexpected error occurred attempting to attach to shared memory.
  ==236668== 
  ==236668== HEAP SUMMARY:
  ==236668==     in use at exit: 0 bytes in 0 blocks
  ==236668==   total heap usage: 11 allocs, 11 frees, 80,626 bytes allocated
  ==236668== 
  ==236668== All heap blocks were freed -- no leaks are possible
  ==236668== 
  ==236668== Use --track-origins=yes to see where uninitialised values come from
  ==236668== For lists of detected and suppressed errors, rerun with: -s
  ==236668== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
  root at pmilosla-ubuntu22:/opt/iris/TAGGED/mgr#

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: valgrind (not installed)
  ProcVersionSignature: Ubuntu 6.2.0-36.37~22.04.1-generic 6.2.16
  Uname: Linux 6.2.0-36-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Nov 17 12:05:06 2023
  InstallationDate: Installed on 2023-06-14 (156 days ago)
  InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: valgrind
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.default.apport:
   # set this to 0 to disable apport, or to 1 to enable it
   # you can temporarily override this with
   # sudo service apport start force_start=1
   enabled=0
  mtime.conffile..etc.default.apport: 2023-07-11T12:19:20.955497

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/valgrind/+bug/2043823/+subscriptions




More information about the foundations-bugs mailing list