https://bugs.kde.org/show_bug.cgi?id=405716

            Bug ID: 405716
           Summary: int-overflow in stack size Margin calculation
           Product: valgrind
           Version: 3.13.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: drd
          Assignee: bvanass...@acm.org
          Reporter: alsdfjoiloeilt4o23l34jjjlskfjsadoh8s7df736giwqk@mailin
                    ator.com
  Target Milestone: ---

SUMMARY
int-overflow in stack size Margin calculation

STEPS TO REPRODUCE
1. run a multithreaded program which uses more stack than available with the
following call: valgrind --tool=drd --show-stack-usage=yes ./myProg
2. drd reports: ==10476== thread 9 (which is a detached thread) finished and
used 18223 bytes out of 16384 on its stack. Margin: 18446744073709549777 bytes.

OBSERVED RESULT
Margin shows a huge value

EXPECTED RESULT
Margin should show -1839

SOFTWARE/OS VERSIONS
Linux Xubuntu 18.04

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to