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

            Bug ID: 514059
           Summary: Segmentation fault in get_bszB_as_is after program
                    performs an invalid write
    Classification: Developer tools
           Product: valgrind
      Version First 3.25.1
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: memcheck
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 188144
  --> https://bugs.kde.org/attachment.cgi?id=188144&action=edit
The program under test, its sources, the test file, the log file and the
combined coredump

SUMMARY
Valgrind crashes while checking a program (a C compiler) that is known to be
faulty.

STEPS TO REPRODUCE
1. Decompress the provided attachment
2. Run `valgrind ./build/main/lilycc test-files/test_compound.c`

OBSERVED RESULT
Valgrind detects an invalid read and an invalid write, then receives a
segmentation fault in its own code.

EXPECTED RESULT
Valgrind itself should not have received the segmentation fault.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.12.62-1-lts (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Memory: 40 GiB of RAM (39.0 GiB usable)
Graphics Processor: Intel® Iris® Xe Graphics

ADDITIONAL INFORMATION
The program in question can also be found at
https://github.com/robotman2412/lily-cc however there are uncommitted changes
in my working tree (thus the sources included in the attachment).

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

Reply via email to