Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B beignet
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 81
    • Issues 81
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • beignet
  • beignet
  • Issues
  • #35
Closed
Open
Created Oct 01, 2017 by Bugzilla Migration User@bugzilla-migration

AddressSanitizer: heap-use-after-free in test compiler_subgroup_media_block_read_us2

Submitted by Alexis Engelke

Assigned to Zhigang Gong @gongzg

Link to original bug (#103053)

Description

Created attachment 134595 Test and ASan output

AddressSanitizer detects a heap-use-after-free in gbe::ir::Immediate::getIntegerValue() const when compiling latest master and running the test compiler_subgroup_media_block_read_us2, see the attached log.

Compilation command: (Remove '-Wl,--no-undefined' from CMakeLists.txt) $ cmake -G Ninja -DENABLE_OPENCL_20=false -DCOMPILER=CLANG -DCMAKE_C_FLAGS="-fsanitize=address -fno-omit-frame-pointer" -DCMAKE_CXX_FLAGS="-fsanitize=address -fno-omit-frame-pointer" -DCMAKE_SHARED_LINKER_FLAGS="-fsanitize=address" -DCMAKE_BUILD_TYPE=Debug .. $ env ASAN_OPTIONS=alloc_dealloc_mismatch=0:detect_leaks=false ninja $ env ASAN_OPTIONS=alloc_dealloc_mismatch=0:detect_leaks=false ninja utest

System: Fedora 26, Kernel 4.12.13-300.fc26, LLVM 4.0.1

Attachment 134595, "Test and ASan output":
log-compiler_subgroup_media_block_read_us2

Assignee
Assign to
Time tracking